I used the return value is always 0... Feeling nothing wrong... Code deleted Would it be possible to master piece sendinput let me draw lessons from the successful use of the code in this thanked
CodePudding user response:
Who is best to clarify your program to analog input, if you can post your program, time for example is not easy to find for you
CodePudding user response:
Sub SendInputExample () 'Get a reference to the Command window. Dim win As Window=DTE. Windows. The Item (EnvDTE. Constants. VsWindowKindCommandWindow) Dim the CW As CommandWindow=win. Object
'Input a command into the command window and execute it. The CW. SendInput (nav "http://www.microsoft.com/china", False)
'Insert some information text into the Command window. The CW. OutputString (" This URL takes you to the main Microsoft website. ")
'Clear the contents of the Command window. MsgBox (the "Clearing the Command window... ")The CW. The Clear () End Sub