Windows 8 and 8.1 Forums

BASIC programs

Page 1 of 2 12 LastLast
  1. #1



    Reputation
    Join Date : Feb 2013
    Warsaw, Poland.
    Posts : 5
    Windows 8
    Local Date
    28 Nov 2014
    Local Time
    07:59 PM
    Poland european union

    BASIC programs


    I have lived with XP for years, very happily. I am now trying to get used to W8, supplied installed with a new laptop: so far, I think it is not a patch on XP apart from speed. However, I use QBASIC very often to do small scientific calculations, and can't get any of these to run in W8. Neither can I transfer BASIC from XP. What's the answer, please?


      My System SpecsSystem Spec

  2. #2



    Reputation
    Join Date : Mar 2013
    Posts : 302
    Windows 7 on the desktop, Windows 8 Surface Pro mobile
    Local Date
    28 Nov 2014
    Local Time
    09:59 AM
    USA us california


    Quote Originally Posted by Wassock View Post
    I have lived with XP for years, very happily. I am now trying to get used to W8, supplied installed with a new laptop: so far, I think it is not a patch on XP apart from speed. However, I use QBASIC very often to do small scientific calculations, and can't get any of these to run in W8. Neither can I transfer BASIC from XP. What's the answer, please?
    Visual Studio 2012 Express is free. There are two versions... one of the desktop and one for the store apps. The desktop one builds .exe files like normal and is the easier of the two to learn and you'll simply need to learn how to toss up basic textboxs and buttons to take in input and how to format the VB code in the event handlers(like Click on a Button for calculate). For small stuff, its what i would suggest. The Windows Store Apps one is a bit more involved in that you have to use XAML for the front end and Visual Basic for the backend.

    As per getting QBasic to run on Win 8? Good luck with that. You would probably need to run it out of a command.com window or something.
      My System SpecsSystem Spec

  3. #3




    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    Join Date : Jan 2013
    Posts : 875
    Windows 8
    Local Date
    28 Nov 2014
    Local Time
    05:59 PM


    I think you'll be out of luck because I'm guessing your new laptop has the 64-bit version of Windows 8? As I understand it, 16-bit applications don't run on 64-bit Windows 8.

    If you do have a 32-bit version of Windows 8 then there's a link on this Wikipedia page to a Web Archive copy of an old Microsoft page which contains QBasic:
    QBasic - Wikipedia, the free encyclopedia
    The link is in the text:
    "Download QBASIC 1.1 from the Internet Archive (included in the "Old MS-DOS Utilities" part of Windows 95 CD-ROM Extras)"

    I think it will work on 32-bit Windows, and (although you would have to enable 16-bit applications as part of the process).

    However, if all you want to do is some scientific calculations, would the free Excel Web App be enough?
    Introduction to Excel Web App - Office Web Apps - Office.com

    Google Spreadsheets are an alternative too:
    Google Drive
      My System SpecsSystem Spec

  4. #4



    Reputation Reputation
    Join Date : Dec 2012
    Posts : 241
    Windows 8
    Local Date
    28 Nov 2014
    Local Time
    01:59 PM
    USA us new york


    Quote Originally Posted by Wassock View Post
    I have lived with XP for years, very happily. I am now trying to get used to W8, supplied installed with a new laptop: so far, I think it is not a patch on XP apart from speed. However, I use QBASIC very often to do small scientific calculations, and can't get any of these to run in W8. Neither can I transfer BASIC from XP. What's the answer, please?
    __________________________________________________________________________

    What scientific formulas ? Calculus, trigonometry, Pythegorean Theorum, the Fournier series.

    1. Win 8 has a Math Input Panel;

    Go to start screen, type Math. Open the window to the math panel. After just a little bit of tinkering you will get the hang of writing equations.

    Alternately go down to the lower right corner and click the little triangle to open hidden icons. click the math input panel.

    2. Win 8 also has four alternatives for calculators: 1. Standard. 2. Scientific. 3. Programmer. 4. Statistics.

    Go to start screen, type calculator, then click view to select yours.

    Chances are you'll find what you want.
      My System SpecsSystem Spec

  5. #5



    Reputation
    Join Date : Feb 2013
    Warsaw, Poland.
    Posts : 5
    Windows 8
    Local Date
    28 Nov 2014
    Local Time
    07:59 PM
    Poland european union


    Thanks for the suggestions. I wasn't detailed enough, unfortunately. My BASIC programs, written for pleasure, include one that tells you what day of the week you were born on, and another which suggests a menu for the day, based on what it 'knows' of my kitchen stocks. So, they contain text and a range of commands which mean that maths apps are unsuitable. The program which calculates how long you will live, based on algorithmic questionnaires, is depressing!
      My System SpecsSystem Spec

  6. #6
    jimbo45's Avatar

    Reputation
    Reputation Reputation Reputation Reputation Reputation
    Join Date : Sep 2011
    Hafnarfjörður IS
    Posts : 4,287
    Linux Mint KDE 16, W8.1, W7, W2K3 Server
    Local Date
    28 Nov 2014
    Local Time
    05:59 PM
    Iceland


    Hi there
    If you want QBASIC etc why not run these in a Virtual machine. I don't think you can run any 8-bit old programs on the current Windows versions.

    Cheers
    jimbo
      My System SpecsSystem Spec

  7. #7



    Reputation Reputation
    Join Date : Jul 2012
    Posts : 249
    Windows 8 RTM (Retinas taking damage...)
    Local Date
    28 Nov 2014
    Local Time
    01:59 PM


    Try using dosbox. it should work in that.
      My System SpecsSystem Spec

  8. #8




    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    Join Date : Jan 2013
    Posts : 875
    Windows 8
    Local Date
    28 Nov 2014
    Local Time
    05:59 PM


    Quote Originally Posted by jimbo45 View Post
    Hi there
    If you want QBASIC etc why not run these in a Virtual machine. I don't think you can run any 8-bit old programs on the current Windows versions.

    Cheers
    jimbo
    QBasic does seem to work as a 16-bit application on my Windows 8, but it's because I'm running the 32-bit version of Windows 8.

    It sounds like chrisa's suggestion of Visual Studio Express is the best way to meet the requirements. That menu-suggestion program sounds quite useful - if coded it up as an "app", Wassock might be able to sell it!

    Edit: cross-post with phailyoor. Does dosbox work in 64 bit? If so it sounds like the way forward...
      My System SpecsSystem Spec

  9. #9



    Reputation
    Join Date : Feb 2013
    Warsaw, Poland.
    Posts : 5
    Windows 8
    Local Date
    28 Nov 2014
    Local Time
    07:59 PM
    Poland european union

    BASIC programs - Wassock again.


    Thank you all for your time and useful comments: a great forum! I looked at DOSBox, which seemed to offer what I needed, but a bit complex. I have read up on the other suggestions too, and tried a virtual machine solution using XP. However, W8 seems to exert a presence even there, and there are limitations on some functions.

    What I have decided to do is to install XP Home as a seperate operating system: I can't remove W8 first, as I have no re-load disc, so I am using Partition Manager Hard Disc Manager Suite 12 to split my HDD in two. Then I will have a clear choice of W8 or XP Home, without mutual interference, and be able to learn W8 without hurrying: I still think it's been cobbled together by marketing men.

    Thank you all again for your trouble. I will no doubt be back with another odd question in due course.

    A quick PS for any sociologists or historians around: I shall be 73 shortly, and started my working life with British Tabulating Machines, immediately before it became ICT (now ICL). I could write a (potentially libellous) book about our adventures, and the characters involved: we had a machine made out of ex-telephone exchange uniselectors, which drew 20 amps, but could 'play' noughts and crosses. Programming used 12 steps, all of which had to be used, in sequence (there was no 'if ... go to'), and if you wanted to read memory, you had to ensure that the nickel-wire-wound drum was at the correct angle to allow your previously-written number to be read. "Men were men in them days". Correspondence welcomed, at andersonwarsaw@vp.pl
    Last edited by Wassock; 12 Mar 2013 at 06:25 AM.
      My System SpecsSystem Spec

  10. #10
    jimbo45's Avatar

    Reputation
    Reputation Reputation Reputation Reputation Reputation
    Join Date : Sep 2011
    Hafnarfjörður IS
    Posts : 4,287
    Linux Mint KDE 16, W8.1, W7, W2K3 Server
    Local Date
    28 Nov 2014
    Local Time
    05:59 PM
    Iceland


    Hi there
    You must remember working with THESE then.

    I remember at Uni using an ICT 1905 computer with FORTRAN and having to enter data by punching the program on to these cards with a HAND punch -- then to check it run the stack of those cards through an "Interpreter" which printed the program line on top of the each card.

    Often for a small mistake rather than re-punch you could fit the tiny punched bit back into the square again. -- Those were the days.

    Card and Hand punch shown == note we had "slightly more modern" hand punches than the one shown but the machine was identical.



    Cheers
    jimbo
    Attached Thumbnails Attached Thumbnails Click image for larger version   Click image for larger version  
      My System SpecsSystem Spec

Page 1 of 2 12 LastLast
BASIC programs
Similar Threads
Thread Forum
Programs and Features - missing programs Software and Apps
[COLLECTION] Best Basic/Student Programs and Apps Software and Apps
Office programs do not show up in "default programs" Software and Apps
Solved Someone want to tell me what happend to Start/Programs- All Programs- General Support
Solved Trouble creating basic drive for Windows 7 reinstall Dynamic to Basic Installation & Setup
Eight Forums Android App Eight Forums IOS App Follow us on Facebook