Scraping Results From A Site Or Search Engine With VB6?
Jul 7, 2010
Is there anyway to access internet sites if i code in VB6. i have gone thru a few basic tutorials and didn't found any command/method to develop or code a program which can access internet and do my work.
one of the BIG hurdles in my simple project, making a search engine. I don't know how at all. The search engine need only to search in one Directory with its sub directories and txt files for criteria, and display the results, with option open from the results. any basic code or example maybe?
changing the way the site search is done from just search a phrase as one string to searching a phrase "as multiple words" search. For example, if I search "cute puppy" right now, it will search it for "cute puppy" as phrase and won't match just "cute" and "puppy". The way the search is implemented is by passing a search phrase to a Stored Procedure in SQL Server.So now, I need to change to site search so when "cute puppy" is searched, it will search two words.... "cute" and "puppy" instead of just "cute puppy". Below is how the store procedure is implemented
I have a search engine that is supposed to search through descriptions of products and then will display something with a list of products that have whichever word(s) or phrase the user was looking for. I haven't made any kind of list for the products that use the description though.
I just need to figure out why my SELECT statement isn't doing anything. It's either that or the For Each loop.
This is what I have:
Public Function GetDescriptions(ByVal prefixText As String, ByVal count As Integer) As String() Dim MarketingSql As String = "Select MarketingID, MarketingType, MarketingData
I always search over the internet for while programming even for small matter. Is this bad habit? Do programmers search over net for frequently or not? If yes then which search engine they use mostly?
i'm working on a application whereby there is a keyboard which is create on FLASH. So i implement it into vb.net. So everytime i click on 'A', it will go into the database and search for all the stuff that contain 'A' and display on the flash textbox. If i type 'An', i will appear all the stuff in a Flash textbox. Just like yahoo, when you type 'An' there will have a downdrop appearing all the words that starts, end or inbetween have 'An'.
I have a system on my webbrowser that allows the user to choose their Search Engine out of a selection I organized. the down point is that I have it set so when they click save it will just hide, because if it closes the settings will be reset and not saved. However I want them to save. Here are my codes to the search button:
Private Sub Search_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Search.Click If SearchEngines.RadioButton1.Checked Then CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate("http:www.google.com/search?hl=en&q=" & SearchBar.Text & "&btnG=Google+Search&meta=")
[code]....
This is the code of save:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Hide() End Sub
I would like it so it saves when the whole program is closed, so when they start up it's automatically set so they can search on their favourite search engine.
writing a search engine for my database. I use Visual Vasic 6.0 Express Edition and i have a database which i want to be connected to a search engine. Can any1 teach me how to write the code?
Is it possible to build a search engine to use on a DVD that contains Word documents, text documents, etc.? Say I wanted to find all documents with the name "James" in them. In the search box I would type "James", and it would return the results of everywhere James is found. Or suppose I wanted to find all Land Deeds where James is found, is that possible? All search engine examples that I have seen on VB Help has to do with databases, and I guess to an extent, my DVD would be the database.
Ran into a problem. My for loop seems to stop after just for the task. I can't seem how to get it to continue on, I've used this type of loop many times and have never had this problem.
I m writing my first ever application.I want to make a data search engine exactly same as the excel sheet has.The search form is a owned form and has one combobox to specify the search criteria that in which column of the database table i want to search and a textbox to write the search item.What i want is when i type 'A' in the textbox and click the findAll button the search result should display the first matched record in the textbox of owner form and then if i click findNext button the search result should display the next matched record.Same like excel Find and Replace Window.
I'm writing a program that will be searching files for the user and I need to find a good method to do so. Obviously it will need to filter the search to try to get the best result possible.
I'm trying to create my own type of spider/search engine thing for fun. I start with a URL, then grab the HTML ...from that I have a REGEX that is supposed to pull out all the links. I figured I would randomly pick one of those and keep going as I save the HTML to my database.[URL]...You can see that I get some real URLS and sometimes I get back some that are not. NOW I return these to a RichTextBox and on the REAL URLs, these get formatted in blue and make a HAND icon when you float over them. This makes me believe that something SOMEWHERE knows that these are good url's. That would be a good thing to tap into so that I could get rid of everything in that box that is not a real URL.
make a search engine that works on isohunt ( This is a torrent site )Here what I need :A program to search in ( isohunt ) site View the results in a datagridview control Save the search results in any thing to load it at any time?
I'm making a winform program to automatically login to a website and then do a search on the site. Problem is, it works for one site but not for another.
Here's the code:
Code: Dim cookies As CookieContainer = New CookieContainer Try
I would like to search for a member using a text box. i have connected my vb form to an MS access database.I have the following command so far however i would like to search for the forename or the surname, not just the forebame.
I'd like to add a generic search feature to my WinForm application (Visual Studio 2010). I want the users to type in a value (for instance john), and then display a list of any company, contact, or student records that contain the search value in the name[code]...
I have a search engine on my ASP.net 4.0 VB site that in which I need to link the search results with their individual pages. I understand that this can be done simply with a submit button after the search textbox but a submit button wouldn't fit next to the search bar on my page, plus it wouldn't look right.
I'm trying to creat a search form so far ive looked EVERY wher with no luck ive been doing this for a week now ands its really ratteling me that i cant do it.
So i want to populate a combo box with data from my database in access and ive been able to do this ill show the code below, but then i want to be able to click someones name for example "Christopher" and once i click "christopher" i want the textbox's on the form to be filled with the correct information eg address age phone number[code]...
I'm using visual studio 2010 and sql server 2005 to store my data. I'm creating a system that will allow me to find/search for records that are stored within the database. Thing is, i have 2 separate forms for this - one is the find/search page which allows you to enter in as many fields as you want (the more you enter, the more efficient the search is) and the second one is the find/search results page which will show the results from the search.
I'm not using a datagrid as i've already created these forms myself. I'm on a tight schedule because i've spent so much time already trying to get this to work. Do i need to create another dataset and tableadapter and bind the text boxes? how will i code the find/search button so the search will be carried out and the results will appear in the other form?
i'm working with a sql (2005) database and using visual studio 2010. I've created a system where one of the forms is a find/search form. A user can enter in for example, a customerID and once they click on "find/search" the customerID will be searched in the database and if found, all relevant information about the customer will be retrieved and displayed in another form (find/search results page). I realise that this can be done using an SQL statement like follows
searchStr = "SELECT * FROM Customer WHERE CustomerID LIKE CIDTextBox.Text%"
What i'm unsure about is how to execute this SQL statement once the "find/search" button has been clicked and how to display the founded results in another form.
I have a search page, which iam using to search the database fields which holds the technical articles. The fields that iam searching are varchar(max).
Everything is fine..., I want to show the results with the first found instance of searched keywords in bold and some 70 to 100 chars before and after.
Try Dim allelements As HtmlElementCollection = WebBrowser1.Document.All For Each webpageelement As HtmlElement In allelements Dim Name As String = webpageelement.GetAttribute("Name")
[code].....
I let the program search in the "element" parts of the html code,now the last ting I need to do is: I need to get the ID number of every part of the search results.
I would like to have an option to pin the window that contains search results. Currently our application has a search for for instance sales order. Then, when the end user opens a sales order, the search screen is closed, and the sales order is opened for view or edit. However, the users is complaining (with good reason) that they want an option to keep the search window open. Thus, something like a push pin/thumbnail that I can test the state before I open the sale order. If it is pinned, then leave the screen open. If not, close the search screen. I've seen a couple of 3rd party controls like this, but we like to stick to built in/native components only.
Just when I was thinking that I had Linq To Xml sussed I'm faced with yet another error! I think if I was to understand the linq search process in general better I might have more success, so any good links regarding that are also welcome. To my problem however; using the code below: