Solved

Handle Shockwave Flash Object in VB.Net

Posted on 2014-01-27
1
644 Views
Last Modified: 2014-02-24
I have an axshockwaveflash object (named axshockwaveflash1) that displays timed information in our VB.Net winforms application.

It works just as we want it BUT, when we click on the flash object, it launches a browser and displays a webpage that isn't valid.  We don't use the URL yet but we will in the future.

I'm thinking I'd like to be able to prevent this from happening by handling the axshockwaveflash1.enter event.

Private Sub AxShockwaveFlash1_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxShockwaveFlash1.Enter

'''
'''Prevent Flash from launching browser here
'''

    End Sub

What's the best way to do this?
0
Comment
Question by:jrlittle86
1 Comment
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 200 total points
ID: 39813600
Example at below link shows how to disable right click menu.

http://www.codeproject.com/Articles/29102/How-To-Disable-FlashPlayer-AxShockwaveFlash-Right

Changing WM_RBUTTONDOWN to WM_LBUTTONDOWN should disable the left click.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now