Click here to Skip to main content
15,893,668 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionruntime error using new [modified] ....resolved Pin
Daniel Engelkes18-Mar-10 6:43
Daniel Engelkes18-Mar-10 6:43 
AnswerRe: runtime error using new Pin
William Winner18-Mar-10 7:13
William Winner18-Mar-10 7:13 
GeneralRe: runtime error using new Pin
Daniel Engelkes18-Mar-10 7:57
Daniel Engelkes18-Mar-10 7:57 
GeneralRe: runtime error using new Pin
William Winner18-Mar-10 8:03
William Winner18-Mar-10 8:03 
AnswerRe: runtime error using new Pin
Luc Pattyn18-Mar-10 7:39
sitebuilderLuc Pattyn18-Mar-10 7:39 
GeneralRe: runtime error using new Pin
Daniel Engelkes18-Mar-10 7:56
Daniel Engelkes18-Mar-10 7:56 
QuestionPrivilege escalation in VB6 and VB.net programatically Pin
QuickBooksDev18-Mar-10 2:43
QuickBooksDev18-Mar-10 2:43 
AnswerRe: Privilege escalation in VB6 and VB.net programatically Pin
Dave Kreskowiak18-Mar-10 3:42
mveDave Kreskowiak18-Mar-10 3:42 
QBTeKcom wrote:
What is the way to do this programmatically?


You can't. I haven't seen anything that will allow you to do this. Either your app runs as an admin or it doesn't. Also, this only works if the user running it has an admin account available. An app cannot give itself more rights than the user that launched it already has.

A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




RantPrivilege Pin
εїзεїзεїз18-Mar-10 8:40
εїзεїзεїз18-Mar-10 8:40 
AnswerRe: Privilege escalation in VB6 and VB.net programatically Pin
kilkfoe119-Mar-10 7:17
kilkfoe119-Mar-10 7:17 
QuestionAdding a new row to DataSource [modified] Pin
Floodlight17-Mar-10 14:05
Floodlight17-Mar-10 14:05 
AnswerRe: Adding a new row to DataSource Pin
Anubhava Dimri17-Mar-10 18:42
Anubhava Dimri17-Mar-10 18:42 
GeneralRe: Adding a new row to DataSource Pin
Floodlight17-Mar-10 19:06
Floodlight17-Mar-10 19:06 
GeneralRe: Adding a new row to DataSource Pin
Anubhava Dimri17-Mar-10 19:38
Anubhava Dimri17-Mar-10 19:38 
AnswerRe: Adding a new row to DataSource Pin
Dave Kreskowiak18-Mar-10 3:49
mveDave Kreskowiak18-Mar-10 3:49 
GeneralRe: Adding a new row to DataSource Pin
Floodlight18-Mar-10 12:40
Floodlight18-Mar-10 12:40 
QuestionMultiThreading in TabPages! Pin
dotnetme217-Mar-10 9:16
dotnetme217-Mar-10 9:16 
Answerpartial answer Pin
Luc Pattyn17-Mar-10 9:51
sitebuilderLuc Pattyn17-Mar-10 9:51 
GeneralRe: partial answer Pin
dotnetme217-Mar-10 10:30
dotnetme217-Mar-10 10:30 
QuestionUser Control Array [modified] ---- Solved Pin
Ibsy17-Mar-10 4:26
professionalIbsy17-Mar-10 4:26 
AnswerRe: User Control Array Pin
Dave Kreskowiak17-Mar-10 4:57
mveDave Kreskowiak17-Mar-10 4:57 
GeneralRe: User Control Array Pin
Ibsy17-Mar-10 13:47
professionalIbsy17-Mar-10 13:47 
GeneralRe: User Control Array Pin
Dave Kreskowiak17-Mar-10 14:39
mveDave Kreskowiak17-Mar-10 14:39 
Questiondecimal value in .sdf database Pin
ejaz_pk17-Mar-10 4:12
ejaz_pk17-Mar-10 4:12 
AnswerRe: decimal value in .sdf database Pin
Luc Pattyn17-Mar-10 4:18
sitebuilderLuc Pattyn17-Mar-10 4:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.