up vote 0 down vote favorite
share [fb]

Under certain conditions, I would like to open a web browser of some sort directly from a C# XNA game. The browser would be pointing to a site I would specify. Is this possible?

link|improve this question

59% accept rate
feedback

2 Answers

up vote 2 down vote accepted

You can call Process.Start(url).

Note that it won't work on the XBox. (Obviously)

link|improve this answer
feedback

Probably he means inside his apps and if that is the case, no there is no preconfigured way. You should create an HTML parser (or find one online) and link it to your renderer engine, draw the page, etc..et...etc.. Quite a long job, but not impossible. :P

And yes, I don't know which restriction are posed onto the XboX game, but I doubt it will give your app free unrestricted internet access.

link|improve this answer
Actually, I was wondering if it would make sense to use HTML to draw the user interface for my game... (I'm new to XNA). Can I just use IE's HTML renderer and have it be overlaid on my game screen? – Rosarch Feb 4 '10 at 0:44
@Rosarch: No, you can't. IE cannot render transparently. – SLaks Feb 4 '10 at 2:43
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.