Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
FS106
I do this:
ControlsOCXFolder="D:\Revsoft\Controls"
utility("MAKEDIR",ControlsOCXFolder)
//******SRP OLE******//
errCodes=''
Ok=CopyOSFile('SRPControls.OCX', ControlsOCXFolder, 1)
if Ok else
status = Get_Status(errCodes)
if status then
FsMsg(errCodes)
end
end
then get message FS106 Access denied by operating system.
Tried different folders and drives.
What have I done wrong. (where could some windows/OI setting be screwed)
ControlsOCXFolder="D:\Revsoft\Controls"
utility("MAKEDIR",ControlsOCXFolder)
//******SRP OLE******//
errCodes=''
Ok=CopyOSFile('SRPControls.OCX', ControlsOCXFolder, 1)
if Ok else
status = Get_Status(errCodes)
if status then
FsMsg(errCodes)
end
end
then get message FS106 Access denied by operating system.
Tried different folders and drives.
What have I done wrong. (where could some windows/OI setting be screwed)
Comments
Will try a completely different file
Good idea. If that also fails, try using the Windows Temp folder as another comparison test.
Fail
Ok, back to what I have been doing for years. (Yes have UAC - exclude etc etc)
osread OcxFile from 'SRPControls.OCX' then
oswrite OcxFile to ControlsOCXFolder:"\SRPControls.OCX"
end