Results 1 to 2 of 2

Thread: Open the same exe again

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Location
    Ca
    Posts
    93
    I have a button on my form and it i labeled NEW, I want it to open the program that the button is in again. How would I do that?
    Timbudtwo
    I have no life, only one with computers.

    VB 6.0 Enterprise Edition
    [hr]

  2. #2
    Lively Member
    Join Date
    Jul 2000
    Location
    Vaxjo, Sweden
    Posts
    85
    Havn't tried this, but it should work
    Code:
      Call Shell(App.Path & "\" & App.EXEName, vbNormalFocus)
    Reality is what you make up when you can't handle your fantasies.

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