Main
   Home
   About
   DiscussionBoard
Files
   About
   Submit
   Search
Downloads
   Action
   QB64
Links
   Link to us
QB45.org
[ Back to QB45 | FAQ | Search a message | Reply to this message | Back to messages ]

Joseph Rose on 07/26/15 - 12:59:51

I have a VBDOS program that hides the screen, displays a message then executes an external command using SHELL. The screen is hidden and the DOS command executed, but the message is not displayed. What do I need to know about SCREEN.HIDE to PRINT to the regular screen?

Gabriela on 09/13/15 - 13:22:57

Why does this have to be the ONLY relbliae source? Oh well, gj!

Solver12 on 10/11/15 - 23:53:59

Try:

_SCREENHIDE

' do stuff

_SCREENSHOW

PRINT "More stuff."

Joseph Rose on 10/19/15 - 08:03:12

Here's the routine in question:
--------------------------
SUB Comp ()
DIM S$
SCREEN.HIDE
PRINT "Compressing your floppy now...."
S$ = "JCREATE A:\" + txtFile.Text + " /A-H-S-R /X /D=" + cboDirSize.Text
IF txtLabel.Text <> "" THEN S$ = S$ + " /V" + txtLabel.Text
SHELL S$

S$ = "JSIZE A:\" + txtFile.Text + " -1"
SHELL S$

PRINT "Done! Press any key to continue...."
WHILE INKEY$ = "": WEND
END SUB
-----------------------------------
Now, the two PRINT statements don't display. JSIZE's output *does* display, though. :(

eoredson on 10/28/15 - 20:20:26

You should take this topic to the QB64
community forum groups at www.qb64.com /> because they are beyond the scope of
this QB site..

Reply to this message
Name:
Message:
Please enter this number:
No HTML allowed. You may use BB-code in your posting.
Members
Login
Register
QB45 Members
Member List