Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Interop / January 2005

Tip: Looking for answers? Try searching our database.

Why is Outlook.Application ambiguous in namespace?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brett - 06 Jan 2005 12:52 GMT
I'm following the code here
http://support.microsoft.com/default.aspx?scid=kb;en-us;313788 but get this
build error in VS Studio .NET:

'Application' is ambiguous in the namespace 'Outlook'

The code is
Dim oApp As Outlook.Application = New Outlook.Application()

Any suggestions?

Thanks,
Brett
Ken Slovak - 06 Jan 2005 14:38 GMT
Do you have a reference set to Outlook in your project and have it above any
other Office references?

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> I'm following the code here
> http://support.microsoft.com/default.aspx?scid=kb;en-us;313788 but get
[quoted text clipped - 10 lines]
> Thanks,
> Brett
brett - 06 Jan 2005 19:07 GMT
I have the reference but it is under an Office reference.  How exactly
do I move references up?

Why would that matter?  Should it just continue to the next reference?
Thanks,
Brett
Ken Slovak - 06 Jan 2005 19:30 GMT
I don't use .NET but aren't there move up and down buttons in the references
list like in VS 6? It might not matter at all but sometimes an ambiguous
reference can be resolved by changing the references order for the project.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

>I have the reference but it is under an Office reference.  How exactly
> do I move references up?
>
> Why would that matter?  Should it just continue to the next reference?
> Thanks,
> Brett
brett - 06 Jan 2005 19:44 GMT
No - there aren't any buttons like that.
 
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.