Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Handle Shockwave Flash Object in VB.Net

Posted on 2014-01-27
1
Medium Priority
?
710 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 400 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

963 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