| | |
textbox to label
Thread Solved |
*Point Above*
You were assigning the value of the caption to the textbox, not the other way around. You can do this:
you cannot do this:
These are not interchangeable....It only works the first way. So when you put:
you are saying (with no exception) "I want text1 to now contain the data stored in label1".
You were assigning the value of the caption to the textbox, not the other way around. You can do this:
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
dim x x = 5
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
dim x 5 = x
vb Syntax (Toggle Plain Text)
form1.text1.text = form2.label1.caption
![]() |
Similar Threads
- Help! Print the Text in a Textbox and / or Label to Printer (Visual Basic 4 / 5 / 6)
- urgent! How to display Search Result onto textbox/label (VB.NET)
- Textbox To Label (Visual Basic 4 / 5 / 6)
- HttpContext (VB.NET)
- HttpContext.Current Question (VB.NET)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Read sheets on xls file
- Next Thread: VB6 - Make Tab key also an "Enter" key.
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






