Juan,
See Forum: Visual FoxPro Category: Windows API functions Title: Re: Determining a Net Connection. Thread #
552078 Message #
552095>Hi everybody.
>
>Any one of you have used the WNetAddConnection2 API Function with VFP, i´m having some problems figuring out how to build a NETRESOURCE string in VFP.
>
>NETRESOURCE can be build in VB or VC but VFP doesn´t support that C structures, so we have to make a string having the contents of that structure.
>
>Which is the best practice : Write all my code on VFP ? or Write a sepparate DLL or EXE in C with that Functions ?
>
>Thanks.
If it's not broken, fix it until it is.
My Blog