Board index » delphi » TIdUserAccount error

TIdUserAccount error


2004-02-17 05:04:29 AM
delphi91
Good Morning!
I am using D5 EE, Indy 9.00.14.
Using the TidFTPServer, UserAccounts. Doing this:
ftpServer.UserAccounts.Accounts[0].UserName := FUserName (FUsername is a
string) results in this error: : Incompatible types: 'String' and 'Integer'.
Am I missing something here?
Thanks...Dan'l
 
 

Re:TIdUserAccount error

"Dan Statham" <XXXX@XXXXX.COM>writes
Quote
Doing this:
Try this instead:
ftpServer.UserAccounts.Accounts.Items[0].UserName := FUserName;
Gambit
 

Re:TIdUserAccount error

Good Morning!
Ah! But of course!
Thanks...Dan'l
"Remy Lebeau (TeamB)" <XXXX@XXXXX.COM>writes
Quote

"Dan Statham" <XXXX@XXXXX.COM>writes
news:4031305c$XXXX@XXXXX.COM...

>Doing this:

Try this instead:

ftpServer.UserAccounts.Accounts.Items[0].UserName := FUserName;


Gambit