VB6 to .net transfer of application.outlook object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear team,

This works well in VB6/DLL project in the Contact fields in Outlook:
Application.ActiveExplorer.Selection.Count

but, if I want to transform/copy this to .net (VB) then it says:
"Application" is not declared.

Does anybody have an idea what I need to declare so that I can access the
Outlook object with the DLL I am creating?
Thanks
Michael
 
If this is a COM add-in that you're building, the Application object passed by the OnConnection event is the Outlook.Application object that you should use to derive all other objects.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top