Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by DimMeAsNewbie

  1. DimMeAsNewbie

    Selecting pen colours!

    Thanks mstrmage1768 it's all worked fine. You're a genious. Thanks
  2. DimMeAsNewbie

    How do I take a screen shot

    The link is working,Dude i've just tried it and it works.
  3. DimMeAsNewbie

    Selecting pen colours!

    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)
  4. DimMeAsNewbie

    Displaying image objects

    Thanks TipGiver, it's worked!!
  5. DimMeAsNewbie

    Displaying image objects

    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?
  6. DimMeAsNewbie

    Displaying image objects

    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.
  7. DimMeAsNewbie

    Disable case sensitivity!! vb.net 2005

    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...
  8. DimMeAsNewbie

    Disable case sensitivity!! vb.net 2005

    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!
  9. DimMeAsNewbie

    Index was outside the bounds of the array

    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...
  10. DimMeAsNewbie

    Index was outside the bounds of the array

    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!
  11. DimMeAsNewbie

    Index was outside the bounds of the array

    I've got Dim i As Interger And then the loop For i = 0 To word.length = 1 What do you reckon i should set the value of i to?
  12. DimMeAsNewbie

    Index was outside the bounds of the array

    Thanks ThatRickGuy, but i've already got this loop in my form handler and l is set to word length. For i = 0 To word.length-1
  13. DimMeAsNewbie

    Index was outside the bounds of the array

    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...
  14. DimMeAsNewbie

    Keyboard events!!

    NB I can read into the file, lines and letters already. I'm stuck where the pressedkey compares with the letter from the random word. Thank you

Part and Inventory Search

Back
Top