|
Actually, it depends on why you are starting the router. If it is for ODBC, then it is easy. Just include UID=PROFILE;PWD=PASSWORD in the connection string. And if you also specify noOdbcDialog as shown below (using MFC), you will never get that dialog box asking for a signon. CDatabase::OpenEx(ConnectString, CDatabase::useCursorLib | CDatabase::noOdbcDialog); This works great if the NT box is actually signed on. I do not know how to do it if you are running as a service or using other functions of the router. But then, I could have totally missed the point of your question also! If so, sorry. Regards, Bob Crothers Cornerstone Communications -----Original Message----- From: Art Tostaine [SMTP:atostain@crecomp.com] Sent: Friday, December 12, 1997 11:59 AM To: MIDRANGE-L@midrange.com Subject: Re: Automating Router Signon for Windows NT Rich Garcia wrote: > In the past their was a discussion that stated that their is a way to > automate the CA/400 router signon in windows 95. Can anyone tell me if > this > can be done using Windows NT 4.0. > > Any responses would be appreciated. > > Rich Garcia > AS400 System Programmer > United Parcel Service That's called password caching, and its not supported under windows nt. I found that info in the Client access help file. Art Tostaine CCA, Inc. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- uucp +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.