Click here to Skip to main content
15,898,795 members
Home / Discussions / C#
   

C#

 
AnswerRe: Does C# have a string function like CString of C++ ? Pin
Giles11-Jun-03 5:55
Giles11-Jun-03 5:55 
Generalmarshalling Pin
grv57510-Jun-03 21:33
grv57510-Jun-03 21:33 
GeneralRe: marshalling Pin
leppie11-Jun-03 11:38
leppie11-Jun-03 11:38 
GeneralRe: marshalling Pin
grv57511-Jun-03 11:54
grv57511-Jun-03 11:54 
GeneralRe: marshalling Pin
leppie11-Jun-03 12:22
leppie11-Jun-03 12:22 
GeneralRe: marshalling Pin
grv57511-Jun-03 12:42
grv57511-Jun-03 12:42 
GeneralDetect if MAPI.Session is installed Pin
AndyLatham10-Jun-03 20:51
AndyLatham10-Jun-03 20:51 
GeneralRe: Detect if MAPI is installed Pin
AndyLatham10-Jun-03 22:05
AndyLatham10-Jun-03 22:05 
Thanks WiB,
I know what MAPI and CDO are but I am trying to find a way of checking they are installed on a PC.
My current testing since posting the question is this - which seems to be working.

protected void CheckMAPI()
{
try
{
Type objMAPIType = Type.GetTypeFromProgID("MAPI.Session",true);
object objMAPI = Activator.CreateInstance(objMAPIType);
if (objMAPI == null)
{
txtMAPIStatus.Text = "MAPI not installed";
}
else
{
txtMAPIStatus.Text = "MAPI Installed";
}
}
catch (Exception e)
{
txtMAPIStatus.Text = "MAPI not installed";
//MessageBox.Show ("Exception - " + e.Message);
}
}
GeneralTreeview Pin
Shotgun10-Jun-03 16:29
Shotgun10-Jun-03 16:29 
GeneralRe: Treeview Pin
shaunAustin10-Jun-03 22:19
shaunAustin10-Jun-03 22:19 
QuestionHow to read file into a structure? Pin
Member 14701010-Jun-03 15:17
Member 14701010-Jun-03 15:17 
GeneralUpload/download monitoring. Pin
PrebKlok10-Jun-03 7:39
PrebKlok10-Jun-03 7:39 
GeneralRe: Upload/download monitoring. Pin
David Stone10-Jun-03 7:53
sitebuilderDavid Stone10-Jun-03 7:53 
GeneralRe: Upload/download monitoring. Pin
PrebKlok10-Jun-03 8:01
PrebKlok10-Jun-03 8:01 
GeneralControl Transparency Pin
CSharpDavid10-Jun-03 7:05
CSharpDavid10-Jun-03 7:05 
GeneralRe: Control Transparency Pin
CSharpDavid10-Jun-03 7:15
CSharpDavid10-Jun-03 7:15 
GeneralC# and Active Directory Pin
IsaacB10-Jun-03 6:26
IsaacB10-Jun-03 6:26 
GeneralRe: C# and Active Directory Pin
David Stone10-Jun-03 7:11
sitebuilderDavid Stone10-Jun-03 7:11 
GeneralRe: C# and Active Directory Pin
shaunAustin11-Jun-03 5:47
shaunAustin11-Jun-03 5:47 
GeneralOffice Dll Icons Pin
Kant10-Jun-03 4:10
Kant10-Jun-03 4:10 
GeneralRe: Office Dll Icons Pin
Kannan Kalyanaraman10-Jun-03 6:53
Kannan Kalyanaraman10-Jun-03 6:53 
GeneralRe: Office Dll Icons Pin
Kant10-Jun-03 7:23
Kant10-Jun-03 7:23 
GeneralRe: Office Dll Icons Pin
Kant10-Jun-03 8:17
Kant10-Jun-03 8:17 
GeneralRe: Office Dll Icons Pin
leppie10-Jun-03 9:20
leppie10-Jun-03 9:20 
GeneralRemoving padding from buttons... Pin
kevinrc10-Jun-03 3:50
kevinrc10-Jun-03 3:50 

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.