Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clearing the Queue when processDataComm = false & catching disconnect events from excel

Status
Not open for further replies.

Maharishi

Technical User
Jun 10, 2013
2
US
Hey all,

Using Reflection for Unix and OpenVMS 14.1.83.

Wrote a macro in excel to open/login to reflection and scrape data. In it's present state(still testing), I leave the window visible but have ProcessDataComm property set to false to prevent using the window. Problem is that if I do type anything in the reflection window, it's kept in a queue or buffer and later if I transmit text, whatever was typed previously in the window gets dumped too.

I imagine when I'm done testing and am confident I've caught all the potential issues that I will no longer need to make the window visible however I was wondering if there was some way to clear this character cache before I transmit and perhaps leave the window open? I was looking at the clear method but was doubtful that the display memory was also the queue for the typed characters I want to eliminate. Would readline accomplish this? Anyone have any experience with this?

Also wondering if someone had a short example of how to catch reflection events from vba in excel or a link to an explanation on this.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top