Visual Studio 2005 reference problem
-
Monday, May 28, 2012 7:25 PM
Hi all!
I recently got a problem with VS 2005 problem. I created a few win forms with data attached to my sql server 2005 express edition. On Microsoft I found how to accomplish good update table coding. It worked fine for months. Two months ago I, by mistake, installed Crystal Reports 2008 standalone edition on my machine. There my problems started. I could not build or debug my project anymore.
On some forums I learned that have to remove references regarding Crystal Reports in my project because of uncompability between Crystal Reports 2005 (included in my Visual Studio instalation) and 2008 version.
Then I could not open a single form in designer. When I opened one a month later, by mistake I double-clicked on one label called AdressLabel (Name of the label in Properties) and unfortunately code begun
Private Sub AdressLabel_Click.... Handles AdressLabel.Click
End Sub
I realised it was mistake, simple deleted that part of code in my code designer.
It started a new (and now only error) when I try to build my project.
Error says:
'AdresaLabel_Click' is not a member of 'MyProject.MainForm'.
Please help me out.
Sincerely yours,
Fr. Ivan Delic
Serbia
ivce_sql_dba
All Replies
-
Wednesday, May 30, 2012 6:21 AMModerator
Hi Ivan,
Welcome to the MSDN forum.
According to your description, you deleted the method for event AdressLabel.Click and got this exception. I supposed there is something else relevant to this method, please check the line that thrown the exception and try to eliminate it.
Moreover, you said there're some incompatibility between crystal report and visual studio. Please try the following workarounds to reset Visual Studio.
1. Try to use “devenv.exe /resetsettings” to restore Visual Studio default settings.
2. Disable Add-ins (e.g. “Tools” | “Add-in Manager”) and run “devenv.exe /safemode” to eliminate the possibility that third party Add-ins are causing problems.
I hope this will be helpful.
Best regards,
Shanks Zen
MSDN Community Support | Feedback to us
- Marked As Answer by Ivan Delic Sunday, June 03, 2012 5:46 PM
-
Sunday, June 03, 2012 5:44 PM
Dear Mr. Zen
Thanks so much for your quick help and answer. Especially thanks for the advice of using "devenv.exe /resetsettings" to restore Default settings.
There s yet na problem with Creating Crystal reports but I'm gonna solve it soon enough.
Sincerely yours
Fr. Ivan Delic
Serbia
ivce_sql_dba

