Results 1 to 5 of 5

Thread: formless application

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Posts
    23

    Post

    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

  2. #2
    Guest

    Post

    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?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Posts
    23

    Post

    The only purpose of this program is to delete zip files out of a specific folder.

    Which method would you recommend?

  4. #4
    Hyperactive Member
    Join Date
    Oct 1999
    Posts
    309

    Post

    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

  5. #5
    Guest

    Post

    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
  •  



Click Here to Expand Forum to Full Width