| | |
How do i Make visual basic remember selections From other forms
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
You should be able just to reference those elements. Let's pretend you have form1, and form2. You have a button on form1, and a combobox on form2. In the code for the button on form1, you could do this
msgbox form2.combo1.text, and it will gladly display the information in form2's combobox, with a click of a button on form1. If you are talking about something more complex, you may need to delve into using files, or registry entry's as a means to save your data for use from another app or something like that. •
•
•
•
Originally Posted by Smooth_411_2000
How would i make visual basick remember selections from other forms so it will excute the disired outcome at the end of my process.
•
•
Join Date: Jun 2006
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by Smooth_411_2000
How would i make visual basick remember selections from other forms so it will excute the disired outcome at the end of my process.
EX. Public CustomerID
you can also use module if you have lots of forms. To reduce the coding and space you can call all the function in each form in an object.
I hope you find these useful. happy programming
![]() |
Similar Threads
- VBscript in a Visual Basic Application (Visual Basic 4 / 5 / 6)
- Creating an OS in visual basic 6.0 (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: How do I Execute multi programs
- Next Thread: need help with uninstalling VS Pro 6.0
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column 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 retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






