|
-
Jan 3rd, 2000, 11:54 PM
#1
Thread Starter
Junior Member
Hello. I need to write a small program that will run without a form. It will run when called and kill itself after. Does anybody know what would be the best way to accomplish this?
Thanks in advance!
Michelle
-
Jan 3rd, 2000, 11:59 PM
#2
Do you want to completely get rid of the form or do you just want to hide it for the users?
In any case, you could to create a module and have Sub Main() as your startup.
What is this program's purpose if I might ask?
-
Jan 4th, 2000, 12:04 PM
#3
Thread Starter
Junior Member
The only purpose of this program is to delete zip files out of a specific folder.
Which method would you recommend?
-
Jan 4th, 2000, 12:14 PM
#4
Hyperactive Member
Open a new project, get rid of the form...
create a new bas file an type:
Code:
Sub Main()
'Do what you want to do here
End
End Sub
Go to the properties of your project and set "startup object" to Sub main...
That's it
-
Jan 6th, 2000, 12:06 PM
#5
In your Sub Main(), you would write KILL MyFile.zip.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|