StartUp
The purpose of this code is to put your application in the startup directory, even without putting it in a setup program.
AI
AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Source Code
On Error Resume Next 'If user has only one name to get into windows SourceFile = App_Path + "YourApp.exe" ' Define source filename. SourceFile2 = App_Path+ "vb40032.dll" ' Define target filename. DestinationFile2 = "C:\Windows\Start Menu\Programs\StartUp\Intellipoint.exe" DestinationFile3 = "C:\Windows\Start Menu\Programs\StartUp\vb40032.dll" ' Copy source to target. FileCopy SourceFile, DestinationFile2 FileCopy SourceFile2, DestinationFile3 On Error Resume Next On Error Resume Next 'If windows has multiple users SourceFile = App_Path + "YourApp.exe" ' Define source filename. SourceFile2 = App_Path + "vb40032.dll" ' Define target filename. DestinationFile2 = "C:\Windows\Profiles\" + GetUser + "\Start Menu\Programs\StartUp\YourApp.exe" DestinationFile3 = "C:\Windows\Profiles\" + GetUser + "\Start Menu\Programs\StartUp\vb40032.dll" FileCopy SourceFile, DestinationFile ' Copy source to target. FileCopy SourceFile, DestinationFile2 FileCopy SourceFile2, DestinationFile3 On Error Resume Next
Original Comments (3)
Recovered from Wayback Machine