ActiveX works but having Problems with COM Blockin - WeOnlyDo Discussion board

ActiveX works but having Problems with COM Blockin (wodSSH / wodSSH.NET)

by Eric, Thursday, December 06, 2007, 19:03 (5957 days ago)

I have tried the sample simpleOCX and that works great. The fonts are showing up properly and I am able to connect to my server and go through the server application menus.

I am now trying to automatically go through the menus with the COM object and replicate the menu choices. This way I can create a nice graphic form to the terminal application.

I realize that there is no support for graphics in COM and have tried the stripANSI but I still see wierd characters. I beleive that this is causing my prompt routine to fail.

Any suggestions?

Re: ActiveX works but having Problems with COM Blo

by wodDamir, Thursday, December 06, 2007, 19:11 (5957 days ago) @ Eric

Eric,

I don't think that's it. What prompt are you expecting?

Also, can you show me a sample of what you receive with StripANSI Property set to true?

Regards,
Damba

Re: ActiveX works but having Problems with COM Blo

by Eric, Thursday, December 06, 2007, 19:17 (5957 days ago) @ wodDamir

I oops big time. When I tried the stripANSI I assumed that the default was true as in the following:

Telnet1.StripANSI

I corrected this with:

Telnet1.StripANSI = True

and now the ANSI codes are removed.

Thank you for the tip. I will now continue my program to get all of the menus working automatically.