I thought I had the answer from previous posts but the problem is still there.
When trying to use VB6 to interrogate a database on a brand new or recently formatted remote computer (via network) I get a failure notice that says "you do not have permission etc"
If you try to see the file using Windows explorer using say "\\10.208.9.176\C\MyFolder\MyDatabase.mdb" I get the usual WindowsXP dialog box that says enter username & password.
I have the remote machine enabled for everything as administrator and everyone and all passwords cancelled.
Only if I type 'administrator' in the user name of the dialog box can I view the database. From then on my VB6 app works fine -
UNTIL a problem on the remote station that requires reloading WindowsXP or reversion to a previous setting.
Then I have to re enter administrator again and everything is OK!
I have tried what I think is everything but it still does it. Unfortunately once I type in administrator I cant normally reproduce the condition.
I set all 'control userpasswords2' passwords to none and "user needs to log on" to no.
Surely I shouldn't need to use Windows explorer to get VB6 to perform a task? So is it perhaps possible to recreate and automate what Windows Explorer does in a VB6 API routine?
Any more ideas or am I stuck with another Windows oddity?
When trying to use VB6 to interrogate a database on a brand new or recently formatted remote computer (via network) I get a failure notice that says "you do not have permission etc"
If you try to see the file using Windows explorer using say "\\10.208.9.176\C\MyFolder\MyDatabase.mdb" I get the usual WindowsXP dialog box that says enter username & password.
I have the remote machine enabled for everything as administrator and everyone and all passwords cancelled.
Only if I type 'administrator' in the user name of the dialog box can I view the database. From then on my VB6 app works fine -
UNTIL a problem on the remote station that requires reloading WindowsXP or reversion to a previous setting.
Then I have to re enter administrator again and everything is OK!
I have tried what I think is everything but it still does it. Unfortunately once I type in administrator I cant normally reproduce the condition.
I set all 'control userpasswords2' passwords to none and "user needs to log on" to no.
Surely I shouldn't need to use Windows explorer to get VB6 to perform a task? So is it perhaps possible to recreate and automate what Windows Explorer does in a VB6 API routine?
Any more ideas or am I stuck with another Windows oddity?