A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Loading of Common Dialog fails on Outlook 2003 SP2



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 1st 06, 01:39 AM posted to microsoft.public.outlook.program_forms
Ronnie
external usenet poster
 
Posts: 7
Default Loading of Common Dialog fails on Outlook 2003 SP2

Hello,

We have developed a custom form that dynamically loads common dialog.
The code works fine on Outlook 2003 but fails to load on some machines
with Office 2003 SP2. The line that fails is the following:

set opendd=CreateObject("MSComDlg.CommonDialog")

Any ideas?

Thanks,

Ronnie

  #2  
Old February 1st 06, 04:21 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Loading of Common Dialog fails on Outlook 2003 SP2

Are those machines using some A-V or other software that might be blocking
scripting, which can block CreateObject? If that can't be turned off or your
application set to be trusted (McAfee lets you do that, Norton doesn't) then
you could use the Win32 API's to load the library and access its procedures.

Use LoadLibrary and GetProcAddress and then FreeLibrary when you're done
with the library.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Ronnie" wrote in message
oups.com...
Hello,

We have developed a custom form that dynamically loads common dialog.
The code works fine on Outlook 2003 but fails to load on some machines
with Office 2003 SP2. The line that fails is the following:

set opendd=CreateObject("MSComDlg.CommonDialog")

Any ideas?

Thanks,

Ronnie


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2003 SP2 - Invalid Certificate Gerald Stanley Outlook - Installation 0 February 21st 06 08:46 PM
Telephony problem in Outlook 2003 sp2 David M Wicker Outlook - General Queries 0 February 17th 06 04:50 PM
Outlook Folders and Favorites 2003 sp2 JGH Outlook - General Queries 3 January 26th 06 08:01 AM
Outlook has totally disappeared after loading trial of office 2003 Doug Outlook - Installation 1 January 23rd 06 08:25 AM
Problems in Outlook 2003 SP2 - CreateItemFromTemplate Sledge Hammer Outlook - Using Forms 0 January 12th 06 11:01 AM


All times are GMT +1. The time now is 11:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.