How do I create an embeddable object?

  • Thread starter Thread starter Anil Gupte
  • Start date Start date
A

Anil Gupte

I have written a small media player in VB and I have decided to rewrite it
in C# (both in .Net 2003). Meanwhile, I am going to take this opportunity
to write it so it can later be embedded in a browser page and all the
controls like pause, rewind, fast forward etc can be available on the web
page.

How do I go about this? I am fairly new to C#, but I would like to know
what new things I should learn to do to make this work. BTW, if you suggest
that I should do it in VC++ I am also open to that.

Thanx for any input,
 
Are Windows Form Controls the same thing as Objects? I am not familiar with
either.

--
Anil Gupte
www.keeninc.net
www.icinema.com

Nicholas Paldino said:
You can embed a .NET object in a web page, but it comes with caveats,
namely, it will only run in IE, and you have to configure security for the
framework on the client side:

http://windowsclient.net/articles//iesourcing.aspx


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

"Peter Bromberg [C# MVP]" <[email protected]>
wrote in message
To "embed" an object in a web page, it needs to be an ActiveX control.
Creating one of these with 100% managed code will be very difficult.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com
 
Anil,

What is the context you mean for "Objects"? If you mean the <object>
tag in the page, then no, they are not.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Anil Gupte said:
Are Windows Form Controls the same thing as Objects? I am not familiar
with either.

--
Anil Gupte
www.keeninc.net
www.icinema.com

Nicholas Paldino said:
You can embed a .NET object in a web page, but it comes with caveats,
namely, it will only run in IE, and you have to configure security for
the framework on the client side:

http://windowsclient.net/articles//iesourcing.aspx


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

"Peter Bromberg [C# MVP]" <[email protected]>
wrote in message
To "embed" an object in a web page, it needs to be an ActiveX control.
Creating one of these with 100% managed code will be very difficult.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com



:

I have written a small media player in VB and I have decided to rewrite
it
in C# (both in .Net 2003). Meanwhile, I am going to take this
opportunity
to write it so it can later be embedded in a browser page and all the
controls like pause, rewind, fast forward etc can be available on the
web
page.

How do I go about this? I am fairly new to C#, but I would like to
know
what new things I should learn to do to make this work. BTW, if you
suggest
that I should do it in VC++ I am also open to that.

Thanx for any input,
 
Okay, so I assume I am going to make a Media Player Control and then I can
use it in the page. Is there any tutorial or docs out there that I can read
to do this?

Thanx.
--
Anil Gupte
www.keeninc.net
www.icinema.com

Nicholas Paldino said:
Anil,

What is the context you mean for "Objects"? If you mean the <object>
tag in the page, then no, they are not.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Anil Gupte said:
Are Windows Form Controls the same thing as Objects? I am not familiar
with either.

--
Anil Gupte
www.keeninc.net
www.icinema.com

Nicholas Paldino said:
You can embed a .NET object in a web page, but it comes with caveats,
namely, it will only run in IE, and you have to configure security for
the framework on the client side:

http://windowsclient.net/articles//iesourcing.aspx


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

"Peter Bromberg [C# MVP]" <[email protected]>
wrote in message
To "embed" an object in a web page, it needs to be an ActiveX control.
Creating one of these with 100% managed code will be very difficult.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com



:

I have written a small media player in VB and I have decided to
rewrite it
in C# (both in .Net 2003). Meanwhile, I am going to take this
opportunity
to write it so it can later be embedded in a browser page and all the
controls like pause, rewind, fast forward etc can be available on the
web
page.

How do I go about this? I am fairly new to C#, but I would like to
know
what new things I should learn to do to make this work. BTW, if you
suggest
that I should do it in VC++ I am also open to that.

Thanx for any input,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top