Click here to Skip to main content
15,914,368 members
Home / Discussions / C#
   

C#

 
GeneralRe: XMLTextWriter ??? Pin
Christian Graus29-Jul-02 12:20
protectorChristian Graus29-Jul-02 12:20 
GeneralRe: XMLTextWriter ??? Pin
Nick Parker29-Jul-02 17:28
protectorNick Parker29-Jul-02 17:28 
GeneralRe: XMLTextWriter ??? Pin
Paul Watson30-Jul-02 1:10
sitebuilderPaul Watson30-Jul-02 1:10 
AnswerRe: XMLTextWriter ??? Pin
leppie29-Jul-02 4:25
leppie29-Jul-02 4:25 
GeneralRe: XMLTextWriter ??? Pin
Christian Graus29-Jul-02 12:22
protectorChristian Graus29-Jul-02 12:22 
GeneralWeb Service Deployment Pin
Li Mu Bai29-Jul-02 1:52
Li Mu Bai29-Jul-02 1:52 
GeneralRe: Web Service Deployment Pin
Feng Qin29-Jul-02 14:35
Feng Qin29-Jul-02 14:35 
GeneralProblem at creating a vs.net wizard Pin
Feng Qin29-Jul-02 1:47
Feng Qin29-Jul-02 1:47 
Hi, all
I try to create a wizard for vs.net when new project or file, when I test my wizard, vs.net always pops up a dialog "Could not run the xxx wizard".

firt part is my dll source:

using System;<br />
using System.Windows.Forms;<br />
using EnvDTE;<br />
<br />
namespace MyVSWizard<br />
{<br />
	/// <summary><br />
	/// Summary description for Wizard.<br />
	/// </summary><br />
	public class Wizard : Object, IDTWizard<br />
	{<br />
		public Wizard()<br />
		{<br />
			//<br />
			// TODO: Add constructor logic here<br />
			//<br />
		}<br />
		public void Execute(<br />
			object Application,<br />
			int hwndOwner,<br />
			ref object[] ContextParams,<br />
			ref object[] CustomParams,<br />
			ref wizardResult retval<br />
			)<br />
		{<br />
			MessageBox.Show("Hello world");<br />
		}<br />
	}<br />
}


then I use "regasm /codebase" to register the dll as a com and get the clsid ={34470340-B2D6-39A4-AFDA-A53A13D04DF7}.

then my .vsz file

VSWizard 7.0<br />
Wizard={34470340-B2D6-39A4-AFDA-A53A13D04DF7}


then my clause in .vsdir file

MyWizard.vsz|{34470340-B2D6-39A4-AFDA-A53A13D04DF7}|0|270|My First Wizard|{34470340-B2D6-39A4-AFDA-A53A13D04DF7}|0|0|MyClass.cs

Thank you for your help!Rose | [Rose]


I'm amumu, and you?
GeneralInheriting a Windows Form as a User Control Pin
Paul Watson29-Jul-02 1:41
sitebuilderPaul Watson29-Jul-02 1:41 
GeneralRe: Inheriting a Windows Form as a User Control Pin
leppie29-Jul-02 1:57
leppie29-Jul-02 1:57 
GeneralRe: Inheriting a Windows Form as a User Control (Windows Form and User Control basically the same thing) Pin
Paul Watson29-Jul-02 2:21
sitebuilderPaul Watson29-Jul-02 2:21 
GeneralRe: Inheriting a Windows Form as a User Control (Windows Form and User Control basically the same thing) Pin
leppie29-Jul-02 4:09
leppie29-Jul-02 4:09 
GeneralAnakrino Pin
stephen woolhead29-Jul-02 1:05
stephen woolhead29-Jul-02 1:05 
GeneralRe: Anakrino Pin
Andy Smith29-Jul-02 7:07
Andy Smith29-Jul-02 7:07 
GeneralRe: Anakrino Pin
leppie29-Jul-02 8:12
leppie29-Jul-02 8:12 
GeneralRaising events in C# ASP.NET app. Pin
Naresh Karamchetty28-Jul-02 14:24
Naresh Karamchetty28-Jul-02 14:24 
GeneralRe: Raising events in C# ASP.NET app. Pin
Andy Smith28-Jul-02 21:50
Andy Smith28-Jul-02 21:50 
Generaldatabase Pin
Shotgun28-Jul-02 12:40
Shotgun28-Jul-02 12:40 
GeneralRe: database Pin
James T. Johnson28-Jul-02 13:41
James T. Johnson28-Jul-02 13:41 
GeneralSigning an assembly Pin
afronaut28-Jul-02 11:53
afronaut28-Jul-02 11:53 
GeneralRe: Signing an assembly Pin
Nnamdi Onyeyiri28-Jul-02 12:51
Nnamdi Onyeyiri28-Jul-02 12:51 
GeneralRe: Signing an assembly Pin
afronaut28-Jul-02 12:56
afronaut28-Jul-02 12:56 
QuestionHow to create a drag box? Pin
albean28-Jul-02 4:50
albean28-Jul-02 4:50 
GeneralListBox linked to Database Pin
laphijia28-Jul-02 4:34
laphijia28-Jul-02 4:34 
GeneralControl inside a panel Pin
Nnamdi Onyeyiri27-Jul-02 11:41
Nnamdi Onyeyiri27-Jul-02 11:41 

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.