html application

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
zdr
-


Joined: 24 Mar 2004
Posts: 2

PostPosted: Thu Mar 25, 2004 12:06 pm    Post subject: html application Reply with quote

Hi
I have just installed abyss webserver.Very user friendly.But I have a problem.I have set mime type for hta files as application/hta.However when ever I browse to the hta file, instead of it being opened in the browser like html file,I get a download prompt.What am I doing wrong.Please guide me.I want hta to be opened in a separate window outside of the browser instead of being dloaded.
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Mar 25, 2004 1:53 pm    Post subject: Reply with quote

You wrote the mime type setting wrong

Use: text/html html htm

Edit: What is a hta file ?
Back to top View user's profile Send private message Visit poster's website
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Thu Mar 25, 2004 3:54 pm    Post subject: Reply with quote

TRUSTpunk wrote:
You wrote the mime type setting wrong

Use: text/html html htm

Edit: What is a hta file ?


Surely you need to read up on what a hta file is before you decide he has the mime type wrong ? Just because it sounds a bit like htm, doesn't mean it is...

Have a read of http://www.hyperwrite.com.au/features/html_applications.htm

I'm pretty sure if you link to a HTA it will always ask the user if they want to open the file from the current location or download it. If they open it from the current location it will run the HTA - there's no way to get it to run automatically, that would be a nightmare for net security!
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Mar 25, 2004 5:47 pm    Post subject: Reply with quote

Wait , I can't believe I forgot about a hta file , its
like a offline website that people allow for download.

Thanks for refreshing my memory lol !
Back to top View user's profile Send private message Visit poster's website
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Fri Mar 26, 2004 12:18 am    Post subject: Reply with quote

TRUSTpunk wrote:
Wait , I can't believe I forgot about a hta file , its
like a offline website that people allow for download.

Thanks for refreshing my memory lol !


HTA is executable code, MHT is a web archive ? Looks like we need some more refreshing :lol:
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Mar 26, 2004 12:22 am    Post subject: Reply with quote

I know its a application but its still a web page
inside that application am I right or wrong ?
Back to top View user's profile Send private message Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Fri Mar 26, 2004 2:47 am    Post subject: Reply with quote

And I know neither HTA or MHT; so I need a crash course. I guess I'll have to Google it. Is HTA used for intranets?
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Mar 26, 2004 2:15 pm    Post subject: Re: html application Reply with quote

zdr,

There is nothing wrong with this behavior since HTA files are meant to run as an application on your computer (and not on the web site or the browser).

For those who want to test HTA. Open notepad, copy and paste the following code:

Code:
<HTML>
   <HEAD>
     <TITLE>HTA Test</TITLE>
     <HTA:APPLICATION ID="MyTestApp"
       APPLICATIONNAME="test"
       BORDER="sunken"
       CAPTION="yes"
       SHOWINTASKBAR="yes"
       SINGLEINSTANCE="yes"
       SYSMENU="no"
       WINDOWSTATE="normal">
   </HEAD>
   <BODY>
      My 1st HTA application. Press Alt+F4 to close it.
   </BODY>
</HTML>


Save it as test.hta and double click on the file. More information about HTA is available in http://msdn.microsoft.com .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sat Mar 27, 2004 1:43 am    Post subject: Reply with quote

Oh... wow... that is the coolest thing I have ever seen. Someone talked about security problems if it were automatically ran. How would it be a security issue?
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
zdr
-


Joined: 24 Mar 2004
Posts: 2

PostPosted: Sat Mar 27, 2004 12:04 pm    Post subject: Reply with quote

Everybody thank you so much for your feed back.

Regards.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Mar 28, 2004 4:13 pm    Post subject: Reply with quote

iNaNimAtE,

Someone can put in the hta code a javascript that can do something bad to your computer. But that's very hard to do since javascript is designed to not allow such things (except when there are flaws or bugs in it).
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
goose
-


Joined: 17 Sep 2002
Posts: 608
Location: The Land Of OZ! come here toto!

PostPosted: Sun Mar 28, 2004 6:11 pm    Post subject: Reply with quote

hmm interesting! mht (looks like htm jumbled! 8)
_________________
living in an armish paradise.....no gates here!

mawuahahaha :)
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun Mar 28, 2004 7:37 pm    Post subject: Reply with quote

Oh... I never thought of that. I wonder if you could hide a little "format c:" in there... hehe...
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Mon Mar 29, 2004 12:48 am    Post subject: Reply with quote

Every since I format my brother's computer from
that bad OS WindowsME , Users have been talking
about the command format c: , you can stop now !
Back to top View user's profile Send private message Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Mon Mar 29, 2004 1:16 am    Post subject: Reply with quote

Sorry... "format c:" is an ongoing joke I used to talk about with a lot of people, and it just develops from there.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group