How do i enable users to select different colours for a line that i've drawn.
I've got the following code so far for the line, but i want users to be able to change the colour through menustrip.
Dim pen1 As New Pen(Color.Red)
g.DrawLine(pn1,100, 100, x, y)
FileNotFoundException error,
Is there any other way of storing and displaying images?
I know how to add to imagelist but how do i make the images in the imagelist display in the picbox at run time?
Help!
I've saved my images in the Debug folder withing my VB.NET project.
How do images appear in my picture box;
I've got this at the moment:
PictureBox1.Image = Image.FromFile("image0001.gif")
This is giving me a file path error, but the image is really does exist and the name is correct.
Thanks Rick,
What's happening is i'm reading a word from file which is randomly selected. The words start with a capital letter then small letters. Eg London, so what is happening is if i type in l instead of L it's not recognising and the same for the small letters. I'm not sure how i can...
Does anyone know how i can disable case sensitivity.I want my programme to disregard instances where a user presses a key and if that character is in the corresponding file but in uppercase to display regardless.
Thanks!
Thanks!
Basically what the rest of my code is doing is reading through a text file + and then randomly selectes a word that is read character by character. On the form i have got a label that has got about 12 underscores to accommodate letters.If a user presses right key the letter should...
Thanks ThatRickyGuy.
So basically i should have as many loops as my longest word in the file.txt, is that right?, my longest is 12 letters so does this mean i should have i values 0-11? , and Me.Invalidate after each loop.
Thanks!
Hey Guys!
It's me again, thanks for you help to my previous error, unfortunately i've a new devil as in the error above, i surely must be cursed
Can anyone help identify what's causing the above error, error is yellow highlighted at line " If word(i) = input Then" of the code?
Private Sub...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.