You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

abcuser

Unregistered

1

Tuesday, January 13th 2009, 5:35pm

Using Console Application - when start button is pressed - how to stop window to see result

Hi,
using Console Application. When I click on "start" button the ms-dos window is displayed and commands are executed, but after that window closes. The problem is that window closes so quickly that I can't catch what is displayed on screen. So for every interaction I compile to jar and execute file from CMD. Is there any way I could see the result without windows closing down so quickly?
Regards

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Tuesday, January 13th 2009, 10:09pm

MsgBox or sleep are your friends!

Hi,

why not enter

Source code

1
 msgbox "the end", vbInformation


or

Source code

1
sleep(2000) ' wait for 2.000ms


as last command of your code?

Ciao!

A1880

Rate this thread
WoltLab Burning Board