Requirements for VB6 ActiveX

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

Requirements for VB6 ActiveX
Are there any hardware/software requirements for this to work? 
Charlie Homo Homo




Posts: 5
Joined: 2005-11-04
I'm using vb6 Professional SP3, Outlook 2003 (no SP), Outlook Security Manager version:
osmax.ocx - v1.3.0.38
secman.dll - v1.2.0.5

The following code, compiled in a dll, removes the security warning on a Windows XP professional machine with no SP. On another machine with Windows XP professional SP1 and the same version of Outlook, the code doesn't work any longer and the prompt reappears. Can you help?

******************************************
Dim SecurityManager As Object

Private Sub Class_Initialize()

On Error Resume Next
Set SecurityManager = CreateObject("AddInExpress.OutlookSecurityManager")
SecurityManager.DisableCDOWarnings = True


End Sub

The line that triggers the Security warning is

Set oMsgs = oMAPIFolder.Messages

where oMAPI folder is a MAPI.Folder object
******************************************

It also seems that when the code is successful in repressing the security warning, a slight flashing occurs on the screen where the security warning dialog would otherwise appear. Can you confirm if different mouse/screen drivers might affect this. I'm assuming the warning is actually dismissed as opposed to hidden. Can you give us more details as to how this is actually done on your side so I can troubleshoot? Thanks.

Lastly, I did try to use the DisableSMAPIWarnings method as well but it did nothing.
Posted 04 Nov, 2005 15:45:16 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Charlie,

Could you please tell me what CDO versions are on those two PCs?

As to slight flashing, it sometimes occurs when working with CDO. For example, I often notice it when the Logon method is being executed.
Posted 06 Nov, 2005 06:44:27 Top
Charlie Homo




Posts: 5
Joined: 2005-11-04
Hello Dmitry,

both computers have the same CDO.dll file: version is 6.5.6980.13, Collaboration Data Objects - 1.21s for windows
Posted 07 Nov, 2005 00:17:00 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hello Charlie,

A bit strange situation. Could you please try to test our CDOSample.js example from QDemo\Simple subfolder on both PCs?

Posted 07 Nov, 2005 03:40:54 Top
Charlie Homo




Posts: 5
Joined: 2005-11-04
Dmitry,

the ObjectModelSample.js works fine on all machine. The CDOSample.js gives me the same error on all machines after clicking OK on the Outlook profile dialog:

Windows Script Host
Script: ..../CDOSample.js
Line: 8
Char: 1
Error: Unspecified Error
Code: 80004005
Source: AddInExpress.OutlookSecurityManager
Posted 07 Nov, 2005 11:35:05 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hello Charlie,

Thank you for the information. Please contact me via email. I think we will need the CDO.DLL library from your PC for testing.

Posted 07 Nov, 2005 11:43:06 Top
Charlie Homo




Posts: 5
Joined: 2005-11-04
Hello Dmitry,

ok, thanks. I just sent it to you.
Posted 07 Nov, 2005 12:30:53 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hello Charlie,

I have received it and replied. I suggest to continue the correspondence via email and then report the results on the forum.

Posted 08 Nov, 2005 07:17:41 Top
Charlie Homo




Posts: 5
Joined: 2005-11-04
Hello Dmitry,

I've just sent you an email with various attachments confirming that the code works with

CDO.ll v. 6.5.6980.13 (1.21s)

but not with

CDO.ll v. 5.5.2178.0 (1.21)

I look forward to your update, thank you.
Posted 10 Nov, 2005 13:36:42 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Charlie,

Thank you for cooperation.
We need some time to find and fix the bug with CDO version 5.5.2178.0. I'll let you know about the results as soon as possible.

Posted 11 Nov, 2005 03:31:45 Top