🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Jarkko Juntunen Wed, 07 May 2003 18:03
How to map network dive(s) programmatically?
#16576
Author: Jarkko Juntunen
Date: Wed, 07 May 2003 18:03
12 lines
1061 bytes
Hi!

Could anyone tell hov to map network drive(s) in my program like with net 
use command?
(net use \\<computername>\<sharename> passwd /USER:username)

There must be some "cooler" way than use ShellExzecute().

Thanks! 

-- 
-jii
Re: How to map network dive(s) programmatically?
#16585
Author: Vladimir Afanasyev
Date: Thu, 08 May 2003 06:57
16 lines
1308 bytes
Hi,

Jarkko Juntunen <dzeidzei@suolakaivos.com> wrote:
>Hi!
>
>Could anyone tell hov to map network drive(s) in my program like with net 
>use command?
>(net use \\<computername>\<sharename> passwd /USER:username)
>
>There must be some "cooler" way than use ShellExzecute().
>

WNetAddConnection2, WNetAddConnection3... I guess...

Vladimir.
Re: How to map network dive(s) programmatically?
#16598
Author: Jarkko Juntunen
Date: Thu, 08 May 2003 15:41
12 lines
1217 bytes
"Vladimir Afanasyev" <avv@systema.kiev.ua.> wrote in
news:3eb9ffce$1@newsgroups.borland.com: 

> WNetAddConnection2, WNetAddConnection3... I guess...
> 
> Vladimir.
> 

Thanks. WNetAddConnection3 seems to fit for this need.

-- 
-jii
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads