Search results

  1. P

    Saving back to an Access database

    This is still driving me mad: I've written a Windows form application in Visual Studio 2017. It contains several forms displaying Dataviewgrids. These get their information from a Microsoft Access database using a DBControl class as follows: mports System.Data.OleDb Imports System.IO Public...
  2. P

    Visual Studio problem

    For some reason I can no longer start my program with debugging. It will start without debugging, but in looking at why it wasn't performing as expected, it appears that all textboxes on a form suddenly have the same name (which I thought was impossible). When I open the properties window and...
  3. P

    Question Displaying information on a windows form.

    Ok Guys. I know the code is messy, but I'm completely new to vb programming so tend to write things down as I want them to happen. No doubt when everything works I'll get down to re-writing and simplifying the code. In the meantime I've worked out how to make the BackgroundWorker do its job. It...
  4. P

    Question Displaying information on a windows form.

    So This is the code I have for when the user clicks a button on the form (sorry; it's a bit long-winded). Where would I place the code for the BackgroundWorker ? Private Sub btnPrice_Click(sender As Object, e As EventArgs) Handles btnPrice.Click Dim eGraphics As Graphics =...
  5. P

    Question Displaying information on a windows form.

    Wow. Thanks for the info. I've read through it all and at the moment it makes no sense as to where I'd fit it into my program; but I'll keep going!!! Thanks again
  6. P

    Question Displaying information on a windows form.

    I always thought that a program read and executed instructions in the order in which they were written; but I'm finding that in my current experimental program it reads all of the code in a procedure and then does the execution. Let me explain: I have a windows form on which there are quite a...
  7. P

    Question Changing colors in code

    Can anyone help? I'm writing an application that keeps track of pupils in my small music school. Everything's working apart from one small thing that I can't seem to solve. Pupils pay for four lessons at a time so it was easy to take the start date and add 28 days to get the renewal date. Also...
Top Bottom