Hello, here the last couple of days I am trying to get an exact "User Profile" pages from a website with Star Counts and Names, etc...
I am right now working on a profile and the Star Count HTML Source is saying:
I am using Labels to get the Numbers and then convert it as an image using a PictureBox, and my IF STATEMENT is saying below:
And from 1 to 5 I have it all using the same method...
So the Star3 is my Star3.png image... But here comes the important part that I didnt know about, and I discovered today that the same users profile have now a Star Count that says --> Start Count: 3.1
And here I am, I had only counted that the stars will be from 1 to 5, but now another Value appeard after a comma. But I only want the count to be from 1 to 5, which means I do not want the Value after "comma"! So jow can I Ignore the Values or Numbersto not appear in my Label, so I can convert it only as Star Counts from 1 to 5!
Thank you very much for the help in advance..
I am right now working on a profile and the Star Count HTML Source is saying:
Code:
Start Count: 3
Code:
If Label1.Text.Contains("3") Then PictureBox.Image = My.Resources.Star3
And from 1 to 5 I have it all using the same method...
So the Star3 is my Star3.png image... But here comes the important part that I didnt know about, and I discovered today that the same users profile have now a Star Count that says --> Start Count: 3.1
And here I am, I had only counted that the stars will be from 1 to 5, but now another Value appeard after a comma. But I only want the count to be from 1 to 5, which means I do not want the Value after "comma"! So jow can I Ignore the Values or Numbersto not appear in my Label, so I can convert it only as Star Counts from 1 to 5!
Thank you very much for the help in advance..