I want to make a program thats invisible to the user....can i do it by setting the forms visible property to false? or do i have to use VBscrpit to accomplish this? or what do i need?
i appreciate any help....thank you
Printable View
I want to make a program thats invisible to the user....can i do it by setting the forms visible property to false? or do i have to use VBscrpit to accomplish this? or what do i need?
i appreciate any help....thank you
If you mean that you want to write a program that has no user interface (i.e, no forms), you can do this:
1. In a new project, remove Form1 from the project.
2. Go to the Project menu and add a new module.
3. Go to the Project menu again and make sure the "Start up object" is set to "Sub Main"
4. Write all your code in the module. The module must have a Sub called "Main", and this is where your program will start.
You can still use MsgBox and InputBox in a program like this. For example, you might want to display a MsgBox that says "Done" right before the End statement.
You can also use :
me.visible = false
why not juz set the Visible properties to False during design time? :confused: