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

Visual Basic

 
AnswerRe: Determining host operating system using VB 6 Pin
Joao_Machado19-Mar-10 7:59
Joao_Machado19-Mar-10 7:59 
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 
We have programs that require escalated privilege for certain small tasks as writing to HKEY/LOCAL_MACHINE for our own security keys.

Vista/Win 7 makes this very difficult. We do not want our apps to always to run as admin but only for the short time when we need to write out the HKEY/LM.

What is the way to do this programmatically? I do not mind if the user is asked to confirm or enter a password just need to be able to do it. I did see something about a ShellExecute "runas" but I rather not have another program. I would rather have it in 1 program.

Any ideas?

Thanks
AnswerRe: Privilege escalation in VB6 and VB.net programatically Pin
Dave Kreskowiak18-Mar-10 3:42
mveDave Kreskowiak18-Mar-10 3:42 
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 

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.