p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).

Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 19th, 2005, 06:43 AM
Authorized User
Points: 180, Level: 3
Points: 180, Level: 3 Points: 180, Level: 3 Points: 180, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2004
Location: , , .
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Brettvan1
Default Visual basic.net problem

Could anyone help me with tis problem please?

I am trying to buying price in my code but I need it to be displayed with the buying on top of the price.Any ideas?

Thanks
B

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old January 19th, 2005, 06:44 AM
Authorized User
Points: 180, Level: 3
Points: 180, Level: 3 Points: 180, Level: 3 Points: 180, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2004
Location: , , .
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Brettvan1
Default

To write in the Buying price that is...Whoops.

B

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old January 19th, 2005, 01:10 PM
Friend of Wrox
Points: 5,269, Level: 30
Points: 5,269, Level: 30 Points: 5,269, Level: 30 Points: 5,269, Level: 30
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 1 Time in 1 Post
Default

Please describe more fully.
You have the advantage of seeing what you are doing. Those reading this must "get the picture" from what you write.
The more time you spend on the description of the problem, the more likely you will be to get a solution that fits your needs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #4 (permalink)  
Old January 19th, 2005, 01:40 PM
Authorized User
Points: 180, Level: 3
Points: 180, Level: 3 Points: 180, Level: 3 Points: 180, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2004
Location: , , .
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Brettvan1
Default

Ok sorry, here goes again.....I am using code to generate a sales report and on that sales report there need to be a few columns each with their own headings.One of the headings is 'buying value' by writing it in like that it will make my column to wide, so I want to have the 'buying' written down with the 'Price' falling underneath it instead of beside it.Hope that is clearer.

Thanks again

B

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #5 (permalink)  
Old January 19th, 2005, 06:09 PM
Friend of Wrox
Points: 5,269, Level: 30
Points: 5,269, Level: 30 Points: 5,269, Level: 30 Points: 5,269, Level: 30
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 1 Time in 1 Post
Default

So what you want is to word-wrap a label?
You need it to word-wrap on the printed version, right? (In other words, this is a paper issue, not a screen issue?)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #6 (permalink)  
Old January 20th, 2005, 04:46 AM
Authorized User
Points: 180, Level: 3
Points: 180, Level: 3 Points: 180, Level: 3 Points: 180, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2004
Location: , , .
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Brettvan1
Default

No, it is a screen issue, my report is generated on my screen(not for printing)

B

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #7 (permalink)  
Old January 20th, 2005, 12:45 PM
Friend of Wrox
Points: 5,269, Level: 30
Points: 5,269, Level: 30 Points: 5,269, Level: 30 Points: 5,269, Level: 30
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 1 Time in 1 Post
Default

What type of control is it?
Does it always have the same text?

(Please answer [u]each</u> question I ask. You didn't answer the first one I asked before, so here I am asking it again. It would be helpful if I didn't have to repeat myself. Please answer [u]both</u> questions in this post.)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #8 (permalink)  
Old January 21st, 2005, 05:37 AM
Authorized User
Points: 180, Level: 3
Points: 180, Level: 3 Points: 180, Level: 3 Points: 180, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2004
Location: , , .
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Brettvan1
Default

You know what Brian, no matter how clearly I put it out for you, you still just can't seem to grasp it ! I'd like to thank you for time on this matter. Please do not feel the need to respond again ! Anyone else out there, your help would be greatly appreciated.

B

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #9 (permalink)  
Old January 21st, 2005, 06:36 AM
planoie's Avatar
Friend of Wrox
Points: 16,368, Level: 55
Points: 16,368, Level: 55 Points: 16,368, Level: 55 Points: 16,368, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Brett,

Brian has raised a couple questions that you haven't answered that would make solving this problem much easier. Please have a little patience with those of us who are trying to help.

This is a forum category covering VB.NET therefore we don't necessarily know what kind of application you are creating and thus don't know what type of control you are trying to use. I can assume you are writing a winforms app only because most posters use the ASP.NET forums for web related .NET questions. Please take just a few seconds to give us a little more useful info so that we may help you.

As far as actually trying to answer your question:
I recall back in the days of writing Access application (*shiver*) that you could force a hard return into a control label with some key combination. I think it was CNTRL-ENTER. I don't know if this is possible (not at a dev machine at the moment) but it's worth a try. You might also be able to set the control label in the code with a string that contains the Environment.NewLine character if you can't directly force it into the label property of the control. Of course, if you are using a web control then a simple "<br>" will work.

-Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #10 (permalink)  
Old January 21st, 2005, 07:43 AM
Authorized User
Points: 180, Level: 3
Points: 180, Level: 3 Points: 180, Level: 3 Points: 180, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2004
Location: , , .
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Brettvan1
Default

Thanks for your help Peter, I wasn't getting at Brian, just felt that we were getting nowhere.He didnt understand what I was asking and I didnt understand what he wanted.No harm done.Thanks again for your help.

B

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic .NET and processes trailro VB How-To 0 October 21st, 2008 01:30 PM
Visual Basic .Net Remoting Handbook CrazyLegsCooper All Other Wrox Books 5 March 18th, 2008 09:06 AM
visual basic.net pringlesoft VB.NET 2 February 11th, 2008 01:46 PM
Rowfilter in Visual Basic.Net ahooi Pro VB.NET 2002/2003 0 July 5th, 2005 04:58 AM
Rowfilter in Visual Basic.Net ahooi ASP.NET 1.0 and 1.1 Basics 0 July 5th, 2005 04:51 AM



All times are GMT -4. The time now is 05:31 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc