Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2012 Space between 2 texts with text inside

$
0
0
I'm trying to make an application and I am having issues.

Lets say there are two sets of numbers.

12-----------------------------------12

35 characters (which will be blank space not dashes) between them both--> in application it will be space(35)

12COUPONNAME-------------------------12

There is still 35 characters between 12 and 12 but COUPONNAME is 10 characters. I need 25 spaces from the end of that to 12.

----Variables-------
dim num1 as integer
dim num2 as integer
dim coupon as text

num1=12
num2=12
coupon=couponname

----Display-----------
display.txt= ?

How could I code the display rich text box to have the same amount of characters between the 2 sets of numbers regardless of any text inputted between them?

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>