Is is possible, using an HTA to embed a dll or vbs into a control or other
object in the window?

Like what happens when using Insert Object into an Excel file...the file
itself is embedded and saved (and transferred) with the file...

Then the next logical question, can you subsequently export the embedded file?

If possible, examples? web sites with examples?

I suspect this ain't happening, but I had to ask...

Re: Embed a file in an HTA; possible? by Mole

Mole
Wed May 09 14:29:23 CDT 2007

an hta, as you are aware, is just text. so no, you cant do this




"XP" <XP@discussions.microsoft.com> wrote in message
news:DA4C71F2-8C53-4F8F-BE38-02DD7D584F20@microsoft.com...
> Is is possible, using an HTA to embed a dll or vbs into a control or other
> object in the window?
>
> Like what happens when using Insert Object into an Excel file...the file
> itself is embedded and saved (and transferred) with the file...
>
> Then the next logical question, can you subsequently export the embedded
> file?
>
> If possible, examples? web sites with examples?
>
> I suspect this ain't happening, but I had to ask...
>


Re: Embed a file in an HTA; possible? by Michael

Michael
Wed May 09 18:15:01 CDT 2007

Mole Man wrote:
> an hta, as you are aware, is just text. so no, you cant do this
>

The OP can always use MSXML2.XmlHttpRequest object to do a scripted binary
download via an url and an ADODB.Stream object to have the binary
responseBody.

--
Michael Harris
Microsoft.MVP.Scripting



Re: Embed a file in an HTA; possible? by Mole

Mole
Thu May 10 04:56:42 CDT 2007

yeah thats not what hes asking though. hes asking to actually embed an
object... like in a word document when you embed another file, you can then
email someone the word doc and they get the embedded object too



"Michael Harris (MVP)" <mikhar.at.mvps.dot.org> wrote in message
news:eRYQg$okHHA.3264@TK2MSFTNGP04.phx.gbl...
> Mole Man wrote:
>> an hta, as you are aware, is just text. so no, you cant do this
>>
>
> The OP can always use MSXML2.XmlHttpRequest object to do a scripted binary
> download via an url and an ADODB.Stream object to have the binary
> responseBody.
>
> --
> Michael Harris
> Microsoft.MVP.Scripting
>
>