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

    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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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