Hi folks. I'm having an issue with Windows 8. I basically want to test the existence of a file located on a network drive. Here are my tests:
Using VB2008, my test project only contains one line of code: MsgBox(My.Computer.FileSystem.FileExists("Z:\MyDB.mdb")). I compiled the test project once using a manifest which includes "RequireAdministrator" and called it Test1.exe. I also compiled using a manifest which includes "AsInvoker" and called it Test2.exe.
Using VB2008, my test project only contains one line of code: MsgBox(My.Computer.FileSystem.FileExists("Z:\MyDB.mdb")). I compiled the test project once using a manifest which includes "RequireAdministrator" and called it Test1.exe. I also compiled using a manifest which includes "AsInvoker" and called it Test2.exe.
I then compiled another test project under good old VB6 containing only one line of code: MsgBox FSO.FileExists("Z:\MyDB.mdb") where FSO is an instance of a FileSystemObject. I also compiled the test once using a manifest including "RequireAdministrator" (called it Test3.exe) and once using "AsInvoker" (called it Test4.exe).
The results were:
Test 1 : False
Test 2 : True
Test 3 : True
Test 4 : True
By the way, all tests results return True when testing on Windows 7 and Windows XP. This issue is strictly with Windows 8.
Can anyone help me make sense of these results?
More details:
1. All test executables were digitally signed.
2. Of course, the drive is correctly mapped and I can drag and drop files with the mouse.
3. The folder targeted as Z is shared with Full Control for Everyone.
1. All test executables were digitally signed.
2. Of course, the drive is correctly mapped and I can drag and drop files with the mouse.
3. The folder targeted as Z is shared with Full Control for Everyone.
4. The Windows user on the Windows 8 station is an Administrator.
5. All firewalls and security systems were disabled for testing.
6. Tests were done on both Windows 8 Pro and Windows 8 Home, same results.
7. Login on both host and client stations is with the same Windows account and password.