Shockwave Flash Object not working in C#

get the following error --> Class not registered (Exception from H

Page 1 of 1

1 Replies - 4303 Views - Last Post: 15 October 2010 - 08:31 AM Rate Topic: -----

#1 asimushtaq  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 14-October 10

Shockwave Flash Object not working in C#

Posted 15 October 2010 - 12:14 AM

Hi,

I have done the following ..
1. Added a Shockwave Flash Object to my windows form.
2. Set the movie property to as a url to a youtube video (b.t.w will this work?)

Now when I try to run the application I get the following error.

Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

in the Form1.Designer.cs class. At the following line

((System.ComponentModel.ISupportInitialize)(this.flashPlayer)).EndInit();

Now I know I need to register a component using regserv32 .. but which component??
Any help will be much appreciated.

Regards,
Asim.

Is This A Good Question/Topic? 0
  • +

Replies To: Shockwave Flash Object not working in C#

#2 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5442
  • View blog
  • Posts: 11,676
  • Joined: 02-June 10

Re: Shockwave Flash Object not working in C#

Posted 15 October 2010 - 08:31 AM

I don't use the shockwave object. I just use a WebBrowser control and feed it the URL of the Shockwave video. You can give a WebBrowser component an .HTML .HTM or .SWF as the path and they all work. Thow there are no built-in controls for pause and fast-forward etc. if you have a need for them.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1