Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

VSLangProj - Add Form Error
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



Report this thread to moderator Post Follow-up to this message
Old Post
Mythran
12-07-04 09:16 AM


Re: VSLangProj - Add Form Error
"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



Report this thread to moderator Post Follow-up to this message
Old Post
Mythran
12-08-04 01:57 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Studio archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:30 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.