Welcome Guest ( Log In | Register)



2 Pages V  < 1 2  
Reply to this topicStart new topic
> Visual Basic 6.0 Help Needed, Adding lines to a textbox without delete
iGuest
post Feb 14 2008, 12:07 PM
Post #11


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



easy my friend
Visual Basic 6.0 Help Needed

Replying to Trap FeedBacker

Quite easy just add this to a command button
And put 3 textboxes on your form then cut & paste this :

Dim first As Integer
Dim second As Integer
first = Text1.Text
second = Text2.Text
Text3.Text = first + second


If your looking at some basic help try http://vbhowto.Netboarder.Com/
It only has a few things but its very basic but handy stuff :)

G

-reply by Gobble
Go to the top of the page
 
+Quote Post
iGuest
post Mar 25 2008, 09:55 AM
Post #12


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



Transfering Results
Visual Basic 6.0 Help Needed

Replying to Trap FeedBacker
If I'm to assume you're using number values the code would be as follows:

Results=Val(Text1.Text)+Val(Text2.Text)
Text2.Text=str$(Results)

I hope this resolves your situation


-reply by Leo F
Go to the top of the page
 
+Quote Post
iGuest
post Jun 15 2008, 03:45 PM
Post #13


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



How To Make A new line without deleting current line or adding to end of it
Visual Basic 6.0 Help Needed

1 you need to set the text box property to multiline=true or you have no chance

2 text1.Text = text1.Text + "WHATEVER" 0r text2.Text, + vbcrlf

Tada

CHEERS

-reply by john
Go to the top of the page
 
+Quote Post
iGuest
post Jul 2 2008, 05:24 AM
Post #14


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



VB6 Text Book Control
Visual Basic 6.0 Help Needed

I have a text box and it's Multiple line option is enabled.
The Text books contains the following text
"This is normal"
"This is Bold"
"This is Italic"
I would be grateful if you kindly let me reply to get the desired results as mentioned.

Thanks
C

-question by Jayanta Bardalai
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. [tutorial] Visual Basic 6 Downloading Images From A Webpage(2)
  2. [tutorial] Visual Basic 6 Minimize To Tray(4)
  3. Free Copy Of Visual Studio.net Pro(11)
  4. Help Needed(7)
  5. Visual Basic Express Edition Beta(2)
  6. Visual Basic 6(5)
  7. Visual Basic And Internet Transmission(2)
  8. Some Visual Basic 6.0 Uncompleted Projects(2)
  9. My Guidewriter(3)
  10. Beginning Visual Basic(4)
  11. Mysql In Visual Basic(5)
  12. Ftp In Vb 2005(0)
  13. Arrays And List Boxes(2)


 



- Lo-Fi Version Time is now: 25th July 2008 - 09:52 PM