Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.sdk
WNetAddConnection2 - Mapping Network Drive
Aaron
11/26/2002 9:43:00 PM
2 Answers
NETMaster
11/26/2002 10:33:00 PM
0
Please don't multi-post!
> The WNetAddConnection2 call works successfully under VB6.
Note, you can't port API calls 1:1 from VB6 to .NET...
- VB6:Long is not Long in .NET!
- pass NETRESOURCE structure as: ByRef
Try code like:
http://groups.google.com/groups?selm=us89CtICCHA.1940%40t...
--
Thomas Scheidegger - MVP .NET - 'NETMaster'
http://www.cetus-links.org/oo_d...
-
http://dnetm...
Aaron
11/26/2002 10:43:00 PM
0
Yes, sorry about that... I thought is was possibly under
the wrong section.
>-----Original Message-----
>Please don't multi-post!
>
> > The WNetAddConnection2 call works successfully under
VB6.
>
>Note, you can't port API calls 1:1 from VB6 to .NET...
>- VB6:Long is not Long in .NET!
>- pass NETRESOURCE structure as: ByRef
>
>Try code like:
>
http://groups.google.com/groups?selm=us89CtI...
40tkmsftngp04
>
>
>
>
>--
> Thomas Scheidegger - MVP .NET - 'NETMaster'
>
http://www.cetus-links.org/oo_d...
-
http://dnetm...
>
>
>.
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
WNetAddConnection2 - Mapping Network Drive
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password