Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WNetAddConnection2
Message
From
01/05/2008 13:59:37
 
 
To
01/05/2008 13:07:09
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01314449
Message ID:
01314563
Views:
13
Nevermind - it works for me too.


>Woohooo! That's the ticket! Well I took the netresource class definition from that older piece of code, added it to the newer one (which you sent earlier) and it worked.
>
>Finally! :)
>
>Thanks
>
>
>>Mike,
>>
>>See Re: WNetAddConnection2 Message #531154
>>
>>>>Check Re: Mapping to network drive using .BAT file Thread #888895 Message #889197
>>>
>>>Hi Sergey
>>>
>>>That code is the cleanest sample of all. It uses struct too which is good. However there is no NETRESOURCE class definition in struct.vcx so it fails here:
>>>
>>>loNetResource = CreateObject("NETRESOURCE")
>>>
>>>Thanks
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform