Web Browser Finding Specific Information?
Aug 26, 2009
I really have some question regrading web browser, and i don't understand why am i getting this error
"Object reference not set to an instance of an object."
This is the page source
PHP
<a name="profile-comment-username" href="/user/one4one" style="font-size: 12px;"><b>one4one</b></a>
you see the (one4one )
I want my program to go and search on the website, and if it founds it then i just show a message box ("Found")
here is my code
PHP
For Each DivTag As HtmlElement In Webbrowser1.Document.GetElementsByTagName("a")
Dim s = DivTag.GetAttribute("profile-comment-username")
If DivTag.Parent.OuterText.Contains("one4one") = True Then
[Code]....
View 8 Replies
ADVERTISEMENT
Jul 24, 2011
I wonder if it is possible to find a specific row and specific columns in data base file (Access) . You see , I am using a DataGridView control to show only SOME of the columns (fields) of a table from an Access file . For example , lets say that in the DataGridView control I only show the following fields :Field1 , Field2 and Field3 .Now , when the user selects an entry in the DataGridView control , I want to insert the text from Field4 into a text box on the form .
The problem , however , is that I don't know how to get the specific row in the data base file and also I don't know how to get the text in column (field) Field4 of that row .One thing that might be important is that the index of the row in the data base file is not necessarily the same with the index of the current row in the DataGridView control . This is because in the DataGridView control the rows are order by the contents in the ID Field .ol .
View 2 Replies
Oct 27, 2009
The below picture is generated by the following code:
Public Class Form1
Private Sub Form1_Paint(ByVal sender As Object , ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me .Paint
[Code]....
What I want to do is when I click on each grid on the form (Touch Screen), a tooltip of some stored information about the grid appears on screen. For example, if I click my mouse on square 6,8 then some stored information such as grid number, grid name, level...etc appears on the tooltip on the screen.
View 5 Replies
May 27, 2011
I have been searching a lot online but couldn't find a solution for my problem. I want it to refresh every certain interval of time without this message to display. Now Ican't minimize my program because I'm putting an automatic Sendkeys.send("{Enter}") after the refresh to get rid of that message by clicking on "Retry".And If I minimize it the Enter will be executed on the active Window, which might be any other Window.
I hope that you understand what I mean, If not, I will clarify more.
View 12 Replies
Oct 12, 2009
I think VB has a way of doing this, but for the life of me I can't find it. I want to search through a string for anything contained between two certain characters, e.g between 2 | characters. I'm not sure if I want to split the string at this point, but I only want anything contained between the two | markers. So for example if the string reads |ABC|DEF I only want to retrieve the ABC, but not the DEF as it's not completed yet.
View 3 Replies
Apr 7, 2011
How can i check if the username has a administrator role or a member..
here is my code..
vb.net Try Dim connection As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:UsersMaynielDocumentsVisual Studio 2010ProjectsSampleSystemUserAccount.mdb")'Get the count of the records with matching user ID and password.
[Code]...
View 8 Replies
Dec 2, 2009
if i wanted to return a value from a dataset using the ID how could i search it.. its going into a textbox..
so
dataset1 has
INDEX, ID, fig1,fig2,fig3,fig4
I want to return fig1 where ID = myID
textbox1.text = fig1
View 5 Replies
Feb 17, 2011
I am having issues finding resources detailing building Speech Recognition grammars using VB.NET, Speech.Recognition.GrammarBuilder, and .NET 4.0. I have found a few examples on the Internet, but they seem to just go over the basics. Does anybody know where I can find a good source on detailed information, as well as Speech development in general. I mostly see links to class definitions, but no explanations and discussions.
View 7 Replies
Oct 24, 2011
Using VB.NET i want find a specific string that occurs in column B of an Excelsheet and copy that entire row and paste it in a new worksheet. This string occurs a couple of times in this B column.I know how to open up an excel sheet in VB but I'm having difficulties searching for the string and then copying that entire row and do it multiple times (loop until the end of the column)
View 4 Replies
May 27, 2012
I have an assignment due tomorrow, and I thought I had it all figured out but there is one question I don't know how to program. The assignment consists of a form with textboxes in which the user types info about a book (author, title, genre, etc.), which he can save to a textfile by clicking the save button. (At the moment it's not saving it to a textfile but just a 'file', which can be opened with notepad but is of no specific datatype, not sure how I do that, but is less important). There is also a button with which the user can display information from a different, earlier created textfile.[code]
View 1 Replies
Feb 25, 2009
I want to extract a specific information from a webpage.For example:url...So can I make the software see what's between "<h1>Your IP address is<BR>", to "</h1>"?And doing all this by using the webbrowser form in Visual basic studio 2008.
View 1 Replies
Jul 21, 2009
Why this program is not stopping when I hit the specific information it needs to stop?I get everything to work the way I want it to,
[Code]...
View 2 Replies
Apr 11, 2009
Not sure if this is possible at all. I was hoping somebody could help point me in the right direction. Right now im not quite sure what to search for or what this would be called. Basicly I was wondering if it is possible to design a application in vb.net 2008 that could search a website for specific information.
View 1 Replies
Jul 3, 2011
How do I get the form to do something if the web browser goes to a specific url?
View 2 Replies
May 7, 2009
I am trying to input specific information on a form. I have created an sql statement from a table that will out put 18 rows of data. I have opened a recordset and instituted a do until loop. I need for the program to look at each row and if the Standard Score = the value of a field I have on the form it takes the value of the other three columns in updates it on the form. I have created the code and it works for upto 3 (Do Until loops)records, but when I try to add a 4th in the SQL statement and put in another do loop my computer runs it but it acts as if it freezes up.
[Code]...
View 1 Replies
Feb 25, 2010
I'm trying to enter new information in a specific node in a xml file. This is the structure of the xml file:
<Root><Title 1><Title 2></Title 2></Title 1></Root>
How would I update <Title 2></Title 2> field?
View 1 Replies
Sep 5, 2008
I am very new at this, but I am writing a program to log in and read information off of specific web pages. I have gotten serveral working already, but I'm having a problem with this one. Here is the code in question:
[Code]...
View 2 Replies
May 8, 2012
I'm just starting out with vb and am working on a single form project.
Basically I'm trying to take information entered in a textbox on the main forum, Appear in a tab control at the bottom of the forum through the use of a button.
As far as I can tell, I need to code the onclick button portion of it but am unsure about how to pass the information to the specific label in the tab control.
View 1 Replies
Jun 22, 2009
txtMsg.Text = "Message from " & e.MSISDN & " . Message - " & e.TextMessage &ControlChars.CrLfand i want to change it to insert into a listview instead.Eg inserting the e.MSISDN information into a FROM column of the listview.
View 2 Replies
Nov 1, 2009
I'm trying to get the version of IE and Google Chrome from the registry. I've successfully been able to get IE, but it seems chrome is eluding me.The following code is what I'm trying:
vb.net
Public Sub ChromeVersion()
Dim SoftwareKey As String = "HKEY_CURRENT_USERSoftwareGoogleUpdateClients{8A69D345-D564-
[code].....
View 2 Replies
Jan 9, 2010
I want to know how you can open a form with specific information as if you are just calling a sub, kinda like how a message box is. Example:
MyForm.Show("The form title")I also want to know how I could apply this to forms that are being created from pre existing forms. Exaple:
vb Dim NewMyForm as New MyForm("Title Text")'Now I want to know for each of these next 2 lines of code, think of them as being different codes all together.NewMyForm.Show() ' orNewMyForm.MdiParent = Form1NewMyForm.Show
View 30 Replies
Nov 6, 2009
How do i can put more lines for specific information of regex?
...Regex("(?<=SOMETHING).+?(?=SOMETHING)")
Once again selected from RuneScape, because here is best code for it.
<tr class="row rowp4">
<td align="center">
<img class="miniimg" src="http://www.runescape.com/img/hiscores/skill_icon_strength1.gif">
</td>
[code]....
View 3 Replies
Jan 14, 2010
I have incorporated a 3rd party program in my project to run at certain times, but when this 3rd party program is ran, it opens an instance of IE every time it is ran. I dont want this ie open when my program is running. So i was hoping to incorporate code that will close that IE page when it opens. It has the same Title every time it opens. is there code that can sniff out the title of an IE browser window and then close it?
View 2 Replies
Feb 17, 2011
I am wondering how I can select and pull specific bits of data from a block of information a user pastes into a textbox. For example, the information has fixed words and is always in the same format, but the numbers relating to the words may be different. One report might say, for example, Cars: 1.176 and another may say Cars: 863. How do I pull the information about the "cars" from a the block of text with the number value even though it can be different each time?
I must note that there are many many of these scattered throughout the average report and I need to pull the values of each of them in a single click, then paste those values into a different area on the form.
View 6 Replies
Apr 27, 2012
I need to store specific information about a user in a file of some sort. Something like an old ini file?
I will need to save a file for each customer.
CustomerName
OrderDate
DeliveryDate
[Code]....
All things point to a database but for several reasons I can't use a database.
View 2 Replies
Mar 8, 2009
Is there a way to have your program automatically create a proxy for a specific browser, like IE, when your app is running? I was thinking that maybe you could create a VLAN proxy or something and a button on the app to toggle it on and off. But I'm not sure how or if one can do it.
View 1 Replies
Jun 9, 2012
so i have came so far by now :
Public Class Form1
Private Sub WebBrowser1_DocumentCompleted(sender As Object, e As WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
[Code]....
anyways, i want to simulate a click in a specific spot of this browser ... lets say i want to click the upper part of the webpage . how will i do that ? i actually searched but i found only click given the coordinates of the desktop or things like this but nothing for giving coordinated to your program and that will click INSIDE your browser
View 3 Replies
Jul 28, 2011
Ok I have a code which will detect whether a browser is running.(Here iexplorer, chrome and firefox)
When someone presses a button, i would like the program to execute a javascript code in the browser selected..I have no idea how this can be acheived
View 3 Replies
Aug 11, 2010
I currently have a XML file for an application I am developing. I have built a a XMLFile.GetContent function to read my XML File and load the content into a set of specific objects. These objects are then added to a collection and passed back to the main code to be loaded into the memory of the application.I am looking for a dynamic way of loading the information from the XML file into a specific Object Property. I have added comments to the function to show what I want to make dynamic.Content of XML File
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Config>
<IQSDataSources>[code].....
View 2 Replies
Sep 5, 2008
I am writing a program to login and read information off of specific web pages.I have gotten serveral working already, but I'm having a problem with this one.
<input name="DL_AUTH_USERNAME" type="text" size=10 style="font-size:9px;font-family:arial">Password:<input name="DL_AUTH_PASSWORD" type="password" style="font-size:9px;font-family:arial"><input type="hidden" name="next" value="/"></span><input type="submit" value="Go" class="button">
For some reason I can get it to load username and password but I cannot figure how to get it to click the go button.
View 4 Replies