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 bkrike 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 sborny

  1. sborny

    Minize form from image

    Hi, I am creating an app that has the borderstyle set to none on the main form as I do not wish to use the standard minimize/maximize buttons. I am trying to find out how to minimize the form to the start bar when I click on an imge on the form. I have tried: me.windowstate = 1 and this...
  2. sborny

    Find & Rename

    Hi jebenson, I was being really stupid. Unfortunately i did not realise that the serach was case sensitive. Some of the files were names folder.jpg and some were Folder.jpg. I have added an "Or" in the if statement so that it looks for both and it know works perfectly. Thanks for all your...
  3. sborny

    Find & Rename

    Hi Jebenson, Yeah all the names are identical. I am running XP Pro with 2GB ram so I don't think that memory is an issue. Just to clarify the directory structure is not that it goes five levels deep. Here is what I mean: c:\music\athlete\tourist\folder.jpg c:\music\athlete\vehicles &...
  4. sborny

    Find & Rename

    DrJavaJoe, I have done a search, but as stated I unfortunately have no experience in this area and therefore don't understand what I am looking at. Again unfortunately I need to get this running tonight and do not have the time on this occasion to study the ins and outs of recursion. Thanks...
  5. sborny

    Find & Rename

    Thanks jebenson, It works ok if there is only one subdirectory but I have say the drive with a directory and then inside that directory could be 2 or 3 directories that need to be checked. It works fine on the first directory that I finds but does nothing with the others. Any ideas. Cheers...
  6. sborny

    Find & Rename

    Hi all, I need to very quickly put together an app that will search all directories and subdirectories on a drive and look for files call folder.jpg. When it finds one i need it to change the name to AlbumArt.jpg without any user intervention and then move onto the next one automatically...
  7. sborny

    Data control

    Hi Glasgow, Would you be kind enough to tell me how you would do it without data controls. Thanks Sborny. Everything has an answer, it's just knowing the right question to ask. !!!!
  8. sborny

    Data control

    Hi, I have a datacrontrol called data1 and a textbox that is bound to the control. The control loads an access db and displays email addresses in the text box. I am trying to find out how to delete the currently selected email address and to then refresh the data control. Can anyone help...
  9. sborny

    Changing which printer to print to ?

    Thanks guys, i will have a look at your code Johnwm and see if I can get things to work that way. Thanks again. Everything has an answer, it's just knowing the right question to ask. !!!!
  10. sborny

    Changing which printer to print to ?

    Hi all, I have searched and found lots of articles about changing the default printer and they all seem to be based on using the printers name. I am writing an app that has no GUI and runs over night that pulls records from a database and based on the criteria in a particular field prints to...
  11. sborny

    check boxes.

    Thank you JAG14 for you fantastic response. I have put radio buttons on the form and all works well. Have a star. Thanks to all that have contibuted. Cheers S. Everything has an answer, it's just knowing the right question to ask. !!!!
  12. sborny

    check boxes.

    Hi, Thanks for your help. Yes I could use radio buttons instead of checkboxes but I have not used them before. Could you help me with the code to do the same thing. Thanks S. Everything has an answer, it's just knowing the right question to ask. !!!!
  13. sborny

    check boxes.

    Hi All, I have 2 check boxes on a form and I need it so that only one can be checked at any one time. Ie if you click check2 and check1 is already ticked then check1 should untick and check2 should tick and visa versa. I also need this to happen when you click on the labels nect to the check...
  14. sborny

    Another string queston

    Hi shatch, Thanks for that. Do you have any ideas on how to get round the 12a thing as it is a very distinct possibility that that will happen. Cheers S. Everything has an answer, it's just knowing the right question to ask. !!!!
  15. sborny

    Another string queston

    Hi all, I need to check a string to see if it starts with a number ie: a house number like 62 George Close. If it does iwant to extract that number into a seperate string and if not I need to do something else. I know what i need to do if the string does not contain a number but I canot work...

Part and Inventory Search

Back
Top