Click here to Skip to main content
15,913,854 members
Home / Discussions / COM
   

COM

 
GeneralRe: basic question about COM Pin
vikramlinux26-Oct-04 20:05
vikramlinux26-Oct-04 20:05 
GeneralMaximum Rows/Columns in an Excel Worksheet Pin
moredip21-Oct-04 8:11
moredip21-Oct-04 8:11 
GeneralRe: Maximum Rows/Columns in an Excel Worksheet Pin
moredip21-Oct-04 8:20
moredip21-Oct-04 8:20 
GeneralRe: Maximum Rows/Columns in an Excel Worksheet Pin
darkbyte11-Nov-04 10:26
darkbyte11-Nov-04 10:26 
GeneralI can't get the body of the mail Pin
ting66820-Oct-04 21:19
ting66820-Oct-04 21:19 
GeneralGet Recipients of a mail inbox using mapi Pin
ting66820-Oct-04 21:09
ting66820-Oct-04 21:09 
GeneralExcel Project DLL's Pin
Jeremy Ouellette20-Oct-04 9:28
Jeremy Ouellette20-Oct-04 9:28 
GeneralMAPI thows Cannot change thread mode after it is set exception Pin
Gavin Jeffrey20-Oct-04 4:22
Gavin Jeffrey20-Oct-04 4:22 
Hi,

I have a windows form(c#) and I am using the mapi dll to read email from a specific account.
my project runs from - C:\Documents and Settings\GJeffrey.LAWACTIVE\My Documents\Visual Studio Projects
but when i try to ininitialize the mapi session i.e. oSession = new MAPI.Session();
in a class named Email and not on my main form it bombs out with this error.
It seems to me that it cannot run this object because this object is in the following directory - C:\Program Files\Common Files\System\Mapi.
If i declare my mapi session as the first thing in my class constructor(or onload of the form) it seems to run fine but then it runs from the second directory.
Any ideas or thought as to how i can solve this or why it is happening??

GeneralWord Automation - set underline font Pin
onyx19-Oct-04 20:55
onyx19-Oct-04 20:55 
Generalshell extension dll not loaded for Win98. Pin
Abhi Lahare18-Oct-04 21:18
Abhi Lahare18-Oct-04 21:18 
Generalserial port communication Pin
Anonymous18-Oct-04 13:50
Anonymous18-Oct-04 13:50 
GeneralRe: serial port communication Pin
Cedric Moonen18-Oct-04 22:11
Cedric Moonen18-Oct-04 22:11 
GeneralNtier app Pin
StephenMcAllister18-Oct-04 7:53
StephenMcAllister18-Oct-04 7:53 
GeneralScript hosting applicatrion has problem Pin
Anonymous17-Oct-04 21:30
Anonymous17-Oct-04 21:30 
GeneralClass not registered Pin
Minh17-Oct-04 15:44
Minh17-Oct-04 15:44 
GeneralRe: Class not registered Pin
vikramlinux26-Oct-04 20:13
vikramlinux26-Oct-04 20:13 
GeneralDOS client/server (C++)... Pin
porac6917-Oct-04 5:56
porac6917-Oct-04 5:56 
QuestionHow to Create Events Pin
ThatsAlok16-Oct-04 3:55
ThatsAlok16-Oct-04 3:55 
Questionhow to invoke com event Pin
ThatsAlok15-Oct-04 3:52
ThatsAlok15-Oct-04 3:52 
AnswerRe: how to invoke com event Pin
Lim Bio Liong16-Oct-04 19:23
Lim Bio Liong16-Oct-04 19:23 
GeneralRe: how to invoke com event Pin
ThatsAlok17-Oct-04 18:19
ThatsAlok17-Oct-04 18:19 
GeneralODBC, SQL Server, "FOR XML" & Cursors error Pin
zoltanie14-Oct-04 6:04
zoltanie14-Oct-04 6:04 
Questionexe com server problem? Pin
G.Richard13-Oct-04 21:12
G.Richard13-Oct-04 21:12 
AnswerRe: exe com server problem? Pin
User 21559714-Oct-04 19:44
User 21559714-Oct-04 19:44 
GeneralRe: exe com server problem? Pin
G.Richard14-Oct-04 20:49
G.Richard14-Oct-04 20:49 

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.