Search results

  1. D

    Mulitple forms - proper opening/closing of forms.

    Solved part of the problem out. I use a timer, and I did not dispose the timer on closing events, so I was running my clock interrupt twice (which is where I output a messagebox)
  2. D

    Mulitple forms - proper opening/closing of forms.

    Thanks for taking your time to read this post. I open a form from my main application for by the following method: Private Sub HoneywellToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles HoneywellToolStripMenuItem1.Click Honeywell_Form_Open = True If...
  3. D

    Backing up datagridview for restore ability

    OIC. Good suggestion but the user does not enter the data manually. The grid is populated through a serial port.
  4. D

    Backing up datagridview for restore ability

    Hmmmm interesting ideas. The user needs to see the data. Often times they will just gather the data and look at in the grid, so I need to populate a grid of some sort. The user can also export the data to excel for analysis. Additionally, the user can select columns for tread line graphing. I...
  5. D

    Backing up datagridview for restore ability

    I use a datagridview to populate important data that may be accumulating for 6 months at a time. I would like to periodically back up the incoming data. If the system shuts off or similar, we can just restore the data. Since there might be thousands of rows and 11 columns, I hope to do this very...
  6. D

    Form open causing me to not be able to access other form

    Thanks for the reply. That fixed it.
  7. D

    Form open causing me to not be able to access other form

    This seems like a silly question - I have not sat down to work on this program in a month or so. When I open a specific form, it causes me to not be able to click the forms behind it. It flashes and will only let me use that one form until I close it. Any clues why???
  8. D

    Dynamically change icon appearance in menu strip

    You are the man. Thank a lot for that, I completely missed it. Also, when I click the item for check on click, the toolstripmenu disappears, and I have clock tools-->strain guage ---> Selection -->M1 --> to select the next selection. The user will usually always change 2 items at a time. I...
  9. D

    Dynamically change icon appearance in menu strip

    I have a menu strip. In it, I would like to have the user select modes. These modes will rarely be changed. When they select a mode, I would like a dot or checkmark icon to appear in the menu strip by the item that is active. When the user switches modes, the icon will not appear and stay on the...
  10. D

    Getting selected datagridview items

    I have a datagridview with 11 columns and potentially thousands of rows. The user will sometimes need to make graphs from the data. I need to know which cells are selected. Surprisingly, the graph is easier than getting these selected items! Does anyone know how to do this? I would like to have...
  11. D

    How to insert menu bar tabs both vertical and horizontal?

    Yes, just looked up tab control and that looks like it would do the trick! Thanks! Spent hours looking through the objects and did not see that. Do you know if the control tab can be placed vertically rather than horizontally?
  12. D

    How to insert menu bar tabs both vertical and horizontal?

    First off, I am not even sure menu tabs are a thing. I have (multiple) forms with many, many options. But I need these options consolidated or things get confusing. A really nice way to do this would be using items on a bar under my buttons on the top of the form. I already use the options for...
  13. D

    Can I tell if a button is currently being pressed? (real time)

    Thanks guys. I did not know how to separate the events like that.
  14. D

    Can I tell if a button is currently being pressed? (real time)

    Good idea, but how? I tried placing another button on top of the one I am using in order to have 1 button use mouse down event and the other up, did not work well. How can I split the handlers up while still using mouseup and mousedown events? The reason I need mouseup and mouse down is incase...
  15. D

    Can I tell if a button is currently being pressed? (real time)

    Ok this might be easier and there HAS to be a way to do this...How can I check WHICH event is currently happening? So when entering the event for mouse down event, I want to check to see if it is actually for mouse down or mouse up. Any way? Another option would be to redirect 1 of the handlers...
  16. D

    Can I tell if a button is currently being pressed? (real time)

    I use interrupt code for mouse down and mouse up actions for motor control. I simply use flags to control when to turn motor on or off. When a button is pressed down, I send a start motor command. When the button is released I send a stop motor command and the motor is stopped. I have protection...
  17. D

    Making new forms not have multiples open

    I have 5 or 6 forms in a program. Currently, each time the user opens a form, another copy of the same form is opened even if one copy is currently open. This cannot happen in my program and simply makes the program looks sloppy. How can I prevent this? Thx
  18. D

    Calculation (CRC) not giving expected result???

    That explains a lot of the results I was seeing. Thanks much Herman.
  19. D

    Calculation (CRC) not giving expected result???

    Solved. I need to use the And operator rather than the &. That is pretty stupid if you ask me. Any reason for this VB.NET?
  20. D

    Calculation (CRC) not giving expected result???

    I am calculating CRC for specific MCU. When calculating in C the answer comes out fine. When calculating in vb.net...not correct. See code for vb.net and C below. And one know what is going on??? Why are the two results not the same? uint32_t Data = 0x12345678 uint32_t Crc = 0xFFFFFFFF int i...
Top Bottom