For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > October 2004 > OLE Container









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author OLE Container
Tim

2004-10-25, 3:56 pm

Using VB6
Service Pack 5
MDAC 2.5

I'm Using an OLE container and embedding an executable
file in it. Then, using the DoVerb method to fire it. This
works fine in Windows 98, but in Windows XP a "File
Download" screen appears that says --Some files may harm
your computer....." and it asks to open the file. Is there
a way to ignore or bypass this message? This is an
application that runs automated with no user intervention.
So, you can see the dilema. Thank you for your help in
advance.

-Tim

Paul Clement

2004-10-28, 3:55 pm

On Mon, 25 Oct 2004 09:31:04 -0700, "Tim" <anonymous@discussions.microsoft.com> wrote:

¤ Using VB6
¤ Service Pack 5
¤ MDAC 2.5
¤
¤ I'm Using an OLE container and embedding an executable
¤ file in it. Then, using the DoVerb method to fire it. This
¤ works fine in Windows 98, but in Windows XP a "File
¤ Download" screen appears that says --Some files may harm
¤ your computer....." and it asks to open the file. Is there
¤ a way to ignore or bypass this message? This is an
¤ application that runs automated with no user intervention.
¤ So, you can see the dilema. Thank you for your help in
¤ advance.

I believe this will require a change in the Software Restriction Policy supported in Windows XP:

Description of the Software Restriction Policies in Windows XP
http://support.microsoft.com/kb/310791/EN-US/


Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com