| Dart Home | PowerTCP Emulation for .NET | Custom Development | Reply | PowerTCP Emulation for .NET Topics | Forums |
| Author | Forum: PowerTCP Emulation for .NET Topic: screensize |
| jo.sonck jo.sonck@octaplus.be From: vilvoorde, Belgium Posts: 13 Member Since: 07/04/03 |
posted September 12, 2007 11:56 AM Hi, I was previously using your powertcp activex component in a few applications where I used the .cols property to switch between 80 and 132 columns. Recently I downloaded the 30 day trial version because we are using .NET now instead of VB6. When I switch between 80 and 132 columns the screen blanks out unlike the older version. Is there a way getting around this problem? |
| Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted September 12, 2007 5:12 PM Hello, Thanks for evaluating PowerTCP Emulation for .NET. I tried a lot however was not able to replicate the said issue. I would request you to please provide us a small sample so that we can check this issue further at our end. You may send the required sample at support@dart.com with subject as Forum TopicID 7583. Any further information to isolate the issue would be highly appreciated. Regards, Amit |
| jo.sonck jo.sonck@octaplus.be From: vilvoorde, Belgium Posts: 13 Member Since: 07/04/03 |
posted September 19, 2007 6:14 AM Some more information: at some point vt.ScrapeText(820082,100) gives me some text after executing : vt.ScreenSize = New Size(132, 24) vt.ScrapeText(0,821968) gives me only blancs |
| Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted September 19, 2007 3:32 PM Hello, Thank you for providing the information. With regards to the query I would request you to please send me the screen dump so that I can test the issue at my side. You might want to look at the trace log, to see the communication taking place. The trace can be generated by using the Trace Event. (Refer the help file for more details/code snippet for this event). Regards, Arjun |
| jo.sonck jo.sonck@octaplus.be From: vilvoorde, Belgium Posts: 13 Member Since: 07/04/03 |
posted September 22, 2007 3:52 AM Hello, I don't see how this trace can be of any importance, since there is no communication at all. on screen i have the following prompt : "%SYS>" This is the result in the immediate window: - before the instruction "MyTerminal.ScreenSize = New Size(80, 24)" : >? instr(myterminal.scrapetext(0,myterminal.textlength),"SYS") 1340269 - after the instruction : >? instr(myterminal.scrapetext(0,myterminal.textlength),"SYS") 0 the only thing that is happening between these two prints, is switching from one screensize to another and all data in the textbuffer from the vt is lost. this was not the case in the old activex. regards |
| Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted September 24, 2007 1:11 PM Hello, I would need to replicate the issue at my side to test. Therefore I would request you to please provide me the steps so that can duplicate the said scenario and look further into the issue. Regards, Arjun |
| jo.sonck jo.sonck@octaplus.be From: vilvoorde, Belgium Posts: 13 Member Since: 07/04/03 |
posted September 25, 2007 8:55 AM Please paste the following code in a project with a form called "form1" and a vt control called "vt1" and 3 buttons called "BtnLoad","Btn80" and "Btn132". Start the project, hit the button load and the vt control will show the word "test". Then hit the button 132 and the word test disappears. In the old activex I could do this by setting the cols property to 132 and back to 80, without losing the text. Public Class Form1 Private Sub BtnLoad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnLoad.Click Vt1.Write("test") End Sub Private Sub Btn80_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btn80.Click Vt1.ScreenSize = New Size(80, 24) End Sub Private Sub Btn132_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btn132.Click Vt1.ScreenSize = New Size(132, 24) End Sub End Class |
| Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted September 26, 2007 4:34 PM Hello, I have been able to replicate the issue and have reported to development with issue number 4519. For updates on the status of this issue, please contact Jamie Powell (jamie.powell@dart.com). Let me know if you require further assistance/clarifications. Best Regards, Arjun |
| Reply | PowerTCP Emulation for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|