| | |
Command Line Interface
Thread Solved
![]() |
•
•
Join Date: Mar 2008
Posts: 2
Reputation:
Solved Threads: 0
I have a VB6 program that does some image processing. It works fine when used thru both the GUI or non-GUI command line. My problem is that if I am in a command window and run the executable with arguments, it returns to the command window prompt after just a few seconds. Even tho, it might take several minutes to complete the image processing. It does eventually process all the images correctly, so the problem is to just know *when* it is done. I expected to be returned to the command line only after the processing was done. This becomes important when using this in scripting.
Why is this doing this? Is it because I am calling functions that are in forms that normally display on the screen? I see a couple of solutions I could impose on this, but am thinking there must be a 'right' way to do it. Any help out there? Thanks!
Why is this doing this? Is it because I am calling functions that are in forms that normally display on the screen? I see a couple of solutions I could impose on this, but am thinking there must be a 'right' way to do it. Any help out there? Thanks!
•
•
Join Date: Mar 2008
Posts: 2
Reputation:
Solved Threads: 0
I continued searching on the web and found some good info at --
http://www.nirsoft.net/vb/appmodechange.html
My problem was that VB6 executables are always started in GUI mode by default. The web site provided a solution to make the executable start in CONSOLE mode. Works great now, but I will probably end up having to provide two 'identical' executables to handle the two modes.
http://www.nirsoft.net/vb/appmodechange.html
My problem was that VB6 executables are always started in GUI mode by default. The web site provided a solution to make the executable start in CONSOLE mode. Works great now, but I will probably end up having to provide two 'identical' executables to handle the two modes.
Last edited by foehner; Sep 20th, 2008 at 1:02 pm.
![]() |
Similar Threads
- SQL Injection Attack (Database Design)
- Command line interface using visualc++? (C++)
- VB shell command counterpart in c++ (C++)
- Can we execute command line cmds from a php file?? (PHP)
- SQL Plus command line: Arrow keys not giving previous commands back (Oracle)
- Simple Command Line interface - (Java)
- Win ME Freeze Problems (Windows 95 / 98 / Me)
- command line (OS X)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: How to use a calendar to a the whole application?
- Next Thread: Escape Sequences or Accepting Double Quotes in String Constants
| Thread Tools | Search this Thread |
* 6 2007 access activex add age basic beginner birth bmp calculator cd cells.find click client code college connection connectionproblemusingvb6usingoledb creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit excel excelmacro file filename form header iamthwee image inboxinvb internetfiledownload listbox listview liveperson login looping microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading remotesqlserverdatabase report save search sendbyte sites sql sql2008 sqlserver subroutine tags time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web windows





