How to omit forms

I want to compile the VB code but I want to exclude the pop up forms.
I am writing a program in C that
executes a vb.exe, my problem is how
to disregard the pop up form to make it
like a batch type of program
Info_user100Asked:
Who is Participating?
 
VbmasterConnect With a Mentor Commented:
If you like to do the old-fashioned way, here's a answer.
0
 
VbmasterCommented:
Hmm.. don't know what you mean maybe you mean you don't want the program to show any form at all? You can place code in a procedure you call Main, inside a module (.bas file).

Then you can use menu settings at Projects -> [name of project] Properties.. -> in the "General Tab" -> Startup Object should be set to "Sub Main".

Then you can remove the form and the program will start in the new Main procedure.. at least if this is what you are after and you use this tip. ;)
0
 
Info_user100Author Commented:
Thanks alot it worked.
send me your answer.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Info_user100Author Commented:
Thanks alot it worked.
send me your answer.
0
 
ysivaramCommented:
You can accept his comment as answer. Please spend a few minutes to read EE news letter for new features.
0
 
Info_user100Author Commented:
Yeh lets do it this way. Just didnt have the time to read it yet although later from home I probably will.

Thanks again
0
All Courses

From novice to tech pro — start learning today.