I am new in VB, and trying to learn... i have difficulty in writing a file residing on a network shared folder. I used:

Open "\\org3\org\test.dat" For Random As #1 Len = Len(MyRecord)

I figure the problem is that the folder is password protected... and although I know the password for full network access, i do not know how to parse this password through VB. It will be no problem if i first logon into the shared drive before executing my VB code... but that is not what i want.

Pls Help...