Re: Adding a File menu in HTA
- From: "charles@xxxxxxxx" <Charles@xxxxxxxx>
- Date: Tue, 12 Sep 2006 11:58:42 +0100
Mayayana / McKirahan
It isnt that I dont want to use an IE instance.....I am happy to.
The example you sent however was not easy for me to follow....
This code....
<head><h1>HTA Example</h1></head>
<body>Hello World</body>
......produces a simple text page as an hta file.
What code do I need, to get this page to "print".
If I need to add a "Print" button then thats OK.
Once I see the basic code behind the button, I will have a
better understanding of what is involved in invoking the IE instance.
Sorry, but I'm pretty new at this.....
Thank for your help.
Charles W
"mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx> wrote in message
news:HAjNg.6346$v%4.4954@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm not sure how it can be done. What I posted
Can you simplify this for me....
What code do I need to add to a simple text page
to create 'Print Priview' and 'Print' options.
was code to do it through an IE instance. There's
no access to that from within the page. You might have
to write the page HTML to disk, open it with a new
instance of IE, then call ExecWB on that. I haven't tried
it (and I'm not going to write the code), but I don't know
of any other way. I don't think it'd be realistic to
actually try to build your own print preview from scratch.
In other words, if you don't get IE to do it then it's
probably beyond what script can do.
.
- Follow-Ups:
- Re: Adding a File menu in HTA
- From: mayayana
- Re: Adding a File menu in HTA
- From: McKirahan
- Re: Adding a File menu in HTA
- References:
- Adding a File menu in HTA
- From: charles@xxxxxxxx
- Re: Adding a File menu in HTA
- From: mayayana
- Re: Adding a File menu in HTA
- From: charles@xxxxxxxx
- Re: Adding a File menu in HTA
- From: mayayana
- Re: Adding a File menu in HTA
- From: charles@xxxxxxxx
- Re: Adding a File menu in HTA
- From: mayayana
- Adding a File menu in HTA
- Prev by Date: Re: Is the syntax correct?
- Next by Date: How to remove all elements in a combobox using VBscript
- Previous by thread: Re: Adding a File menu in HTA
- Next by thread: Re: Adding a File menu in HTA
- Index(es):