|
-
Sep 9th, 2009, 07:24 AM
#1
Re: How To Load In Combo Box ?
they are strings, not variables
WebBrowser1.Document.All(cons).Value = "starts"
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Sep 9th, 2009, 07:57 AM
#2
Thread Starter
Lively Member
Re: How To Load In Combo Box ?
[B]
 Originally Posted by westconn1
they are strings, not variables
WebBrowser1.Document.All(cons).Value = "starts"
Newbie Here Bro I Understand they are strings Now What Do I Do With Them
Sorry If I Am taking Too Much Time Of Yours Guys
Last edited by _-Rs-_; Sep 9th, 2009 at 08:49 AM.
-
Sep 9th, 2009, 08:16 AM
#3
Frenzied Member
Re: How To Load In Combo Box ?
 Originally Posted by _-Rs-_
Newbie Here Bro Ok I Understand they are strings Now What Do I Do With Them Ware To Put Code In Private Sub Combo2_Change Or Command1_Click Or Form_Load
i would use the combo Validate... - this runs when the control focus is lost...
-
Sep 9th, 2009, 08:41 AM
#4
Thread Starter
Lively Member
Re: How To Load In Combo Box ?
 Originally Posted by wpearsall
i would use the combo Validate...  - this runs when the control focus is lost...
combo Validate Hmmm Bro Can You Make An example Source
With That Site http://www.apcentralpower.com/search/search_hyd2.jsp
It will Give Me A Good Idea About What Your Saying 
peace
-
Sep 9th, 2009, 09:01 AM
#5
Frenzied Member
Re: How To Load In Combo Box ?
 Originally Posted by _-Rs-_
Code:
Private Sub Combo1_Validate(Cancel As Boolean)
Select Case Combo1.ListIndex
Case 0:
WebBrowser1.Document.All("cons").Value = "starts"
Case 1:
WebBrowser1.Document.All("cons").Value = "contains"
Case 2:
WebBrowser1.Document.All("cons").Value = "exactly"
End Select
End Sub
-
Sep 9th, 2009, 10:15 AM
#6
Thread Starter
Lively Member
Re: How To Load In Combo Box ?
 Originally Posted by wpearsall
Code:
Private Sub Combo1_Validate(Cancel As Boolean)
Select Case Combo1.ListIndex
Case 0:
WebBrowser1.Document.All("cons").Value = "starts"
Case 1:
WebBrowser1.Document.All("cons").Value = "contains"
Case 2:
WebBrowser1.Document.All("cons").Value = "exactly"
End Select
End Sub
Thank You So Much Bro It Worked Keep Rocking
Last edited by _-Rs-_; Sep 9th, 2009 at 10:19 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|