[HELP] Mike Green please or Anyone???

From: Jay Canale (jccanale_at_bcn.net)
Date: 02/16/04


Date: Mon, 16 Feb 2004 12:23:16 -0500

Okay,
    I have a CD that contains a large number of Applets that I have created
using Visual J++ 1.1. These Applets run off the CD through Internet Explorer
IE. What I want to do is to convert these Applets into J# Browser Controls
and to still have them run from the CD and IE.
    Now what I tried was, I took one of the Applets and converted all the
class files into a .DLL using Jbimp.exe. Then I took the html file that
launches the Applet and using TagConvert I was able to created a new html
file. I then copied the files to my wwwroot directory and tried to launch
the J# Browser Control through IIS. I was able to launch the Applet and
everything runs well, except that in my code I use a function to get a JPG
file and display it as a background image E.g. "img =
getImage(getDocumentBase(),"back.jpg");" and the background image doesn't
show.
    I then, for kicks, uploaded the files to my ISP and tried to launch the
Applet/BrowserControl off of the web. Well it worked great and all the
background .jpgs showed off the web, but not through IIS. Why is this?

I then took the files and copied them to a CD and tried to run the applet,
like before they were converted, and I get the page, but I get a blank box
where the Applet/Browser Control should be.

Now, how do I then take the now converted Applets and place them on a CD and
have it all work like before when they were just regular applets?

Why does everything work well when launched off the Web, but not off my
machine?

this may sound confusing, but it's even more confusing to me! Any help you
provide will be appreciated,

Jay

P.S. Now all of this is being run and developed on a Windows 2000 machine. I
recently installed on a new machine Windows XP. I installed the Microsoft
.NET Framework Redistributable, the J# Browser Control Security v1.1 and the
Microsoft .NET Framework on to this machine. I then tried to go to my
webpage, where on the Win2000 machine I was able to run the Applet, but on
the XP machine I got nothing. What am I doing wrong? I have the Browser
Control Security set to "On any Web site(not recommended)" and still nothing
shows up except a gray box.



Relevant Pages

  • [HELP] Mike Green please or Anyone???
    ... These Applets run off the CD through Internet Explorer ... I then copied the files to my wwwroot directory and tried to launch ... getImage,"back.jpg");" and the background image doesn't ... the J# Browser Control Security v1.1 and the ...
    (microsoft.public.dotnet.vjsharp)
  • [HELP] Mike Green please or Anyone???
    ... These Applets run off the CD through Internet Explorer ... I then copied the files to my wwwroot directory and tried to launch ... getImage,"back.jpg");" and the background image doesn't ... the J# Browser Control Security v1.1 and the ...
    (microsoft.public.dotnet.vjsharp)
  • Re: Problem with Java Applets in Firefox
    ... Java source? ... if you launch using web-start. ... Web start usually isn't a viable alternative for applets if the applets are ... idea how to use web-start, ...
    (comp.lang.java.programmer)
  • Re: Help: Overriding the paintComponent when using the Netbeans GUI Builder
    ... But my point was about applets in ... check the ..'two applications'* you can launch here. ... nor 'applications' since one is the applet form. ...
    (comp.lang.java.help)
  • Re: C# Browser Control?
    ... >> migrating over from Java, then J# is the easiest transition, next to C#. ... I'm looking to write new applets. ... > browser control only works with J#. ...
    (microsoft.public.dotnet.languages.csharp)