Click here to Skip to main content
15,915,702 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to create an activex control Pin
cstrader23210-Sep-06 14:45
cstrader23210-Sep-06 14:45 
GeneralRe: how to create an activex control Pin
cstrader23210-Sep-06 15:18
cstrader23210-Sep-06 15:18 
GeneralRe: how to create an activex control Pin
Dave Kreskowiak10-Sep-06 16:10
mveDave Kreskowiak10-Sep-06 16:10 
QuestionControl array problems! help plz Pin
kevindotnet9-Sep-06 4:26
kevindotnet9-Sep-06 4:26 
AnswerRe: Control array problems! help plz Pin
mr_lasseter9-Sep-06 5:38
mr_lasseter9-Sep-06 5:38 
AnswerRe: Control array problems! help plz Pin
Stephen McGuire9-Sep-06 7:54
Stephen McGuire9-Sep-06 7:54 
GeneralRe: Control array problems! help plz Pin
kevindotnet9-Sep-06 19:53
kevindotnet9-Sep-06 19:53 
GeneralRe: Control array problems! help plz Pin
kevindotnet9-Sep-06 20:15
kevindotnet9-Sep-06 20:15 
Hi Steve, ur code only checks a single combox and returns false if the control text is empty. I add a integer to count, and make sure all the boxes are checked. Add 1 if it is not empty.

Private Function checkCbos() As Boolean
Dim myControl As Control
Dim count As Integer = 0
For Each myControl In Me.Controls
If TypeOf myControl Is ComboBox Then
If myControl.Text = "" Then
'Set error provider
errorPro.SetError(myControl, "Do not leave box empty!")
'Return False and exit to calling procedure
Else
'Clear the error provider
errorPro.SetError(myControl, "")
count += 1
End If
End If
Next myControl
'If code gets to here, no combo's text is ""
If count = 6 Then
Return True
Else
Return False
End If
End Function
GeneralRe: Control array problems! help plz Pin
Stephen McGuire10-Sep-06 2:52
Stephen McGuire10-Sep-06 2:52 
QuestionMaking a Shell Pin
FeRtoll9-Sep-06 3:06
FeRtoll9-Sep-06 3:06 
AnswerRe: Making a Shell Pin
Jun Du9-Sep-06 6:09
Jun Du9-Sep-06 6:09 
GeneralRe: Making a Shell Pin
FeRtoll10-Sep-06 5:56
FeRtoll10-Sep-06 5:56 
QuestionDatagrid question Pin
Nikhil Bandekar9-Sep-06 1:11
Nikhil Bandekar9-Sep-06 1:11 
AnswerRe: Datagrid question Pin
RoboTheToolMan9-Sep-06 16:06
RoboTheToolMan9-Sep-06 16:06 
QuestionBar code reading Pin
Sarbjit Singh9-Sep-06 0:13
Sarbjit Singh9-Sep-06 0:13 
AnswerRe: Bar code reading Pin
Dave Kreskowiak9-Sep-06 7:05
mveDave Kreskowiak9-Sep-06 7:05 
QuestionHelp: Getting the IPAddresses of Computers in a Workgroup Pin
lordkaile8-Sep-06 22:41
lordkaile8-Sep-06 22:41 
AnswerRe: Help: Getting the IPAddresses of Computers in a Workgroup Pin
Dave Kreskowiak9-Sep-06 7:03
mveDave Kreskowiak9-Sep-06 7:03 
GeneralRe: Help: Getting the IPAddresses of Computers in a Workgroup Pin
lordkaile9-Sep-06 22:42
lordkaile9-Sep-06 22:42 
GeneralRe: Help: Getting the IPAddresses of Computers in a Workgroup Pin
Dave Kreskowiak10-Sep-06 5:29
mveDave Kreskowiak10-Sep-06 5:29 
GeneralRe: Help: Getting the IPAddresses of Computers in a Workgroup Pin
lordkaile11-Sep-06 0:43
lordkaile11-Sep-06 0:43 
GeneralRe: Help: Getting the IPAddresses of Computers in a Workgroup Pin
Dave Kreskowiak11-Sep-06 2:00
mveDave Kreskowiak11-Sep-06 2:00 
QuestionVB.net 2003 application Pin
MohamadJaber8-Sep-06 21:47
MohamadJaber8-Sep-06 21:47 
AnswerRe: VB.net 2003 application Pin
lordkaile8-Sep-06 22:31
lordkaile8-Sep-06 22:31 
Questionflicker in win app refresh Pin
Are Jay8-Sep-06 20:42
Are Jay8-Sep-06 20:42 

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.