PC Review


Reply
Thread Tools Rate Thread

i can't get number...

 
 
Supra
Guest
Posts: n/a
 
      7th Apr 2005
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

 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      7th Apr 2005
"Supra" <(E-Mail Removed)> schrieb:
>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()'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to add page number using word 2007 template number missing =?Utf-8?B?ZGVlbXVr?= Microsoft Word Document Management 7 12th Apr 2012 03:20 PM
Sumif number is greater than a number but less than another number lulu151 Microsoft Excel Misc 2 7th May 2010 07:12 PM
Inserting a number of rows based on the number of columns filled bytext values zorakramone Microsoft Excel Programming 4 3rd Aug 2009 08:21 AM
How to calculate number of occurencies of a specific number number Stefan Microsoft Excel Misc 4 8th Sep 2008 08:33 AM
Re: number of spaces after number, period, number Suzanne S. Barnhill Microsoft Word Document Management 0 15th Dec 2006 04:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:39 AM.