Click here to Skip to main content
15,896,118 members
Home / Discussions / C#
   

C#

 
GeneralRe: Timer trouble -timer "dies" Pin
EnkelIk24-Nov-03 21:54
EnkelIk24-Nov-03 21:54 
GeneralRe: Timer trouble -timer "dies" Pin
Heath Stewart20-Nov-03 3:13
protectorHeath Stewart20-Nov-03 3:13 
GeneralRe: Timer trouble -timer "dies" Pin
Xiangyang Liu 刘向阳23-Nov-03 9:09
Xiangyang Liu 刘向阳23-Nov-03 9:09 
GeneralRe: Timer trouble -timer "dies" Pin
Heath Stewart24-Nov-03 4:33
protectorHeath Stewart24-Nov-03 4:33 
GeneralRe: Timer trouble -timer "dies" Pin
Xiangyang Liu 刘向阳24-Nov-03 14:28
Xiangyang Liu 刘向阳24-Nov-03 14:28 
GeneralRe: Timer trouble -timer "dies" Pin
EnkelIk24-Nov-03 22:02
EnkelIk24-Nov-03 22:02 
GeneralProblem while sending mail from windows service using MSMAPI Pin
alexander13219-Nov-03 20:35
alexander13219-Nov-03 20:35 
GeneralRe: Problem while sending mail from windows service using MSMAPI Pin
Heath Stewart20-Nov-03 3:01
protectorHeath Stewart20-Nov-03 3:01 
Ack, VB.NET! You did notice this was the C# forum, right? Fortunately for you, VB.NET, C#, and all other language that target the CLR use the same BCL and all assemblies the same way, too (since they're all compiled down to IL)...and some actually understand / remember that! Smile | :)

There doesn't appear to be anything wrong with your code (other than the obvious - it's VB.NET Poke tongue | ;-P ). I don't know anything about MSMAPI (is this a Microsoft wrapper assembly, or something else you found online), but I do know that with functions like MAPILogon you either have to provide a profile name or specify the MAPI_LOGON_UI flag to have the function prompt the user for a profile to pick. I see nothing about you setting up a profile. This is predicated on different assumptions, though, like that this hasn't already been done under the covers for you already.

About the only thing I can tell you is to read the documentation for MSMAPI and take a look at some of the relevant MAPI functions and interfaces, like MAPILogon. Perhaps more information about that error code will be provided (of course, you may have to search the C/C++ header files for the preproc definition to which that error code is defined).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Problem while sending mail from windows service using MSMAPI Pin
alexander13220-Nov-03 3:29
alexander13220-Nov-03 3:29 
GeneralRe: Problem while sending mail from windows service using MSMAPI Pin
Heath Stewart20-Nov-03 3:42
protectorHeath Stewart20-Nov-03 3:42 
GeneralRe: Problem while sending mail from windows service using MSMAPI Pin
Xiangyang Liu 刘向阳23-Nov-03 9:27
Xiangyang Liu 刘向阳23-Nov-03 9:27 
GeneralHelp Displaying Unicode String Pin
WorldNomad19-Nov-03 19:19
WorldNomad19-Nov-03 19:19 
GeneralRe: Help Displaying Unicode String Pin
Heath Stewart20-Nov-03 2:51
protectorHeath Stewart20-Nov-03 2:51 
GeneralRe: Help Displaying Unicode String Pin
WorldNomad20-Nov-03 16:41
WorldNomad20-Nov-03 16:41 
GeneralMake control draw on top of other forms Pin
JacksonBrown196019-Nov-03 12:37
JacksonBrown196019-Nov-03 12:37 
GeneralRe: Make control draw on top of other forms Pin
Heath Stewart20-Nov-03 3:55
protectorHeath Stewart20-Nov-03 3:55 
GeneralRe: Make control draw on top of other forms Pin
JacksonBrown196020-Nov-03 5:11
JacksonBrown196020-Nov-03 5:11 
GeneralProblem testing NetworkStream for remote close Pin
ChiPlastique19-Nov-03 12:25
ChiPlastique19-Nov-03 12:25 
GeneralRe: Problem testing NetworkStream for remote close Pin
Kentamanos19-Nov-03 12:53
Kentamanos19-Nov-03 12:53 
GeneralShell context menu Pin
Ludwig Stuyck19-Nov-03 11:14
Ludwig Stuyck19-Nov-03 11:14 
GeneralRe: Shell context menu Pin
Heath Stewart19-Nov-03 18:48
protectorHeath Stewart19-Nov-03 18:48 
QuestionHow to get Internet Eplorer Selected Text? Pin
Utku KAYA19-Nov-03 10:30
Utku KAYA19-Nov-03 10:30 
AnswerRe: How to get Internet Eplorer Selected Text? Pin
Heath Stewart19-Nov-03 18:33
protectorHeath Stewart19-Nov-03 18:33 
GeneralRe: How to get Internet Eplorer Selected Text? Pin
Judah Gabriel Himango20-Nov-03 4:36
sponsorJudah Gabriel Himango20-Nov-03 4:36 
GeneralRe: How to get Internet Eplorer Selected Text? Pin
Heath Stewart20-Nov-03 7:17
protectorHeath Stewart20-Nov-03 7:17 

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.