954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help with forms

I'm using the free Microsoft Visual Basic 2005 Express Edition
My problem: I have a main form with my options (save, open, etc).
I have a form to handle my Open (I'm opening multiple data-tables) and use a masterList.txt to keep track of my current data-tables, and display them in a list box for easy access.

I need the Open form to finish before the rest of my Sub fuction is executed (basically I need the name of the data-table to open before I try to open it)

I'm fairly new to vb, and have done some research

<code>Project.Open.Show vbModal</code>



is apparently suppose to do it. But I get an error "Name 'vbModal' is not decalred"

Thanks in advance for any pointers/help

JamesDT
Newbie Poster
5 posts since Mar 2007
Reputation Points: 10
Solved Threads: 0
 

After a couple hours of pounding my head... I figured it out. For anyone with the same problem it's really easy.
VB2005 has a .ShowDialog() which makes the forms modal, and a .Show for modaless forms.

JamesDT
Newbie Poster
5 posts since Mar 2007
Reputation Points: 10
Solved Threads: 0
 

next time look and post in the right forum, maybe that will help also! ;-)

PVBert
Junior Poster in Training
61 posts since Mar 2007
Reputation Points: 10
Solved Threads: 5
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You