Hello Everyone, in this post i will show you how you can create a basic application with a graphical user interface using html. HTML is the best option if you are trying to give a GUI interface to your application. Now-a-days mostly applications are designed in HTML. Because it does not only makes fluid interface but also designing the interface using HTML gives confidence to developer.
<HTA:APPLICATION ID="SAMPLE"
APPLICATIONNAME="My first application"
BORDER="DIALOG"
MAXIMIZEBUTTON="YES"
SCROLLFLAT="YES"
CAPTION="YES"
SELECTION="YES"
SCROLL="YES"
SHOWINTASKBAR="YES"
SINGLEINSTANCE="YES"
SYSMENU="YES"
WINDOWSTATE="NORMAL"
NAVIGABLE="YES"/>
So let's start.
Step 1:
First of all open Notepad or any text editor and write the following code on a blank document.
<HTA:APPLICATION ID="SAMPLE"
APPLICATIONNAME="My first application"
BORDER="DIALOG"
MAXIMIZEBUTTON="YES"
SCROLLFLAT="YES"
CAPTION="YES"
SELECTION="YES"
SCROLL="YES"
SHOWINTASKBAR="YES"
SINGLEINSTANCE="YES"
SYSMENU="YES"
WINDOWSTATE="NORMAL"
NAVIGABLE="YES"/>
Step 2:
Now save your code with the extension '.hta' (For example myapp.hta). And now you can directly execute your application by double clicking on it.
It uses Microsoft internet Explorer as its rendering engine.
Here is screenshot of myapp.hta
For any help of this type of HTML document you can contact me. Thanks :-)
No comments:
Post a Comment