Hi Kenneth,
Check
NETRESOURCE structure class File #
9502, in particular DEMO_WNetAddConnection3.PRG
>Hello all
>
>I have my vfp datafiles on a server with about 10 users hitting it.
>But if they are not authenticated to the server they get an 'Error Instantiating' message.
>I do have a custom error handler BUT this does not cause a normal error.
>I have found a way to stop this by just issuing a USE cmd on a database that is located on the server. But I realize that there must be a better way todo this.
>Any Ideas are appreciated
>
>thanx,
>Kenneth
--sb--