Miinor Code Generation Issue

Add-in Express™ Support Service
That's what is more important than anything else

Miinor Code Generation Issue
 
Todd Carlson




Posts: 29
Joined: 2006-05-07
The current build 1757 of Add-In Express generates the following code when selecting a VB project for Outlook:

Public ReadOnly Property OutlookApp() As Outlook._Application
Get
Return HostApplication
End Get
End Property

If option strict is on, this will complain. Should be:

Public ReadOnly Property OutlookApp() As Outlook._Application
Get
Return CType(HostApplication, Outlook._Application)
End Get
End Property


Todd
Posted 16 May, 2006 12:59:43 Top
Sergey Grischenko


Add-in Express team


Posts: 7235
Joined: 2004-07-05
Hi Todd.

Thank you for the bug report. I will fix this in the next build.
Posted 17 May, 2006 08:23:37 Top