msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Find in webbrowser1

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax
Author Message
graalisation



Joined: 04 Oct 2007
Posts: 2

PostPosted: Sun Jul 15, 2007 7:09 am    Post subject: Find in webbrowser1 Reply with quote

I use a webbrowser and I want to create a search tool within the page itself.
I use the following code but it doesn't work.

Private Sub Command1_Click()
searchstr = Text1.Text
WebBrowser1.ExecWB OLECMDID_FIND, OLECMDEXECOPT_PROMPTUSER, searchstr
End Sub

The text to be search is to be instered in the Text1.Text and then I click on
Command1.
What must I do to correct this?

Archived from group: microsoft>public>vb>syntax
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group