Please help me, how can i make an exe load from a button click in another app?
Printable View
Please help me, how can i make an exe load from a button click in another app?
thanks
say i did that and sent it to a friend...Would it include the app thats going to be opened? :confused:
No. If i understand your question properly. Shell just executes a program on the system, it doesn't embed that program when you compile.
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?
VB Code:
Private Sub Command1_Click() Shell (App.Path & "\" & App.EXEName) End Sub
This might do the trick.
Could do some damage if s/he has work open tho ?Quote:
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?
Would cause a crash, but:
VB Code:
Do Shell AppPath, vbNormalFocus Loop
You will want to try it yourself though, :D
(But i swear, there are some people will come down on you like a ton of Bricks ;))
Lol...Quote:
Originally posted by Spetnik
I did that in 11th grade. Got me banned from the comp lab:D.
(Only diff is my prog also added itself to the startup:p)
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 :D
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. :D
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