Hello VB.net'ers. I've got a problem. I have a feeling it is an easy one, but for the life of me i cant figure it out. My project at the moment is to grab content from a website and use it in some way (havent worked out this part yet, still trying to get the data). Currently, i have grabbed the whole website and written it to a text file.. No dramas there. Then i read each line until i find a certain string... Again, no dramas. MY problem is; after reading and finding the certain string, i want the …

Member Avatar
Member Avatar
+0 forum 11

Hi clever people, I need some help making a VB application which chooses a random line for a file, sets it as the value of a Label (word) and also adds it to a ListBox (list) when a Button (nextbut) is pressed. I also want it to keep going. Button; Text: Next Name: nextbut Label; Name: word Listbox;Name: list What i need it to do is to load a line from a file ("C:\words.txt" for example) and set it as the value f the label. The lines are different lenghts. Any hwlp would be highly appreciated

Member Avatar
Member Avatar
+0 forum 1

Hi All, I have noticed that there is another thread about this matter, but could not quite get my head around it. Basically I have to create an application which is a quiz. According to the users score it will then determine what level of skill they have. I know i could do it really easily, by having a number of labels on the form which hold the questions. Then underneath have radiobuttons with possible answers. From this then use an IF statement to add a digit into an invisble label which can tally a score of correct answers. Assign …

Member Avatar
Member Avatar
+0 forum 20

I am creating methods that will extract info out of a text file. The program is for a real estate office manager who needs to run reports on property listings. The text file will contain property number, property type, price, and agent id as follows. [CODE]110001 commercial 500000.00 101 110223 residential 100000.00 101 110020 commercial 1000000.00 107 110333 land 30000.00 105 110442 farm 200000.00 106 110421 land 40000.00 107 112352 residential 250000.00 110[/CODE] The txt file is space delimitted. need to store each property type in a set and use a Map to calculate total property listed in dollars and …

Member Avatar
Member Avatar
+0 forum 1

good day everyone! I have a problem regarding to my program. i want to create a multiple text file. To be clear to you, i'll give an example. for example I want create a textfile named as text1.txt and another textfile text2.txt. What possibly is the solution to prevent the 1st txt file to be overwritten by the 2nd txt file. Is there any easy code that can I use? Thank you in advance! :)

Member Avatar
Member Avatar
+0 forum 2

hey guys, im fairly new to this so feel free to tell me if i need to supply more info. basically i need to write code to read in a text file and store different values in different variables, so for example i would read in: bob 1.1 maths 1.2 physics 1.3 chemistry jim 2.1 dance 2.2 programming 2.3 gym ect ect this would bassically be for code to allocate students into classes so the names are the teachers and the subjects things they teach, with the numbers representing class codes. if all i can get to work is reading …

Member Avatar
Member Avatar
+0 forum 4

Hi, im using visual studio 2010, and for my recent assignment i am having difficulty when closing a text file. My program is to read in the data from a text file and then do some calculations and then output the result. My text file Measurements.txt looks like this: 5 11 4 3 6 7 4 2 Each set of 4 numbers represents miles, yards, feet, and inches. For example, 5 miles, 11 yards, 4 feet, and 3 inches are the first four, then the second four is the second set of data. My problem is that when i try …

Member Avatar
Member Avatar
+0 forum 1

The End.