[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1805
  • Last Modified:

VS- VB- Windows Forms project- AxShockwaveFlash control, I can not disable the mouse click, any idea?

Hello All
I started with a powerpoint presentation.  I made it into a flash presentation.  I created a Windows Forms project - Visual Studio 2008 - VB.  I add the 'AxShockwaveFlash' control. When I click on the control it moves to the next slide.  I do not want it to do that because I need to keep track of what slide I am on so I created a button to advance the slides. Any code that I put in the "Private Sub AxShockwaveFlash1_MouseClick" area will break the application. I want all button1 mouse clicks to increment a value in a label and I know of no way to disable mouse clicks for this 'AxShockwaveFlash1' control.  

I thought maybe it would be possible to put another control over the top of the AxShockwaveFlash1 control but it would have to be a transparent control.  I have not found one that works.

Any ideas on how to disable the mouse click event for this control?

Is there another control out there that might be a better choice?
 
Regards,

Chris
0
ivh05
Asked:
ivh05
  • 3
  • 2
1 Solution
 
ivh05Author Commented:
CodeCruiser,
I noticed the example is for right click.  I need a left click solution but need left click abilities on the rest of the form.  Do you still think this will still work?

Regards,

Chris  
0
 
CodeCruiserCommented:
You can use a similar approach of blocking the windows messages with a different code.
0
 
ivh05Author Commented:
CodeCruiser,
I started going through the code and was a little overwhelmed.

I took a fresh look at the problem and tried a new method.

I was creating my .swf file by bringing my MSPowerPoint into Open Office and then a File|Export to the .swf format.

Just for the heck of it I exported the slides as images and I then brought the sequence into  'Macromedia Flash 8' at each slide I added action script
stop();

Open in new window

In my WindowsForms VS2008 VB project I used the following button_click code to advance the slides  
 AxShockwaveFlash1.Stop()
        AxShockwaveFlash1.Movie = Application.StartupPath & "Path\WheelchairEscorting2.swf"
        AxShockwaveFlash1.Play()

Open in new window


My program worked like I wanted it to but I wasn't happy with the quality of the slides - after re-sizing the images the print quality suffered.  

There must be an easier way?
Over the weekend I found another solution that is much simpler and more elegant   I now embed the slideshow on my .aspx page using a product called 'sliderocket' http://www.sliderocket.com/.

Thanks for trying to help

Regards,

Chris


0
 
ivh05Author Commented:
SlideRocket made my life simplier
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now