Announcement

Collapse
No announcement yet.

Power Basic for DOS running under WIN2000

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Power Basic for DOS running under WIN2000

    Power Basic DOS compiled programmes will only run in the top
    third of the screen in WIN2000 Professional. Other DOS software
    is O.K. Any suggestions ?

    Bert Pedley.


    ------------------

  • #2
    Can you please explain "the top third of the screen" a bit more clearly?

    Are the applications running in Windowed mode?

    By default, Windows 2000 sets the DOS console to use 80x300 mode rather than the more conventional 80x25 size. By selecting the Properties dialog from the MSDOS window menu, you can change the console size.

    Alternatively, if the MSDOS windowed screen itself is only 1/3 of the screen in size, you can use the same Properties menu to change the font size being used. By selecting a larger font and size (ie, Lucida, etc) you can enlarge the window size.

    Also, you can switch the MSDOS window into full screen mode by pressing ALT+ENTER, and you can select this as the default mode in the same Properties dialog.

    Finally, if you create a short-cut to the DOS app, you can also adjust the default application Properties.

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      Well, not quite "finally".

      My company's DOSBox program can be used to launch DOS and console apps in a pre-configured console window without creating a shortcut or changing the system default values in any way.

      We are experiencing a minor problem with our web site so you can't currently download the free version, so if you would like a copy just send your email address to [email protected]

      -- Eric

      ------------------
      Perfect Sync Development Tools
      Perfect Sync Web Site
      Contact Us: mailto:[email protected][email protected]</A>

      [This message has been edited by Eric Pearson (edited August 06, 2001).]
      "Not my circus, not my monkeys."

      Comment


      • #4
        I believe he means mailto:[email protected][email protected]</A>

        ------------------
        Tom Hanlin
        PowerBASIC Staff

        Comment


        • #5
          Yes, thanks. But I kind of like it that way too.
          "Not my circus, not my monkeys."

          Comment


          • #6
            Bert,
            I think you can solve your problem by simply putting the following
            command at the beginning of your program, before any screen displayes:
            SCREEN 0

            Regards,
            Daniel

            ------------------
            mailto:[email protected][email protected]</A>
            mailto:[email protected][email protected]</A>

            Comment


            • #7
              Originally posted by Eric Pearson:

              My company's DOSBox program can be used to launch DOS and console apps in a pre-configured console window without creating a shortcut or changing the system default values in any way.

              Eric, your reply triggered a thought. I have a PBCC program running
              on Win98SE in windowed mode. I like the program in the lower right
              quadrant of the screen but every time it is ran, it goes to the
              upper left corner and has to be dragged to the lower right.
              Windows 2000 allowed me to set the startup position, but had enough
              other quirks, that I trashed it and went back to Win98SE. If
              DOSBox would solve this problem, it would be the worth the price
              to me for that alone.

              Thanks,
              Gary Stout

              ------------------
              Thanks,
              Gary Stout
              gary at sce4u dot com

              Comment


              • #8
                Gary --

                You bet! You could either "link" DOSBox to your PB/CC program, to give it dynamic control over its own screen position, or you could create a batch file like this:

                Code:
                DOSBox MOVETO x,y
                MyProgram.EXE
                ...where x,y represents the desired screen location.

                -- Eric Pearson, Perfect Sync Software


                ------------------
                Perfect Sync Development Tools
                Perfect Sync Web Site
                Contact Us: mailto:[email protected][email protected]</A>
                "Not my circus, not my monkeys."

                Comment


                • #9
                  Right click on the shortcut to the MS-DOS session and change the
                  number of lines from 300 to 25. This will end the scrollback ability
                  but will also make the screen a standard 80x25 and PB DOS code works
                  fine.


                  Scott


                  ------------------
                  Scott Slater
                  Summit Computer Networks, Inc.
                  www.summitcn.com

                  Comment

                  Working...
                  X