Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
AnswerRe: IBindingList implementation Pin
Robert Rohde7-Nov-06 12:51
Robert Rohde7-Nov-06 12:51 
AnswerRe: IBindingList implementation Pin
Ed.Poore7-Nov-06 13:49
Ed.Poore7-Nov-06 13:49 
QuestionImage as Embedded Resource... [modified] Pin
new_phoenix7-Nov-06 7:16
new_phoenix7-Nov-06 7:16 
AnswerRe: Image as Embedded Resource... Pin
Scott Dorman7-Nov-06 8:05
professionalScott Dorman7-Nov-06 8:05 
AnswerRe: Image as Embedded Resource... Pin
Christian Graus7-Nov-06 9:11
protectorChristian Graus7-Nov-06 9:11 
Questionhow to change sound to byte and byte to sound? Pin
bahman2000b7-Nov-06 6:01
bahman2000b7-Nov-06 6:01 
AnswerRe: how to change sound to byte and byte to sound? Pin
Luc Pattyn7-Nov-06 7:46
sitebuilderLuc Pattyn7-Nov-06 7:46 
QuestionIrDAClient Pin
G_Me7-Nov-06 4:27
G_Me7-Nov-06 4:27 
I am trying use the IR on a PDA to communicate to another source. I am successful in finding out either the DeviceID and Device Name. I can also connect using irClient.Connect(irEndP);
My problem is either declaring the Stream or the WriteByte. My code is

irEndP =
new IrDAEndPoint(irDevices[0].DeviceID, irServiceName);
irClient = new IrDAClient();
irClient.Connect(irEndP);
Stream baseStream = irClient.GetStream();
System.Text.ASCIIEncoding encoding = new
System.Text.ASCIIEncoding();
string Name = "Hello World\n";
int strlen = Name.Length;
byte[] buffer = new byte[buffersize];
buffer = encoding.GetBytes(Name);
if (baseStream.CanWrite)
{
//baseStream.WriteTimeout = 1000;
baseStream.Write(buffer, 0, 5);
baseStream.Close();
}
I have tried baseStream.Flush(); and it does not help.


Help Please!
QuestionPermanently set window to bottom? Pin
Muntyness7-Nov-06 3:29
Muntyness7-Nov-06 3:29 
AnswerRe: Permanently set window to bottom? Pin
Pete O'Hanlon7-Nov-06 4:58
mvePete O'Hanlon7-Nov-06 4:58 
GeneralRe: Permanently set window to bottom? Pin
Muntyness7-Nov-06 5:21
Muntyness7-Nov-06 5:21 
Questionaspx: setting the selection in a TextBox control Pin
Christopher Duncan7-Nov-06 3:14
Christopher Duncan7-Nov-06 3:14 
AnswerRe: aspx: setting the selection in a TextBox control Pin
coolestCoder7-Nov-06 3:47
coolestCoder7-Nov-06 3:47 
Questionchange permission in registry Pin
ingsgr01@gmail.com7-Nov-06 2:17
ingsgr01@gmail.com7-Nov-06 2:17 
AnswerRe: change permission in registry Pin
ednrgc7-Nov-06 6:25
ednrgc7-Nov-06 6:25 
Questionn00b question: change the height of an already open form Pin
blackpenny157-Nov-06 2:15
blackpenny157-Nov-06 2:15 
AnswerRe: n00b question: change the height of an already open form Pin
Martin#7-Nov-06 2:28
Martin#7-Nov-06 2:28 
QuestionDataColumn.Expression Pin
cecildt7-Nov-06 1:47
cecildt7-Nov-06 1:47 
AnswerRe: DataColumn.Expression Pin
cecildt7-Nov-06 2:01
cecildt7-Nov-06 2:01 
Questionhow can i change the exe image in VC#.Net Pin
premkamalg7-Nov-06 1:02
premkamalg7-Nov-06 1:02 
AnswerRe: how can i change the exe image in VC#.Net Pin
AB77717-Nov-06 1:09
AB77717-Nov-06 1:09 
QuestionDoes anyone here know Ghost Installer Pin
JacquesDP7-Nov-06 0:24
JacquesDP7-Nov-06 0:24 
QuestionGet thumbnail info from jpeg file Pin
i-p-g-i7-Nov-06 0:06
i-p-g-i7-Nov-06 0:06 
AnswerRe: Get thumbnail info from jpeg file Pin
AB77717-Nov-06 1:17
AB77717-Nov-06 1:17 
GeneralRe: Get thumbnail info from jpeg file Pin
i-p-g-i7-Nov-06 2:27
i-p-g-i7-Nov-06 2:27 

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.