Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Developer Outlook Addins > Problem with VS...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 1628 of 1746
Post > Topic >>

Problem with VS2008 and .NET 2.0 Add-ins

by "Leszek Gruszka" <leszekg@[EMAIL PROTECTED] > Dec 5, 2007 at 02:30 PM

Hello!

What kind of problem it can be?
I have VS2008 Pro. I'm trying to create add-in for Office 2003 using
Office 
Template with compatibility .NET 2.0.
I'm creating new project in VS. Then when i press F5 (build and run), I'm 
getting 9 errors from designer.vb....
Those errors are from clear project "Outlook 2003 add-in" with set .NET
2.0.
I have .NET 2.0 installed.

Error 1 Type 'Microsoft.Office.Tools.AddIn' is not defined.
Error 2 Too many arguments to 'Public Sub New()'.
this line - 
/////MyBase.New(CType(RuntimeCallback.GetService(GetType(Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProvider)),Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProvider),

RuntimeCallback, "AddIn", Nothing, "ThisAddIn") /////
Error 3 'OnStartup' is not a member of 'OutlookAddIn3.ThisAddIn'.
Error 4 sub 'OnShutdown' cannot be declared 'Overrides' because it does
not 
override a sub in a base class.
Error 5 'OnShutdown' is not a member of 'Object'.
Error 6 'BeginInit' is not a member of 'OutlookAddIn3.ThisAddIn'.
Error 7 'EndInit' is not a member of 'OutlookAddIn3.ThisAddIn'.
Error 8 Event 'Startup' cannot be found.
Error 9 Event 'Shutdown' cannot be found.

Any ideas?

Thanks
Leszek
 




 6 Posts in Topic:
Problem with VS2008 and .NET 2.0 Add-ins
"Leszek Gruszka"  2007-12-05 14:30:55 
RE: Problem with VS2008 and .NET 2.0 Add-ins
=?Utf-8?B?Um9iZXJ0Vw==?=   2007-12-15 14:30:01 
RE: Problem with VS2008 and .NET 2.0 Add-ins
=?Utf-8?B?SWFuIERpZ2J5?=   2008-01-09 08:33:00 
RE: Problem with VS2008 and .NET 2.0 Add-ins
=?Utf-8?B?VmltZXNo?= <  2008-03-04 23:24:00 
RE: Problem with VS2008 and .NET 2.0 Add-ins
=?Utf-8?B?VmltZXNo?= <  2008-03-04 23:29:00 
RE: Problem with VS2008 and .NET 2.0 Add-ins
=?Utf-8?B?SWFuIERpZ2J5?=   2008-03-12 05:27:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 15:37:59 CST 2008.