Search results for query: *

  1. L

    Question export list box data to database

    Thanks for the clarification. Quick question. I am still getting an InnerException stating that the Object reference is not set to an instance of an object. Do I still need to declare the Connection and DataAdapter objects in code when using the data access wizard, or is that taken care of for...
  2. L

    Question export list box data to database

    Ian, Your example explained a few things to me more clearly than a couple of the books I am reading. I followed your code example pretty close, but I'm still coming up with errors. Private Sub Calculator_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load 'TODO...
  3. L

    Question export list box data to database

    Ian, Yes, I do have experience with Access and basic SQL commands. I have been reading about data access components in VB.NET, and tried experimenting with the available data access wizards. I am aware of the objConnection and objDataAdapter objects, and that they need to be declared along...
  4. L

    Question export list box data to database

    I have a simple calculator app. The user enters numbers into two separate text boxes. The user can press one of four buttons for each arithmetic operand. The result is displayed in the result label. If the user presses the Display button, the entire operation is displayed in a list box, which...
  5. L

    Class, class inheritance, list box

    Ian, You are awesome. The description you provided along with the code examples helped me to understand what the code is actually doing. Thank you for the advice: I turned Option Strict on and will use code tags in future posts. The code works perfectly, but if I wanted items to be added to...
  6. L

    Class, class inheritance, list box

    This is what I have for the class. I know I'm on the right track, just unsure of what I'm missing. Public Class MathOP 'Define fields Private FirstNum As Single Private SecondNum As Single Private Result As Single 'Define Constructor Public Sub New(ByVal FirstNum As...
  7. L

    Class, class inheritance, list box

    Can you show me an example of the syntax?
  8. L

    Class, class inheritance, list box

    I've created a Form that allows a user to enter two numbers, one in each textbox. There is an add/subtract/multiply/divide button. The user then presses Save to save the equation, and Display to display the entire equation in the listbox, which can store up to ten equations. I am to use a class...
Back
Top