Results 1 to 9 of 9

Thread: How can i load an app from an app?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Devon, UK
    Posts
    311

    How can i load an app from an app?

    Please help me, how can i make an exe load from a button click in another app?
    Sam.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Devon, UK
    Posts
    311
    thanks
    Sam.

  3. #3
    Junior Member -_MAD-HATTAH_-'s Avatar
    Join Date
    Sep 2002
    Location
    PHX AZ
    Posts
    25
    say i did that and sent it to a friend...Would it include the app thats going to be opened?
    -_MAD-HATTAH_-

  4. #4
    Hyperactive Member Blinky Bill's Avatar
    Join Date
    Mar 2002
    Location
    Happily munching on the greenery in your garden
    Posts
    349
    No. If i understand your question properly. Shell just executes a program on the system, it doesn't embed that program when you compile.
    We don't know what's wrong. . . So the best bet might be to remove something surgically.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Devon, UK
    Posts
    311
    well hmmmm, what i want is an app that when clicked will load itself again.....this is to annoy a freind. I will then make it into a loop, so that it constantly opens.

    How can i loda my app.exe again, even if its already open?
    Sam.

  6. #6
    Hyperactive Member Blinky Bill's Avatar
    Join Date
    Mar 2002
    Location
    Happily munching on the greenery in your garden
    Posts
    349
    VB Code:
    1. Private Sub Command1_Click()
    2.     Shell (App.Path & "\" & App.EXEName)
    3. End Sub

    This might do the trick.
    We don't know what's wrong. . . So the best bet might be to remove something surgically.

  7. #7
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065
    Originally posted by Chrome
    well hmmmm, what i want is an app that when clicked will load itself again.....this is to annoy a freind. I will then make it into a loop, so that it constantly opens.

    How can i loda my app.exe again, even if its already open?
    Could do some damage if s/he has work open tho ?

    Would cause a crash, but:

    VB Code:
    1. Do
    2. Shell AppPath, vbNormalFocus
    3. Loop

    You will want to try it yourself though,

    (But i swear, there are some people will come down on you like a ton of Bricks )
    Wayne

  8. #8
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065
    Originally posted by Spetnik
    I did that in 11th grade. Got me banned from the comp lab.
    (Only diff is my prog also added itself to the startup)
    Lol...

    Well my College is "kinda" smart,

    It "Low Level Formats" on start up, so systems are always on their default Admin Set settings (Some app they got damn place - I always have to Re-Set all the IE Settings )

    But I know Some1 opened an app that hid itself, and every time some1 was working on MS Word, it closed Word, :Waited for ages till they did work too :shrugs:

    i think they got p'eeved after a while, cuz they moved
    Wayne

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Devon, UK
    Posts
    311
    thanks all, and dont worry i not doin it in revenge or anythink, but just to annoy this person, and i will be there when they open it.

    Its great it has a delayed opening and comes up as an error bout 2 mins after clicking it, then you click ok and it opens, and opens and opens.

    LOL
    Sam.

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