what's wrong with "Dim FormG As Grapgics=Me.CreateGraphics" ?

From: Richard Zhu (yzhu_at_algis.ca)
Date: 08/11/04


Date: Wed, 11 Aug 2004 15:04:08 -0700

in my sub, I want to print my form with an ActiveX, I first define the
graphics, but this code always show some thing wrong there ?

a sample code showing this is at
http://www.thecodehound.net/Discuss/Visual+Basics/77.aspx

thanks.



Relevant Pages

  • Re: whats wrong with "Dim FormG As Grapgics=Me.CreateGraphics" ?
    ... > in my sub, I want to print my form with an ActiveX, I first define the ... > graphics, but this code always show some thing wrong there? ... Firstly you may want to post to a .NET group since your question is off-topic here, you'll find a list of some of those groups here: ...
    (microsoft.public.vb.winapi.graphics)
  • Re: Dispose, Finalize
    ... >> Wenn in dem Beispiel unten Dispose nicht aufgerufen wird, ... > Private Sub Form1_Load(ByVal sender As Object, ... Denn ein Graphics hängt intern immer noch an einem DeviceContext, ...
    (microsoft.public.de.german.entwickler.dotnet.vb)
  • Re: Ensure single class instance but with multiple references to it
    ... At the moment I instantiate the activeX object in the class and store ... Private Sub Class_Initialize ... an ActiveX reference so the rest of the functions won't work. ... Private m_clsOpenServer as cOpenServer ...
    (microsoft.public.excel.programming)
  • Re: Ensure single class instance but with multiple references to it
    ... ie. cOpenServer class looks like: ... > Private Sub Class_Initialize ... > an ActiveX reference so the rest of the functions won't work. ...
    (microsoft.public.excel.programming)
  • VB2005 pro Graphics
    ... The documentation always shows graphics drawing in a paint event like ... Private Sub Pictcolor_Paint(ByVal sender As Object, ... Or do I have to make a cajillion different Paint events for PictColor ?? ...
    (microsoft.public.dotnet.languages.vb)