For some third party controls, when you install them, they add references to
themselves to the standard templates for various project types. Then, when
you uninstall the control or upgrade VS, then you see this error.
Best advice I can give: uninstall VS completely. Then reinstall it. That
will remove these references completely.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Robert Rotstein" <rr*******@veri zon.net> wrote in message
news:0Asoe.1097 $nk4.139@trndny 01...
My project was working fine. Then, all of a sudden, VStudio froze up, an
error window appeared asking me whether I wanted to send an error report.
After I sent the report, Visual Studio re-started. But now, the project
won't compile. When I try to open the main form in designer mode, I get
an
error which says:
"An exception occurred while trying to create an instance of
System.Windows. Forms.Form. The exception was "Unable to load DLL (AGL).".
It tells me to "fix the error, and then try loading the document again".
But I have no idea what to do. Anybody know?