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

Visual Basic

 
QuestionGet Picture if background is transparent Pin
Anubhava Dimri21-Aug-09 21:51
Anubhava Dimri21-Aug-09 21:51 
AnswerRe: Get Picture if background is transparent Pin
Eddy Vluggen22-Aug-09 2:17
professionalEddy Vluggen22-Aug-09 2:17 
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 
Set a form level flag before you do the check bChecking to true, inside your event code return if the flag = true, this will short circuit the recursive loop. Then the last line (after setting the checkbox) set bChecking to false so it is ready for the next event. Something like the following

Private bool bChecking
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
if bCheckeing then return
bchecking = true
If Status.Text = "Not Connected" Then
MsgBox("Interface is not pluged in", MsgBoxStyle.OkOnly + vbCritical, "Error")
CheckBox1.Checked = False
bchecking = false
Else
'The Code to Run My Program '
End If
End Sub


Never underestimate the power of human stupidity
RAH

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

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.