Fog Creek Software
Discussion Board




Running a VB app inside a browser

I have a bloated VB app that I want to run inside a browser. How do I do that? The ActiveXDocument EXE project does not allow me to run MDI forms inside the browser.

Sathyaish Chakravarthy
Saturday, December 06, 2003

Why would you do that?

Dennis Forbes
Saturday, December 06, 2003

Forget about ActiveX documents. Besides the fact that Microsoft gave up on them, they're so unstable as to be useless.

On the other hand, you might want to move your code into an ActiveX control, and make it available through a web page using the OBJECT tag, and see if it works for you.

But then, not sure either what the connexion is between a bloated VB dedicated app, and moving to a web application...

Frederic Faure
Saturday, December 06, 2003

>Why would you do that?

Dunno! It is Saturday night 11:30 PM. I had it in mind this evening that this will be one new cool thing I'll be trying tonight besides working more on XML.


>Do away with ActiveX Doc and port your code to an OCX....

But that won't work, would it? An OCX would not be interactive. I mean, it would just be a object that would reflect a state but won't interact...uh I am not able to explain it. But I hope you get the idea. Its not a multimedia control that I want to >display<. Its an application that would require the user to fill in some data, click a few buttons, then drag and drop a few things around, draw some graphs etc.

Sathyaish Chakravarthy
Saturday, December 06, 2003

Sathyaish,

I'd love to help out, but I'm trying to teach my mum how to use the shell.

Ged Byrne
Saturday, December 06, 2003

Ged, never mind. I'll be anticipating. This is not serious work, just one of my musings at leisure. When you have the time, I'll be glad to take your help.

Sathyaish Chakravarthy
Saturday, December 06, 2003

>>An OCX would not be interactive. I mean, it would just be a object that would reflect a state but won't interact...uh I am not able to explain it. But I hope you get the idea. Its not a multimedia control that I want to >display<. Its an application that would require the user to fill in some data, click a few buttons, then drag and drop a few things around, draw some graphs etc.

Er... We are currently selling a couple of business applets in VB, rewritten from stand-alone EXEs to ActiveX controls, embedded in web pages. Those applets include the SQLite SQL DLL to manage data on the customers' LAN (local host, or a remote host swhere on their network), and the VSFlexGrid spreadsheet object.

Pretty interactive to me :-)

Frederic Faure
Sunday, December 07, 2003

er...How about:

FindWindow()...

SetParent()...

MoveWindow()...

No invasive modifications. :-P

Menu and toolbar negotiation on the other hand....  :-(

-james

James Wann
Monday, December 08, 2003

That's just as nifty as writing another browser with one default vbd it can display.

Sathyaish Chakravarthy
Monday, December 08, 2003

*  Recent Topics

*  Fog Creek Home