Launching HTA (HTML Applications) 
Author Message
 Launching HTA (HTML Applications)

| Hi there,
|
| Does anyone out there know if it's possible to not have the "Open or Save"
| dialog come up if you clicked on a link to a HTA file ?  We're creating an
| intranet application and have decided to house it inside of a HTA framework.

No, it's treated exactly the same as a link to an EXE file, so the "Open or
Save" dialog cannot be suppressed.

| I understand that when you double click on .hta file, the file is actually
| launched by a stub exe - mshta.exe, in any case I would appreciate it if
| someone out could help me.

mshta.exe is a lot more that a "stub".  It's essentially the same as IE without
the GUI support (toolbars, menubars, etc.) but without the security limitations
of the browser.  And that's why an HTA is treated as an EXE.

| Chris Oh

| http://www.*-*-*.com/
|
|

--
Michael Harris



Sun, 17 Mar 2002 03:00:00 GMT  
 Launching HTA (HTML Applications)
Hi there,

Does anyone out there know if it's possible to not have the "Open or Save"
dialog come up if you clicked on a link to a HTA file ?  We're creating an
intranet application and have decided to house it inside of a HTA framework.
I understand that when you double click on .hta file, the file is actually
launched by a stub exe - mshta.exe, in any case I would appreciate it if
someone out could help me.

Thanks in advance,

Chris Oh

http://www.koukia.com



Mon, 18 Mar 2002 03:00:00 GMT  
 Launching HTA (HTML Applications)
A good work around would be creating a shortcut to the .hta file on clients
desktop.  I am going to be converting our intranet to HTA format and this is
what I plan on doing.  I have my index.hta on the server, under a share of
\\server\apps.  The users shortcut than points to this file.  The index.hta,
is not running thru our webserver, so in order for all the child frames in
the index.hta had to referenced by their full URL.  Make sure the users only
have read permissions to that HTA file though.

This works great so far, though I have only done limited testing.  We only
have 18 uses on our intranet, so creating the local shortcuts isn't a
problem.  If you have a lot of users, you could probably set up a startup
script to create the short cut for you (or however you normally install
apps).
--

Chris

ICQ# 46872493
http://www.geocities.com/SiliconValley/Hardware/5580/


Quote:


> | Hi there,
> |
> | Does anyone out there know if it's possible to not have the "Open or
Save"
> | dialog come up if you clicked on a link to a HTA file ?  We're creating
an
> | intranet application and have decided to house it inside of a HTA
framework.

> No, it's treated exactly the same as a link to an EXE file, so the "Open
or
> Save" dialog cannot be suppressed.

> | I understand that when you double click on .hta file, the file is
actually
> | launched by a stub exe - mshta.exe, in any case I would appreciate it if
> | someone out could help me.

> mshta.exe is a lot more that a "stub".  It's essentially the same as IE
without
> the GUI support (toolbars, menubars, etc.) but without the security
limitations
> of the browser.  And that's why an HTA is treated as an EXE.

> | Chris Oh

> | http://www.koukia.com
> |
> |

> --
> Michael Harris



Mon, 15 Apr 2002 03:00:00 GMT  
 Launching HTA (HTML Applications)

Quote:
> If you have a lot of users, you could probably set up a startup
> script to create the short cut for you (or however you normally install
> apps).

Yes, Windows Script Host beta 2 can be used to do this. It can create
shortcuts during the logon procedure.

http://msdn.microsoft.com/scripting/windowshost/beta/doc/wsObjWshShor...
m

Peter

--
Peter J. Torr - Microsoft Windows Script Program Manager

Please do not e-mail me with questions - post them to this
newsgroup instead. Thankyou!



Thu, 18 Apr 2002 02:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. launch an application using html/asp

2. Help with html application code (hta page)

3. WSH scripts vs HTML Applications (.HTA files)

4. HTA??? HTML Application

5. Scripting HTA's HTA:APPLICATION Navigable property

6. launch vbs script from a hta app?

7. Launching an EXE from an HTA?

8. launch script from a hta?

9. Launch an application from a webpage.

10. Launch Applications from Internet Explorer

11. Launch server-side application

12. Launching an application/File Associations

 

 
Powered by phpBB® Forum Software