StuartBruce
New member
- Joined
- Oct 9, 2012
- Messages
- 2
- Programming Experience
- 1-3
Hello
I've got a VB.Net app (Studio 2008) to which I've just added a reference to the Shockwave Flash ActiveX, so that I can show a Flash movie on a form.
On PC's which don't have the Flash ActiveX installed, this means my compiled app now crashes out before it can run, presumably as the reference is not found.
What I need to do is somehow detect, when my app is initialising, whether the Flash ActiveX is present, to set that fact to a boolean variable, and for the program to continue running either way. (So if it's running on a PC without Flash, the Flash object is simply not displayed but otherwise the program runs as normal.)
It's important that Ican't install Flash on all the target PC's and don't want to- so the solution I need must cope with Flash not being installed, rather than insist on its installation.
How would I go about setting this up? Any suggestions or pointers would be very welcome.
Thanks
Stuart
I've got a VB.Net app (Studio 2008) to which I've just added a reference to the Shockwave Flash ActiveX, so that I can show a Flash movie on a form.
On PC's which don't have the Flash ActiveX installed, this means my compiled app now crashes out before it can run, presumably as the reference is not found.
What I need to do is somehow detect, when my app is initialising, whether the Flash ActiveX is present, to set that fact to a boolean variable, and for the program to continue running either way. (So if it's running on a PC without Flash, the Flash object is simply not displayed but otherwise the program runs as normal.)
It's important that Ican't install Flash on all the target PC's and don't want to- so the solution I need must cope with Flash not being installed, rather than insist on its installation.
How would I go about setting this up? Any suggestions or pointers would be very welcome.
Thanks
Stuart