943,871 Members | Top Members by Rank

Ad:
Mar 18th, 2008
0

Copying exe file into startup

Expand Post »
Hi all....
i m already got startup path and now i want to copying my exe file into startup.
how i can do this??
please help me. any help will be appreciated
Similar Threads
Reputation Points: 29
Solved Threads: 0
Junior Poster
november_pooh is offline Offline
120 posts
since Mar 2008
Mar 18th, 2008
0

Re: Copying exe file into startup

can you explain further what you want to do...
Reputation Points: 10
Solved Threads: 2
Junior Poster
hawisme000 is offline Offline
102 posts
since Jul 2007
Mar 18th, 2008
3

Re: Copying exe file into startup

txtStartUp is path of startup folder
YourExeNameOnStartUpFolder.exe is your exe file name when it copied into startup folder.
put this following code into your current event :
vb Syntax (Toggle Plain Text)
  1. FileCopy App.EXEName & ".exe", txtStartupPath & "\YourExeNameOnStartUpFolder.exe"
  2. msgbox "Copying Success"
Hope this helps...
Last edited by Jx_Man; Mar 18th, 2008 at 11:49 am. Reason: explaination
Reputation Points: 1182
Solved Threads: 392
Posting Sensei
Jx_Man is offline Offline
3,140 posts
since Nov 2007
Mar 18th, 2008
0

Re: Copying exe file into startup

yes, got it. thank you very much.....
your help always great
Reputation Points: 29
Solved Threads: 0
Junior Poster
november_pooh is offline Offline
120 posts
since Mar 2008
Mar 18th, 2008
0

Re: Copying exe file into startup

you're welcome friend.
i m glad to help and share my knowledge
Last edited by Jx_Man; Mar 18th, 2008 at 5:36 pm.
Reputation Points: 1182
Solved Threads: 392
Posting Sensei
Jx_Man is offline Offline
3,140 posts
since Nov 2007
Mar 22nd, 2008
0

Re: Copying exe file into startup

nice one..
Reputation Points: 37
Solved Threads: 7
Junior Poster in Training
Estella is offline Offline
99 posts
since Jan 2008
Mar 22nd, 2008
0

Re: Copying exe file into startup

thx estella...
hope it helps you
Reputation Points: 1182
Solved Threads: 392
Posting Sensei
Jx_Man is offline Offline
3,140 posts
since Nov 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: From Psuedo code to Visual Basic
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Controling LED's from usb





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC