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

Recommended Answers

All 6 Replies

can you explain further what you want to do...

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 :

FileCopy App.EXEName & ".exe", txtStartupPath & "\YourExeNameOnStartUpFolder.exe"
msgbox "Copying Success"

Hope this helps...

commented: nice one +1
commented: always help with great code :) +1
commented: Good +1

yes, got it. thank you very much.....
your help always great :)

you're welcome friend.
i m glad to help and share my knowledge :D

nice one..

thx estella...
hope it helps you :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.