Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to create an exe which runs and gives the results without user rol

Status
Not open for further replies.

Jeet2004

MIS
Jun 29, 2005
96
0
0
US
i want to create an exe which should display results as soon as the user clicks on the exe file to execute.
For example if i have an program to display a message box as soon as user clicks on the exe where shoudl i be writing the code so that it displays the message box closes on its own.
Shoudl not be showing a form or continue running.
 
Add a module to your project.

In the module, have a Sub Main prcedure

In the sub Main procedure, call your message box

Modify the properties for the project so that the startup object is Sub Main instead of a form.


-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Create a sub main procedure in a module and have the project startup set to sub main.

Look into Submain in the help files or this forum.

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top