IE has actually removed support for this. This is non-standard and I wouldn't count on it working.
try varHTTPRIO.HTTPWebNode.UserName := 'User'; varHTTPRIO.HTTPWebNode.Password := '****'; untested cheers, Jeremy On 9/14/05, James Sugrue <[EMAIL PROTECTED]> wrote: > Does the > > username:[EMAIL PROTECTED]://localhost/Service > > notation work ? > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Leigh Wanstead > Sent: Wednesday, 14 September 2005 12:47 p.m. > To: [email protected] > Subject: [DUG] web service > > Hello everyone, > > I use THTTPRIO and here is the test code. > > var > varHTTPRIO: THTTPRIO; > begin > varHTTPRIO := THTTPRIO.Create(nil); > try > varHTTPRIO.URL := 'http://localhost/Service'; > (varHTTPRIO as ServiceWS).hello(''); > finally > FreeAndNil(varHTTPRIO); > end; > end; > > May I ask how to supply user name and password without bring Windows login > dialog? > > TIA > > Regards > Leigh > > > _______________________________________________ > Delphi mailing list > [email protected] > http://ns3.123.co.nz/mailman/listinfo/delphi > > > _______________________________________________ > Delphi mailing list > [email protected] > http://ns3.123.co.nz/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
