i can't get number...

  • Thread starter Thread starter Supra
  • Start date Start date
S

Supra

i can't get number to displaying in row..i got junk character ....

Dim sdBrush3 As SolidBrush = New SolidBrush(Color.Black)
Dim myFont3 As Font = New Font(familyName:="Verdana",
emSize:=30, style:=FontStyle.Bold, unit:=GraphicsUnit.Pixel)
For i = 1 To 10
For j = 38 To 596 Step 62
g.DrawString(i, myFont3, Brush:=sdBrush3, x:=j - i, y:=615)
Next j
Next i

i wanted number to ddiaplying from from 1 to 10 in row
 
Supra said:
i can't get number to displaying in row..i got junk character ....
[...]
g.DrawString(i, myFont3, Brush:=sdBrush3, x:=j - i, y:=615)

Replace 'i' with 'CStr(i)' or 'i.ToString()'.
 
Back
Top