AncientTiger
Programmer
I have a program written in VB6 that checks for an available update on a LAN network drive, and if available, it will copy the newer version from the X drive to the program folder on the C drive. Works just fine on our Win7 computers, but some of the PCs are being upgraded from Win7 to Win10 and the simple process just won't work.
Here it is in a nutshell
The error is occurring in the last line because for some reason Win10 is saying that it cannot fine the path for the source file stored in the var SOURCEPATH. I've triple-checked and it's ABSOLUTELY ACCURATE, and again, it works just fine in Win7, so I know it has to be something with Win10 settings, but I'm just not familiar enough with Win10 yet to figure it out.
Any help on this would be GREATLY appreciated!!!!
------------------------------------
Over 20 years of programming, and still learning every day!
Here it is in a nutshell
SOURCEPATH = "X:\LOCAL SCHEDULING SYSTEM\SOFTWARE UPDATES\SCHEDULING.EXE"
DESTPATH = APP.PATH+"\SCHEDULING.EXE"
SET FSO = CREATEOBJECT("SCRIPTING.FILESYSTEMOBJECT")
FSO.COPYFILE SOURCEPATH,DESTPATH
The error is occurring in the last line because for some reason Win10 is saying that it cannot fine the path for the source file stored in the var SOURCEPATH. I've triple-checked and it's ABSOLUTELY ACCURATE, and again, it works just fine in Win7, so I know it has to be something with Win10 settings, but I'm just not familiar enough with Win10 yet to figure it out.
Any help on this would be GREATLY appreciated!!!!
------------------------------------
Over 20 years of programming, and still learning every day!