Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / December 2004

Tip: Looking for answers? Try searching our database.

VSLangProj - Add Form Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mythran - 06 Dec 2004 19:21 GMT
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
Mythran - 07 Dec 2004 21:12 GMT
>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
[quoted text clipped - 29 lines]
>
> Mythran

Just did a full-reinstall and it fixed it...

Mythran

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.