Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Installing IE7 broke my applet

 
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My applet ran just fine with IE6. When our corporate IT group upgraded us to IE7, an error box like this pops up.

-----------------------------------------

Microsoft Visual C++ Runtime Library

Runtime Error!

Program C:\Program Files\Internet Explorer\iexplore.exe

abnormal program termination

-------------------------------------------

Anybody else seen this?? Here is my code for including the applet (I've changed the proprietary stuff)



<OBJECT classid="clsid:CAFEEFAC-0015-0000-0007-ABCDEFFEDCBA"
width="950" height="595" align="baseline"
codebase="http://<Internal Site for downloading JRE>/Sun_J2RE_1.5.0_07.EXE#Version=1,5,0,7">
<NOEMBED><XMP>

<APPLET code="AppName.class" align="baseline"
width="950" height="595">
</XMP>
<PARAM NAME="java_code" VALUE="AppName.class">
<PARAM NAME="java_type" VALUE="application/x-java-applet;jpi-version=1.5.0,7">
<PARAM NAME="scriptable" VALUE="true">
<PARAM name="name" value="AppName">
<PARAM name="id" value="AppName">

<PARAM name="archive" value="LIST OF JARS">

<PARAM NAME="cache_option" VALUE="Plugin">
<PARAM name="cache_archive" value="LIST OF JARS">
No Java 2 SDK, Standard Edition v 1.5.0_07 support for APPLET!!

</APPLET></NOEMBED>
</OBJECT>



Here is an example of an internal applet that WORKS!, because it uses the IE default JRE of 1.4.2_06

<OBJECT
classid = "clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA"
codebase="/comp/javaplugin/j2re-1_4_2_06-windows-i586-p.exe#Version=1,4,2,6"
WIDTH = "600" HEIGHT = "336" NAME = "AppName" >
<PARAM NAME = CODE VALUE = "AppName" >
<PARAM NAME = NAME VALUE = "AppName" >
<PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.4.2,6">
<PARAM NAME = "scriptable" VALUE = "false">
<PARAM NAME="cache_archive" VALUE="ifxmsg.jar,ifxjdbc.jar,tts.jar">
<PARAM NAME="cache_option" VALUE="Plugin">
<PARAM NAME="cache_version" VALUE="1.0.0.0,1.0.0.0,1.4.2.B">

<COMMENT>
<EMBED
type = "application/x-java-applet;jpi-version=1.4.2,6" \
cache_archive="LIST OF JARS" \
cache_option="Plugin" \
cache_version="1.0.0.0,1.0.0.0,1.4.2.B" \
CODE = "LIST OF JARS" \
JAVA_CODEBASE = "/comp/javaplugin/j2re-1_4_2_06-windows-i586-p.exe#Version=1,4,2,6" \
NAME = "JTTSApplet" \
WIDTH = "600" \
HEIGHT = "336" \
scriptable = false \
pluginspage = "/comp/javaplugin/index.html" >
<NOEMBED>

</NOEMBED>
</EMBED>
</COMMENT>
Either you have no JDK 1.4 support for the applet, or your JRE is
not installed correctly.
<a href="index2.html">Click here</a> for an alternative page that may work.
</OBJECT>
 
Lanny Gilbert
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was able to fix this issue by removing the <NOEMBED> and </NOEMBED> tags. Hopefully, this will help someone else in the future.
 
The first person to drink cow's milk. That started off as a dare from this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic