Click here to Skip to main content
16,010,473 members
Home / Discussions / System Admin
   

System Admin

 
AnswerRe: Installing XP on a big drive Pin
MatrixCoder27-Apr-07 11:52
MatrixCoder27-Apr-07 11:52 
GeneralRe: Installing XP on a big drive Pin
NetDave27-Apr-07 13:08
NetDave27-Apr-07 13:08 
AnswerRe: Installing XP on a big drive Pin
NetDave30-Apr-07 17:13
NetDave30-Apr-07 17:13 
GeneralRe: Installing XP on a big drive Pin
MatrixCoder30-Apr-07 18:22
MatrixCoder30-Apr-07 18:22 
QuestionRunas Pin
vivekphlp26-Apr-07 18:42
vivekphlp26-Apr-07 18:42 
AnswerRe: Runas Pin
Dave Kreskowiak27-Apr-07 15:32
mveDave Kreskowiak27-Apr-07 15:32 
GeneralRe: Runas Pin
vivekphlp27-Apr-07 17:53
vivekphlp27-Apr-07 17:53 
GeneralRe: Runas Pin
Dave Kreskowiak28-Apr-07 6:21
mveDave Kreskowiak28-Apr-07 6:21 
vivekphlp wrote:
iam not giving it directly from command prompt


vivekphlp wrote:
oShell.Run "runas /user:administrator ""PrintArt.exe"""


How much do you want to bet you're not?

This has some problems because you're waiting 100 (0.1) seconds, then sending the keys. What if the window takes longer than that to show up?? You just typed your password into another window, possibly Notepad?? Smile | :) Nice...you just typed your password, in clear text, into a TextBox.


vivekphlp wrote:
Iam calling the command in a VBS file thro my VC++ program.


Why???? Why not just do the same thing in your VC++ app where you'll have much greater control?




Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Runas Pin
vivekphlp29-Apr-07 21:38
vivekphlp29-Apr-07 21:38 
GeneralRe: Runas Pin
Dave Kreskowiak30-Apr-07 7:57
mveDave Kreskowiak30-Apr-07 7:57 
GeneralRe: Runas Pin
vivekphlp30-Apr-07 17:09
vivekphlp30-Apr-07 17:09 
GeneralRe: Runas Pin
Dave Kreskowiak1-May-07 1:57
mveDave Kreskowiak1-May-07 1:57 
GeneralRe: Runas Pin
vivekphlp1-May-07 17:45
vivekphlp1-May-07 17:45 
QuestionNetwork Connections window not opening Pin
KKrista24-Apr-07 20:41
KKrista24-Apr-07 20:41 
AnswerRe: Network Connections window not opening Pin
A*****25-Apr-07 14:18
A*****25-Apr-07 14:18 
Questionrocesses creatation and termination notifications monitoring Pin
Lepon2k24-Apr-07 0:27
Lepon2k24-Apr-07 0:27 
Questionsearch and replace file content using vbscript??? Pin
vikas kanojia23-Apr-07 22:04
vikas kanojia23-Apr-07 22:04 
AnswerRe: search and replace file content using vbscript??? Pin
Vasudevan Deepak Kumar24-May-07 22:44
Vasudevan Deepak Kumar24-May-07 22:44 
QuestionHelp regarding active Directory Pin
Vikram.....23-Apr-07 18:48
Vikram.....23-Apr-07 18:48 
AnswerRe: Help regarding active Directory Pin
Craster23-Apr-07 23:51
Craster23-Apr-07 23:51 
GeneralRe: Help regarding active Directory Pin
Vikram.....24-Apr-07 0:11
Vikram.....24-Apr-07 0:11 
QuestionUpgrade IIS5 to IIS6? Pin
neo_605322-Apr-07 23:19
neo_605322-Apr-07 23:19 
AnswerRe: Upgrade IIS5 to IIS6? Pin
Craster23-Apr-07 5:09
Craster23-Apr-07 5:09 
QuestionWin 2003 Server Problem Pin
just3ala221-Apr-07 14:02
just3ala221-Apr-07 14:02 
AnswerRe: Win 2003 Server Problem Pin
Michael Hendrickx22-Apr-07 19:32
Michael Hendrickx22-Apr-07 19:32 

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.