check boxes, determining checked state

  • Thread starter Thread starter Kurt
  • Start date Start date
K

Kurt

Hi, below is a bit of code I use to check the state of a checkbox and set varible using VB-4, VB-6

Can someone help me out and show me how this would be done in VB.NET?
Thank you in advance.

'**************************************************
' AutoBackup on or off

Abackup = Form4.Check2

If Form4.Check2 = 1 Then Abackup = 1
If Form4.Check2 = 0 Then Abackup = 0

'**************************************************
 
---------------------------------------------------------------------------------
Thank you Peter, now for the checkboxes in my program I might be able to move forward. I was able to get that resolved. but I still can't read serialnumber of drive. any new ideas on that.
A big thanks again to you.
Are you and I the only people on this site any mor?
 
Back
Top