Hi im im trying to get attributes from two diffrent tag names.. <img class="chimg" alt="SOME TEXT" src=" #1 IMAGE LINK TO GET"/> <span>" #2 TIME TO GET" </span>" SOME TEXT "</a> </h3> <div> <a href=' #4 LINK TO GET' onclick="window.open('Some link'); return true;" title=' #3 TITLE TO GET' >SOME TEXT</a> I WANT TO PUT THESE IN ORDER FOR EACH LINK DataGridView1.Rows.Add(""IMAGE LINK"", ""TIME TO GET"", ""TITLE TO GET"", ""LINK TO GET"" ) this is what i have so far Dim ElementCollection As Windows.Forms.HtmlElementCollection ElementCollection = WebBrowser1.Document.GetElementsByTagName("a") For Each curElement As HtmlElement In ElementCollection DataGridView1.Rows.Add(curElement.GetAttribute("title"), curElement.GetAttribute("href")) Next Please help..

Member Avatar
Member Avatar
+0 forum 1

Can Somebody help me? i have an error whenever i want to save the data i have retrieved from different table in mysql. my system is doorlock system. im going to choose an item in the combobox and when i click the button, the data i'd chose from the combo box will be retrieved and will be saved in different table. but if it's not in the database there will be a messagebox that is going to appear saying " Invalid Input." i tried this codes: Imports MySql.Data.MySqlClient Public Class Form2 Dim conn As MySqlConnection Dim comm As MySqlCommand Private …

Member Avatar
Member Avatar
+0 forum 4

hi guys im new to c++ can i have some assist ? The manager of a football stadium wants you to write a program that calculates the total ticket sales after each game. There are four types of tickets box, sideline, premium, and general admission. After each game, data is stored in a file in the following form: ticketPrice numberOfTicketsSold 250 5750 100 28000 50 35750 25 18750 output the number of tickets sold and the total sale amount. Format your output with two decimal places. my current file for SampleData.txt 250 5750 100 28000 50 35750 25 18750 my …

Member Avatar
Member Avatar
+0 forum 7

Please don't laugh at my newbieness, this is an 11th grade CS assignment. Constructive feedback would be higly appreciated Ok, so I have an assignement due for next week. It's fairly straight forward. **Task 1** A school keeps records of the weights of each pupil. The weight, in kilograms, of each pupil is recorded on the first day of term. Input and store the weights and names recorded for a class of 30 pupils you must store the weights in a one-dimensional array and the names in another one-dimensional array. All the weights must be validated on entry and any …

Member Avatar
Member Avatar
+0 forum 5

Well if you were like me and Python is your first language. You are trying to learn programming and many people suggested that learn Python as a first language. You take their advice, your download Python and get all set up. Maybe you take a tutorial or two in order to learn some basic syntax... Now you are sitting in front of your computer and you are wondering what to do next. I suggest you start on some projects and get programming to learn more Python. I have created all the projects myself, and will include the source code in …

Member Avatar
Member Avatar
+2 forum 12

Im trying to bind my custom vertical scrollbar to datagridview is this possible.. Please help Thnak you..

Member Avatar
Member Avatar
+0 forum 9

I have this problem which says, "A programmer can use the random feature to emulate the flipping of a coin. For example, if the generator produces a number 0 or 1, the value 0 can be assigned heads and the value 1 can be assigned tails. Write a program that "flips" a coin 50 times. Count the number of times the result is heads. Count the number of times the result is tails." I am using Flowgorithim (a flowchart and algorithim combo) and so far I have: Declare Integer heads Declare Integer tails Declare Integer flipCoin Declare Integer count Display …

Member Avatar
Member Avatar
+0 forum 3

Hello! I am totally stuck. My assignment says, "At one college, the tuition for a full-time student is $6,000 per semester. It has been announced that the tuition will increase by 2% each year for the next five years. Design a program with a loop that displays the projected semester tuition amount for the next five years." Now, I am using flowgorithm for this, which is kinda like pseudocode and flowcharts together. So far I have: Display "This program calculates the projected semester tuition for the next five years. " Declare Real tuition Set tuition = 6000.00 Declare Integer counter …

Member Avatar
Member Avatar
+0 forum 4

Hi Daniweb, I noticed that [this website](http://bit.ly/2d0tjQn) first loads the lists before it gets its css mark-up. Is there a way to prevent this from happening? Thanks a lot!

Member Avatar
Member Avatar
+0 forum 17

Hi been trying to **click on a button.**. ![SnapCrab_NoName_2016-9-18_17-32-55_No-00.png](/attachments/small/4/0d67448b4c9a403d8045742796fd1a6e.png "align-left") heres the **code** from html** webDocument** ![SnapCrab_NoName_2016-9-21_20-35-31_No-00.png](/attachments/small/4/d21666d16295481ea3442c1cbeb44690.png "align-left") within **WebBrowser control**.. **Please Help**.. Thank You.. Heres my code so far.. Dim theElementCollection As Windows.Forms.HtmlElementCollection = Nothing theElementCollection = WebBrowser1.Document.GetElementsByTagName("a") For Each curElement As HtmlElement In theElementCollection If curElement.GetAttribute("id").Contains("remove-over") Then curElement.InvokeMember("click") End If Next **Please Help....**

Member Avatar
+0 forum 0

this is the html: <!--this is my best site so dont look up here and steal!--> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows 1252"> </head> <body> <table bgcolor="white" align="center" border="1" width="400" cellpadding="10" cellspacing="0"> <tr> <td> <h1 align="center">Forms</h1> <hr> <form action="php.php" method="POST" name="form1"> <p><strong>Name</strong><br> <input type="text" name="name" width="20"> </p> <p><strong>Password</strong><br> <input type="Password" name="Password" width="20"> </p> <p><strong>Email</strong><br> <input type="text" name="Email" width="20"> </p><br> <hr> <p><strong>Which OS You Using?</strong><br> <input type="radio" name="OS" value="windows">Windows<br> <input type="radio" name="OS" value="mac os">Mac OS<br> <input type="radio" name="OS" value="linux">Linux<br> <input type="radio" name="OS" value="other">Other<br> </p> <hr> <p><strong>What Do You Do Often In The Computer</strong><br> <input type="checkbox" name="Play" value="1">Play<br> <input type="checkbox" …

Member Avatar
Member Avatar
+0 forum 5

I am creating one application visual basic and sqlce I have two forms name Form1 and Form2. I used Form1 to add data to database using OLeDb command and used Form2 to show data in datagridview by using dataset I used following code: FFORM1 CODE is as following [code] Private Sub Add_data() Try Dim DBConn As OleDbConnection Dim DBInsert As New OleDbCommand DBConn = New OleDbConnection(Myconnection_String) DBInsert.Connection = DBConn DBInsert.Connection.Open() DBInsert.CommandText = "INSERT INTO user(name, designation, age) VALUES (" + textbox1.text + "," + textbox2.text + "," + textbox3.text + ")" DBInsert.ExecuteNonQuery() MsgBox("Data added successfully.", MsgBoxStyle.OkOnly) DBConn.Close() DBConn.Dispose() Catch ex …

Member Avatar
Member Avatar
+0 forum 3

I have a list of 4 upcoming events with a fair amount of detail for each. I'd like for the upcoming event to be first one the list no matter the time of year. I'm not very good at code, but I follow instruction well. Here's what I was thinking: <script> compare today() to each of the 4 divs by some mathematical equation. No need to take into account the year, as these events only depend on the month. If a day option can be included, I'll take it... but that also isn't essential. </script> <div id="3march">All the info for …

Member Avatar
Member Avatar
+0 forum 11

on my university I got an assignment to build a program on OpenGl that read from a given txt file a coordinates of some lines and draw them to the screen. i thank everyone that might help me, I know a little bit programming on C but I'm a little confused when it connects with OpenGl. Thanks a lot.

Member Avatar
Member Avatar
+0 forum 1

Help me to buy a pc with higher end specification..

Member Avatar
Member Avatar
+0 forum 8

Good Day VB.net Geniuses! I'm just wondering if there are still any other free reporting tool that can be use for Visual Basic 2010 Express edition since Crystal Reports is not working for Express edition :( I only have a simple MS Access Database :)

Member Avatar
Member Avatar
+0 forum 14

I am using Visual Studio 13 and programming in visual basic for a intro CSCi class. I need to write a program to calculate weekly pay using a textbox to enter the number of hours via click event, a listbox showing the hours entered, then a text box for hourly rate, another button to calculate weekly pay, then finally two text boxes one displaying the total hours worked and another showing total weekly pay. I got alot of my basics in place and set up my form but none of the code im using is doing what I need to... …

Member Avatar
Member Avatar
+0 forum 2

Can someone check if I got these correct please?? I'm pretty sure I missed almost half of these so I really need help on these. If someone can explain how to get an answer, that would be great. a: 5 b: address of location of x (0x....) c: address of value x (0x...) d: address of value x (0x...) e: 5 f: 3 g: 3 h: 6 i: 9 j: vals k: address of vals + 1 l: address of ptrVals + 2 m: 0 n: 55 o: 55 p: 0 int x; int *ptrX; x = 5; ptrX = …

Member Avatar
Member Avatar
+0 forum 14

Hello, This is my first time posting on this site and I am a beginner VB programmer. I have been able to solve many of my previous questions through existing threads but have not found what I need to solve this problem. My problem is that I have a listbox on my main sheet that I can successfully import data to but am having trouble retrieving the selected items and using them in further calculations. Where I am having the biggest problem now is in the following piece of code: [CODE]ActiveSheet.Shapes("Set_Listbox").Select Dim lItem As Long Dim Count As Integer Set …

Member Avatar
Member Avatar
+0 forum 11

I need the code for fingerprint capturing using vb6 and also which control do i use in achieving it.

Member Avatar
Member Avatar
+0 forum 5

# This program converts US measurements # to metric measurements. # Constants for valid values VALID_VALUE = 0 MAX_TEMP = 1000 def main(): print(''' 1.Miles to Kilometers. 2.Farenheit to Celsius. 3.Gallons to Liters. 4.Pounds to Kilograms. 5.Inches to centimeters. 6.Exit. ''') input('What would you like to convert?') if selection == '1': # Get the number of miles. miles_needed = int(input('Enter the number of miles: ')) # Convert miles to kilometers. miles_to_kilometers(miles_needed) elif selection == '2': # Get the degrees farenheit. farenheit_needed = int(input('Enter the degrees Farenheit: ')) # Convert fahrenheit to celsius. farenheit_to_celsius(farenheit_needed) elif selection == '3': # Get the …

Member Avatar
Member Avatar
+0 forum 1

Write a C++ program that reads in two partially filled arrays. One array contains student IDs (with int type) and the other contains GPAs (with double type). The program will sort the two arrays according to the student ID and print out the results.

Member Avatar
Member Avatar
-3 forum 3

Hello all. I apologize in advanced if this has been asked before but I have not been able to find this information via google or searching here. Everything I found is related to how a for loop works. I know how to use a for loop in python and what my input will do and what the output will be. My question is more related to how the syntax itself actually works: I have the very basic example: for i in range(10): print i I know that this will print 0 through 9 one at a time and that is …

Member Avatar
Member Avatar
+0 forum 3

how would I add text that the viewer could see and not just to the console as well as it not getting rid of the other text on the page? <!DOCTYPE html> <html> <head> <title>help me</title> </head> <body> <p>this is a line of text</p> <p>this is another line of text</p> <script> //what would I add here </script> <p>how would i add text in between these lines or after using jscript? is it even possible?</p> </body> </html> thank you for helping me in advance

Member Avatar
Member Avatar
+0 forum 2

hi i have report in visaul basic 2015 in it the salary and i want to make a tetxbox and but the total in it i tried this Sum(Fields!salary.Value) but i get error

Member Avatar
Member Avatar
+0 forum 12

I have a question,,Its all about homework Question score/item*50+50= Average,,How do I make the program of this situtation,

Member Avatar
Member Avatar
+0 forum 1

Hi, I needed some assistance on this program I am working on. First its about putting airplanes into gates, if no gates are open the print airport full. Right now mine simulates all the arrivals and departures. I show it put it will change when I implement the Stack. The Stack will be the gates open, and its asked at the start how many gates will be open. I need help with the Stack part. So I have arrivals in a priority queue, and departures in a priority queue and an array. Along with array for Flight number and location,I …

Member Avatar
Member Avatar
+0 forum 1

I have a problem that my crystal report shows the decimal values as 00 every thing is fine but it does not display proper value e.g. If i have 0.235 it shows 0.000 If i have 2.356 it shows 2.000 Whats the matter behind it the database field is text based

Member Avatar
Member Avatar
+0 forum 2

Delete checked item (one or more) from listview I write this code. Dim x As Long For x = LVEmp.ListItems.Count To 1 Step -1 If LVEmp.ListItems(x).Checked Then con.Execute "DELETE FROM stock WHERE [SrNo] = '" & LVEmp.ListItems(x).SubItems(1) & "'" LVEmp.ListItems.Remove x End If Next con.Close Set con = Nothing but it show error massage: run time error -2147217913 (80040e07) data type mismatch in criteria expression.

Member Avatar
Member Avatar
+0 forum 4

i am also a beginer i need advise on the basic of vb.net

Member Avatar
Member Avatar
+0 forum 1

The End.