Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML and HTA

Status
Not open for further replies.

pbellc

Programmer
Jun 6, 2003
36
US
I have a web page with frames, and i am trying to get an hta file to run in one of the frames. THe problem I am encountering is that everytime the page loads it asks if the user wants to download the hta file instead of running it in the frame. Can anyone help me with that? Ideally I would like the hta file to sit in the main frame of the idex page. THanks.
 
That is normal behavior for an hta file when used from a server. For the user it is a bit like downlaoding a trojan horse. However I am not clear why you would be loading it more than once into the frameset. Perhaps you could clarify.

Clive
 
Sure. The hta file was created because we have a bunch of users that access it, and the links open many excel spreadsheets. With normal html, when the user clicks the link it opens excel in the browser, and thats not a good thing when you have a bunch of users accessing the same files. SO we created an hta file to get around getting everyone to change their ActiveX controls. Now we would like the hta file to sit as the main frame on the home page of an intranet site, instead of being another stand alone application.

I hope I am explaining this correctly. Basically, we want the hta file to sit within the framework of an html home page.
 
Well you can't avoid the download message but you could go back to html and experiment with changing the extension of the excel file names. Certainly zipping them would avoid them being shown in the browser.

Clive
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top