Posts: 32
Threads: 9
Joined: Apr 2004
I mean when a QB_ executable program runs in a DOS windows always it can be seen the tools bar when it's running
I want it to know _using code_ for being automatic every time run the executable any person
NOT by clicking 'properties', etc
using code _FROM THE COMPILER_
thank you
Posts: 383
Threads: 14
Joined: Mar 2004
Don't think that can be done...
Please do _something_ about your 'writingstyle', it's annoying, just like AAP's
Posts: 6,419
Threads: 74
Joined: Mar 2002
not from the compiler.
Don't forget that QB is from 1987, it's a DOS program from long before Windows was introduced.
You can create a PIF though.
Posts: 1,407
Threads: 117
Joined: Dec 2002
I guess you're talking about a text mode program.
If you set a graphics mode for a moment, then change to text mode, the program will go automatically fullscreen.
Antoni
Posts: 32
Threads: 9
Joined: Apr 2004
Antoni is correct, it's for text mode program, but i want it in window without the annoying tools bar i think it can be done using Interrupts but i do not know how
for example i found this code to just change the name in the title bar (possibly to use it in QB45, SSEG must be change to VARSEG)
'requires QB4.5 or 7.1 with the /L switch
REM $INCLUDE: 'qbX.bi':'<--for 7.10
DIM regs AS RegTypeX
title$ = "_____HELLO GOOD GUYS!_____"+CHR$(0) 'need the CHR$(0)
regs.ax = &H168E
regs.dx = 0
regs.es = SSEG(title$)
regs.di = SADD(title$)
CALL InterruptX(&H2F, regs, regs)
that's the why i believe... do you think that if i make a .PIF would be useful in any other operating system? i mean WinME, W2ooo, WinXP, WinNT, etc, i have the Windows 98se
thank you
Posts: 383
Threads: 14
Joined: Mar 2004
Antoni just told you how to do it...
Posts: 1,241
Threads: 107
Joined: Feb 2003
I think he is asking how to have it in a window without the dos toolbars. which can't be done seeing as its a dos program.
the mind is a beautiful thing, use it and make the world a more beautiful place.
Posts: 383
Threads: 14
Joined: Mar 2004
Oh, no, can't be done. The Windows programmers have made it so that if you create a window it's automatically got a titlebar aso. What they did implement is a " titlechanger" Just to make life easier :wink:
Posts: 6,419
Threads: 74
Joined: Mar 2002
As mentioned, you can't. Those "DOS windows" you may have seen with no title bar are console applications.
Posts: 32
Threads: 9
Joined: Apr 2004
OK, OK, i can't find the right way but i got the faith, i thought maybe SHELLing to activate a Windows API but i ignore _everything_
i moved to Win98 because i couldn't find any modem for W95b
now i'll need to learn Rapid-Q or Pulsar Visual Basic, but my heart stays on the QuickBasics
i'll be seeing you around here, i'm sure about it, bye