Is it possible to open a html document with Flash controls allready programmed into it using C++, so that the document opens in a win 32 window, not the default browser??
Is it possible to open a html document with Flash controls allready programmed into it using C++, so that the document opens in a win 32 window, not the default browser??
You can send a specific system command using system() found in stdlib. It is often advised against but considering what I can tell from your post, I don't think it's a biggie. Just send the command to open the program and use the HTML file you want to open as the first parameter. That will work for most programs. Since Flash is a plug-in how that works is entirely dependent on the HTML.
rite, i understand wot ur saying, but the only problem is putting that into a windows app, how do u suggest that I do it, cos im all out of ideas...
The only way I can think of is to use the Internet Explorer ActiveX control in your windows application. This way you can embed an IE window in your app, and it will automatically have the flash plug-in already.
k, I get the theory, but in terms of how to write that into a program, im clueless, so if anyone can submit a small amount of source code showing how to do that, it would be very very welcome...
Check msdn.microsoft.com. They have a lot of reference material and example source code for doing projects like this.