Good morning all,

I’m having a hard time getting the one click solution to work from http://groups-beta.google.com/group/cfeverywhere/browse_thread/thread/f22153aa0fb810c3.

Has anyone tried this method and got it working?  If so, I could use a little help. 

 

Setup (My directory structure): C:\CFEverywhere\server\etc\catalog.xml

I followed Phil’s step 1 and 2 tutorial using Jetty, BD, and Access db.

 

Created start.bat file located at C:\CFEverywhere\server

Code looks like this:

c:

cd\

cd CFEverywhere\server

javaw -jar start.jar etc/catalog.xml

exit

 

Created stop.bat file located at C:CFEverywhere\server

Code looks like this:

c:

cd\

cd CFEverywhere\server

javaw -jar stop.jar etc/catalog.xml

exit

 

both start.jar and stop.jar are in C:\CFEverywhere\server

 

I created a .hta file on my destop called setup.hta that looks like this:

<head>

 

<script language='_vbscript_'>

Set WshShell = CreateObject( "WScript.Shell" )

WshShell.Run "c:/CFEverywhere/server/start.bat",0,false

sub closeOut

        WshShell.Run "c:/CFEverywhere/server/stop.bat",0,false

End sub

</script>

 

<HTA:APPLICATION ID="WbrtChange"

icon="C:\Documents and Settings\rmast\Desktop\test.jpg"

BORDER="dialog"

BORDERSTYLE="normal"

maximizeButton="no"

minimizeButton="no"

showInTaskbar="yes"

SCROLL="no"

SHOWINTASKBAR="yes"

SINGLEINSTANCE="yes"/>

 

<style>

iframe{

        border: none;

        margin: 0;

        padding: 0;

        height:800;

        width:800;

}

 

body{

        border: none;

        margin: 0;

        padding: 0;

        overflow : hidden;

}

 

</style>

</head>

<body

<iframe scrolling="No" src=""

</body>

 

I’m able to open my application no problem, but:

  1. The server continues to run when I kill my application.
  2. Is the icon suppose to look like test.jpg?  It’s not.
  3. The iframe which displays the application is set to 800 x 800 px and is not the same size as the .hta window.  (I can monkey with the height and width, but is there an easier way?)

 

Any help in solving my 3 buts will be greatly appreciated.

 

Ron Mast

Webmaster

Truth Hardware

Ph: 507-444-4748

Fx: 507-444-5361

www.truth.com

 

_______________________________

This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual to whom they are addressed.  If you are not the intended recipient or the individual responsible for delivering the e-mail to the intended recipient, please be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.

Reply via email to