Re: Off-topic - problém při mapování disků v Delphi5

Tomáš Werschall tom84@seznam.cz
Úterý Leden 18 22:44:21 CET 2005


 procedure TFrmMain.Button_pripojeni_diskuClick(Sender: TObject);
var
  NRW: TNetResource;
begin
  with NRW do
  begin
    dwType := RESOURCETYPE_ANY;
    lpLocalName := 'W:'; // map to this driver letter
    lpRemoteName := '\\server\sdileni';
    // Must be filled in. If an empty string is used,
    // it will use the lpRemoteName.
    lpProvider := '';
  end;
  WNetAddConnection2(NRW, 'Heslo', 'Uzivatel',
  CONNECT_UPDATE_PROFILE);
end;

To je vse

----- Original Message -----
From: "josef.vopalensky" <josef.vopalensky@delphi.com>
To: "HW-news" <hw-list@list.hw.cz>
Sent: Tuesday, January 18, 2005 12:26 PM
Subject: Off-topic - problém při mapování disků v Delphi5



Dobrý den, omlouvám se za off topic,
-nevíte někdo prosím vás, jak v Delphi 5 a viš namapovat disk na lokální
síti?
Zatím volám příkaz : net use f: \\server\c$ karel /USER:karel
A to my nepřipadá moc efektní.

Díky

Best regards,
S pozdravem
      Josef Vopalensky

****************************************************************************
************

Note: The information contained in this message may be privileged and
confidential and thus protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent responsible
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer. Thank you.

****************************************************************************
************
_______________________________________________
HW-list mailing list  -  sponsored by www.HW.cz
Hw-list@list.hw.cz
http://list.hw.cz/mailman/listinfo/hw-list




Další informace o konferenci Hw-list