User Profile
Collapse
-
Just change the code below but it just draws a pixel then clears the pixel then draws another then clears and so on
...Code:Dim m_imageList As ImageList m_imageList = New ImageList m_imageList.ImageSize = New Size(110, 42) 'Change to whatever size you are needing Dim bmp As New Bitmap(110, 42, Drawing.Imaging.PixelFormat.Format32bppArgb) Dim g As Graphics g = Graphics.FromImage(bmp) bmp.CreateGraphics.DrawLine(.......stuff
Leave a comment:
-
Drawing in a picture box
Iam calling the sub below a number of times until the picture is drawn. But when i Minimized the form the drawing clears.
can anyboddy help please.
...Code:Sub drawscreen() Dim g As Graphics Dim bmap As Bitmap bmap = New Bitmap(picgame.Width, picgame.Height, _ picgame.CreateGraphics) g = Graphics.FromImage(bmap) Dim p As New Point() p.X = 1 + x + (i * 4)
-
-
convert the vb6 code below into vb.net code
Hi I am trying to convert the vb6 code below into vb.net code can anyboddy help
The vb6 code is from a chip8 Emulator that somboddy wrote.
vb6 code
this function keeps getting called until the image is drawn.
Sub drawscreen()
If Picture1.Point( 1 + x + (i * 4), y + (j * 4)) = RGB(0, 255, 0) Then
v(&HF) = 1
Picture1.Line (1 + x + (i * 4), y + (j * 4))-(1 +...
No activity results to display
Show More
Leave a comment: