•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 397,845 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,452 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser:
Views: 3172 | Replies: 36
![]() |
•
•
Join Date: Apr 2007
Posts: 41
Reputation:
Rep Power: 2
Solved Threads: 3
hello anud18.. i think veena is right. if ur just doing a login forn... try call it then proceed to the process u want after the clicked event..
sometimes we need to change everything to fixed our problems!!!
but if u really want to put a code as it is...
and u want a wait until button is pressed??? try put a loop before the process need to be executed after the clicked and put a DOEVENTS .. use the variable to end the loop.. i hope it helps
sometimes we need to change everything to fixed our problems!!!
but if u really want to put a code as it is...
and u want a wait until button is pressed??? try put a loop before the process need to be executed after the clicked and put a DOEVENTS .. use the variable to end the loop.. i hope it helps
•
•
Join Date: Jun 2007
Posts: 166
Reputation:
Rep Power: 2
Solved Threads: 7
OK in that in sub command1_Click() you add
Unload Form2
and back in the main form immediately after
Form2.Show vbModal
Give this command
Form_load
command1.SetFocus (or any control in the main form)
remember a second form_load will duplicate all those AddItems
beware of that one.
For that for each control you have to removeitems in a loop that has been added on the initial state.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Similar Threads
- How do I use a command button to open a exe file created in VB? (Visual Basic 4 / 5 / 6)
- [req]How to move elements in the list box up and down using command button? (Visual Basic 4 / 5 / 6)
- How to disable a hyperlink or a textbox or a command button? (PHP)
- Send Command button in MSWord code needed (Visual Basic 4 / 5 / 6)
- Command Button Validation (Visual Basic 4 / 5 / 6)
- Problem with VAT+COding for Command button (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: About Array
- Next Thread: Needle which show's car speed can we use in vb


Linear Mode