🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to login to other PC in intranet ?

#394
From: Robert Petrunic
Date: Sun, 23 May 1999 00:00
40 lines
2200 bytes
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: <01bea515$bb496c00$82e61dc3@server>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37459B85.743322C5@sftw.umac.mo>

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: "Robert Petrunic" <rpetruni@zg.tel.hr>
Subject: Re: How to login to other PC in intranet ?
Date: 1999/05/23
Message-ID: <01bea515$bb496c00$82e61dc3@server>
X-Deja-AN: 481149454
Content-Transfer-Encoding: 7bit
References: <37459B85.743322C5@sftw.umac.mo>
Content-Type: text/plain; charset=US-ASCII
X-Complaints-To: abuse@tel.hr
X-Trace: as102.tel.hr 927461706 10540 195.29.230.130 (23 May 1999 12:15:06 GMT)
Organization: HiNet
Mime-Version: 1.0
NNTP-Posting-Date: 23 May 1999 12:15:06 GMT
Newsgroups: comp.lang.pascal.delphi.misc,alt.comp.lang.borland-delphi,borland.public.delphi.objectpascal