Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: Visual Basic 6, RSH hangs on exit
vancura

From: Rock Island, IL USA
Posts: 4
Member Since: 11/11/02
posted November 11, 2002 6:06 PM

I have a VB project that uses the RHS component. It worked fine on Windows 98 development. I just upgraded the system to Win 2000 and now the VB project hangs when I exit the program while working in the developer. The compiled program (from Win98) works on the 2K platform. The compiled version (from win2k) also seems to run properly. I think I'm the latest. Telnet control is 1.1.0.7 and Dart sock is 2.2.0.6. Any Ideas?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted November 12, 2002 10:00 AM

Hi,
Does our Telnet client hang as well on this machine?
Do new projects?
Thanks,
-ken
vancura

From: Rock Island, IL USA
Posts: 4
Member Since: 11/11/02
posted November 12, 2002 9:40 PM

The program hangs only while in VB-6 development. I have two programs that use the RSH drivers 1) my main application which is fairly large and complex & 2) a nearly trivial test program that sends a simple request to the server and displays the result. it has a button to make the request and a button to quit. If I compile both programs, both of the EXEs will run on my ME box and my 2K box without incident. The VB-6 developer is only on the 2K box. The programs were originally written on a win-98 box (now the 2k box). I do not have VB-6 on the ME box. If I press the quit button while in developer, it hangs. Note: If I single step trough the quit, It will step Through "Telnet1.Close" and then hang on "Exit Sub". If I open the program and then close it without doint a Telnet1.RSH call, the program will terminate normaly. I have "Telnet1.Timeout = 2500" and I am using the non-blocking method.
- Bill
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted November 13, 2002 1:34 PM

Hi,
Does our Telnet client hang on this machine in development as well?
Do new projects?
Thanks,
-ken
vancura

From: Rock Island, IL USA
Posts: 4
Member Since: 11/11/02
posted November 13, 2002 1:51 PM

I do not understand your question.
This machine is my development machine. It is now a Win-2000 box.
I will create another test project from scratch on this computer.
-Bill
vancura

From: Rock Island, IL USA
Posts: 4
Member Since: 11/11/02
posted November 14, 2002 3:09 PM

I built a new test module that does only two things 1) a telnet1.rsh and a telnet1.close.
I have telnet.timeout=0. I use Telnet1_receive()to display the return data.
What I learned is: 1) that the compiled version in win-2000 does not quit. The window closes, but the process stays active as determined by the task manager. 2) In VB6, the program hangs on pressing the close button. VB6 opens 5 threads when opened. Running the test program and doing a telnet.rsh, another 5 threads open but never close. The problem only manifests itself if I execute a telnet1.rsh command. Opening the program and closing it again is problem free.
Any ideas?
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX