|
-
Jul 6th, 2005, 08:35 AM
#1
Thread Starter
Junior Member
Preventing outlook security features from excel vba
Hi All
I have developed a VBA in excel which send emails via outlook object.
I have Excel 97 with Outlook2000 SP3 installed. From SP3 onwards MS have introduced some security featues which gives a popup "A program is trying to access your address book do you want to allow" only if we give yes we can proceed further.
So do anybody have idea of how to suppress this popup via code or changing any registry entries.
Thanks In Advance
Mahesh JJ
-
Jul 6th, 2005, 08:42 AM
#2
Re: Preventing outlook security features from excel vba
Nope.... it's a feature, to prevent email hijacking. As far as I know there isn't a way around it. At least none that I have seen.
Tg
-
Jul 6th, 2005, 08:45 AM
#3
Re: Preventing outlook security features from excel vba
Welcome to the forums.
In addition to what techgnome said, I believe I read somewhere that this is as actually feature of XP, but I've only seen it manifest itself in Outlook.
-
Jul 6th, 2005, 10:50 PM
#4
Thread Starter
Junior Member
Re: Preventing outlook security features from excel vba
Hi
Thanks for your replies..
Actually we need to do a batch process which is done using windows scheduler. So here we need a user interupption . Actually there are some 3rd party tools which suppress this popup. But iam looking into a way which can be acheived thro code or changing registry values..
Bye
Mahesh
-
Jul 7th, 2005, 12:39 AM
#5
Re: Preventing outlook security features from excel vba
No, your correct, from Outlook 2000 SP3 MS has intruduced more and more restrictions on what can and can not be accesed
programmatically without incurring the security prompt.
You may be able to write an Add-In for Office targeting Excel and Outlook but probably easier to just switch to SMTP to send
your emails. Try a search for SMTP for there are several examples using it on the Forums.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|