You might be able to use the following API's in conjunction with your access code.
FindWindow (to find outlook's hwnd)
EnumChildWindows (to find outlooks dialog and to find the ok buttons hwnd)
SendMessage with a WM_BUTTONDOW/WM_BUTTONUP messages to click the button...
There are a few examples out there on all of these api's you will just need to use your friends (yahoo, google, ask, answers, bing).
Good Luck
vb5prgrmr
Posting Virtuoso
1,912 posts since Mar 2009
Reputation Points: 156
Solved Threads: 296
There are a few examples out there on all of these api's you will just need to use your friends (yahoo, google, ask, answers, bing).
vb5prgrmr
Posting Virtuoso
1,912 posts since Mar 2009
Reputation Points: 156
Solved Threads: 296
You need to set this security settings in outlook 2007.
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434