To start this forum, here is a link to VB6 example that demonstrates how to automate a Google search:
1. Read first keyword from file
2. Search for keyword
3. Click next button (if more than 10 results)
4. Read next keyword (and so on...)
This example roughly related to the following FAQ: http://www.iopus.com/iim/help/faq_extract_pages.htm
VB6 Source code Download link
http://www.iopus.com/download/forum/iim ... search.zip
The ZIP file contains the VB6 project plus the Google macros.
The example also shows how to work with pagination, even if the numbers of pages vary.
PS: If you have examples that you want to offer for download, just post the text in the forum, then email us the code at support2 (at) iopus.com and we upload it to our server and add a link to your post.
Automate Google Searches - VB6 example
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
- Tech Support
- Posts: 4948
- Joined: Tue Sep 20, 2005 7:25 pm
- Contact:
- Tech Support
- Posts: 4948
- Joined: Tue Sep 20, 2005 7:25 pm
- Contact:
It works well with V5.0.
In general, the syntax changes between V4.x and V5.0 are very small, so every program/script that works with V4.x will work with no or almost no changes with the new version V5.0.
Please see http://www.iopus.com/iim/support/iim-4-to-5.htm for the small but complete list of changes.
In general, the syntax changes between V4.x and V5.0 are very small, so every program/script that works with V4.x will work with no or almost no changes with the new version V5.0.
Please see http://www.iopus.com/iim/support/iim-4-to-5.htm for the small but complete list of changes.
- Tech Support
- Posts: 4948
- Joined: Tue Sep 20, 2005 7:25 pm
- Contact:
Re: Automate Google Searches - VB6 example
We updated the example to work with iMacros V6.22 and the revised Google home page.
Re: Automate Google Searches - VB6 example
Hi,
I donwloaded the program and follow instructions in setting up. But, it does not work.
When I clicked the button for "Load Keywords & Extract Search Results", I got this error:
Runtime error '438'
Object doesn't support this property or method
When I open the debugger, the error points to: sData = iim1.iimGetLastExtract()
lbl_message = "NEW KEYWORD: " + sKeyword + vbCrLf + lbl_message
iRet = iim1.iimDisplay("Search: " + sKeyword)
iRet = iim1.iimSet("-var_search", sKeyword)
iRet = iim1.iimPlay("1Google_Search")
sData = iim1.iimGetLastExtract()
If iRet < 0 Then lbl_message = iim1.iimGetLastError() +
Hope you can help,
Roy
I donwloaded the program and follow instructions in setting up. But, it does not work.
When I clicked the button for "Load Keywords & Extract Search Results", I got this error:
Runtime error '438'
Object doesn't support this property or method
When I open the debugger, the error points to: sData = iim1.iimGetLastExtract()
lbl_message = "NEW KEYWORD: " + sKeyword + vbCrLf + lbl_message
iRet = iim1.iimDisplay("Search: " + sKeyword)
iRet = iim1.iimSet("-var_search", sKeyword)
iRet = iim1.iimPlay("1Google_Search")
sData = iim1.iimGetLastExtract()
If iRet < 0 Then lbl_message = iim1.iimGetLastError() +
Hope you can help,
Roy