Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 4.0 aka C# 2010 > C# 4.0 aka C# 2010 General Discussion
|
C# 4.0 aka C# 2010 General Discussion Discussions about the C# 4.0, C# 4, Visual C# 2010 language and tool not related to any specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 4.0 aka C# 2010 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 28th, 2011, 07:10 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default I have to add a flash file in my C sharp code.How to add it?

I"m new in C sharp programming.How to add flash file in C sharp windows application?
 
Old April 10th, 2011, 01:07 AM
Registered User
 
Join Date: Apr 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default C# Embedding Flash File sw

Hi, I assume you want to embedd a flash file in a form.

In Visual studio on your toolbox, choose to add a new component.
Choose the "COM Components" tab to get a list in which you can find the "Shockwave Flash Object"

Once added to the toolbox,

three simple commands are available to interact with the control:

•AxShockwaveFlash1.Stop()
•AxShockwaveFlash1.Movie = FilePath & "\FileName.swf"
•AxShockwaveFlash1.Play()





Similar Threads
Thread Thread Starter Forum Replies Last Post
Double clicking control does not add code to Code Behind Paul Walton BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 5 September 25th, 2009 05:40 PM
add flash animation nuth ASP.NET 2.0 Basics 1 November 23rd, 2007 08:13 AM
Add c++ code to c++.net project happy_face C++ Programming 1 November 9th, 2007 10:42 PM
Add Push button or Check Box in outlook add-ins capdevs VS.NET 2002/2003 0 January 7th, 2006 08:51 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.