Solved

Programming in VB or VC++ and incorporating Flash objects as a skin or movies or buttons

Posted on 2004-09-16
5
274 Views
Last Modified: 2010-04-17
I have aproject where I am supposed to make a form where much of the skin will be in Flash.  I also have to make containers where I can play Flash movies that contain buttons and perform actions on those buttons.  Can someone lead me to a guide on how to do this?
0
Comment
Question by:ddepuemd
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:Santino_k
Comment Utility
All you will need to do is embedd an Flash ActiveX control on your form. Choice of Language would be dependent on the language you are most comfortable with. While using VC++ you will need to know some basics of COM and also the Event Sink mechanism etc. VB on the other hand will be easier to use
Hope this helps
0
 

Author Comment

by:ddepuemd
Comment Utility
Where do I find a Flash ActiveX object?
0
 
LVL 3

Accepted Solution

by:
Santino_k earned 125 total points
Comment Utility
you will find it in following path if your OS is installed on C Drive
C:\WINNT\system32\macromed\flash\Flash.ocx

You can download it from Macromedia site www.macromedia.com  (I think you download and install Flash Player and it comes with it)

You will find it as "Shockwave Flash" in Components Under VB

Let me know if you need any more information

Have a great day ahead
0
 

Author Comment

by:ddepuemd
Comment Utility
Actually, is there a way to run just the Flash movie without having to make a form and embed the movie in the form?
0
 
LVL 3

Expert Comment

by:Santino_k
Comment Utility
Yes. Lets say you have myMovie.swf file that you need to run. Every known file type is registered with corresponding applications for example a .DOC file is associated with Ms Word . If you open .DOC file, it will open in MS-Word app.
Similary, an .SWF file is registered with Flash Player.
Use ShellExecute(...) API. If a player is installed you can use "Open" method of ShellExecute that will open your movie file in default registered appllication ie: Flash player
Else you can open IE and specify the file path as commandline parameter to it.

Look for details on ShellExecute(...) API.

Have a great day!
 and thanks for the Points :-D

Regards,
Santino
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VB 6.0 printer how to align 6 49
parentbit challenge 3 51
wordlen challenge 3 46
groovy example issue 10 65
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

744 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

15 Experts available now in Live!

Get 1:1 Help Now