????? ????? ??? ???????? Visual Studio .NET ?? ????? 2005 Visual Studio ???????? DTE.LaunchWizard

?????? ????????? ?????? ?????????
???? ???????: 315487 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

???? ????? ???????? ???????? ?? ??? ??????? ????? ??????? ??????? LaunchWizard ?????? DTE ?????? ???????? Microsoft Visual Studio .NET ?????.

??????? ????

????? ??????? DTE.LaunchWizard ????????? ??? ????????? ?????? ????? ????? ????. ??????? ?????? ?? ??? ??? ??????? (.vsz ???). ??????? ??????? ????? ?? ???? ??? ???? ??? ??????? ??? ??????? ??? ??????. ??? ????? ?????? ?????? ?? ?????? ??? True "? ????? ??? ??????? ??????? ????????? ?? ?? ???? ?? ??? ?? ???? ???? ????????. ????? ????? Windows ?????? ????? ????? ??????? ?? ??????:
  • WizardType: GUID ???? ??? ??? ???????. ????? ????? ???? ?? GUID {0F90E1D0-4999-11 D 1-B6D1-00A0C90F2744}.
  • ???_???????: ????? ??? ??????? ??????.
  • ?????? ??????: ????? ????? ??? ?????? ?????? ??? ?????? ??? ???? ????? ????? ????.
  • ???? ???????: ????? ????? ??? ?????? ??? ?? ????? Visual Studio.
  • ????: ???? ?????? ???? ??? ?? ??? ??? ??? ????? ?? ?? ???????? ????????.
  • ??? ????: ??? ????? ???? ???? ???? ???? ?? ????.
  • ????: ???? ?????? ???? ??? ?? ??? ??? ??? ????? ??????? ???? ??????.
???? ??????? ?????? ????? ??????? ??????? LaunchWizard ?????? ????? ????????.

??????: ?????? ??????? ????? ???????? ??? ??????? ???????. ??? ??? ???? ?????? ??? ??????? ??? ????? ?????? ???? ?????, ???? ?? ?????? ? ????? ??? ?????? ??????. ??? ??? ???? ?????? ??? ??????? ??? ????? ???? ???. ???? ?? ????? ????? ???????? ??? True "? ??? ??? ??????? ?????? ???? ???? catch. params()
Sub LaunchWizardExample()

Dim params() As Object = New Object() 
{
   "{0F90E1D0-4999-11D1-B6D1-00A0C90F2744}","NewProjectName1","NewProjectPath", "", False, "", False
}
'The last value is the "Silent" flag where TRUE=No UI, FALSE=UI

Dim res As EnvDTE.wizardResult
Dim s As String = DTE.Solution.TemplatePath(VSLangProj.PrjKind.prjKindCSharpProject)
Try
   res = DTE.LaunchWizard(s & "CSharpEXE.vsz",params)
Catch e1 As System.Exception
   System.Windows.Forms.MessageBox.Show("Caught an Exception: " + e1.Message)
End Try

End Sub
				
?????? ??? ??????? ?????? ??? ??? ????? ????? ??? ??????? ContextParams ?? ????????.

?????

?????? ??? ???? ?? ????????? ??? ??????? ????? Visual Basic .NET ? Visual C# ???????? ??????? ?????? ??? ??? ??????? ??? Microsoft ?? ???? Microsoft ?????? ??? ?????:
http://msdn.microsoft.com/en-us/library/aa983744.aspx

???????

???? ???????: 315487 - ????? ??? ??????: 12/?? ?????/1426 - ??????: 3.4
????? ???
  • Microsoft Visual C++ .NET 2002 Standard Edition
  • Microsoft Visual C++ .NET 2003 Standard Edition
  • Microsoft Visual C++ 2005 Express Edition
????? ??????: 
kbmt kbhowto KB315487 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????315487

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com