| 
    
     | 
    
    Forums -> Miscellaneous Forum  
    
      
        
        
          
            | DOS-Prompt Output to Textbox freezes | 
            
                             Reply
                            | 
           
         
         | 
       
      
        
          
            
              by RColtrane [roger_coltrane at yahoo dot com dot br] posted on 2004/01/16 | 
              
                 | 
             
           
        
        
        
        I´ve got your 'Dos-Prompt output to a textbox' code and implemented in my program in order to do a 'progress status' when running a FTP connection through a txt script. But when I execute the command to do that, it freezes. Here´s my command line: 
 
c:\winnt\system32\ftp.exe -s:c:\temp\script.txt 
 
Is there any way to fix that?? Thanks in advance. 
Regards, 
Roger Coltrane  | 
       
      
        
          
            
              by Pieter Philippaerts [Pieter at mentalis dot org] posted on 2004/01/16 | 
              
                Reply | 
             
           
        
        
        
        What code are you talking about? There's no such code here to my knowledge.  | 
       
      
        
          
            
              by rcoltrane posted on 2004/01/16 | 
              
                Reply | 
             
           
        
        
        
        I´ve got the code from this page: 
http://www.mentalis.org/apilist/CreatePipe.shtml 
 
There you will find the link to the code I´m talking about, called "Redirect Output". 
I´ve posted this thread here because in that page, the maintainters are saying that every programming doubts should be posted here. 
 
Thanks. 
RColtrane 
  | 
       
      
        
          
            
              by Pieter Philippaerts [Pieter at mentalis dot org] posted on 2004/01/16 | 
              
                Reply | 
             
           
        
        
        
        The code you referenced is actually code from AllAPI.net [even though it's hosted under the Mentalis.org domain name]. That site has been closed for almost two years now and is completely unsupported since then. 
 
As I don't have VB Classic installed, I can't offer much help.  
However this comment from the source code may help you further: "note: don't run plain DOS programs with this example under Windows 95,98 and ME, as the program freezes when execution of program is finished".  | 
       
     
 | 
 |