What html code will start an EXE (program) with a click on a webpage link?

The code in bold below worked. After I switched my browser from IE 11 to Firefox to get the hover on hotspots to work, the program gave me this error message. I moved the EXE file to my local file folder and tried it as shown below. Still no success. Any suggestions?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Family Tree Charts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css">
<!--
body,td,th {
    color: #000;
-->
</style></head>
<body link=blue vlink=blue>
<table width="100%" height="25" border="0" cellpadding="4" cellspacing="0">
  <tr>
    <td width="93%" height="27" bgcolor="#EFEFEF"> <div align="center"><font color="#999999">
    <b>This Software Allows You To Review Neat Charts of Your Family Tree </b></font></div></td>
    <td width="7%" bgcolor="#CCFFFF"> <div align="center"><A href="Mementos_Menu.html"><font size="2">Back</font></a></div></td>
  </tr>
</table><BR><center>
<br>
<FONT color=#ff00ff><strong>Click the link below to download a special software program for your PC.</strong></FONT><br>
<br>
<a href="http://jdmcox.com/"><strong>Cox Website</strong></a><br><br>
<strong>ITEM 1</strong> (AT THIS  WEBSITE) IS  THE <strong>FAMILY TREE CHART</strong> PROGRAM.<br>
It is called <strong>Simple Family Tree</strong><br>
<table width="80%" border="2" cellspacing="2" cellpadding="2">
  <tr>
    <td width="49%" align="left" valign="top"><FONT color=#ff00ff><strong>Click the link below to use this special software program after you download and install the program.</strong></FONT><br>
<br>
<!--<a href="C:\Program Files (x86)\Simple Family Tree\Simple Family Tree.exe"><strong>Family Tree Charts Program by Doug Cox</strong></a><br><FONT color=#ff00ff>
-->
<a href="C:\Users\Tom and Polly\Documents\Genealogy CD\Simple Family Tree\Simple Family Tree.exe"><b>Family Tree Charts Program</b></a><br><br>
<FONT color=#ff00ff><strong>Click  the &quot;run&quot; button for both warning messages.<br>
Click the &quot;READ THIS!&quot; menu option when the program opens.<br>
Click  "X" in the upper right to close the program.<br><br>
You can update the family data in future years with this program too.</strong></FONT>
<br></td>
    <td width="51%" align="left" valign="top"><FONT color=#ff00ff><strong>NOTE 1: Be sure your HTML code for this webpage has a proper line to link to the location where the software was installed. You can use NOTEPAD to make HTML code changes. My existing line is: </strong></FONT><br>
      "c:\<u>program files (x86)</u>\simple family tree\simple family tree.exe"<br><br>
      <FONT color=#ff00ff><strong>The underlined portion will need to agree with where the program was installed. Just change the directory (see underlined sample above). Good luck. If I am still living, call me.<br><br>
      NOTE 2: After you download, install, and try to use the program, you may get an error message window that looks like this -&quot;0 FAMS @F191 @ FAM&quot;. This means you have an individual record in your GEDCOM file that does not have a parent. Be sure all GEDCOM records have at least one parent even if you must name the parent UNKNOWN.</strong></FONT></td>
  </tr>
</table>
<br></center> 
<table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#CCCCCC">
    <tr>
      <td bgcolor="#EFEFEF"> <font size="2">&copy;2002 Sales and People</font></td>
    </tr>
</table></body>
</html>

Herbert:
Here is my latest code attempt, but I get messages about the lines in BOLD that I do not understand.
Perhaps you will see what I need to fix. Sure appreciate what you have found and shared with such a neophyte (aka dumbo).
Tom
<!--
body,td,th
-->
function RunExe(path) {
try {
var ua = navigator.userAgent.toLowerCase();
if (ua.indexOf("msie") != -1) {
MyObject = new ActiveXObject("WScript.Shell")
MyObject.Run(path);
} else {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var exe = window.Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
exe.initWithPath(path);
var run = window.Components.classes['@mozilla.org/process/util;1'].createInstance(Components.inteinterfaces.nsIProcess);
run.init(exe);
var parameters = ["/c start Simple Family Tree.exe"];
run.run(false, parameters, parameters.length);
} catch (ex) {
alert(ex.toString());
This Software Allows You To Review Neat Charts of Your Family Tree
Back
Click the link below to download a special software program for your PC and your GED file.
*Cox Website*
ITEM 1 (AT HIS  WEBSITE) IS  HIS FAMILY TREE CHART PROGRAM.
It is called Simple Family Tree
Click the link below to look at my GEDCOM file contents.<br>Instructions are provided in the READ THIS menu option at the top of the window.
  *Show Yarnall Chart*
*Return to this webpage by clicking on the backarrow after looking at the chart.
You can update the family data in future years with this program too.*
©2002 Sales and People
Date: Thu, 2 Jan 2014 02:09:18 -0800
From: [email protected]
To: [email protected]
Subject: What html code will start an EXE (program) with a click on a webpage link?
    Re: What html code will start an EXE (program) with a click on a webpage link?
    created by Herbert2001 in Dreamweaver support forum - View the full discussion
Perhaps this might be helpful:
https://addons.mozilla.org/en-US/firefox/addon/opendownload-10902/
It allows executables in Firefox to be run - it is an extenstion, though, so it must be installed in Firefox before your page will work.
Another option is this solution, but it will still require a manual change in Firefox:
http://forums.mozillazine.org/viewtopic.php?f=19&t=803615
Or this: http://stackoverflow.com/questions/6472435/running-exe-in-firefox-why- do-i-get-an-error
However, you will still have problems with getting it to work cross-browser. Honestly, browsers are not supposed to have access like that to the client side file system, which absolutely makes sense for the web.
That is why you may have to approach the solution from a different angle - perhaps create a server side cloud version of your application(s) which can be easily accessed and run by your family members. I believe you used C to develop the applications? Although I have no experience with this framework, Wt might be a solution to convert your projects to server side applications:
http://www.webtoolkit.eu/wt
Good luck!
     Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5972893#5972893
     Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5972893#5972893
     To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5972893#5972893. In the Actions box on the right, click the Stop Email Notifications link.
           Start a new discussion in Dreamweaver support forum at Adobe Community
  For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

Similar Messages

  • ASP code to start a Java program (with parameters)

    Hi! All,
    I am trying to write some ASP code which should start a java program. Does anybody know a simple way to do this? Am new to ASP
    Thanks

    It doesn't have anything to do with java.
    Basically you need to make a system call which will start an external application. The external application can be anything including something like "java MyClass".
    So either find an ASP forum/board/newsgroup to ask how to do a system call or read some docs on it.

  • What HTML code do I need to get Adobe Flash to play an embedded MP4 video file (8 MB)?

    What HTML code do I need to get Adobe Flash to play an embedded MP4 video file (8 MB)?
    Thanks
    Mark

    Here are a couple of ways, one using the Netstream class and the other using the FLVPlayback component.
    For the NetStream approach, the following in the timeline code will play/loop the intended mp4 file...
         var video:Video;
         var connect_nc:NetConnection = new NetConnection();
         connect_nc.connect(null);
         var stream_ns:NetStream = new NetStream(connect_nc);
         stream_ns.client = this;
         function netStatusHandler(p_evt:NetStatusEvent):void {  
             if (p_evt.info.code == "NetStream.Play.Stop") {
                 stream_ns.seek(0); // to loop the video
         stream_ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
         video = new Video();
         addChild(video);
         video.attachNetStream(stream_ns);
         stream_ns.play("path_to/your.mp4");
    For the FLVPlayback component, add it to the stage, give it an instance name ("fp" used below), assign your mp4 file ("path_to/your.mp4") as the source property in the Properties panel, and select the option to autoplay as well.  Place the following code in the timeline...
         fp.addEventListener(Event.COMPLETE, playAgain);
         function playAgain(evt:Event):void {
             fp.play();
    To put the Flash swf file in an html page, in the Publish Settings set it to publish an swf and an html page.  Publish the file an the html page will be created for you.

  • Can i create an exetutable (.exe) program with java???????

    I would like to learn how i can create an exetutable (.exe) program with java.
    Is there any additional package which i should download or buy it?
    Also i would like to write files into CD's direct from my application.
    Is there any library which i must download or buy?
    Thanks!

    check out the free open source GNU gcj native compiler for Java to see if it will do what you want.
    http://gcc.gnu.org/java/
    for writing data files you could use java.io.BufferedWriter. For sound files, look in the javax.sound package

  • HTML Code will not generate Thumbnail image.

    For Months I have been using this html code to generate a thumbnail image on on of the pages on my site. It essentially creates a player for the podcasts that I create on www.buzzsprout.com. Buzz sprout our the ones that provide the html code to put on your site.
    Here is the code: <script src="http://www.buzzsprout.com/XXXXX.js?player=large&limit=1" type="text/javascript" charset="utf-8"></script>.
    The XXXXX in the code represent the numbers for the individuals podcast page where the podcasts are displayed once they have been uploaded to their site. Soon after the latest update I have been unable to generate a thumbnail image on my site using this code. Why is that?

    I am not sure what you mean be sharing a sample project. The website in question is www.ccont.com. Can't you create a page and paste the html code on it and see if it generates a thumbnail image. Use this html code that include my account number: <script src="http://www.buzzsprout.com/22782.js?player=large&limit=1" type="text/javascript" charset="utf-8"></script>

  • Which t-codes will start web-browser in SCM7.0?

    I am new to SCM7.0 but I have experience at PI7.1/PI7.0.
    On PI7.0 there are some t-codes such as sxmb_ifr, sldcheck, etc which will start a web-browser.
    Could you list the SCM  tcode that will launch web-browser as well?
    Thank you!

    Hi Christy Kelly,
    Some of the following t-codes uses web-browser
    /N/SAPAPO/CLPISDP
    /SAPAPO/CLPIPCAL
    /SCA/ICH - SNC
    /SCA/ICH_S - SNC - Supplier View
    /SCA/ICH_C - SNC - Customer View
    /SCA/ICH_G - SNC - Goods Recipient View
    /SCA/ICH_RR_NA - Responsive Replenishment
    /SCA/ICH_RET - Returns Processing - Customer View
    /SCA/ICH_RETV - Returns Processing - Supplier View
    /SCA/ICH_RETG - Returns Processing - Goods Recipient View
    Hope this helps you.  Please confirm.
    Regards
    R. Senthil Mareeswaran.

  • What HTML code can I use in Mail (signature box composition)?

    I'm from Spain. It appears that iOS 6 allows to use HTML code in order to compose signatures in Mail. I have tried to use several codes but they don't work... Do you know what HTML tags are accepted by Mail signatures in iOS 6? Thank you.

    you can create a signature in mail preferences->signatures. the editing tools there are very basic but if your company's signature is not too fancy you might be able to recreate it. if that's not good enough, the only way around that i know is a the following hack
    create a dummy signature in mail preferences->signatures. then go to the directory /users/username/library/mail/signatures and locate the webarchive with your signature. then make an html file using your favorite html editor. put whatever you need in it. save it and open it in safari. then save it as a webarchive from safari and overwrite the dummy signature you made with that webarchive.

  • Since i don't have idvd on my new imac, what is the best alternative dvd burning program with similar features? (creating menus, elegant and easy to use, etc.)

    I just found out that Apple no longer ships a solo version of idvd with the new macs.  I used this program with my imac as it was simple and got the job done.
    In imovie, under "share" there is an option for idvd, but it isn't a program i can get into like the old one for menu creation, etc.
    Does anyone have any suggestions for a really good reliable dvd burning program with menu creation features similar to idvd?

    Hi
    There are two answers
    A. No there are nothing like iDVD - at all
    B. read on
    If there is no iDVD on Your Mac (and it's not on newer Macs as Apple discarded it) then You need a program that can do this.
    Your Mac can burn CDs and DVDs - BUT DVD as Data-DVDs not as Video-DVDs - they need a program to be encoded and STRUCTURED as such.
    • iDVD is part of the boxed version of iLife'11 and can only be bought outside Apple as on Amazon and e-bay
    • DVD Studio pro - Part of FinalCut Studio Pro bundle - this to has expired and can only be bought second handed. (High price and tough learning Curve - but best ever done.)
    • Roxio Toast™ - Not as elegant as iDVD - but has many other positive additions (I like it as 10-Pro incl BD-component) (now version 11)
    • Burn - only free alternative I know of on internet. Very simple - Just for doing a plain Video-DVD
    Burn http://www.digital-digest.com/software/Burn.html
    only You can buy from Apple is
    • FinalCut Pro-X which also can burn to DVD but without any nice themes.
    AppleMan1958
    You can also buy Compressor from Apple for $50 US. It will also create DVD and BluRay but without the nice themes.
    Yours Bengt W

  • How do you start a java program with more RAM alloaction

    Hi
    can anyone please tell me how to start a java program to start with lots of RAM (RAM size is sent as a parameter), I have seen it somewhere and now I cant remember it. I have a server application to run this way.
    thanks and rgds
    sunil

    see the tooldocs of java: http://java.sun.com/j2se/1.4/docs/tooldocs/tools.html

  • Why will Safari not launch Eudora when I click on an email link?

    It used to work just fine. However, for about a month now, when I click on "send an email" at my Real Estate Board site, Safari is replaced by a white screen, then reverts back to the "send an email" page. Eudora doesn't launch. Mail doesn't launch. I have Internet Explorer for Mac installed as well, and it won't connect via my e-mail programs either.
    I also run Virtual PC, and under it, Internet Explorer. The Windoze version still works.
    What gives?

    Let me restate my problem.
    If I run Safari, click on the email link which should launch Eudora and open a "New Message" window, the screen goes white for a second and reverts back to the link screen but nothing happens. If I launch Eudora first, then in Safari click on the link, still nothing happens.
    If I run Explorer for Mac v 5.2.3 it will neither launch Eudora nor open a New Message window if Eudora is already launched.
    If I run FireFox, and I click on the link, Eudora will launch and a New Message window opens as it used to do in Safari.
    I could really use some help here. Any ideas? Why should I have to use 3rd party browsers?

  • Start/stop user programs with laptop-mode

    Hi,
    i am trying to place some scripts in /etc/laptop-mode/*start[stop] to kill and start some programs when on battery or ac.
    I tried with the following script, but the process is just a zombie and dropbox will not appear: any ideas?
    #!/bin/bash
    case "$1" in
    start)
    su pschw -c
    /opt/dropbox/dropbox &
    stop)
    killall dropbox
    echo failed!
    esac

    Hi,
    i am trying to place some scripts in /etc/laptop-mode/*start[stop] to kill and start some programs when on battery or ac.
    I tried with the following script, but the process is just a zombie and dropbox will not appear: any ideas?
    #!/bin/bash
    case "$1" in
    start)
    su pschw -c
    /opt/dropbox/dropbox &
    stop)
    killall dropbox
    echo failed!
    esac

  • What MacBook Pro will I get better performance with the 2.4ghz 256 SSD or the 2.6ghz 128 SSD these are also refurbished models

    I'll wanting to buy one of these these are refurbished and cannot choose please help me thanks :)

    Refurbished 13.3-inch MacBook Pro 2.4GHz Dual-core Intel i5 with Retina Display
    Originally released October 2013
    13.3-inch (diagonal) Retina display; 2560-by-1600 resolution at 227 pixels per inch
    8GB of 1600MHz DDR3L SDRAM
    256GB Flash Storage1
    720p FaceTime HD camera
    Intel Iris Graphics
    Apple Certified Refurbished
    OR
    Refurbished 13.3 inch MacBook Pro 2.6Ghz Dual-Core Intel i5 with Retina
    Originally released October 2013
    13.3-inch (diagonal) Retina display; 2560-by-1600 resolution at 227 pixels per inch
    8GB of 1600MHz DDR3L SDRAM
    128GB Flash Storage1
    720p FaceTime HD camera
    Intel Iris Graphics
    Apple Certified Refurbished
    Which one is the better one, they are the same  price what one will run faster and what one would you buy
    Many Thanks :)

  • I  am getting the error code, "error opening document, please try agailater" when clicking on the application link from a website. The form was working properly but stopped. What happened?.

    My form was working properly but today, 20 June, an applicant clicked on the website link and got an error that says, "error opening document, please try again later". How can this be fixed?

    Is this a FormsCentral form?

  • Porting windows program with winelib - compiles, but fails to link.

    I'm trying to port zCPU emulator . I've got it to build and created object files. Now it doesn't link to its own functions and some wine ones
    Any ideas?
    As you see, I'm using small script for build.
    Here's a package of what I'm building from: http://silentman.org.ua/build.tar.bz2
    [sm@home-sm zcpu_emu_build] LANG="en_US.UTF-8" sh ./build.sh
    zcpu_emu.o: In function `putch(int)':
    zcpu_emu.cpp:(.text+0x20c): undefined reference to `_putch'
    zcpu_emu.o: In function `kbhit()':
    zcpu_emu.cpp:(.text+0x229): undefined reference to `_kbhit'
    zcpu_emu.o: In function `getch()':
    zcpu_emu.cpp:(.text+0x246): undefined reference to `_getch'
    zcpu_emu.o: In function `RunLoop(void*)':
    zcpu_emu.cpp:(.text+0x6ad): undefined reference to `video_event_loop()'
    zcpu_emu.o: In function `PokeVideoDriver(int&, int&)':
    zcpu_emu.cpp:(.text._Z15PokeVideoDriverRiS_[PokeVideoDriver(int&, int&)]+0x58): undefined reference to `con_putch(int)'
    zcpu_emu.cpp:(.text._Z15PokeVideoDriverRiS_[PokeVideoDriver(int&, int&)]+0xef): undefined reference to `video_draw_rectangle(int, int, int, int, unsigned char, unsigned char, unsigned char)'
    zcpu_emu.o: In function `ScratchPort(int, int)':
    zcpu_emu.cpp:(.text._Z11ScratchPortii[ScratchPort(int, int)]+0x39): undefined reference to `WriteToSCSI(int, int, int)'
    zcpu_emu.o: In function `GetPort(int&)':
    zcpu_emu.cpp:(.text._Z7GetPortRi[GetPort(int&)]+0x1d): undefined reference to `ReadFromSCSI()'
    SCSI.o: In function `InitSCSI()':
    SCSI.cpp:(.text+0xe1): undefined reference to `con_write(char const*, ...)'
    SCSI.cpp:(.text+0x198): undefined reference to `con_write(char const*, ...)'
    SCSI.cpp:(.text+0x22a): undefined reference to `con_endl()'
    SCSI.cpp:(.text+0x238): undefined reference to `con_write(char const*, ...)'
    SCSI.cpp:(.text+0x23d): undefined reference to `con_endl()'
    zBIOS.o: In function `DiskIO()':
    zBIOS.cpp:(.text+0x11c): undefined reference to `WriteToSCSI(int, int, int)'
    zBIOS.cpp:(.text+0x13c): undefined reference to `WriteToSCSI(int, int, int)'
    zBIOS.cpp:(.text+0x15d): undefined reference to `WriteToSCSI(int, int, int)'
    zBIOS.cpp:(.text+0x162): undefined reference to `ReadFromSCSI()'
    zBIOS.cpp:(.text+0x194): undefined reference to `WriteToSCSI(int, int, int)'
    zBIOS.cpp:(.text+0x199): undefined reference to `ReadFromSCSI()'
    /usr/lib/wine/libwinecrt0.a(exe_main.o): In function `main':
    exe_main.c:(.text+0x9d): undefined reference to `WinMain'
    collect2: ld returned 1 exit status
    winegcc: g++ failed
    Last edited by SilentMan (2008-06-12 12:54:38)

    Look like it is expecting Conio, which was a MS only console IO API. There are some implementations of Conio for Linux though. It might be worth learning ncurses, to just replace the Conio bits.

  • Need help with in-line HTML code

    I am trying to write some in-line HTML code to change the background color to blue for Exception-Bad.  Here is my code
    I am trying to use in-line HTML code in WAD to change the background color for Exceptions-Bad to blue.  This is not working.  I really need to get this to work so if someone could tell what is wrong with my code, I would really appreciate the help.
                <style type="text/css" > SAPBEXexcBad7 {background-color: blue}; .SAPBEXexcBad8 {background-color: blue}; SAPBEXexcBad9 {background-color: blue} </style>
    Thanks.
    Ryan

    Hi Boater,
    HTML code will also come like this also
    BODY BACKGROUND="image.jpg" BGCOLOR="#FFFFFF" TEXT="#000000"
    let this one also
    Regards
    Ashwin

Maybe you are looking for

  • Adding space in front of unique number?

    I downloaded photos from camera and renamed the files with the 'Rename files to:' function. How can I add a space between the file name and the unique number which is added to the name? If I write name "On the lake", the filenames will be "On the lak

  • Oracle 11gR2 RAC Grid installation - Configuration of ASM failed,

    Hi guys, Trying to install/configure Oracle 11gR2 Grid for 2 nodes RAC on Suse 10, root.sh failed with this error: 2010-08-19 15:30:47: Querying for existing CSS voting disks 2010-08-19 15:30:47: Performing initial configuration for cluster 2010-08-1

  • IPhone 4.1 USB connection in vehicle?

    I just downloaded 4.1 and every since then I have a USB direct connect in my GMC Sierra it always played the audio from the Iphone and since doing that it has not been able to read it, anyone else having the problem?

  • Compass what is it good for?

    Not an expert on looking up adresses or location via coordinates, what can I use this for practically speaking? I heard future apps could improve Maps or combined with a preloaded map app?

  • Can't find Lumia SensorCore SDK

    For some reason Nokia Developer and its community and wiki seem to be gone, I've looked everywhere on the MSDN and can't find any information regarding Lumia or any other Nokia platform, if this is a move by Microsoft it's a lousy and developer unfri