Code Comments
Programming Forum and web based access to our favorite programming groups.I believe I seemed to have corrupted the install for my vs.net and was
wondering how to fix without going through the long process of re-installing
the .Net IDE.
When I add a new form to any type of VB project, I get an Unspecified error
exception. After debugging the wizard for the VB.Net WinForm default.js
file, I found that the exception gets thrown in the following code:
[C:\Program Files\Microsoft Visual Studio .NET
2003\Vb7\VBWizards\WinForm\Scripts\1033\
default.js]
~line 20ish
var VSProject = selProj.Object;
wizard.YesNoAlert("VSProject: " + (selProj.Object));
var refs = VSProject.References; <-- Exception gets thrown here!
var ref;
ref = refs.Add("System");
ref = refs.Add("System.Data");
ref = refs.Add("System.Drawing");
ref = refs.Add("System.Windows.Forms");
So, I did some more research and found the References property is throwing
the exception of "library not registered" when I do a (?
VSProject.References) in the command window during the debugging session.
Does anyone know how to re-reference the References library? I was going
through the registry and didn't back it up before making some deletion
changes (manual) ... bah, always bites me back when I do something like that
w/o backin' up :P
Thanks in advance,
Mythran
Post Follow-up to this message
"Mythran" <kip_potter@hotmail.comREMOVETRAIL> wrote in message
news:%231BVHj82EHA.1144@TK2MSFTNGP09.phx.gbl...
>I believe I seemed to have corrupted the install for my vs.net and was
>wondering how to fix without going through the long process of
>re-installing the .Net IDE.
>
> When I add a new form to any type of VB project, I get an Unspecified
> error exception. After debugging the wizard for the VB.Net WinForm
> default.js file, I found that the exception gets thrown in the following
> code:
>
> [C:\Program Files\Microsoft Visual Studio .NET
> 2003\Vb7\VBWizards\WinForm\Scripts\1033\
default.js]
> ~line 20ish
> var VSProject = selProj.Object;
> wizard.YesNoAlert("VSProject: " + (selProj.Object));
> var refs = VSProject.References; <-- Exception gets thrown here!
> var ref;
> ref = refs.Add("System");
> ref = refs.Add("System.Data");
> ref = refs.Add("System.Drawing");
> ref = refs.Add("System.Windows.Forms");
>
>
> So, I did some more research and found the References property is throwing
> the exception of "library not registered" when I do a (?
> VSProject.References) in the command window during the debugging session.
>
> Does anyone know how to re-reference the References library? I was going
> through the registry and didn't back it up before making some deletion
> changes (manual) ... bah, always bites me back when I do something like
> that w/o backin' up :P
>
> Thanks in advance,
>
> Mythran
>
>
Just did a full-reinstall and it fixed it...
Mythran
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.