Search results for query: *

  1. M

    I do not know when these variables are emptying.

    Alright, Here is the situation: I have a main form (Form1 (Yes, I know the naming convention for the forms are horrible.)). This Form has two fields filled out and once those fields are filled by the user, the main form makes a call to another form (Form3). This form has several text boxes...
  2. M

    SELECT statement returning 0 Rows Incorrectly

    Hello everyone, I have an odd situation: I have a data table in a database with one column and only one row. This table is supposed to stay at the size of one row and one column. When I use the below SELECT statement on this table, I get no rows returned. Why? "SELECT * FROM...
  3. M

    Need to print to label printer with formatted text.

    Hello everyone, Here is the situation: I have a DYMO label printer. Currently, it is using 4" x 2.31" labels. I need to have my application print a label from this printer at the push of a button. This label needs to be formatted as such: Arial, regular, size 36 (centered) Arial, regular...
  4. M

    How do I add a counter to an existing field?

    Hello everyone, Here is my problem: I have a primary key field in an Access table. This field keeps track of lot numbers for my company. However, sometimes, we lose the slips that tell the users the lot number. In this case, we need to put in some kind of default value for the lot number...
  5. M

    Syntax error (missing operator) in query expression.

    Syntax error (missing operator) in query expression. (Another Update Command Problem) Hello everyone. :) So here is the problem: I am trying to update a record within an Access Database. However, at the .Update line, I get the attached error. This database contains one AutoNumber field...
  6. M

    UpdateCommand Error

    Well, it looks like I'm back to report that I have encountered another error. I don't know where this one has come from but I have no idea what to do. Remember that primary key error I was encountering? (http://www.vbdotnetforums.com/showthread.php?t=10946) Well, my code was working fine until...
  7. M

    Issue with parameters needing to have explicitly set types.

    So I am working with a data adapter that has a select and update command. Now, when my code is set up like this: AccessAdapter.SelectCommand = New OleDb.OleDbCommand("SELECT * FROM tbl_HCI_Lot_Inspection_Data", AccessConn) AccessAdapter.UpdateCommand = AccessCommand...
  8. M

    Trying to set a primary key within a dataset.

    I have an MS Access 2003 database that I am trying to interact with using ADO .NET methods. I generate a data adapter complete with select, insert and update commands. Now, this database does not have a primary key defined. Now, when I want to update a row in the database, I am trying to use the...
  9. M

    How does a parameter get a default value?

    How does a parameter get a default value? (RESOLVED) Hello everyone, I have attached an image of the exception I continue to smash my head into even as I make this post. This exception occurs in this little block of code: Dim verify AsInteger = 0 Dim AccessConn AsNew...
  10. M

    Need to move data from GUI to Access Database.

    For some reason, I feel like I have not found anything about how to do this in .Net. I initially wanted to import a CSV text file into Access using oleDb stuff. However, I am struggling with this and a co-worker suggested I try to simply take all of my variable values and directly turn them over...
  11. M

    How do I re-Load a Form?

    So my project involves a "New" button. This button when clicked pops up a message box that asks if I'd like to save the current information before continuing on. It is a YesNoCancel message box. When I click Yes or No, I need the form to be re-loaded back to all of its default values. How can I...
  12. M

    RGB for Control color from System.Colors

    I am trying to create a bitmap image that will be used over a Radio Button. This image, well actually two of them, will simulate a Radio Button. There is an "unclicked" image and a "clicked" image. I'm drawing these images in Paint (the application, not the event handler) and I need the color...
  13. M

    I can't see my Drawing on a Button

    Hello, So, I am trying to use graphics to draw a black triangle on Button1. I am trying to draw this at the time the form loads. However, when I run my code, there is no triangle drawn on my button. :( Why not? Here is the code I'm using in the Form1_Load function: All help is greatly...
  14. M

    NumericUpDown Image help

    Hello, everyone. I've very recently begun using VB .NET and these forums have already been incredibly helpful in converting some of my VB6 code to VB .NET. Onto my question: I need to use a numericupdown control. However, I need the up/down buttons to be bigger. How can I resize those? These...
Back
Top