T
TJS
I cannot seem to get this to convert to VB.
tried the converter at asp-alliance but it throws an error on line marked
any experts available ?
===== code ====
protected override AddInForm CreateAddInForm() {
String sDocumentName = base.Document.DocumentName;
String sDocumentPath = base.Document.DocumentPath;
ProjectItemStreamMode iMode = (ProjectItemStreamMode)0; //<==converter
chokes here
Stream sDocumentStream = base.Document.ProjectItem.GetStream(iMode);
return new MyFirstAddInForm(this, sDocumentPath, sDocumentName,
sDocumentStream);
}
tried the converter at asp-alliance but it throws an error on line marked
any experts available ?
===== code ====
protected override AddInForm CreateAddInForm() {
String sDocumentName = base.Document.DocumentName;
String sDocumentPath = base.Document.DocumentPath;
ProjectItemStreamMode iMode = (ProjectItemStreamMode)0; //<==converter
chokes here
Stream sDocumentStream = base.Document.ProjectItem.GetStream(iMode);
return new MyFirstAddInForm(this, sDocumentPath, sDocumentName,
sDocumentStream);
}