Search All Forums
Dart Home | Custom Development Reply | General Questions Topics | Forums   
AuthorForum: General Questions
Topic: Creating a DLL for the screen scraping code

From: Los Angeles, CA USA
Posts: 13
Member Since: 11/23/10
posted December 16, 2010 4:57 PM


I have created a DLL for the screen scraping code (which mostly contains telnet1.read and telnet1.write commands to send instructions to telnet server). This is working fine if I use it without any UI, i.e. from a console application. But I have another project which has Windows form (similar to the one TelnetClient project in Winforms directory in the samples), when I try calling the screen scraping function from this form (which also has the VT object) I experience the following two issues:
1. it locks my form and doesnt allow me to do anything with it (like opening debug form or opening menus)
2. I do not get the UI back until the complete process is over. Once its done I get the final state of the UI back to my VT control.
I guess I am not able to Marshal each step back to the VT control on my form but how do I do that?
Could you please provide some guidence on how to proceed on this?

Thanks & Regards,
Chitrang Golvelker
Nick B (Admin)

From: Utica, NY USA
Posts: 593
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted December 17, 2010 9:36 AM


The UI is unresponsive because blocking code is being run on the UI thread; an explanation of how to implement asynchronous operation is included in the help documentation under the topic 'Asynchronous Operation'. If you have any questions, please let me know.
Reply | General Questions Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX