• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

why won't windows allow this program to launch?

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.
I have a very expensive mapping program - topo data for the entire country. Normally, I click start, as shown here:

t1ak0.gif


And get to a screen that looks like this:

t2pr0.gif


Where I can select the section of the country I want a map of. However, I've just found out that clicking "start" will not bring that map up at all. ALL other buttons work. The web page source points to an exe, but running the exe just brings up the same page! I have NO idea why anybody would make a mapping program that relies on a java splash page to get started.

Sure, the maps are there, BUT, I have no idea what I'm opening because of the filenames - that 2nd screen tells you whats being opened, has all sorts of tools, allows you to easily skip to other maps - it's just frustrating and impossible to use without that.

I have no idea why I can't access this part of the program, apart from the fact that javascript simply isn't letting me. Javascript is installled, both firefox and IE are set up to handle it (though the program doesn't support firefox, so I can't go that way), but javascript simply goes on a lunch break.

Included below is the source to the page, and below that, a test javascript that doesn't work either. Please help, it would be completely anal to reformat just to use one program...

Code:
<html>
<head>


<title>Start RASTER VIEWER</title>

<script language="javascript" src="messages.js"></script>

<script language="javascript">

  // Ensure Internet Explorer version 5 or above is being used to view this page. If not, display warning and help page
  // If IE 4.0 is being used, display message that viewer hasn't been tested on this platform but run anyway.
  browserName= navigator.appName;
  browserVersion = navigator.appVersion;
  if (browserName == "Netscape" || browserVersion < 4) {
    wrongBrowserVersionMessage(browserName,browserVersion);
    parent.location="helppage.html";
  } else if (browserVersion < 5)
  {
  	oldBrowserVersionmessage(browserVersion);
  }


/* This code removes the right click functionality
	So a user can't right click and view source, refresh, back, forward etc... */
var oLastBtn=0;
var bIsMenu = false;
	if (window.Event)
		document.captureEvents(Event.MOUSEUP);

	function nocontextmenu()
	{
		event.cancelBubble = true
		event.returnValue = false;
		return false;
	}
	function norightclick(e)
	{
		if (window.Event)
		{
			if (e.which !=1)
				return false;
		}
		else
		if (event.button !=1)
		{
			event.cancelBubble = true
			event.returnValue = false;
			return false;
		}
	}
	document.oncontextmenu = nocontextmenu;
	document.onmousedown = norightclick;

/****** End Right Click stuff *****/


var popup = null;

function showPopup() {

  if (screen.availWidth < (800-45) || screen.availHeight < (600-40)) {
    // allows for task bar at bottom and Office shortcut bar at side of screen
    alert("Error: Your current screen resolution is too small.\n"
        + "RASTER VIEWER requires a screen resolution of at least 800 x 600.");
  } else {

    // get the screen width/height taking into account the window border
    var screenWidth = screen.availWidth;
    var screenHeight = screen.availHeight - 28;

    myWindow = window.open("navigate.html", "rasterviewer", "left=0,screenX=0,top=0,screenY=0,resizable=no,scrollbars=no,status=no,toolbar=no,menubar=no,width=" + screenWidth + ",height=" + screenHeight);
  }
}

</script>


</head>
<body bgcolor="#000000" class=FRONT>

<table align="center" height="100%" width="100%">
<tr><td valign=center align=center>
<img src="images\raster_splash.jpg" usemap="#rastermenu" border="0">
<map name="rastermenu">
  <area shape=rect coords=40,20,195,125 href="http://www.ga.gov.au/" alt="Launch Geoscience Australia Home Page">
  <area shape=rect coords=453,170,587,275 href="#" onclick="showPopup()" alt="Launch NATMAP Raster Viewer">
  <area shape=rect coords=6,323,110,368 href="RasterViewerLicence.html" target="_blank" alt="Conditions of use.  View the NATMAP Raster licence agreement.">
  <area shape=rect coords=124,323,223,368 href="RegistrationAtInstall.html" target="_blank" alt="Register your copy of NATMAP Raster 2005 Release.  You can register on-line, by post or fax.">
  <area shape=rect coords=236,323,342,368 href="quickhelp.htm" target="_blank" alt="Quick Help.  Summary of how to use the Viewer.">
  <area shape=rect coords=354,323,457,368 href="userguide.htm" target="_blank" alt="NATMAP Raster User Guide.  In-depth documentation about NATMAP Raster, product components, map images, how to select a map, viewing maps, printing, exporting, and using in other applications.">
  <area shape=rect coords=470,323,572,368 href="faq.htm" target="_blank" alt="Frequently Asked Questions about NATMAP Raster.  Look here to see if your questions have already been answered.">
  <area shape=rect coords=585,323,689,368 href="http://www.ga.gov.au/nmd/products/maps/raster250k/" alt="NATMAP on the Web.  Launches the website of Geoscience Australia.  Access to free on-line data, on-line mapping tools, and information about the organisation."> 
</map>
</td>
</tr></table>
</body>
</html>

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

Now, the source for that simple little page that won't do what it's supposed to:

Code:
<html>
<head><title></title></head>
<body>
<script>alert("hi.");</script>
</body>
</html>

Every other box I use handles JS just fine, but my main box just decided to not let it work one day for some reason. I've triple-checked that IE is permitted to use all forms of JS, and I've even turned the security level to off in order to make sure it isn't blocking something. I am utterly and totally clueless about this problem.
 
Go to java.com and see if it detects a working version of java?

It sure does detect a version of java, but when I try to install the "reccomended" version, windows tells me that the package isn't a valid installer. Also, really weird stuff is happening, like the google toolbar not appearing - if I remove it using hijackthis, download and try to reinstall the toolbar, I agree to googles' terms, but then absolutely nothing happens. About the only thing that stops me from reformatting at this stage is that I have a HEAP of ebooks from amazon that, despite adobe instructions, simply will not work upon a reformat. No reply email from adobe (amazon simply says to contact them) for over a year, either.
 
Can you remove your current version of JAVA via add/remove programs then download the new version of Java which on my system is Java 1.6 Update 3 the latest version of Acrobat reader is 8.1.1 could always update that too.
 
Can you remove your current version of JAVA via add/remove programs then download the new version of Java which on my system is Java 1.6 Update 3 the latest version of Acrobat reader is 8.1.1 could always update that too.

Tried your suggestion with java, but no luck with that particular site (which is no biggie, at least most java ability has been restored) - as for acrobat, it's actually an endless loop which, IIRC, occurs when you're directed to the adobe website to regain permission to open the docs.
 
Back