Click here to Skip to main content
15,902,634 members
Home / Discussions / C#
   

C#

 
Questionhow retrieve image from database Binary Format Pin
Member 1168949020-May-15 0:41
Member 1168949020-May-15 0:41 
AnswerRe: how retrieve image from database Binary Format Pin
Herman<T>.Instance20-May-15 0:52
Herman<T>.Instance20-May-15 0:52 
AnswerRe: how retrieve image from database Binary Format Pin
Sascha Lefèvre20-May-15 0:55
professionalSascha Lefèvre20-May-15 0:55 
Questionclosing an application before it begins Pin
DannyGroff19-May-15 8:30
DannyGroff19-May-15 8:30 
AnswerRe: closing an application before it begins Pin
OriginalGriff19-May-15 8:57
mveOriginalGriff19-May-15 8:57 
GeneralRe: closing an application before it begins Pin
Sascha Lefèvre19-May-15 10:01
professionalSascha Lefèvre19-May-15 10:01 
GeneralRe: closing an application before it begins Pin
OriginalGriff19-May-15 10:07
mveOriginalGriff19-May-15 10:07 
GeneralRe: closing an application before it begins Pin
Sascha Lefèvre19-May-15 11:41
professionalSascha Lefèvre19-May-15 11:41 
GeneralRe: closing an application before it begins Pin
DannyGroff19-May-15 10:07
DannyGroff19-May-15 10:07 
GeneralRe: closing an application before it begins Pin
OriginalGriff19-May-15 10:35
mveOriginalGriff19-May-15 10:35 
GeneralRe: closing an application before it begins Pin
Mycroft Holmes19-May-15 14:03
professionalMycroft Holmes19-May-15 14:03 
AnswerRe: closing an application before it begins Pin
Member 1125513321-May-15 3:41
Member 1125513321-May-15 3:41 
QuestionSerial Port Data to disk and ftp Pin
Member 1151385419-May-15 3:04
Member 1151385419-May-15 3:04 
AnswerRe: Serial Port Data to disk and ftp Pin
OriginalGriff19-May-15 3:18
mveOriginalGriff19-May-15 3:18 
Depends on exactly what you are trying to do: both operations individually are pretty simple! It's when you try to combine them that it gets more complex - and there are thousands of possible things you could be trying to do. Laugh | :laugh:

If you are looking at storing everything you receive to a disk as it comes in, then that;s reasonably trivial: handle the SerialPort.DataReceived[^] event and write it to a permanently open class level stream as byte data. As long as you call Stream.Flush[^] periodically (so that if your app crashes you don't loose the data) you should be fine.

Quite where FTP comes into the task, I'm not sure...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: Serial Port Data to disk and ftp Pin
Member 1151385419-May-15 4:22
Member 1151385419-May-15 4:22 
GeneralRe: Serial Port Data to disk and ftp Pin
OriginalGriff19-May-15 4:26
mveOriginalGriff19-May-15 4:26 
GeneralRe: Serial Port Data to disk and ftp Pin
Member 1151385419-May-15 4:37
Member 1151385419-May-15 4:37 
GeneralRe: Serial Port Data to disk and ftp Pin
OriginalGriff19-May-15 4:49
mveOriginalGriff19-May-15 4:49 
GeneralRe: Serial Port Data to disk and ftp Pin
OriginalGriff19-May-15 5:15
mveOriginalGriff19-May-15 5:15 
GeneralRe: Serial Port Data to disk and ftp Pin
Member 1151385419-May-15 5:40
Member 1151385419-May-15 5:40 
GeneralRe: Serial Port Data to disk and ftp Pin
OriginalGriff19-May-15 5:47
mveOriginalGriff19-May-15 5:47 
GeneralRe: Serial Port Data to disk and ftp Pin
Member 1151385419-May-15 6:09
Member 1151385419-May-15 6:09 
GeneralRe: Serial Port Data to disk and ftp Pin
OriginalGriff19-May-15 6:17
mveOriginalGriff19-May-15 6:17 
Questionhow to convert implicitly system.generics.list to system.generics.list? Pin
Engr Nouman19-May-15 2:24
Engr Nouman19-May-15 2:24 
AnswerRe: how to convert implicitly system.generics.list to system.generics.list? Pin
Dave Kreskowiak19-May-15 2:36
mveDave Kreskowiak19-May-15 2:36 

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.