Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 exe and Digital Signing 1

Status
Not open for further replies.

newora

Programmer
Aug 19, 2003
133
GB
Hi There - could somebody please point me in the right direction with regards to obtaining a digital signature for my VB6 program.

I have an old VB6 developed system - one main exe file and about 8 dll files. I have installed this onto Windows Vista but I am getting the user access control message problem.
I know that I can get over this by turning UAC control off but I would prefer not to do this, if I can help it.

Thus could somebody please point me to a reputable supplier / provider of the appropriate digital signature software? Are they expensive to obtain and also will they stil be required to get over the UAC message in Windows 7?

Many thanks for your assistance

Andrew
 
That's great, thank you for the information.

Andrew
 
I don't think you're going to bypass the UAC dialog to start an elevated process this way though. With signed, trusted code the UAC prompt dialog just has a different "alert level" color and reports your company name instead of "Unidentified publisher."

If your application is not truly meant to perform administrative actions you need to rewrite it for proper behavior under Limited User scenarios. You might read some of the white papers and such at DevReadiness.org Files.
 
Thanks for that dilettante, if I understand correctly then you are saying that I will always get the UAC box up whenever I run my prgram under Vista, wether it is digitally signed or not?
If this is the case now do programs such as Word and PC Anywhere, which are also on the machine, run up ok wihtout the UAC dialog box appearing? I just assumed it was because they were digitally signed using a certificate from Verisign or such like?

Thanks again

Andrew
 
If your program is written so that it does not perform any function requiring admin rights it should be able to run without requesting elevation.

If you program declares itself "Vista aware" through its manifest (i.e. it has a trustInfo section) it will be terminated if it tries to violate system security. If your program does not declare itself Vista aware, then many things it might try to do will be "vistualized." For example writing to restricted parts of the registry or filesystem.
 
Many thanks for the information Dilettante - you certainlky know your stuff.

Andrew
 
...and with 'vistualized' it proves he's also into neologism!

- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments
 
Hey Andy, glad you caught that. What an ugly typo that one is.

Funny as heck in a way, but perhaps misleading and confusing (I'd meant to type virtualized of course).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top