Title: HTML viewer, from ABC READER Post by: GarrisonRicketson 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 You will also need this image, and file, Just change the filename from GarryTest.txt to GarryTest.htm or use this to get it :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 http://dl.dropbox.com/u/15387474/GarryTest.htm Any questions feel free to either PM me or ask here |