By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,576 Members | 1,399 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,576 IT Pros & Developers. It's quick & easy.

Service. Net use

P: n/a
Hi

In VB6 I could use the 'WNetUseConnection' API to map a remote disk. This
API needs a forms.Hwnd to work.

How can I map a remote disk from a .NET service?

Regards
Odd A. Haugum

Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Odd A Haugum" <od***************@online.no> wrote in message
news:tf********************@news2.e.nsc.no...
Hi

In VB6 I could use the 'WNetUseConnection' API to map a remote disk. This
API needs a forms.Hwnd to work.

How can I map a remote disk from a .NET service?

I believe the window handle is not necessary unless you specify the
CONNECT_INTERACTIVE option.

In any case WNetAddConnection2 does the same thing without a window handle.

David
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.