jarzhelsing
New member
- Joined
- May 15, 2013
- Messages
- 2
- Programming Experience
- 1-3
Hi all!
Im new to this community but Im desperate for an answer. Ive been looking for ages and I hope you guys could help me.
I made an application that runs a program. Using the following code:
The program it runs is downloaded from the internet and on Windows 7 it keeps popping up the warning "Program Downloaded From the Internet Security Risk blablablabla", you know the drill. You can go to its properties and disable the warning and it runs without the warning. However, everytime I run it from within my program it 're-blocks' it and gives the warning again. Is there any way I can make my program disable that message before it will run the program?
I was thinking that I could find something with file attributes (see code below)
Any help would be appreciated.
Thanks,
Jarz Helsing
Im new to this community but Im desperate for an answer. Ive been looking for ages and I hope you guys could help me.
I made an application that runs a program. Using the following code:
Process.Start(path & "\program.exe")
The program it runs is downloaded from the internet and on Windows 7 it keeps popping up the warning "Program Downloaded From the Internet Security Risk blablablabla", you know the drill. You can go to its properties and disable the warning and it runs without the warning. However, everytime I run it from within my program it 're-blocks' it and gives the warning again. Is there any way I can make my program disable that message before it will run the program?
I was thinking that I could find something with file attributes (see code below)
Try
Dim attribute As System.IO.FileAttributes = FileAttributes.Normal
File.SetAttributes(path & "\program.exe", attribute)
Catch
Any help would be appreciated.
Thanks,
Jarz Helsing