By "maintain control" you mean that the code
is not accessible/editable by the people using
your tool? Then why not just use VB? A webpage
can only render a poor facsimile of the GUI options
you can get in compiled software.
If you really need to present a webpage for some
reason, you probably can't entirely hide the source
code. You could maybe do something like save the
webpage as a resource in your EXE, write it to the
TEMP folder at startup, then open it in your WB control
and delete the file in TEMP.
Either way, an HTA is almost identical to a webpage.
It IS a webpage, in an IE browser window (which is the
same as a WB control), but in the case of an HTA the
browser window is wrapped and managed by mshta.exe.
So an HTA is not something you can create. It's just
the functionality of mshta.exe. The main difference between
hta and html is just that an HTA has no security other than
the requirement that it be local. It may be possible to use a
WB in VB and bypass all security by doing whatever mshta.exe
does, but I don't know of any documentation about that.
> To give VBSCript an Interface you use an hta
> Using CreateObject (in Visual Basic for instance) is it possible to
> embed a HTA - like you can with a Webbrowser Object - or is HTA not the
> way to do this
> I want to script on the machine from within an application with a web
> browser like rendering (and maintain control of the object)