Re: mapping a network drive

From: Qzg=FCr=20TU=D0RUL?= (oztugrul_at_hacettepe.edu.tr)
Date: 11/21/03


Date: Fri, 21 Nov 2003 12:36:51 +0200
To: Diego Irrazabal <diegoi@idiomas.com.ec>

to mapped a network connection :
    WNetAddConnection(Pchar('\\PC01\Rsc'),Pchar(''),Pchar('Q:'));
closing mapped network connection :
     WNetCancelConnection(Pchar('Q:'), True);

more information about it you should look at windows sdk help ok ?

regards,
Ozgur

Diego Irrazabal wrote:

> Hello !
>
> I need that my application, (if it is not mapped), maps a network drive
> automatically or check the state of the connection.
> My case is:
> \\PC01\Rsc\ mapped to 'Q:\'
> Could you please help me on this.
>
> Thankx!
>
> Best regards,
>
> Diego Irrazabal

--
============================================
Özgür TUĞRUL
Application & System Programmer
Ass. Database & System Adm.
Statistician & Research Ass.
Hacettepe University Office of the Registrar
Data Processing Department - System Room
oztugrul@hacettepe.edu.tr
http://yunus.hacettepe.edu.tr/~oztugrul/
============================================


Relevant Pages

  • Re: Cannot connect to SBS VPN using Win2k
    ... The problem is fixed as the personal firewall in win2k has been blocked the ... port. ... Regards, ... When I create a new network connection myself ...
    (microsoft.public.windows.server.sbs)
  • Re: How to designate a folder as a drive D
    ... Regards, ... Dave Patrick ....Please no email replies - reply in newsgroup. ... Microsoft MVP [Windows] ... | network connection since the computer is in a remote trailer. ...
    (microsoft.public.win2000.file_system)
  • Re: sockets not seeing the world :(
    ... msdn library to start reading with regards to selecting and ... initialising a network connection on a compact framework device. ...
    (microsoft.public.dotnet.framework.compactframework)
  • XP Client & logon script message
    ... The network connection could not ... More help is available by typing NET HELPMSG 2250" when loggging ... If the machine is rebooted it generally logs on OK and maps the drives. ... Regards ...
    (microsoft.public.windows.server.networking)