CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: FileCopy

  1. #1
    Join Date
    Dec 1999
    Posts
    8

    FileCopy

    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?


  2. #2
    Join Date
    Sep 1999
    Location
    Germany
    Posts
    66

  3. #3
    Join Date
    Sep 1999
    Location
    Red Wing, MN USA
    Posts
    312

    Re: FileCopy

    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
    [email protected]
    [email protected]
    Aaron Young
    Senior Programmer Analyst (Red Wing Software)
    Certified AllExperts Expert

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

Featured