Re: java app in webbrowser control



Hi Mark.

try converting the HTML to use the <object> tag instead. I bet this solves your problem.

see here for more info: http://depth-first.com/articles/2008/02/20/demystifying-java-applets-part-1-cross-browser-standards-compliant-pure-html-deployment-using-the-object-tag

Leon

"Mark_B" <MarkB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:2ABD5199-919F-4C0D-AB9B-8CF91F757E8A@xxxxxxxxxxxxxxxx
Hi Leon

The source from the IE page:

<form action="/TVJVIEW.htm" method="POST">
<APPLET name="wxyz" CODEBASE="http://192.168.0.57/"; CODE="xplug.class">
</APPLET>
</form>

Again, the image does render in IE and there is no activex installation
dialog.








"Leon Jollans" wrote:

Is this an eolas issue?

how is the java applet added to the page? with an applet tag? or an object
tag?


"Mark_B" <MarkB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C6F35B37-77CD-4B1F-AFC4-07DBAE76471E@xxxxxxxxxxxxxxxx
>I recognize that this question has a substantial Java component and I >have
> cross posted it on Sun’s website. But it is a problem of interface with
> VS.NET and I suspect they will angrily redirect me to a .NET forum.
>
> I have a device that serves a picture by way of a Java app. I can > render
> the
> picture in IE by navigating to the device: > http://192.168.0.57/tvJVIEW.HTM
> I can also fill a webbrowser control with the image:
>
> private void Form1_Load(object sender, EventArgs e)
> {
> webBrowser1.Navigate("http://192.168.0.57/tvJVIEW.HTM";);
> }
>
> On a second machine, running XP 64, I can also render the image in IE.
> The C# webbrowser navigates to the device – as evidenced by a logon
> dialog.
> Then a vshost security warning pops up:
>
> “The publisher could not be verified. Are you sure you want to install
> this
> software?
> Name 192.168.0.57...publisher unknown”
>
> I click the “Install” button. The dialog disappears. The webbrowser
> control
> remains blank except it has a small box in the upper left with an x in > it.
>
> The Java Platform Standard Edition icon is in the system tray.
>
> Can anyone help me configure this machine to show the image.
>
>


.