Solved

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

Posted on 2004-09-16
5
288 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
ID: 12081260
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
ID: 12082685
Where do I find a Flash ActiveX object?
0
 
LVL 3

Accepted Solution

by:
Santino_k earned 125 total points
ID: 12099395
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
ID: 12192098
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
ID: 12214801
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

920 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

16 Experts available now in Live!

Get 1:1 Help Now