Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Tue, 22 Jul 2008 09:23:01 -0700,    group: microsoft.public.dotnet.languages.csharp        back       


java app in webbrowser control   
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.
date: Tue, 22 Jul 2008 09:23:01 -0700   author:   Mark_B

Re: java app in webbrowser control   
Is this an eolas issue?

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


"Mark_B"  wrote in message 
news:C6F35B37-77CD-4B1F-AFC4-07DBAE76471E@microsoft.com...
>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.
>
>
date: Tue, 22 Jul 2008 23:36:10 +0100   author:   Leon Jollans

Re: java app in webbrowser control   
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"  wrote in message 
> news:C6F35B37-77CD-4B1F-AFC4-07DBAE76471E@microsoft.com...
> >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.
> >
> > 
>
date: Wed, 23 Jul 2008 05:17:01 -0700   author:   Mark_B

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"  wrote in message 
news:2ABD5199-919F-4C0D-AB9B-8CF91F757E8A@microsoft.com...
> 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"  wrote in message
>> news:C6F35B37-77CD-4B1F-AFC4-07DBAE76471E@microsoft.com...
>> >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.
>> >
>> >
>>
date: Thu, 24 Jul 2008 02:07:33 +0100   author:   Leon Jollans

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us