Click here to Skip to main content
16,013,820 members
Home / Discussions / C#
   

C#

 
GeneralRe: Grid Like User Control Pin
Roger Alsing15-Oct-04 1:54
Roger Alsing15-Oct-04 1:54 
GeneralRe: Grid Like User Control Pin
Nnamdi Onyeyiri15-Oct-04 4:00
Nnamdi Onyeyiri15-Oct-04 4:00 
QuestionHave anyone ever write programs with MAPI in pocket pc? Pin
ting66814-Oct-04 23:36
ting66814-Oct-04 23:36 
GeneralFetch file system info Pin
clatten14-Oct-04 22:50
clatten14-Oct-04 22:50 
GeneralRe: Fetch file system info Pin
MBGeorge15-Oct-04 4:41
MBGeorge15-Oct-04 4:41 
GeneralRe: Fetch file system info Pin
clatten15-Oct-04 5:28
clatten15-Oct-04 5:28 
QuestionBYTE?? Pin
ting66814-Oct-04 17:24
ting66814-Oct-04 17:24 
AnswerRe: BYTE?? Pin
Corinna John14-Oct-04 20:01
Corinna John14-Oct-04 20:01 
Entry ID is an array of bytes. CDO 1.21 represents it as a String.
You can convert the String to the byte array...

private static byte[] StringToByteEntryId(String strEntryId){
	byte[] entryId = new byte[strEntryId.Length/2];
	
	String strByte;
	int byteIndex = 0;
	for(int n=0; n<strEntryId.Length; n+=2){
		strByte = strEntryId.Substring(n, 2);
		entryId[byteIndex] = Convert.ToByte(strByte, 16);
		byteIndex++;
	}
	
	return entryId;

... and vice versa:

private static String ByteToStringEntryId(byte[] bytes) {
	StringBuilder result = new StringBuilder(bytes.Length*2);
	String currentNumber;
			
	foreach(byte b in bytes) {
		currentNumber = b.ToString("X2");
		result.Append(currentNumber);
	}

	String entryId = result.ToString();
	return entryId;
}

Generalabout UserControl Load Event having activeX control Pin
pig123414-Oct-04 16:13
pig123414-Oct-04 16:13 
Generalnavigating to diff location in same page (web browse control) Pin
vista2714-Oct-04 11:23
vista2714-Oct-04 11:23 
GeneralRe: navigating to diff location in same page (web browse control) Pin
J4amieC14-Oct-04 22:27
J4amieC14-Oct-04 22:27 
Generalc-project Pin
pranshu dave14-Oct-04 9:00
pranshu dave14-Oct-04 9:00 
GeneralRe: c-project Pin
Heath Stewart14-Oct-04 9:30
protectorHeath Stewart14-Oct-04 9:30 
GeneralRe: c-project Pin
Steve Maier14-Oct-04 9:31
professionalSteve Maier14-Oct-04 9:31 
GeneralRe: c-project Pin
Christian Graus14-Oct-04 9:48
protectorChristian Graus14-Oct-04 9:48 
Questionhelp....How to create a 48bpp bitmap ? Pin
Kiran Satish14-Oct-04 7:43
Kiran Satish14-Oct-04 7:43 
AnswerRe: help....How to create a 48bpp bitmap ? Pin
yoaz14-Oct-04 8:55
yoaz14-Oct-04 8:55 
AnswerRe: help....How to create a 48bpp bitmap ? Pin
Heath Stewart14-Oct-04 9:35
protectorHeath Stewart14-Oct-04 9:35 
AnswerRe: help....How to create a 48bpp bitmap ? Pin
Christian Graus14-Oct-04 9:55
protectorChristian Graus14-Oct-04 9:55 
GeneralRe: help....How to create a 48bpp bitmap ? Pin
Kiran Satish14-Oct-04 12:31
Kiran Satish14-Oct-04 12:31 
GeneralRe: help....How to create a 48bpp bitmap ? Pin
Christian Graus17-Oct-04 9:55
protectorChristian Graus17-Oct-04 9:55 
GeneralRe: help....How to create a 48bpp bitmap ? Pin
Kiran Satish17-Oct-04 10:03
Kiran Satish17-Oct-04 10:03 
GeneralRe: help....How to create a 48bpp bitmap ? Pin
Kiran Satish14-Oct-04 22:01
Kiran Satish14-Oct-04 22:01 
GeneralRe: help....How to create a 48bpp bitmap ? Pin
Christian Graus17-Oct-04 9:56
protectorChristian Graus17-Oct-04 9:56 
GeneralRe: help....How to create a 48bpp bitmap ? Pin
Kiran Satish17-Oct-04 10:08
Kiran Satish17-Oct-04 10:08 

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.