473,398 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

How do I create an embeddable object?

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,
--
Anil Gupte
www.keeninc.net
www.icinema.com
Aug 21 '07 #1
5 1332
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 Gupte" wrote:
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,
--
Anil Gupte
www.keeninc.net
www.icinema.com
Aug 21 '07 #2
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]
- mv*@spam.guard.caspershouse.com

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yohohhoandabottleofrum.comwrote
in message news:B6**********************************@microsof t.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.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"Anil Gupte" wrote:
>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,
--
Anil Gupte
www.keeninc.net
www.icinema.com

Aug 21 '07 #3
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 [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:uP**************@TK2MSFTNGP05.phx.gbl...
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]
- mv*@spam.guard.caspershouse.com

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yohohhoandabottleofrum.com>
wrote in message
news:B6**********************************@microsof t.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.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"Anil Gupte" wrote:
>>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,
--
Anil Gupte
www.keeninc.net
www.icinema.com


Aug 21 '07 #4
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]
- mv*@spam.guard.caspershouse.com

"Anil Gupte" <an*******@icinema.comwrote in message
news:OZ**************@TK2MSFTNGP05.phx.gbl...
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 [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote
in message news:uP**************@TK2MSFTNGP05.phx.gbl...
> 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]
- mv*@spam.guard.caspershouse.com

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yohohhoandabottleofrum.com>
wrote in message
news:B6**********************************@microso ft.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.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"Anil Gupte" wrote:

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,
--
Anil Gupte
www.keeninc.net
www.icinema.com



Aug 21 '07 #5
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 [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:%2******************@TK2MSFTNGP04.phx.gbl...
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]
- mv*@spam.guard.caspershouse.com

"Anil Gupte" <an*******@icinema.comwrote in message
news:OZ**************@TK2MSFTNGP05.phx.gbl...
>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 [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote
in message news:uP**************@TK2MSFTNGP05.phx.gbl...
>> 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]
- mv*@spam.guard.caspershouse.com

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yohohhoandabottleofrum.com>
wrote in message
news:B6**********************************@micros oft.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.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"Anil Gupte" wrote:

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,
--
Anil Gupte
www.keeninc.net
www.icinema.com
>
>
>




Aug 21 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: jon wayne | last post by:
OK! I had this nagging doubt Consider (without worrying abt access specifiers) class Kid : public Parent{...}; Parent::someFunc() { Kid k; }
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
4
by: Richard | last post by:
Office Addins are easy in .NET. Try this from Visual Studio's main menu: File New Project "Other Projects" Extensibility Projects Shared Addin Run the wizard and you're off...
2
by: Bugs | last post by:
Hello, I'm designing an application that needs a powerful, embeddable (within my application, no additional installation) SQL database engine. I see Java has hsql, is there a C# equivalant? Any...
2
by: Just D. | last post by:
All, Do we have a simple way to Create an object on the fly knowing just an object type? The usual design-time way is to write a code something like this: CObjectType obj = new CObjectType();...
1
by: CAFxX | last post by:
hi all, I was wondering whenever it is possible to write an embeddable early-binding database in c++ (mainly for performance reasons). the point is that often the programmer knows at compile time...
18
by: Steven Bethard | last post by:
I've updated the PEP based on a number of comments on comp.lang.python. The most updated versions are still at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
27
by: max | last post by:
Hello, I am a newbye, and I'm trying to write a simple application. I have five tables with three columns; all tables are identical; I need to change some data in the first table and let VB...
2
by: Limin Fu | last post by:
Hi, I am looking for an open source, embeddable C compiler that supports compiling and running C codes in memory. I know TCC is one such compiler, but I'd like to know if there is any other C...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.