Program Is Not Stopping When Hit The Specific Information
Jul 21, 2009Why 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]...
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]...
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.
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.
I have a function to pull data from a XML, and to report a specific number based on a value in one of the elements in the XML. Unfortuntately, I can't get any break points to work, so I've been debugging with a trace.he strange this is that when i take out the function itself it works like it should, otherwise the Service freezes when it gets to the function and never uses it. I'm calling the function in while loop which is also within a Try Statement, here's example of the code.
Public
Shared Function GetXNumber(ByVal
audit As Audit.API)
[code].....
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 RepliesNot 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 RepliesI 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]....
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]...
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?
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]...
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.
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 RepliesI'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].....
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
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]....
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.
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.
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].....
Is there a way to programmatically send information from a text box into specific columns in a DataGridView? I tried
vb.net
Column1.Text = TextBox1.Text
and it obviously does not work.
Is there a possibillity to get in a vb program information from a called vb program?For example: Dim id As Integer = Shell("C:program.exe id_1") program.exe is a vb windows form program and must return a value back.
View 1 RepliesThe info i need extracted is formatted:
<TD><A HREF="http://xxxxx.com/xxxxxx/index.html"><IMG SRC="../xxxxx/thumbnails/xxxxx.jpg"> </A></TD>
<TD>=== <B><A HREF="http://xxxxxxxxx.com/xxxxxxxx/index.html">LINE 0</A></B> ===<BR>
<FONT SIZE="2" COLOR="#400080">
[code]....
how do i extract the info between TD=== and /a and Line 1,2, and 3 and store it into a database from a live website?
I am trying to figure out how VB can focus a specific program and then send commands to the program only. The focus would only be for the commands and would not make the program you are currently in lose focus. Simply, what it is controlling is a Windows Application called GOM Player. I use it to study my material for school. I plays movies in it and don�t have to click out of the application I am working in to pause, play or rewind. The keypad and the company who make it actually have it built into iTunes and it does exactly what I want GOM Player to do.
The reason I dont just use iTunes is because I can�t get my video files to play in iTunes. After pulling teeth with the manufacture I finally to tell me that the iTunes functionality is accessible via plugins built into iTunes. So trying to mimic what is being done there does not help. I believe that a knowledgeable VB programmer could answer my question in seconds, but having some experience with coding and programing I know it also could be a lot more than what I think. [URL]
The question is: What is way that VB can send the key for the macro only to the GOM Player Application even if it is not focused or even If it is minimized.
i'm trying to make a program that searches for a specific file in a specific file, so when the program loads it "writes" in checked list box the names of the drives installed to the computer, but what i want to do is: when the user checks the box, i want it to search for the file in that drive, but i don't know how to do it...
I'm using:
Imports System.IO
Imports System.Collections.ObjectModel
Public Class Form1
[Code].....
how to make it search in the other drives using the checked listbox?
I want to use Msinfo32.exe to save " .nfo" file to specific folder with the help of vb code without poping up-viewing the Msinfo32.exe.
I want all the procedure to handled by code (Run Msinfo32.exe --> File --> Save).
Public Shared Function isMatch(ByVal username As String) As Integer
For i As Integer = 0 To table.length - 1
Dim cellValue As String = table.getRow(i).getCell("Alias")
[Code].....
I have the code listed above as a translation from a Java snippet. The problem i have is that in Java, my table was stored as a dataset and as such, the methods were easily identifiable by "getRow" and getCell" using specific numbers and column names. However in VB the information is stored in an MS Access database (which i already have an open connection to, called: "_SalesPerformance_AnalyticsToolDatabaseDataSet12") and as such i do not know the correct way in which to iterate through each row in the database, checking a specific column against an already specified variable and then returning an integer based upon the value of a seperate column in the same row.
I'm making an installer that needs to have information stored inside the exe itself.I cannot use my.settings because it is stored outside the application and if it is changed and the exe is moved to another computer it will reset to default.
And I cannot use resources since I cannot add/edit resources after the application is build.
Is there any way I can store and change info even if the application is moved to another location?
Is it possible to get information on the APIs in Vb.Net?
View 2 RepliesI'm having a tough time with fixing this problem i'm to make a program that gets information of the net and when the information changes it should show a message box.
[Code]...
I'm doing a project in VB.NET 2005, in which I have to extract the tag information of mp3 files. For that purpose I have used code in this page. But the issue is when one of the tag is empty, it didn't return any values.[code]...
View 2 RepliesI want to ask is it possible to get a information from my program lets say for example: I have one circuit where I store number from one to ten and when the user click a button,the program print them in a list box. Is it possible with another program made with visual basic 2010 to take out that information ? Now someone will say that I will use this information for cracking goals,but that is not true.
[Code]...