Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / August 2007

Tip: Looking for answers? Try searching our database.

How do I create an embeddable object?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anil Gupte - 21 Aug 2007 07:23 GMT
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,
Signature

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

Peter Bromberg [C# MVP] - 21 Aug 2007 12:40 GMT
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
[quoted text clipped - 7 lines]
>
> Thanx for any input,
Nicholas Paldino [.NET/C# MVP] - 21 Aug 2007 17:28 GMT
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

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> 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.
[quoted text clipped - 18 lines]
>>
>> Thanx for any input,
Anil Gupte - 21 Aug 2007 22:00 GMT
Are Windows Form Controls the same thing as Objects?  I am not familiar with
either.

Signature

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

>    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
[quoted text clipped - 25 lines]
>>>
>>> Thanx for any input,
Nicholas Paldino [.NET/C# MVP] - 21 Aug 2007 22:17 GMT
Anil,

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

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> Are Windows Form Controls the same thing as Objects?  I am not familiar
> with either.
[quoted text clipped - 29 lines]
>>>>
>>>> Thanx for any input,
Anil Gupte - 21 Aug 2007 22:56 GMT
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.
Signature

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

> Anil,
>
[quoted text clipped - 34 lines]
>>>>>
>>>>> Thanx for any input,

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.