I have a small program that works just fine on Windows XP boxes. However, when I run it on a Windows 7 box, I get a SSPI error. As you can see, all it does is copy a file and exit it. I am wondering if the "shell" is the issue.
Code:Private Sub Form_Load() Dim filefrom As String Dim FileTo As String Dim Command As String filefrom = "Z:\PARTS\MACHINEPARTS.EXE" FileTo = "C:\PARTS\MACHINEPARTS.EXE" Command = "C:\PARTS\MACHINEPARTS.EXE" 'first copy file FileCopy filefrom, FileTo 'now fire up the program Shell Command, 1 End End Sub




Reply With Quote