Re: Outlook Redemption
From: Dmitry Streblechenko \(MVP\) (dmitry_at_dimastr.com)
Date: 12/16/04
- Next message: M K: "Any idea what this message means?"
- Previous message: Daniel: "How do i change this connect string to support a SQL Server 2000 running on port 8832 User ID=car;Password=rat;Server=abc.def.hij;Initial Catalog=foobar i tried Server=abc.def.hij:8823 and Server=abc.def.hij;port=8823 neither of these work"
- In reply to: Glyn Meek: "Outlook Redemption"
- Next in thread: Dmitriy Lapshin [C# / .NET MVP]: "Re: Outlook Redemption"
- Reply: Dmitriy Lapshin [C# / .NET MVP]: "Re: Outlook Redemption"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 16 Dec 2004 13:30:27 -0700
Since you customized the dll to use custom class names and GUIDs, you need
to be careful about how you create the objects: if you use the regular
"new", the compiler hardcodes the class GUID, which is obviously missing.
Try to use something like
Type t = Type.GetTypeFromProgID("MyDll.MyMailItem");
SafeMailItem sItem = (SafeMailItem) Activator.CreateInstance(t);
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Glyn Meek" <gjmeek@earthlink.net> wrote in message
news:Sw8wd.576$RH4.284@newsread1.news.pas.earthlink.net...
>
>
> We have just purchased a development tool called Redemption for Outlook
> which lets us deal with that vagaries of interfacing to all the different
> versions of Outlook. Works wonderfully well (although the documentation is
> predictably DREADFUL!!).
>
>
> Our problem: When we install and then run our software on other computers,
> we get a runtime exception "Cannot create ActiveX control" in the routines
> where we are creating a new redemption object (like
> "SafeContactItem".renamed desktop_ContactITEM in our dll.). Again, this
is
> code works fine on a system where the desktop. dll HAS been registered -
ie
> my development system. We are using Visual Studio/2003 and Visual Basic,
and
> in the VS installation/Setup project, I have tried making the desktop.dll
> file register as vsdraCOM and vsdraCOMRelativePath.
>
> Does anyone else have experience of using this tool (we can't get hold of
> their support folks to save our lives, even though it cost us $199 for the
> software!!!!!). It seems to be a problem putting their dll into the
> registry!!
>
> HELPPPPPPP anyone?
>
>
>
> Glyn Meek
>
>
- Next message: M K: "Any idea what this message means?"
- Previous message: Daniel: "How do i change this connect string to support a SQL Server 2000 running on port 8832 User ID=car;Password=rat;Server=abc.def.hij;Initial Catalog=foobar i tried Server=abc.def.hij:8823 and Server=abc.def.hij;port=8823 neither of these work"
- In reply to: Glyn Meek: "Outlook Redemption"
- Next in thread: Dmitriy Lapshin [C# / .NET MVP]: "Re: Outlook Redemption"
- Reply: Dmitriy Lapshin [C# / .NET MVP]: "Re: Outlook Redemption"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|