Hi Guys,
Any help would be great. :sign0085:
How can I do the following:
PictureBox Arrays:
Bug(0) to Bug(7)
for i = vaderst to vaderfin
bug(i).Left = looperx:Bug(i).Top = loopery
next
Image Arrays:
imaBugSplat(0) to imgBugSplat(7)
Bug(BKI) = imgBugSplat(KI) '<---KILLS BUGS DEAD
I am also having trouble with this line:
Randomize Val(Right(Time$, 2)) / 3.17412
Line's and Shapes's were easy to convert:
pen1.Color = cGold
line(160,150,160,350)
Sub Line(x1,y1,x2,y2)
drawer.DrawLine(pen1.Value,x1,y1,x2,y2)
drawer.Refresh(x1-x2,y1-y2,x1-x2,y1-y2)
End Sub
Can we Use/Create VB6 Class Modules
Is their an equivelent of the following:
Private Declare Function BitBlt Lib "gdi32" (ByVal hDestDC As Long, ByVal X As Long,_
ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long,_
ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long
Thanks in advance,
Andrew.
Any help would be great. :sign0085:
How can I do the following:
PictureBox Arrays:
Bug(0) to Bug(7)
for i = vaderst to vaderfin
bug(i).Left = looperx:Bug(i).Top = loopery
next
Image Arrays:
imaBugSplat(0) to imgBugSplat(7)
Bug(BKI) = imgBugSplat(KI) '<---KILLS BUGS DEAD
I am also having trouble with this line:
Randomize Val(Right(Time$, 2)) / 3.17412
Line's and Shapes's were easy to convert:
pen1.Color = cGold
line(160,150,160,350)
Sub Line(x1,y1,x2,y2)
drawer.DrawLine(pen1.Value,x1,y1,x2,y2)
drawer.Refresh(x1-x2,y1-y2,x1-x2,y1-y2)
End Sub
Can we Use/Create VB6 Class Modules
Is their an equivelent of the following:
Private Declare Function BitBlt Lib "gdi32" (ByVal hDestDC As Long, ByVal X As Long,_
ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long,_
ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long
Thanks in advance,
Andrew.