BP Forums
RunAsAdmin - Printable Version

+- BP Forums (https://bpforums.info)
+-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55)
+--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56)
+---- Forum: VB.NET (Visual Basic 2010/2008) (https://bpforums.info/forumdisplay.php?fid=8)
+----- Forum: Share your programs! (https://bpforums.info/forumdisplay.php?fid=10)
+----- Thread: RunAsAdmin (/showthread.php?tid=399)



RunAsAdmin - brandonio21 - 09-04-2011

I have been working on a .dll file that one can implement into their project that allows the program to ask for Administrative privileges on startup. This feature will also work if the Application is a ClickOnce application.

Right now, the component is almost finished! Tell me your thoughts, would you use something like this?


Re: RunAsAdmin - LearningVB2010 - 09-04-2011

Doesn't windows 7 see's this automaticly?


Re: RunAsAdmin - brandonio21 - 09-04-2011

Sometimes. However, it does not always, especially when you publish your application. This component takes care of it though!


Re: RunAsAdmin - LearningVB2010 - 09-06-2011

Cool


Re: RunAsAdmin - openeXpressions - 11-08-2011

Don't you embed as .exe, not .dll?
+1 for this.


Re: RunAsAdmin - brandonio21 - 11-09-2011

Nick Wrote:Don't you embed as .exe, not .dll?
+1 for this.
You embed both! <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin -->


Re: RunAsAdmin - Bradley - 05-17-2012

yes This would be Ideal I hate what they did in windows vista and windows 7 with this you would of thought they would of updated there copy of visual Basic to work with the later operating systems wouldn't you.