You don't have to have ANY forms with VB 6 for the .exe to run. Just set the preferences to start the program with Sub Main, and put the beginning of your code in there.
That sounds like what the OP is trying to do. However, if not, and you need a form, then you can always set it to be invisible after you load it. I would prefer to use sub main personally.
Out of curiosity.......If you do not intend to use the form for user interaction then why have the form to begin with....not that you understand the Sub Main idea that is.
Thanks
Andy Baldwin
"Testing is the most overlooked programming language on the books!"
Ask a great question, get a great answer. Ask a vague question, get a vague answer.
Find out how to get great answers FAQ219-2884.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.