Search results for query: *

  • Users: BillO
  • Order by date
  1. B

    Question Datatables & Listbox problem part 1

    All fixed Someone told me what was going on - display.member is what you meant by binding, all I needed to use is lstbox.add.item only. Cheers!
  2. B

    Question Datatables & Listbox problem part 1

    Listboxes in a bind! Hi jmcilhinney, Thanks for your prompt reply. I've been trying to get a website up and running all weekend. Unfortunately I am forced to use a listbox to display. It would be preferable to use a datagridview. I am unsure how I can implement headings, (unless I add the...
  3. B

    Datatables & Listbox problem part 2

    Hi All, As per my previous thread I'm having huge trouble getting some data to display in my listboxes. The btnInvoice gives me "There is no row at position 17." Obviously my logic has gone awry, as I'm certain there aren't that many items. Any ideas very welcome!! Relevant Code below...
  4. B

    Question Datatables & Listbox problem part 1

    Hi VB Legends, I've been struggling with a program to access a database with three tables and present some of the information in a couple of listboxes. I'm afraid my brains turned to mush and I can't find anything that seems to help. Any assistance very welcome. When I push the btnOutOfStock...
  5. B

    Question How do I code for the exit cross in the top right corner?

    Exit stage right and left :D Many Thanks JuggaloBrotha! After some playing around I basically get what you meant. Initially I had to close the menu twice before I got it. The big tip was the Form_Closing event. For some reason it didn't like me using dialog.result? So I ended up using...
  6. B

    Question How do I code for the exit cross in the top right corner?

    Hi there, I have managed to create and code a file menu exit with the following code, however I just can't seem to find out how I am able to edit the red X in the top right hand side of the form next to the minimise and maximise buttons? Private Sub ExitToolStripMenuItem_Click(ByVal sender...
  7. B

    Question How to display variable in msg box?

    Hi All, As guessed I did mean Visual Studio 2005. Thanks again for the fantastic help. It worked well. In the end I just kept it simple: Private Sub btnShowTotalCost_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowTotalCost.Click Corp =...
  8. B

    Question How to display variable in msg box?

    Thank you everyone! Thank you for the excellent advice! I haven't had an opportunity to give it a go yet. Hopefully it will work with my outdated copy of Visual Studio 5 :) You have answered explicitly, and may have also assisted in an empty / string vs numeric text box validation question I...
  9. B

    Question How to display variable in msg box?

    Hi there, I'm fairly new to VB programming. I am struggling to find out how to use a msg box to display the value of a variable. I've tried a number of permutations, and searched for hours to find a tip. Any suggestions very welcome! My code is currently: Private Sub...
Back
Top