Search results

  1. O

    hyperlink validation for linklabel

    Hi I'm not sure sure if this is the most appropriate forum for this question so if I'm in the wrong place, my apologies! I have a text field in my application where a user can enter a URL. Once this URL has been validated, a linklabel is shown next to the textbox which has a hyperlink to the...
  2. O

    for each loop

    thanks, I did originally have it that way, but for some reason it wasn't working. The whole thing was doing some very strange stuff so I've done it a completely different way now. Thanks for your help.
  3. O

    for each loop

    Hi I'm having some problems with a For Each loop and wondered if anyone could help. I have a combo box (coPropID) on my screen that has been preloaded with the IDs of all people in my database. I have another combo called coProp that has been preloaded with the names of all the people on the...
  4. O

    date to string formatting

    I've just been given the answer on another forum. For anyone that's interested, here it is..... My thanks to the ever helpful jmcilhinney for this answer.[/INDENT]
  5. O

    date to string formatting

    Hi I'm using DateTime.TryParseExact to verify dates that users put into a textbox (I know datepickers are better, but my users refuse to use them!). In one particular instance, I have a start date text box, an end date text box and a duration (months) numeric field. When the user has entered a...
  6. O

    validating date string

    Sorry I'm a bit lost with that! Do I need to compare the string that the user enters with the string you gave me? How would I do that?
  7. O

    validating date string

    Hi Bit of a newbie question I'm afraid. My application currently uses datetimepicker controls, but because these can't show blank dates when no date is present/needed, my users (bless 'em!) want to go back to a free format text field for entering dates. Whilst I'm reluctant to do this as...
  8. O

    Topmost problem

    OK, I've got a little further. I was making a call to close the Progress Bar form at the end of the onLoad of the reportviewer form so it was closing it when the form had loaded up but the report still hadn't appeared. I've taken that out so the progress bar shows on top of the reportviewer...
  9. O

    Topmost problem

    Progress bar, multithreading Hi I'm trying to implement a progress bar so that when a user clicks to open a report, a small form with the progress bar embedded in the statusbar appears to show that something is happening. I'm very new to VB.NET and multithreading is a bit above my level of...
  10. O

    Topmost problem

    Hi I'm trying to display a progress bar in my application when the user loads a report (Crystal report). I call the form containing the progress bar just before the form containing the reportviewer is called. So the progress bar displays while the reportviewer form is loading. However once the...
  11. O

    Case statement, ignore capitals

    Thanks Moorzee, that's fixed it!
  12. O

    Case statement, ignore capitals

    Hi I'm trying to add some validation to a text field in which the user is supposed to enter a month name. I'm wanting to check that the input is equal to one of the months of the year. I thought I could do a case statement e.g. Select Case month.Text Case "January" etc........ However, it is...
  13. O

    Determining date format

    Hi I have a date value that is being brought back from a database that I want to put into a datetimepicker on my form. Unfortunately some of the existing data is rather messy and some dates have only been put in as the year. This means that I get an error when trying to put something like 2003...
  14. O

    For Each Loop Problem

    Sorted! I had this question on another forum too and a very kind person gave me the answer, so here it is incase anyone else is having a similar problem! You wont need a loop, 'assuming coPropID is the combobox holding the items to be searched 'and coProp is the combobox to be selected...
  15. O

    For Each Loop Problem

    Hi I'm trying to use a For Each loop to iterate through a collection of items from a combobox and compare the value of each item in the collection to a string value to find the index of the string value in the combobox and then set another combobox's .selectedIndex to that index. But instead...
Top Bottom