Monday, August 11, 2008

HTML Application (HTA)

if you want to open HTML page or website as an C++ application,Windows Application or any .Exe application, just rename the HTML file from .html to .hta . HTA can be used for prototyping, making wizards, or building full-scale applications.

By the use of HTA, you will focus on the html page or website content and thereby you won't find the browser toolbars, address bar, menus, buttons ...etc.

HTA for internal applications usage:

if you have internal tools, Web-Based applications, like attendance module for all employees, development team portals, collaboration portals, time tracker system ...etc. you need the employees or colleagues to dont care about explorer bars and focus on the core of your application, it will be useful to use the HTA

Example:




How can you do that:



just, you can rename the .html files to be .hta

OR,

you can use the following code:





references:
http://msdn.microsoft.com/en-us/library/ms536496.aspx
http://en.wikipedia.org/wiki/HTML_Application

5 comments:

حازم البدري said...

Thank you, wonderful article. Actually, it is first time to know this information. Thanks my brother.

Bairam.! said...

Thanks

Shiko_engin said...

good job ,
can i use this with .aspx file

Bairam.! said...

.aspx not allowed because .hta extension recoginze html code only

but you can use iframe , html control , to open any url like

www.test.com/default.aspx
www.test.com/default.php
...etc

meadow meadow said...

To see WOW Gold and RS Gold world in a granda of stand.And a heaven in a wild flower.Hold infinity in the palm your hand and eternity in an hour.

ANTIQR26
By: Favoshots
Views: 0
ANTIQR27
By: Favoshots
Views: 0
ANTIQR29
By: Favoshots
Views: 0
ANTIQR31
By: Favoshots
Views: 0
ANTIQR32
By: Favoshots
Views: 0
ANTIQR33
By: Favoshots
Views: 0
ANTIQR34
By: Favoshots
Views: 0
ANTIQR37
By: Favoshots
Views: 1
ANTIQR38
By: Favoshots
Views: 1
ANTIQR40
By: Favoshots
Views: 1
ANTIQR41
By: Favoshots
Views: 1
ANTIQRA
By: Favoshots
Views: 1
ANTIQRA2
By: Favoshots
Views: 1
ANTIQRA3
By: Favoshots
Views: 1
ANTIQRA4
By: Favoshots
Views: 1
ANTIQRA5
By: Favoshots
Views: 1