Posts: 42
Threads: 7
Joined: Aug 2003
When you're in the Qbasic editor and you run your programs. it runs them in full screen mode- but if you make an .exe file, and run that, it opens it as a DOS window- why is that, and how do you make it so the DOS window is full screen?
Posts: 292
Threads: 31
Joined: Apr 2003
Right click on the exe icon, click properties, and then the Screen tab. It's all there for you.
Posts: 42
Threads: 7
Joined: Aug 2003
Posts: 440
Threads: 65
Joined: Sep 2001
Making a PIF is the best and safest way.
Here's another way, but it should only be used while windows IS running, or your pc may freeze. Works for me under windows.
- Dav
Code:
'___
' |he Code Post
' `-' Original Submission
' ===============================================================
' CONTRIBUTOR: Dav
' DESCRIPTION: FULLBOX: Forces Full-screen DOS Box under windows
' DATE POSTED: Sat Aug 11 08:29:25 2001
' ===============================================================
'Here's a small but effective way to force a full-screen DOS box
'when a QB program is executed under windows.
'WARNING! This code should only called if windows IS running.
'If it's called from pure DOS the pc may lock up - forcing a reboot.
'===========
'FULLBOX.BAS
'===========
'Forces a full-screen DOS box under WINDOWS.
'=================================================
'WARNING!! ONLY CALL THIS ROUTINE UNDER WINDOWS!!
'=================================================
'=== Make the compiled ASM routine
ASM$ = ""
ASM$ = ASM$ + CHR$(184) + CHR$(139) + CHR$(22) 'MOV AX, 168BH
ASM$ = ASM$ + CHR$(43) + CHR$(219) 'SUB BX, BX
ASM$ = ASM$ + CHR$(205) + CHR$(47) 'INT 2FH
ASM$ = ASM$ + CHR$(203) 'RETF
'=== Now call the ASM routine
DEF SEG = VARSEG(ASM$)
CALL ABSOLUTE(SADD(ASM$))
DEF SEG