Weekly Qbasic and Qb64 Lesson Topics
October 12, 2024, 05:03:50 pm
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Want to see a specific Tutorial? ASK!
 
  Home Help Search Arcade Links Staff List Login Register  

HTML viewer, from ABC READER

Pages: [1]
  Print  
Author Topic: HTML viewer, from ABC READER  (Read 1087 times)
GarrisonRicketson
Admin
Administrator
Hero Member
*****
Posts: 583



WWW
« on: April 28, 2011, 07:49:16 pm »

I hope it is ok to use this, I got this code from the ABC READER 95,Author: Toshihiro Horie,
 I just used a small piece of the code he had  , All this really dose, is just open up the default browser. But  I thought it is kind of neat
 and allthough it was qbasic, it seems to have compiled with qb64 just fine,..for me it is exciting...
In fact I connected here just now via the program,and my website, it is useng google as the actual browser.OOPS, will explain later
Code:
 DEFINT A-Z

CMD$ = COMMAND$: ' command line string

SCREEN 0: CLS: COLOR 7, 0
IF CMD$ = "" THEN
    COLOR 15, 1
    PRINT PROGRAMNAME$
    COLOR 7, 0
    SHELL " C:\qb64gary\GarryTest.HTM" '/// You would need to edit this to suit your
    '///paths/dir or folder, and file or html doc etc.
    END
END IF

  
You will also need this image, and file, Just change the filename from GarryTest.txt to GarryTest.htm or use this to get it :
http://dl.dropbox.com/u/15387474/GarryTest.htm
Any questions feel free to either PM me or ask here

« Last Edit: April 28, 2011, 09:37:12 pm by GarrisonRicketson » Report Spam   Logged

Share on Facebook Share on Twitter


Pages: [1]
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum


Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy