Search results for query: *

  • Users: Cobalt
  • Content: Threads
  • Order by date
  1. C

    Question Best practice for Exception Handling

    Hello all, I was hoping for some advice or suggested reading for Exception Handling, specifically how errors should 'bubble up' from their source to root of the application. At the moment I'm working on a windows service which carries out a check, then an action, before sleeping for a time...
  2. C

    Question Share data between forms (as opposed to passing data)

    Quite a few threads on passing data from one form to another, but I'm struggling to work out how to share data between the two - back and forth. For example: Class1 is a class with 10 string properties Form1 has 10 labels ("Label1", "Label2" etc) and a [Configure] button. Form2 has 10...
  3. C

    Incrementing time, but not 'Now'

    Hi Guys, I hope you can help me with this simple little problem that I just can't get around! It's driving me nuts, as I sure there is an easy way to do it. I'm looking to output in some way (messagebox, textbox, listbox etc) times starting from 8am all the way to 9pm in set increments (30, 15...
  4. C

    Question Combobox FindString and Selected Index

    Hello all! I'm using a combox Findstring function to return the index location of an item in the list. The search string is created from a Database query that all works correctly. I then set the SelectedIndex to the value found. Dim SearchString as String =...
  5. C

    Question Stop an application looking like it has crashed?

    Hello all, I have a vb app that accesses a network drive and deletes some folders if certain things are true. At the moment if one of the folders is very large or there is a network delay the app seems to freeze and looks like it has crashed. I already have a "progress form" popup which has a...
  6. C

    Question How to close an application?

    Hello, I have two forms, Login and Main. The VB project is set to load Login first. If the user's credentials are correct I call the main form with Main.Visable = True and hide the Login form with Me.visable = false While this works, if I close down the Main form using the normal X button, the...
  7. C

    Question CheckedListBox with a DataSource

    Hello all, I'm working on a small problem with regard to the CheckedListBox and mapping to a data source I have a database with three fields 'Name' - The description of the item, a string and quite short 'ID' - A unique ID, auto incremented by the database 'Active' - A 1 or a 0 to show if that...
  8. C

    Question Activate, Deactivate, then reactivate a ListBox DataSource

    :Edit: Now with Video!! Take a look at my third post, fourth post in total :D Hello all, This is my first post, so let me know if I need to add any more information. I have also done a quick search and found nothing :( Scenario: I have Checkbox and a list box, checking the checkbox should...
Back
Top