Click here to Skip to main content
15,894,405 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Get Picture if background is transparent Pin
Anubhava Dimri22-Aug-09 2:45
Anubhava Dimri22-Aug-09 2:45 
GeneralRe: Get Picture if background is transparent Pin
Eddy Vluggen22-Aug-09 3:22
professionalEddy Vluggen22-Aug-09 3:22 
GeneralRe: Get Picture if background is transparent Pin
Anubhava Dimri23-Aug-09 18:54
Anubhava Dimri23-Aug-09 18:54 
GeneralRe: Get Picture if background is transparent Pin
Eddy Vluggen23-Aug-09 21:06
professionalEddy Vluggen23-Aug-09 21:06 
QuestionCheck box Error Message Pin
Bob Beaubien21-Aug-09 16:51
Bob Beaubien21-Aug-09 16:51 
AnswerRe: Check box Error Message Pin
Mycroft Holmes21-Aug-09 17:38
professionalMycroft Holmes21-Aug-09 17:38 
GeneralRe: Check box Error Message Pin
Bob Beaubien22-Aug-09 3:28
Bob Beaubien22-Aug-09 3:28 
GeneralRe: Check box Error Message Pin
Bob Beaubien22-Aug-09 6:04
Bob Beaubien22-Aug-09 6:04 
Ok i tested it and that part you showd me works perfect now i have a other problem
When click the check box with the device not conectted i get the error msg box and the check do not stay thare that part works good
When click the check box with the device conectted it runs the code
If CheckBox1.Checked Then
                NumericUpDown1.Value = CType(CTemp.Text, Integer) + 1
                NumericUpDown2.Value = CType(CTemp.Text, Integer) - 1

and it works

But when you click to take the check out of the check box it will not run this code

Else
                NumericUpDown1.Value = 0.0
                NumericUpDown2.Value = 0.0
                phidgetIFK.outputs(0) = False
                phidgetIFK.outputs(1) = False
            End If

witch it was working before i put the bChecking

Private Sub CheckBox1_CheckedChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
        If bChecking Then Return
        bChecking = True
        If Status.Text = "Not Connected" Then
            MsgBox("interface is not connected. Connect USB cable and try agine.", MsgBoxStyle.OkOnly + vbCritical, "Error")
            CheckBox1.Checked = False
            bChecking = False
        Else
            If CheckBox1.Checked Then
                NumericUpDown1.Value = CType(CTemp.Text, Integer) + 1
                NumericUpDown2.Value = CType(CTemp.Text, Integer) - 1
            Else
                NumericUpDown1.Value = 0.0
                NumericUpDown2.Value = 0.0
                phidgetIFK.outputs(0) = False
                phidgetIFK.outputs(1) = False
            End If
        End If
    End Sub




Thanks for every ones help
Questionrelative positioning of objects on forms Pin
tolmega0121-Aug-09 11:42
tolmega0121-Aug-09 11:42 
AnswerRe: relative positioning of objects on forms Pin
Henry Minute21-Aug-09 12:41
Henry Minute21-Aug-09 12:41 
AnswerRe: relative positioning of objects on forms Pin
Mycroft Holmes21-Aug-09 17:27
professionalMycroft Holmes21-Aug-09 17:27 
Questionhow can I load a word document into a form? Pin
waner michaud21-Aug-09 7:37
waner michaud21-Aug-09 7:37 
AnswerRe: how can I load a word document into a form? Pin
Mycroft Holmes21-Aug-09 17:31
professionalMycroft Holmes21-Aug-09 17:31 
QuestionRestoring mySQL database via VB net application problem Pin
558 jakobsson21-Aug-09 5:54
558 jakobsson21-Aug-09 5:54 
AnswerRe: Restoring mySQL database via VB net application problem/SOLVED Pin
558 jakobsson22-Aug-09 2:09
558 jakobsson22-Aug-09 2:09 
QuestionHow to Get the Source Path Pin
Anubhava Dimri21-Aug-09 2:01
Anubhava Dimri21-Aug-09 2:01 
AnswerRe: How to Get the Source Path Pin
DidiKunz21-Aug-09 2:19
DidiKunz21-Aug-09 2:19 
GeneralRe: How to Get the Source Path Pin
Anubhava Dimri21-Aug-09 18:13
Anubhava Dimri21-Aug-09 18:13 
AnswerRe: How to Get the Source Path Pin
Tom Deketelaere21-Aug-09 3:26
professionalTom Deketelaere21-Aug-09 3:26 
GeneralRe: How to Get the Source Path Pin
Anubhava Dimri23-Aug-09 19:37
Anubhava Dimri23-Aug-09 19:37 
GeneralRe: How to Get the Source Path Pin
Tom Deketelaere23-Aug-09 20:46
professionalTom Deketelaere23-Aug-09 20:46 
GeneralRe: How to Get the Source Path Pin
Dave Kreskowiak24-Aug-09 3:28
mveDave Kreskowiak24-Aug-09 3:28 
QuestionRun Application when Computer Start Up Pin
Ahmad Rifai Yusuf20-Aug-09 20:31
Ahmad Rifai Yusuf20-Aug-09 20:31 
AnswerRe: Run Application when Computer Start Up Pin
darkelv20-Aug-09 20:46
darkelv20-Aug-09 20:46 
AnswerRe: Run Application when Computer Start Up Pin
Hristo-Bojilov20-Aug-09 23:25
Hristo-Bojilov20-Aug-09 23:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.