Click here to Skip to main content
15,905,614 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Locating a server without ip address. Pin
DaveyM6930-Jun-09 22:28
professionalDaveyM6930-Jun-09 22:28 
Questionhow to access connection string from inf file in vb.net Pin
pnvreddy30-Jun-09 20:13
pnvreddy30-Jun-09 20:13 
AnswerRe: how to access connection string from inf file in vb.net Pin
ksss_maheshece2-Jul-09 23:42
ksss_maheshece2-Jul-09 23:42 
QuestionApplication disappearing randomly Pin
prit_mahudha30-Jun-09 17:57
prit_mahudha30-Jun-09 17:57 
QuestionHow to translate EBCdic 1388 to gb2312 in .net? [modified] Pin
welsrping30-Jun-09 17:10
welsrping30-Jun-09 17:10 
AnswerRe: How to translate EBCdic to gb2312 in .net? Pin
David Skelly30-Jun-09 22:30
David Skelly30-Jun-09 22:30 
GeneralRe: How to translate EBCdic to gb2312 in .net? Pin
welsrping1-Jul-09 16:09
welsrping1-Jul-09 16:09 
GeneralRe: How to translate EBCdic to gb2312 in .net? Pin
David Skelly1-Jul-09 22:13
David Skelly1-Jul-09 22:13 
GeneralRe: How to translate EBCdic to gb2312 in .net? Pin
welsrping4-Jul-09 4:40
welsrping4-Jul-09 4:40 
GeneralRe: How to translate EBCdic to gb2312 in .net? Pin
Vasudevan Deepak Kumar3-Jul-09 2:21
Vasudevan Deepak Kumar3-Jul-09 2:21 
GeneralRe: How to translate EBCdic to gb2312 in .net? Pin
welsrping4-Jul-09 4:39
welsrping4-Jul-09 4:39 
GeneralRe: How to translate EBCdic to gb2312 in .net? Pin
Jiang Mike28-Sep-22 16:25
Jiang Mike28-Sep-22 16:25 
QuestionServices in .Net Framework Pin
Abdul Rahman Hamidy30-Jun-09 0:47
Abdul Rahman Hamidy30-Jun-09 0:47 
AnswerRe: Services in .Net Framework Pin
Eddy Vluggen30-Jun-09 11:12
professionalEddy Vluggen30-Jun-09 11:12 
Questionfind Duplicates in Datatable Pin
SamRST29-Jun-09 21:59
SamRST29-Jun-09 21:59 
AnswerRe: find Duplicates in Datatable Pin
Pete O'Hanlon29-Jun-09 22:20
mvePete O'Hanlon29-Jun-09 22:20 
GeneralRe: find Duplicates in Datatable Pin
SamRST30-Jun-09 1:10
SamRST30-Jun-09 1:10 
GeneralRe: find Duplicates in Datatable Pin
Rob Smiley30-Jun-09 11:55
Rob Smiley30-Jun-09 11:55 
GeneralRe: find Duplicates in Datatable Pin
Pete O'Hanlon30-Jun-09 22:45
mvePete O'Hanlon30-Jun-09 22:45 
Questionerror in crystal report Pin
ruchira jain29-Jun-09 20:50
ruchira jain29-Jun-09 20:50 
QuestionDrawing PNGs with metadata Pin
skullfire29-Jun-09 10:06
skullfire29-Jun-09 10:06 
Hi everyone.

I am having some trouble with GDI plus. At my work, we have several artists creating animations with an application we made with C# (frames are rendered with GDI+'s Graphics). Recently, there have been several issues between artists and developers trying to open the same animation (therefore, invoking the drawing of them).
Some of the artists use Windows 7. When they upload the image of a frame, it works fine. On the developer side, some of us use VMware or crappier PCs. We open the animation the artist made, and a "System.OutOfMemoryException" is thrown. I looked at the code and it was the DrawImage code (with ImageAttributes). Strangely enough, this ONLY happens when drawing the images imported to the application with Windows 7. Even stranger, if I call the simpler version of DrawImage, it does not crash.
We then started to chase what was happening, and it appears Windows 7 adds some metadata to the images, which is causing GDI+ to crash on certain machines when drawing with image attributes. Using a PNG Stripper(http://www.steelbytes.com/?mid=30[^]) we ran the files uploaded to our application and would no longer get this message.
I have several questions:
1. Is this a known issue with GDI+?
2. Is there a way to prevent this bug (other than attaching the stripper as a batch tool before uploading the images, and other than using a regular DrawImage call)?
3. Has anyone else experienced this?

My specs:
- C# 2.0
- VS2005
- Microsoft .Net Framework 2.0
AnswerRe: Drawing PNGs with metadata Pin
Luc Pattyn29-Jun-09 10:24
sitebuilderLuc Pattyn29-Jun-09 10:24 
GeneralRe: Drawing PNGs with metadata Pin
skullfire29-Jun-09 11:51
skullfire29-Jun-09 11:51 
QuestionControls Positions Change When Installing On Different Computer Pin
Polymorpher29-Jun-09 10:01
Polymorpher29-Jun-09 10:01 
AnswerRe: Controls Positions Change When Installing On Different Computer Pin
Henry Minute29-Jun-09 14:23
Henry Minute29-Jun-09 14:23 

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.