Click here to Skip to main content
15,888,984 members
Home / Discussions / C#
   

C#

 
GeneralRe: Change the properties of the controls Pin
OriginalGriff27-Oct-10 8:37
mveOriginalGriff27-Oct-10 8:37 
GeneralRe: Change the properties of the controls Pin
thomforum27-Oct-10 7:51
thomforum27-Oct-10 7:51 
GeneralRe: Change the properties of the controls Pin
OriginalGriff27-Oct-10 8:14
mveOriginalGriff27-Oct-10 8:14 
GeneralRe: Change the properties of the controls Pin
Luc Pattyn27-Oct-10 9:14
sitebuilderLuc Pattyn27-Oct-10 9:14 
GeneralRe: Change the properties of the controls Pin
thomforum27-Oct-10 14:50
thomforum27-Oct-10 14:50 
GeneralRe: Change the properties of the controls Pin
Luc Pattyn27-Oct-10 15:14
sitebuilderLuc Pattyn27-Oct-10 15:14 
GeneralRe: Change the properties of the controls Pin
thomforum27-Oct-10 18:59
thomforum27-Oct-10 18:59 
QuestionCDOEXM.dll problem when using from Visual Studio 2005/.NET Framework 2.0 Pin
SomsubhroChat27-Oct-10 3:57
SomsubhroChat27-Oct-10 3:57 
Hi,

I have been facing an issue while using CDOEXM.dll from my .NET Framework 2.0 code (written in C#). We are trying to create a mailbox on an Exchange Server (which is 2003). We have checked for correctness of the code in terms of NULL value etc. The code which gives the error is below:

CDOEXM.IMailboxStore mailbox;
mailbox = (IMailboxStore)User.NativeObject;
mailbox.CreateMailbox(maildb);


The error message that we get is:

Unable to cast COM object of type 'System.__ComObject' to interface type 'CDOEXM.IMailboxStore'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{25150F41-5734-11D2-A593-00C04F990D8A}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))

I would like to emphasize that the very same code has been running on .NET Framework 1.1 without any issues. I understand that there is a typecasting issue, but I am unable to understand that how to resolve this.

Any help will be much appreciated for this long drawn issue. Please let me know if you would like to get any more information from me.

Cheers,
Som
AnswerRe: CDOEXM.dll problem when using from Visual Studio 2005/.NET Framework 2.0 Pin
_Erik_27-Oct-10 4:26
_Erik_27-Oct-10 4:26 
GeneralRe: CDOEXM.dll problem when using from Visual Studio 2005/.NET Framework 2.0 Pin
SomsubhroChat27-Oct-10 7:01
SomsubhroChat27-Oct-10 7:01 
GeneralRe: CDOEXM.dll problem when using from Visual Studio 2005/.NET Framework 2.0 Pin
_Erik_28-Oct-10 5:05
_Erik_28-Oct-10 5:05 
QuestionCalling DISKPart commands Pin
avi_dadi200227-Oct-10 1:47
avi_dadi200227-Oct-10 1:47 
AnswerRe: Calling DISKPart commands Pin
_Erik_27-Oct-10 1:58
_Erik_27-Oct-10 1:58 
QuestionTool for real time grapg plotting... Pin
jainiraj27-Oct-10 1:20
jainiraj27-Oct-10 1:20 
AnswerRe: Tool for real time grapg plotting... Pin
Henry Minute27-Oct-10 1:30
Henry Minute27-Oct-10 1:30 
GeneralRe: Tool for real time grapg plotting... Pin
jainiraj27-Oct-10 4:19
jainiraj27-Oct-10 4:19 
GeneralMessage Removed Pin
27-Oct-10 7:39
flflshop27-Oct-10 7:39 
GeneralRe: Tool for real time grapg plotting... Pin
Henry Minute27-Oct-10 7:41
Henry Minute27-Oct-10 7:41 
GeneralRe: Tool for real time grapg plotting... Pin
Dave Kreskowiak27-Oct-10 7:49
mveDave Kreskowiak27-Oct-10 7:49 
GeneralRe: Tool for real time grapg plotting... Pin
Henry Minute27-Oct-10 7:51
Henry Minute27-Oct-10 7:51 
GeneralRe: Tool for real time grapg plotting... Pin
Roger Wright27-Oct-10 19:56
professionalRoger Wright27-Oct-10 19:56 
AnswerRe: Tool for real time grapg plotting... Pin
fjdiewornncalwe27-Oct-10 2:50
professionalfjdiewornncalwe27-Oct-10 2:50 
GeneralRe: Tool for real time grapg plotting... Pin
jainiraj27-Oct-10 4:21
jainiraj27-Oct-10 4:21 
AnswerRe: Tool for real time grapg plotting... Pin
Henry Minute27-Oct-10 7:50
Henry Minute27-Oct-10 7:50 
AnswerRe: Tool for real time grapg plotting... Pin
Henry Minute27-Oct-10 7:52
Henry Minute27-Oct-10 7:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.