Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > .hta CD application - file download dialog

Reply
Thread Tools

.hta CD application - file download dialog

 
 
SmurF
Guest
Posts: n/a
 
      07-14-2003
Hi everyone

I'm making an HTA multimedia application to run off a CD. The only problem
is that whenever I try to run a .hta file, up pops the "Are you sure you
want to do this?...Run from current location / Save" File download dialog
box - even if the .hta is on a CD or my local machine. Is there a way to get
IE to trust my HTA off the CD and remove the dialog without each user having
to fiddle around with the settings at their end?

Many thanks
-Simon Murphy


 
Reply With Quote
 
 
 
 
Rob McAninch
Guest
Posts: n/a
 
      07-15-2003
SmurF <news:tPqQa.4734$>:

> I'm making an HTA multimedia application to run off a CD. The
> only problem is that whenever I try to run a .hta file, up
> pops the "Are you sure you want to do this?


How are you running the .hta? By clicking a link in a web page I
assume. I don't believe there's any way to prevent this, you
wouldn't want to anyhow. Just running the file itself (e.g.
double clicking it) doesn't cause a problem for me.

> Is there a way to get IE to trust my HTA off the CD and remove
> the dialog without each user having to fiddle around with the
> settings at their end?


Users who have the CDROM correct? Perhaps you're mailing them out
to family and friends. I recently built a little .hta app for a
friend of mine, I used autorun to fire off the .hta from the
CDROM so most MS Win folks never have to touch the contents of
the CDROM.

--
Rob - http://rock13.com/
Web Stuff: http://rock13.com/webhelp/
 
Reply With Quote
 
 
 
 
SmurF
Guest
Posts: n/a
 
      07-16-2003
Hi Rob

Thanks for you reply. I'm doing exactly the same sort of thing you're doing.
I'm making an hta app and then autorunning it off the CD. I'm not running it
off a web page but it seems IE treats it like it is - when I double click it
from the Desktop it still brings up the File download box asking me to open
or save it. If you know of any way to get IE to trust a particular hta -
perhaps with signed code?... - I'd really love to know.

Thanks
-Simon Murphy

"Rob McAninch" <> wrote in message
news:Xns93B98F7168704rock13com@24.48.107.54...
> SmurF <news:tPqQa.4734$>:
>
> > I'm making an HTA multimedia application to run off a CD. The
> > only problem is that whenever I try to run a .hta file, up
> > pops the "Are you sure you want to do this?

>
> How are you running the .hta? By clicking a link in a web page I
> assume. I don't believe there's any way to prevent this, you
> wouldn't want to anyhow. Just running the file itself (e.g.
> double clicking it) doesn't cause a problem for me.
>
> > Is there a way to get IE to trust my HTA off the CD and remove
> > the dialog without each user having to fiddle around with the
> > settings at their end?

>
> Users who have the CDROM correct? Perhaps you're mailing them out
> to family and friends. I recently built a little .hta app for a
> friend of mine, I used autorun to fire off the .hta from the
> CDROM so most MS Win folks never have to touch the contents of
> the CDROM.
>
> --
> Rob - http://rock13.com/
> Web Stuff: http://rock13.com/webhelp/



 
Reply With Quote
 
Rob McAninch
Guest
Posts: n/a
 
      07-16-2003
SmurF <news:ef3Ra.5123$>:

> "Rob McAninch" <>:
>> SmurF <news:tPqQa.4734$>:
>>
>> > I'm making an HTA multimedia application to run off a CD.
>> > The only problem is that whenever I try to run a .hta file,
>> > up pops the "Are you sure you want to do this?

>>
>> How are you running the .hta? [...] Just running the file
>> itself (e.g. double clicking it) doesn't cause a problem for
>> me.


> I'm making an hta app and then autorunning it off the CD. I'm
> not running it off a web page but it seems IE treats it like
> it is - when I double click it from the Desktop it still
> brings up the File download box asking me to open or save it.
> If you know of any way to get IE to trust a particular hta -
> perhaps with signed code?.


I'd say your machine has a mixed up configuration. Any Windows
box I've used does not fire off "IE", the .hta extension should
be configured to open with mshta.exe the bare window that is
apparently powered by IE.

Just tried it on my WinXP laptop, which is essentially a stock
install, and there's no warnings or such there either.

--
Rob - http://rock13.com/
Web Stuff: http://rock13.com/webhelp/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File name is displayed Garbled in "File download dialog box" =?Utf-8?B?SWJyYWhpbS4=?= ASP .Net 0 08-12-2006 06:44 AM
Force Open .OFT file in Outlook do not show File Download Dialog Kele ASP .Net 0 07-14-2005 06:27 AM
How to hide the dialog when execute a dialog based application in VC? yw C++ 3 07-02-2005 03:35 AM
display print preview dialog, not print dialog Matt Javascript 1 11-20-2004 01:18 AM
Strange characters displayed in file name - File Download Dialog - IE Daniel Cardoso ASP .Net 1 09-24-2004 05:19 PM



Advertisments