Forum Moderators: open

Message Too Old, No Replies

QB program in a popup window?

to run a QuickBasic demo in a js popup

         

Dave McClure

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

10+ Year Member



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?

Bernard Marx

10:46 am on Jul 31, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Generally, no. This would present an enormous security risk.

Bernard Marx

10:50 am on Jul 31, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could offer a download package including an HTA instead.

Dave McClure

1:22 pm on Jul 31, 2007 (gmt 0)

10+ Year Member



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.

rocknbil

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

WebmasterWorld Senior Member 10+ Year Member



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