VB.net and graphics

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

--
hello

I know VB6 but not VB.net too well. In VB6 the graphics are limited and it
required API calls to help out.
With VB.net there doesnt seem to be API calls so what happens...are graphics
easier to do in VB.net or API calls are handled another way?
 
John,

The API calls exist in the same way as in VBNet where you almost only should
have to think that the datatypes in VBNet Integer and Long are changed and
variant does not exist.

In Visual Basic .NET, the datatype for 16-bit whole numbers is now Short,
and the datatype for 32-bit whole numbers is now Integer, while Long is now
64 bits.

However in my opinion you should avoid API's because it is not managed code
see for that this page
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/win32map.asp

For drawing ther is GDI+ and for that you can start on this page.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vborigdifundamentals.asp

I hope this helps

Cor
 
john andrew said:
I know VB6 but not VB.net too well. In VB6 the graphics
are limited and it required API calls to help out.
With VB.net there doesnt seem to be API calls so
what happens...are graphics
easier to do in VB.net or API calls are handled another way?

Take a look at the 'System.Drawing' namescpace. This namespace contains
classes that provide functionality similar to those known from GDI(+).
 
Back
Top