Upgrade from VB5/6

  • Thread starter Thread starter David Pendrey
  • Start date Start date
D

David Pendrey

Greetings everyone! I am currently trying to create an application using an
offscreen buffer. I have a great example but it is for VB5/6 and I have
VB.NET. I have not been able to successfully upgrade the code entirely. I
used the converter build into .NET to convert it but there were some
functions that were not upgraded for .NET. The CreateFromPicture function in
the pcMemDV class I can not get to work. The link to the sample I'm using
is:
http://www.vbaccelerator.com/home/V..._and_GDI/Flicker_Free_API_Drawing/article.asp

I hope that someone can help me figure this out. Thanks people!
 
Hi,

You can use setstyle to double buffer a form.

http://msdn.microsoft.com/library/d...stemwindowsformscontrolclasssetstyletopic.asp

Ken
---------------------
Greetings everyone! I am currently trying to create an application using an
offscreen buffer. I have a great example but it is for VB5/6 and I have
VB.NET. I have not been able to successfully upgrade the code entirely. I
used the converter build into .NET to convert it but there were some
functions that were not upgraded for .NET. The CreateFromPicture function in
the pcMemDV class I can not get to work. The link to the sample I'm using
is:
http://www.vbaccelerator.com/home/V..._and_GDI/Flicker_Free_API_Drawing/article.asp

I hope that someone can help me figure this out. Thanks people!
 
Back
Top