Click here to Skip to main content
15,892,575 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionProducing Summary Reports from a Database Pin
ensuvari14-Mar-06 11:41
ensuvari14-Mar-06 11:41 
AnswerRe: Producing Summary Reports from a Database Pin
noshaba mariam14-Mar-06 23:31
noshaba mariam14-Mar-06 23:31 
GeneralRe: Producing Summary Reports from a Database Pin
ensuvari15-Mar-06 3:25
ensuvari15-Mar-06 3:25 
GeneralRe: Producing Summary Reports from a Database Pin
noshaba mariam15-Mar-06 16:43
noshaba mariam15-Mar-06 16:43 
QuestionChange the DPI Pin
TerryD200014-Mar-06 11:17
TerryD200014-Mar-06 11:17 
AnswerRe: Change the DPI Pin
TerryD200016-Mar-06 10:20
TerryD200016-Mar-06 10:20 
QuestionApplicationEvents Pin
AJ12314-Mar-06 9:03
AJ12314-Mar-06 9:03 
Questionencapsulating runas command Pin
Qaiser_Iftikhar14-Mar-06 8:54
Qaiser_Iftikhar14-Mar-06 8:54 
hi there all,

I am having a hard time doing this, the sample code is like this
Dim p As New Process


p.StartInfo.FileName = "C:\windows\system32\runas.exe"
p.EnableRaisingEvents = True
p.StartInfo.Arguments = "/user:myuser@mydomain notepad.exe"
p.StartInfo.UseShellExecute = False
p.StartInfo.RedirectStandardInput = True
p.StartInfo.RedirectStandardOutput = True
p.StartInfo.CreateNoWindow = True
p.Start()
Thread.Sleep(1000)
p.StandardInput.Write("mypass" & System.Environment.Newline)
p.WaitForExit()
p.Close()
p = Nothing


I was able to run services like this, doing other stuff from command prompt inside my application. but as runas require password which am trying to enter but it is not working.
QuestionCustom Control - Only able to use one instance of it Pin
kayos59214-Mar-06 7:12
kayos59214-Mar-06 7:12 
Questionproblem with adding a row in the mshflexgrid control...pls help..urgent Pin
kamalika_kk14-Mar-06 6:48
kamalika_kk14-Mar-06 6:48 
AnswerRe: problem with adding a row in the mshflexgrid control...pls help..urgent Pin
noshaba mariam15-Mar-06 16:51
noshaba mariam15-Mar-06 16:51 
QuestionHow to HIbernate or make the computer go stand by using vb.net code Pin
Mohit Namdeo14-Mar-06 6:47
Mohit Namdeo14-Mar-06 6:47 
AnswerRe: How to HIbernate or make the computer go stand by using vb.net code Pin
DanChin14-Mar-06 7:11
DanChin14-Mar-06 7:11 
AnswerRe: How to HIbernate or make the computer go stand by using vb.net code Pin
progload15-Mar-06 16:36
progload15-Mar-06 16:36 
QuestionCommand to get relative path Pin
Divya Rathi14-Mar-06 6:24
Divya Rathi14-Mar-06 6:24 
AnswerRe: Command to get relative path Pin
Steve Pullan14-Mar-06 11:59
Steve Pullan14-Mar-06 11:59 
AnswerRe: Command to get relative path Pin
sathish s14-Mar-06 19:13
sathish s14-Mar-06 19:13 
QuestionForms being Truncated Pin
daveryan7814-Mar-06 6:22
daveryan7814-Mar-06 6:22 
QuestionGradient Brush Pin
Tyrone_whitey14-Mar-06 5:51
Tyrone_whitey14-Mar-06 5:51 
AnswerRe: Gradient Brush Pin
Chatura Dilan14-Mar-06 14:15
Chatura Dilan14-Mar-06 14:15 
GeneralRe: Gradient Brush Pin
Tyrone_whitey15-Mar-06 2:20
Tyrone_whitey15-Mar-06 2:20 
GeneralRe: Gradient Brush Pin
Chatura Dilan16-Mar-06 13:41
Chatura Dilan16-Mar-06 13:41 
QuestionCustom Paper Size Pin
Madni Abbasi14-Mar-06 5:40
Madni Abbasi14-Mar-06 5:40 
AnswerRe: Custom Paper Size Pin
Duncan Edwards Jones14-Mar-06 10:40
professionalDuncan Edwards Jones14-Mar-06 10:40 
GeneralRe: Custom Paper Size Pin
Madni Abbasi14-Mar-06 18:53
Madni Abbasi14-Mar-06 18:53 

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.