DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to automatically login to a remote PC

 
   Reply to topic    DELPHI AREA Forum Index -> Delphi Programming
View previous topic :: View next topic  
Author Message
dante0817
Member


Joined: 07 Aug 2003
Posts: 4

PostPosted: 27/08/03 05:08    Post subject: How to automatically login to a remote PC Reply with quote

If I connect to other computer within a LAN it usually prompt for the username and password. How can I code it so that the program automatically feeds in that information so that I anybody could access that computer without having to type the username and password. -- Actually the program did it for them.

Thanks
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 206

PostPosted: 27/08/03 07:23    Post subject: Reply with quote

I wrote a simple program to login to a remote machine. Because I don't have access to LAN, I couldn't test the code.

Could you please check out the attachment and inform me about the result?



NetTest.zip
 Description:
The sample code to login to a remote machine. (Not Tested)

Download
 Filename:  NetTest.zip
 Filesize:  2.27 KB
 Downloaded:  36 Time(s)

Back to top
View user's profile Send e-mail Visit poster's website
dante0817
Member


Joined: 07 Aug 2003
Posts: 4

PostPosted: 08/09/03 02:58    Post subject: How to automatically login to a remote PC. Reply with quote

Thank Kambiz for you code. But I still could not connect to other PC. The error is this:

System Error. Code: 1314.
A required previlege is not held by the client.

But I can manually connect to that PC, i.e. input my username and password.
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 206

PostPosted: 08/09/03 11:36    Post subject: Reply with quote

I'm sorry that I couldn't do something useful. Because I don't have access to a secured network, I cannot try to find a solution.
Back to top
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
   Reply to topic    DELPHI AREA Forum Index -> Delphi Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group