Re: Multiple PromptReceived don't seem to w (General questions)
Hi,
Well it worked for me, this is my code, please try it out:
-------------------------------------------
private void Form1_Load(object sender, EventArgs e)
{
axwodTelnetDLX1.Connected += new AxWODTELNETDLXLIB._IwodTelnetDLXEvents_ConnectedEventHandler(axwodTelnetDLX1_Connected);
axwodTelnetDLX1.Hostname = server_name ;
axwodTelnetDLX1.Protocol = WODTELNETDLXLIB.ProtocolsEnum.Telnet;
axwodTelnetDLX1.Login = login ;
axwodTelnetDLX1.Password = password ;
axwodTelnetDLX1.Connect( server_name , 23, WODTELNETDLXLIB.ProtocolsEnum.Telnet);
}
void axwodTelnetDLX1_Connected(object sender, AxWODTELNETDLXLIB._IwodTelnetDLXEvents_ConnectedEvent e)
{
textBox1.Text = connected ;
}
-------------------------------------------
My code connect to server and fired Connected Event.
You can get Events by entering for Connected Event in Form Load:
axwodTelnetDLX1.Connected += and double press Tab button on your keyboard and you will get:
-------------------------------------------
axwodTelnetDLX1.Connected += new AxWODTELNETDLXLIB._IwodTelnetDLXEvents_ConnectedEventHandler(axwodTelnetDLX1_Connected);
void axwodTelnetDLX1_Connected(object sender, AxWODTELNETDLXLIB._IwodTelnetDLXEvents_ConnectedEvent e)
{
//here you can add code for Connected Event
}
-------------------------------------------
for other Events procedure is same.
I can prepare you sample if you want. Please send e-mail to techsupport@weonlydo.com for sample.
Hope this helps.
Regards,
Drazen
Complete thread:
- Multiple PromptReceived don't seem to work - hactic, 2006-10-09, 15:58
- Re: Multiple PromptReceived don't seem to work - wodDrazen, 2006-10-09, 16:30
- Re: Multiple PromptReceived don't seem to work - hactic, 2006-10-09, 17:02
- Re: Multiple PromptReceived don't seem to w - wodDrazen, 2006-10-09, 17:30
- Re: Multiple PromptReceived don't seem to work - hactic, 2006-10-23, 10:49
- Re: Multiple PromptReceived don't seem to w - wodDrazen, 2006-10-09, 17:30
- Re: Multiple PromptReceived don't seem to work - hactic, 2006-10-09, 17:02
- Re: Multiple PromptReceived don't seem to work - wodDrazen, 2006-10-09, 16:30