Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support


Go Back   Australian Media Center Community > XP Media Center 2005 > XP Media Center 2005 - Plugins & Addons > Other MCE Addons

Community Information

Reply
 
Thread Tools
Old 10th May 2006, 04:19 AM   #1 (permalink)
Newbie
No Avatar
Status euss is Offline:
ActivityPosts: 6
Reputation & Thanks Support Rating:
euss
Points Earned: 10

euss has been Thanked 0 times in 0 posts
Unhappy HTML and C# in MCE.

Hi.

I've an app in C# and I have to see it from MCE, I try with a tag <object> in HTML, but don't work. I'm grateful for any help.
  Reply With Quote
Old 10th May 2006, 01:11 PM   #2 (permalink)
MCE Journeyman
No Avatar
Status Ignorance is Offline:
ActivityPosts: 178
Reputation & Thanks Support Rating:
Ignorance
Points Earned: 63

Ignorance has been Thanked 0 times in 0 posts
Re: HTML and C# in MCE.

We need more information. What TYPE of C# project did you make? Is it an ActiveX control? Or is it just a normal Windows application?

I don't know a great deal about the .NET web archatecture, but I do know that you can't just run any app in Internet Explorer. Look up information on how to make controls and applications for a web page - when you start the project, Visual Studio should even write the webpage for you so you can test it properly.

As a rule, most applications in MCE are written with an ActiveX control running in an HTML page and - if needed - a background addin in Media Center itself.
  Reply With Quote
Old 11th May 2006, 01:29 AM   #3 (permalink)
Newbie
No Avatar
Status euss is Offline:
ActivityPosts: 6
Reputation & Thanks Support Rating:
euss
Points Earned: 10

euss has been Thanked 0 times in 0 posts
Re: HTML and C# in MCE.

Thanks, Ignorance for the reply.

Well I have to make a application to control sockets, this is the part in C#. I can make a addin and work good in MCE but I need that one look like an HTML for MCE ( full screen ).What I can do for this??

Regards.
  Reply With Quote
Old 11th May 2006, 07:08 PM   #4 (permalink)
MCE Journeyman
No Avatar
Status Ignorance is Offline:
ActivityPosts: 178
Reputation & Thanks Support Rating:
Ignorance
Points Earned: 63

Ignorance has been Thanked 0 times in 0 posts
Re: HTML and C# in MCE.

'Control Sockets' - you mean your writing an application that communicates on TCP/IP? Well - remember that I've never done this because I dislike writing code in C# - I'd suggest you take your code, start a new project (this time a 'Web Control Library') and turn your application into a web control. You SHOULD then be able to use this from an HTML application.

Otherwise, you'd have to write something with ActiveX (use the MFC classes, they are the easiest to work with for this sort of thing) and make an ActiveX control that interacts with your C# program by using messages or TCP/IP.

When it comes to making your HTML LOOK like MCE, that's a lot of fun. You can take a look at how some other people have done it (My Movies and mceWeather are excellent examples, I've tried with NowShowing) and basically copy them - they are all based on the Media Center SDK samples anyway, but use their own graphics.
  Reply With Quote
Old 16th May 2006, 03:33 AM   #5 (permalink)
Newbie
No Avatar
Status euss is Offline:
ActivityPosts: 6
Reputation & Thanks Support Rating:
euss
Points Earned: 10

euss has been Thanked 0 times in 0 posts
Talking Re: HTML and C# in MCE.

ActiveX this sounds very complicated, some good example to begin?
Is there any source code of an application for MCE make this form??
  Reply With Quote
Old 17th May 2006, 12:21 PM   #6 (permalink)
MCE Journeyman
No Avatar
Status Ignorance is Offline:
ActivityPosts: 178
Reputation & Thanks Support Rating:
Ignorance
Points Earned: 63

Ignorance has been Thanked 0 times in 0 posts
Re: HTML and C# in MCE.

I still don't understand what you are DOING, so I couldn't tell you. But you can look at the standard examples that come with the MCE SDK.

ActiveX controls are very easy to write once you know some of the little things to be aware of. All you do to add a new function is right-click in the class-view and say 'Add Member' or 'Add Property' and bang - you're done. They aren't that complicated, really.

It takes all of 1 minute to get a basic control up and running with Visual Studio 2005, and basically the same thing with the earlier editions. The MFC takes care of almost everything you need. It's how I do all my more advanced stuff in MCE.
  Reply With Quote
Reply

Bookmarks

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Coding for MCE headkaze Other MCE Addons 17 9th May 2006 03:54 PM
*BETA TESTERS WANTED* MCE File Browser Treason Other MCE Addons 25 3rd May 2006 08:59 AM
Plugin Dev - Where to start? Mark^Bastard Other MCE Addons 10 12th April 2006 08:06 AM
EPG Internals musictalks XPMCE 2005 EPG Support 10 10th April 2006 07:26 PM
Read e-books in MCE possible? goku18jason XP Media Center 2005 - The Software 3 24th April 2005 02:51 AM


Advertisers




Terms Of Service - Contact Us - Advertise With Us - Archive - Privacy Statement - FAQ
Microsoft©, Windows XP©, Windows XP Media Center© & Windows Vista© are registered trademarks of Microsoft Corporation.
www.xpmediacentre.com.au has no relationship with, nor is affiliated in any way with Microsoft Corporation.
All original content on this website © 2004 - 2008 xpmediacentre.com.au, All rights reserved
Forum by vBulletin Version 3.7.3 - Copyright Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
Local time now is 10:09 AM AEDT.