🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #407

Re: How to login to other PC in intranet ?

#407
From: Chow Hoi Ka, Eric
Date: Mon, 24 May 1999 00:00
49 lines
2598 bytes
Hi,
Thanks for you kindly reply.
Would you please to give me a simple example?

Best regards,
Eric

Robert Petrunic wrote:

> Hi,
>
> You could try this:
> 1. and 2.
> wNetOpenEnum - to open enumeration of PC's on nework,
> wNetEnumResource - To find out all about PC's on network (domane name,
> workgroup name, server names, shares...)
> wNetCloseEnum - To close enumeration
>
> it is well documented in win32.hlp...
> 3. You could always use UNC name to write to a specified PC, or you could
> map it to your local drive with:
> wNetAddConection2 - maps network drive to specified local drive
> 4. This i don't know how (it is possible, but out of my league :o) ).
>
>                                                 Robert Petrunic
>
> Eric <eric138@yahoo.com> wrote in article
> <37459B85.743322C5@sftw.umac.mo>...
> > Hello,
> >
> > 1) How to know how many PCs in a Intranet ?
> > 2) How to know what is sharing in a Network PC (Such as Printer, Driver,
> > Directory, etc.)???
> > 3) Is it possible to read or write file to a network PC in an intranet ?
> >
> > 4) Is it possible to set the registry to a network PC in an intranet ??
> >
> > Is it possible to implement all the above problems in Delphi ?
> > Suppose that the program runs in one of the PC in an intranet.
> > So, I hope that program can detect all the PCs in the intranet that if
> > they can be read or written or not ?
> >
> > Would you please to give me a simple example ????
> >
> > Best regards,
> > Eric
> >
> >
> >
Technical Details
Message-ID: <3748345C.ED28ED20@sftw.umac.mo>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37459B85.743322C5@sftw.umac.mo> <01bea515$bb496c00$82e61dc3@server>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd817,39134b2d3fd3c365
X-Google-Attributes: gidfd817,public
X-Google-Thread: 10baee,39134b2d3fd3c365
X-Google-Attributes: gid10baee,public
X-Google-Thread: 1043cf,39134b2d3fd3c365
X-Google-Attributes: gid1043cf,public
From: "Chow Hoi Ka, Eric" <d951686@sftw.umac.mo>
Subject: Re: How to login to other PC in intranet ?
Date: 1999/05/24
Message-ID: <3748345C.ED28ED20@sftw.umac.mo>
X-Deja-AN: 481214007
Content-Transfer-Encoding: 7bit
References: <37459B85.743322C5@sftw.umac.mo> <01bea515$bb496c00$82e61dc3@server>
To: Robert Petrunic <rpetruni@zg.tel.hr>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@umacss2.umac.mo
X-Trace: umacss2.umac.mo 927478746 8013 161.64.62.19 (23 May 1999 16:59:06 GMT)
Organization: University of Macau
Mime-Version: 1.0
Reply-To: d951686@sftw.umac.mo
NNTP-Posting-Date: 23 May 1999 16:59:06 GMT
Newsgroups: comp.lang.pascal.delphi.misc,alt.comp.lang.borland-delphi,borland.public.delphi.objectpascal