You are not logged in.

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