Does C# has an equivalent for Java Swing's html support?

  • Thread starter Thread starter Waterman
  • Start date Start date
Try Micrososft Web Browser control (shdocvw.dll).

Cheers,
Marius.
 
Gheorghe Marius said:
Try Micrososft Web Browser control (shdocvw.dll).

Thanks, but I'm afraid I can't use that because of possible deployment
problems.
 
Wiktor Zychla said:
what kind of problems are you affraid of?

It seems to be dependend of Internet Explorer, so I have no control about
the existence / right version of this component.

Another problem is that I can't find this Web Browser control in Visual
Studio 2003; it needs to be easy to integrate it in my application.
 
Mark Mullin said:
Fu-ged-about-it. There AREN'T any deployment problems. The stuff
you'll be using is part and parcel of Windows, and last I knew, C# is
only on windows.

See http://www.go-mono.com
Even if a particularly rabid open sourcer has loaded
opera, etc etc, all the stuff you need will be there.

Opera isn't open-source.
 
I read this in VS's help:

<quote>
The deployment tools in Visual Studio .NET automatically detect dependencies
and add them to the deployment project whenever a project output group,
assembly, or merge module is added to the project. There are, however, some
cases where dependencies cannot be detected.
In order to prevent this problem, you must first determine what type of
dependencies you have and take the appropriate action:
You may be referencing a component that may only be installed as part of
another product - for example, the Web Browser control (shdocvw.dll), which
is installed as a part of Internet Explorer.
In this case, you will need to exclude the component from the deployment
project and you should add a launch condition that checks for the component
on the target computer and prevents the installation if not found. The end
user will need to install the product that provides the component before
installing your application.
</quote>

Also there seems to be no support for this Web Browser control in VS.

I need a way to put text and images as specified in an XML file on a panel.
Actually a very basic 'html' with just the elements <img> <br> <p> <b> <i>
<br> will suffice.

In Java this is peace of cake.

Thanks for any reply.
 

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