check boxes, determining checked state


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

'**************************************************
 
Ad

Advertisements

K

Kurt

---------------------------------------------------------------------------------
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Statefulness in .NET 0
session state 1
View State 2
State Machine Workflow - Annotate state transition 1
Storing state data 0
Session state lost 0
Detecting logon state 0
Cache and Session State 0

Top