Click to See Complete Forum and Search --> : FileCopy


LarryLunchBucket
December 21st, 1999, 04:49 PM
hello, i am trying to copy the file paintbrush(pbrush.exe) to the startup menu through vb code, i no that you type in FileCopy StartPath, EndPath but its not working, have any suggestions?

smalig
December 22nd, 1999, 04:22 AM
Look it here:
http://vbcode.webhostme.com/en/click.asp?id=111

smalig@hotmail.com
http://vbcode.webhostme.com/

Aaron Young
December 22nd, 1999, 10:54 AM
I wouldn't recommend copying files to the Startup Folder, as this wasn't its intended use, (supposed to place shortcuts in the Startup Folder)..

Instead, why don't you add an entry to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run in the Registry.
This will start the Application when Windows Starts.

Aaron Young
Analyst Programmer
adyoung@win.bright.net
aarony@redwingsoftware.com