H
Helen Trim
I need to use the command window to run a program.
Following the Help examples, I have the following code:
Dim DTE As EnvDTE.DTE
DTE = Microsoft.VisualBasic.Interaction.CreateObject
("VisualStudio.DTE.7.1")
Dim win As Window = DTE.Windows.Item
(EnvDTE.Constants.vsWindowKindCommandWindow)
Dim CW As CommandWindow = win.Object
CW.SendInput("C:\Showgrps.exe > C:\plgrps.txt", True)
This runs without throwing an exception, but it does
nothing. What am I doing wrong?
Thanks
Helen
Following the Help examples, I have the following code:
Dim DTE As EnvDTE.DTE
DTE = Microsoft.VisualBasic.Interaction.CreateObject
("VisualStudio.DTE.7.1")
Dim win As Window = DTE.Windows.Item
(EnvDTE.Constants.vsWindowKindCommandWindow)
Dim CW As CommandWindow = win.Object
CW.SendInput("C:\Showgrps.exe > C:\plgrps.txt", True)
This runs without throwing an exception, but it does
nothing. What am I doing wrong?
Thanks
Helen