Solved

Handle Shockwave Flash Object in VB.Net

Posted on 2014-01-27
1
654 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

772 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