Click here to Skip to main content
15,910,886 members
Home / Discussions / C#
   

C#

 
GeneralRe: Datagrid help! need client side method! Pin
dgap9-Aug-05 7:54
dgap9-Aug-05 7:54 
GeneralRe: Datagrid help! need client side method! Pin
Member 10464459-Aug-05 0:44
Member 10464459-Aug-05 0:44 
GeneralRe: Datagrid help! need client side method! Pin
dgap9-Aug-05 7:55
dgap9-Aug-05 7:55 
GeneralRe: Datagrid help! need client side method! Pin
Christian Graus9-Aug-05 13:03
protectorChristian Graus9-Aug-05 13:03 
GeneralWrite a "Send To" menu class in c# Pin
lin11618-Aug-05 18:47
lin11618-Aug-05 18:47 
GeneralHi,a problem about JPEG Pin
Blue(Shanghai)8-Aug-05 18:42
Blue(Shanghai)8-Aug-05 18:42 
GeneralRe: Hi,a problem about JPEG Pin
Christian Graus8-Aug-05 19:09
protectorChristian Graus8-Aug-05 19:09 
GeneralRe: Hi,a problem about JPEG Pin
Blue(Shanghai)8-Aug-05 19:39
Blue(Shanghai)8-Aug-05 19:39 
Hi, thanks for your words,and i know your meaning
maybe my description is not in detail.

Our company using m-jpeg tech to transform jpeg data from Remote device to
client.When i access a standard uri i will get the stream like that:
socket.connect,then i get the stream,

/*
--MYBOUNDARY Content-Type: image/jpeg Content_Length: 3926 Trigger_Flag: 0 ÿØÿçÿÛC  ,6') ,@9DC?9>=GPfWGKaM=>YyZaimrsrEU}|ofprnÿÛC4
*/

I use socket to connect the device then get the stream,get the JPEG data
from stream(using jpeg label :ffd8 ffd9),next using Image.FromStream(MemoryStream) method to render the jpeg to screen.
First tiem it worked well,but later, we have many types of devices, some device
I cannot using this method to render JPEG stream.I want to know what happend,
i save Jpeg data to my disk,I fond strange thing happend,all application
using GDIPlus (using Image.FromFile methond cannot open these jpeg files),
,But application ,example IE can open these jpeg file well,
I create a new application(.net1.1) drag a PictureBox to winform using Image property,
when i browse local file and selected the Jpeg file ,click OK,it tell me :
GDI+ general error,but in VB6.0 I drag a PictureBox to the form using the same method to select the Jpeg file it works ok .We have a activex component
writter by Vc++ 6.0 it work ok too.Last i fond all application using GDIPlus
when call Image.FromStream or Image.FromFile will throw GDI+ genner error.
So i cannot using pure C# to completed my work,but by ActiveX(written by vc++
6.0)'s help compled my work.but the Jpeg data producted by hardware( we buy from other company,may be CPU is ARM ) so I cannot do some thing to check
hardware.
Thanks again.
GeneralRe: Hi,a problem about JPEG Pin
Christian Graus8-Aug-05 20:36
protectorChristian Graus8-Aug-05 20:36 
Generalfile version Pin
Anonymous8-Aug-05 18:38
Anonymous8-Aug-05 18:38 
GeneralRe: file version Pin
Mark Greenwood8-Aug-05 20:39
Mark Greenwood8-Aug-05 20:39 
Generalstandalone Pin
Member 21769498-Aug-05 17:21
Member 21769498-Aug-05 17:21 
GeneralRe: standalone Pin
S. Senthil Kumar8-Aug-05 17:41
S. Senthil Kumar8-Aug-05 17:41 
GeneralRe: standalone Pin
Christian Graus8-Aug-05 17:58
protectorChristian Graus8-Aug-05 17:58 
Generalpassing object by ref across remoting Pin
narentumkur8-Aug-05 15:19
narentumkur8-Aug-05 15:19 
GeneralEscape regex keywords Pin
eggie58-Aug-05 14:23
eggie58-Aug-05 14:23 
GeneralRe: Escape regex keywords Pin
Christian Graus8-Aug-05 14:25
protectorChristian Graus8-Aug-05 14:25 
GeneralRe: Escape regex keywords Pin
eggie59-Aug-05 12:53
eggie59-Aug-05 12:53 
GeneralRe: Escape regex keywords Pin
Guffa8-Aug-05 22:15
Guffa8-Aug-05 22:15 
GeneralRe: Escape regex keywords Pin
eggie59-Aug-05 12:51
eggie59-Aug-05 12:51 
GeneralPainting a grind in GDI+ Pin
sinko8-Aug-05 13:05
sinko8-Aug-05 13:05 
GeneralRe: Painting a grind in GDI+ Pin
Christian Graus8-Aug-05 13:30
protectorChristian Graus8-Aug-05 13:30 
GeneralRe: Painting a grind in GDI+ Pin
sinko8-Aug-05 14:15
sinko8-Aug-05 14:15 
GeneralRe: Painting a grind in GDI+ Pin
Christian Graus8-Aug-05 14:23
protectorChristian Graus8-Aug-05 14:23 
GeneralConvert a mdb datatable to a comma delimited text file Pin
kornstyle8-Aug-05 8:59
kornstyle8-Aug-05 8:59 

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.