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)
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.
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!
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...
Does the code below make any sense? I am trying to have a programme that compares the key pressed by user and a character in a word
(The words are stored in a txt.file and i can connect to the file and read through the words.)
Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As...
Hey Guys!
I've got a clock that i've done in vb.net 2005. I'm stuck where i need to use NumericUpDown control for users to speed or slow down the tick event.
I've got a vague idea of associating it with the timer but i'm not sure what i really have to do.
Please feel free to contact if you...
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.