Click here to Skip to main content
15,887,871 members
Home / Discussions / C#
   

C#

 
GeneralRe: ProvideProperty Attribute Problem Pin
Takeru Koushirou26-Dec-03 8:07
Takeru Koushirou26-Dec-03 8:07 
GeneralAdd Column to Access database using OleDB Pin
Wouter Van Ranst26-Dec-03 1:32
Wouter Van Ranst26-Dec-03 1:32 
GeneralRe: Add Column to Access database using OleDB Pin
Heath Stewart27-Dec-03 5:09
protectorHeath Stewart27-Dec-03 5:09 
GeneralRe: Add Column to Access database using OleDB Pin
Wouter Van Ranst27-Dec-03 6:56
Wouter Van Ranst27-Dec-03 6:56 
GeneralRe: Add Column to Access database using OleDB Pin
Heath Stewart27-Dec-03 7:01
protectorHeath Stewart27-Dec-03 7:01 
GeneralRe: Add Column to Access database using OleDB Pin
Wouter Van Ranst27-Dec-03 7:23
Wouter Van Ranst27-Dec-03 7:23 
QuestionSocket Program>????? Pin
h_wing25-Dec-03 22:45
h_wing25-Dec-03 22:45 
AnswerRe: Socket Program>????? Pin
Heath Stewart27-Dec-03 5:07
protectorHeath Stewart27-Dec-03 5:07 
You should debug your code. An XML file is no different than a image file or an AVI - they are all just a stream of bytes. If your app treats them as such (And your code indicates that you do), then your app doesn't care - at the time of transfer - what is in the files themselves. XML files are not these special files sent from God, but just a formatted document, formatted accordingly to certain "guidelines" just like the various image codecs and AVI codecs.

The only problem I can see if your code is that you're writing out a binary file. Depending on how bytes are written or transfered, you may need to take file encodings into account. The only difference between the XML files you mention and the image and AVI files is that the former is a text file (ASCII, UTF8, Unicode, etc.) while the latter two are binary. There many be a problem in the way you handle text files. You should consider what FTP does, which is send such files using a text encoding while transfering.

 

-----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-----
Generalsimple generic add,mod,delete Pin
gotohellthen25-Dec-03 21:59
gotohellthen25-Dec-03 21:59 
GeneralRe: simple generic add,mod,delete Pin
Heath Stewart27-Dec-03 5:02
protectorHeath Stewart27-Dec-03 5:02 
Generaldetect connection Pin
heba_zien25-Dec-03 12:05
heba_zien25-Dec-03 12:05 
GeneralPrinting Page Number Pin
Mazdak25-Dec-03 9:07
Mazdak25-Dec-03 9:07 
GeneralRe: Printing Page Number Pin
Heath Stewart27-Dec-03 5:00
protectorHeath Stewart27-Dec-03 5:00 
GeneralRe: Printing Page Number Pin
Mazdak27-Dec-03 8:50
Mazdak27-Dec-03 8:50 
GeneralRe: Printing Page Number Pin
Heath Stewart27-Dec-03 11:20
protectorHeath Stewart27-Dec-03 11:20 
GeneralRe: Printing Page Number Pin
Mazdak27-Dec-03 19:35
Mazdak27-Dec-03 19:35 
GeneralClicking through transparent windows Pin
Anonymous25-Dec-03 5:06
Anonymous25-Dec-03 5:06 
GeneralRe: Clicking through transparent windows Pin
Takeru Koushirou26-Dec-03 8:12
Takeru Koushirou26-Dec-03 8:12 
Generalmulti-thread multicast server Pin
GTR3425-Dec-03 1:19
GTR3425-Dec-03 1:19 
GeneralRe: multi-thread multicast server Pin
Heath Stewart27-Dec-03 4:56
protectorHeath Stewart27-Dec-03 4:56 
GeneralCalling function in a C# dll from C++ code Pin
Member 78143724-Dec-03 17:05
Member 78143724-Dec-03 17:05 
GeneralRe: Calling function in a C# dll from C++ code Pin
Nick Parker24-Dec-03 19:57
protectorNick Parker24-Dec-03 19:57 
QuestionHow to find servers in a network Pin
Cristoff24-Dec-03 10:08
Cristoff24-Dec-03 10:08 
AnswerRe: How to find servers in a network Pin
leppie24-Dec-03 12:57
leppie24-Dec-03 12:57 
GeneralRe: How to find servers in a network Pin
nguyen_quoc_huy_vn24-Dec-03 16:24
nguyen_quoc_huy_vn24-Dec-03 16:24 

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.