Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
QuestionAssigning a handle to a structrue Pin
Stefan Venter8-Feb-06 21:13
Stefan Venter8-Feb-06 21:13 
AnswerRe: Assigning a handle to a structrue Pin
[Marc]9-Feb-06 5:10
[Marc]9-Feb-06 5:10 
QuestionStopping/canceling a running database query Pin
Robert Rohde8-Feb-06 18:58
Robert Rohde8-Feb-06 18:58 
AnswerRe: Stopping/canceling a running database query Pin
J4amieC8-Feb-06 22:03
J4amieC8-Feb-06 22:03 
GeneralRe: Stopping/canceling a running database query Pin
Robert Rohde9-Feb-06 0:05
Robert Rohde9-Feb-06 0:05 
Questionhow can i read a .DAT file and convert it into proper text format ? Pin
geek-age8-Feb-06 18:25
geek-age8-Feb-06 18:25 
AnswerRe: how can i read a .DAT file and convert it into proper text format ? Pin
DigitalKing8-Feb-06 18:58
DigitalKing8-Feb-06 18:58 
GeneralRe: how can i read a .DAT file and convert it into proper text format ? Pin
geek-age8-Feb-06 20:22
geek-age8-Feb-06 20:22 
Thank u for the help !
but, i am facing a strange problem with that code.
While taking the data into string it takes it properly but while writing the same string to the file it again writes it in the same way as the original binary file.
Heres the code

ResultString = Encoding.ASCII.GetString(BinDataRead);<br />
TextWriter tw = new StreamWriter(OutFilePath, false, Encoding.ASCII);<br />
tw.Write(ResultString);<br />
tw.Close();<br />


where am i going wrong ?

heading towards Geek-Age !
- Prasadd

-- modified at 2:48 Thursday 9th February, 2006
Questioncursors problem Pin
edel_ong8-Feb-06 18:16
edel_ong8-Feb-06 18:16 
AnswerRe: cursors problem Pin
Robert Rohde8-Feb-06 18:49
Robert Rohde8-Feb-06 18:49 
GeneralRe: cursors problem Pin
edel_ong8-Feb-06 19:06
edel_ong8-Feb-06 19:06 
AnswerRe: cursors problem Pin
DigitalKing8-Feb-06 19:20
DigitalKing8-Feb-06 19:20 
Questionthis.close not working as expected Pin
TheJudeDude8-Feb-06 17:24
TheJudeDude8-Feb-06 17:24 
AnswerRe: this.close not working as expected Pin
Robert Rohde8-Feb-06 20:29
Robert Rohde8-Feb-06 20:29 
QuestionWhy I can not implement a managed C++ interface with C#? Pin
tiancaidao8-Feb-06 17:12
tiancaidao8-Feb-06 17:12 
AnswerRe: Why I can not implement a managed C++ interface with C#? Pin
Guffa8-Feb-06 21:10
Guffa8-Feb-06 21:10 
GeneralRe: Why I can not implement a managed C++ interface with C#? Pin
tiancaidao8-Feb-06 21:55
tiancaidao8-Feb-06 21:55 
AnswerRe: Why I can not implement a managed C++ interface with C#? Pin
leppie8-Feb-06 22:19
leppie8-Feb-06 22:19 
GeneralRe: Why I can not implement a managed C++ interface with C#? Pin
tiancaidao9-Feb-06 1:14
tiancaidao9-Feb-06 1:14 
GeneralRe: Why I can not implement a managed C++ interface with C#? Pin
leppie9-Feb-06 1:31
leppie9-Feb-06 1:31 
GeneralRe: Why I can not implement a managed C++ interface with C#? Pin
tiancaidao9-Feb-06 2:55
tiancaidao9-Feb-06 2:55 
GeneralRe: Why I can not implement a managed C++ interface with C#? Pin
leppie9-Feb-06 3:02
leppie9-Feb-06 3:02 
QuestionHelp! I can't get it to work!!!! Pin
JstDaNuGuy8-Feb-06 16:04
JstDaNuGuy8-Feb-06 16:04 
GeneralRe: Help! I can't get it to work!!!! Pin
LighthouseJ8-Feb-06 17:28
LighthouseJ8-Feb-06 17:28 
AnswerRe: Help! I can't get it to work!!!! Pin
Ingo8-Feb-06 23:48
Ingo8-Feb-06 23:48 

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.