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

.NET (Core and Framework)

 
QuestionPersist Control Properties Pin
Brady Kelly29-Sep-06 1:54
Brady Kelly29-Sep-06 1:54 
Question.NET ver 1.1 Vs .NET ver 2.0 Pin
Exelioindia28-Sep-06 23:39
Exelioindia28-Sep-06 23:39 
AnswerRe: .NET ver 1.1 Vs .NET ver 2.0 Pin
Mike Dimmick29-Sep-06 6:52
Mike Dimmick29-Sep-06 6:52 
QuestioniCal and .net Pin
McBainUK28-Sep-06 21:52
McBainUK28-Sep-06 21:52 
QuestionHow to Bind dynamic Dataset to crystal report Pin
hmcu28-Sep-06 17:17
hmcu28-Sep-06 17:17 
AnswerRe: How to Bind dynamic Dataset to crystal report Pin
sujith3128-Sep-06 19:01
sujith3128-Sep-06 19:01 
GeneralRe: How to Bind dynamic Dataset to crystal report Pin
hmcu1-Oct-06 17:21
hmcu1-Oct-06 17:21 
QuestionGraphics.FromImage(myMetafile) throws OutOfMemoryException. WHY? Pin
Andy San28-Sep-06 5:40
Andy San28-Sep-06 5:40 
Hi all!
I'm writing a program where I need to make some drawings over previously created
in-memory Metafile. The very first drawing succeeds but next time I'm trying to
call Graphics.FromImage on same metafile object OutOfMemoryException is being thrown.
Can anyone say me, what exactly happens?
Thanks a lot.

P.S. Please excuse me for my poor English.

<br />
Metafile meta = null;<br />
MemoryStream mstream = new MemoryStream();<br />
<br />
using (Graphics gr = CreateGraphics())<br />
{<br />
     IntPtr attribDc = gr.GetHdc();<br />
     meta = new Metafile(mstream, attribDc);<br />
     gr.ReleaseHdc(attribDc);<br />
}<br />
using (Graphics gr = Graphics.FromImage(meta))				<br />
{<br />
     m_Visualizer.DrawTemplateMnemo(m_Template, gr);<br />
}<br />
using (Graphics gr = Graphics.FromImage(meta)) // <-- OutOfMemoryException is thrown there<br />
{<br />
      m_Visualizer.DrawTemplateMnemo(m_Template, gr);<br />
}<br />

QuestionOpenGL and .NET Windows Forms application Pin
yellowine28-Sep-06 4:43
yellowine28-Sep-06 4:43 
QuestionNot able to attach my code to .NET Process Pin
He is Cool28-Sep-06 1:32
He is Cool28-Sep-06 1:32 
QuestionWindows Forms possible bug Pin
Csupor Jenő27-Sep-06 13:11
Csupor Jenő27-Sep-06 13:11 
AnswerRe: Windows Forms possible bug Pin
Dave Kreskowiak27-Sep-06 13:38
mveDave Kreskowiak27-Sep-06 13:38 
GeneralRe: Windows Forms possible bug Pin
Csupor Jenő27-Sep-06 13:53
Csupor Jenő27-Sep-06 13:53 
GeneralRe: Windows Forms possible bug Pin
Dave Kreskowiak27-Sep-06 14:02
mveDave Kreskowiak27-Sep-06 14:02 
GeneralRe: Windows Forms possible bug Pin
Csupor Jenő27-Sep-06 14:32
Csupor Jenő27-Sep-06 14:32 
GeneralRe: Windows Forms possible bug Pin
Dave Kreskowiak27-Sep-06 14:10
mveDave Kreskowiak27-Sep-06 14:10 
QuestionRaising Events in .Net Pin
ravindradonkada27-Sep-06 9:11
ravindradonkada27-Sep-06 9:11 
AnswerRe: Raising Events in .Net Pin
Guffa27-Sep-06 10:15
Guffa27-Sep-06 10:15 
AnswerRe: Raising Events in .Net Pin
Christian Graus27-Sep-06 15:21
protectorChristian Graus27-Sep-06 15:21 
AnswerRe: Raising Events in .Net Pin
f*** YOU27-Sep-06 18:39
f*** YOU27-Sep-06 18:39 
QuestionTest vs. Production databases Pin
joe/jobo27-Sep-06 6:33
joe/jobo27-Sep-06 6:33 
AnswerRe: Test vs. Production databases Pin
Dave Kreskowiak27-Sep-06 13:06
mveDave Kreskowiak27-Sep-06 13:06 
AnswerRe: Test vs. Production databases Pin
sujith3127-Sep-06 21:09
sujith3127-Sep-06 21:09 
QuestionGeneral Question about Dundas Charts Pin
Jethro6327-Sep-06 2:15
Jethro6327-Sep-06 2:15 
AnswerRe: General Question about Dundas Charts Pin
Christian Graus27-Sep-06 15:23
protectorChristian Graus27-Sep-06 15: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.