Welcome to WebmasterWorld Guest from 35.173.234.237

Forum Moderators: open

Message Too Old, No Replies

QB program in a popup window?

to run a QuickBasic demo in a js popup

     
9:52 am on Jul 31, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 5, 2004
posts:52
votes: 0


Greetings -
I have a whole lot of 'legacy' training demos written in QuickBasic and compiled as dos executables. I don't have time or the desire to redo them all in another language. Is there any way to call a popup window in Javascript and run a dos exe inside it?
10:46 am on July 31, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 15, 2004
posts:2047
votes: 0


Generally, no. This would present an enormous security risk.
10:50 am on July 31, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 15, 2004
posts:2047
votes: 0


You could offer a download package including an HTA instead.
1:22 pm on July 31, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 5, 2004
posts:52
votes: 0


Hi Bernard -

Thanks for these. The security implications of calling executables hadn't escaped me! I could offer them as downloadables (though not quite sure what an HTA is) but I'd prefer the online tutorial approach, running the qbasic animations as required. If there was a way to recompile the qbasic code as flash (or whatever),that would be good too.

10:53 am on Aug 1, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


Have you considered porting the Basic to VBscript? It may be too large and robust, but it's worth a shot.