Using VB5. When I open program (on a Win98 2nd edition system) and attempt to open a file on our server (also Win98 2nd edition), to write to it:
Open filename for Output as #1
I get "error 52 Bad file name or number"
The server is shared, but password protected. We run on a LAN, peer-to-peer environment. If I go to network neighborhood and go to the server, I am prompted for the password. After I do so, I can then execute the above code without error.
The question is, How can I through code, bring up the prompt, without getting the error 52?