home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 3099
Discussions: 188,375, Posts: 2,243,443, Members: 232,604
Old November 3rd, 2002, 01:07 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Sep 2002
Location: Shirley, New York
Posts: 256
Send a message via AIM to Paluccie
Cool
Visual Basic Question - Simple One for those who know VB

Ok... Here it is.. I'm trying to do my VB homework and I can't remember how to get the "$" to print out

You can download the program here

http://www.pjcassociates.com/assignment4.zip

All the help would be appreciated. Thanks

Paluccie is offline   Reply With Quote
Old November 3rd, 2002, 03:49 PM     #2 (permalink)
Senior Member
 
Join Date: Oct 2001
Location: Alberta, Canada
Posts: 563
"$" works for me! (concatenate it with &)

I presume you want it on this line...(?)

picoutput4b.Print txtname; Tab(20); txthours; Tab(30); "$" & txtrate; Tab(40); "$" & E; Tab(50); "$" & D; Tab(60); "$" & F

you should also try to use more meaningfull variable names, rather than A,B,C,D,E,F!!!! Makes reading and debuging code alot easier!!

also, I haven't used the picturebox control very much, but I noticed that if your app loses focus (ie: click on another window) then re-gains focus, it loses it's contents!! Probably not what you intended!!

anyways, good luck!! Gotta run!!

ciao!!

^hyd^ is offline   Reply With Quote
Old November 7th, 2002, 01:00 AM     #3 (permalink)
Ultimate Member
 
Join Date: Oct 2001
Posts: 21,017
Paluccie... did this help
I agree with hyd's suggestion, and was wondering ifyou needed further help?

Totally agreed on those variable names... those are very confusing and not descriptive of the data that they contain.

vass0922 is online now   Reply With Quote
Old November 7th, 2002, 01:15 AM     #4 (permalink)
Member
 
Join Date: Sep 2002
Location: Shirley, New York
Posts: 256
Send a message via AIM to Paluccie
Yeah, everything worked. Thanks for the help, now I can finally finish this project for school. Sorry for delay in response. Thanks again
Paluccie is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

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

Most Active Discussions
Is It Just Me? (2881)
The United States Debt (20)
Looks like Burris will get his Sena.. (7)
I think I just killed my computer w.. (24)
Upgrading RAM (5)
Folderchat Weekday thread (438)
Antec 300 bulk purchase? (11)
Worth the upgrade?? (14)
Titan quest and Immortal Throne, an.. (17)
Recent Discussions
Folderchat Weekday thread (438)
Help with an Ati Radeon HD 4850.. (23)
Laptop waking up itself (0)
CPU wont boot (3)
Best digital camera for under 2.. (13)
Building first computer, will t.. (2)
get this error, "res://C:\.. (73)
Problem with boot and motherboa.. (0)
MS to offer free Windows 7 upgr.. (1)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 07:47 PM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28