Solved

Handle Shockwave Flash Object in VB.Net

Posted on 2014-01-27
1
671 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…

710 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