VS 2008 Problem with adding hex
Hi ! I have one hex, &H0 and in a loop i add &H1 to it, but i have a problem.After it comes to 9, there comes "A" and it gives a error: Conversion from string "A" to type 'Integer' is not...
View ArticleMoving a project to a new folder
I am trying to move my final project to a new folder without any luck. (using VB Express 2010) I used the "Save As" function to save the MainForm.vb to the new folder, and the rest of the files and...
View ArticleSub Pocedure problem
When the Select Media and Estimated Fund button is clicked, Estimated Budget should be calculated depending on your selection of funding resources (one or two). The calculated results should appear...
View ArticleVS 2010 [RESOLVED] word wrap in PrintDocument1
Hi there, I am using VB.net and printing a report on PrintDocument1, i have a text fields which is overwriting on next column field, please let me know how to wrap a text fields in 2 or more than 2...
View ArticleVS 2010 [RESOLVED] If Statement help
Hello this is my first time in this forum as I have just started to learn Visual Basic in school, I have a decent understanding of it however as I dabbled with it a bit for fun. My question is that I...
View ArticleVS 2010 Picturebox array - adding to form1
Creating a checkerboard. If I set up each row individually, the picturebox array is added correctly to form1. Like this for each row works. (each row alternates, so 'mod' is used to check x) For x = 1...
View Articlereplace with arrays
Code: Dim newstr() As String = {"1", "2", "3", "4", "5", "6"} Dim oldstr() As String = {"a", "b", "c", "d", "e", "f"} Dim notreplaced As String Dim x As Integer = Nothing Dim i As...
View ArticleHelp with XML in visual basic.
Hey people. I'm making a program that uses Spotify's Web API to search for music, it gives everything in a XML file, that looks like this (a search for a song called ho hey)...
View ArticleVS 2008 Need ScreenSaver code
Hi, I need slide pictures screen saver code. It for my homework. Pictures are shown in screeensaver I need to change in code not just change Pictures directory. Still it would be good to make pictures...
View ArticleHow to find position of a specific text in a web browser in VB 2010
Hi guys I am looking for a script which can tell me the location in X and Y co ordinates in a web browser of some specific text Thanks in advance
View ArticleAssistance creating a Sub Procedure named (FundingResource(Balance)) Visual...
I am working on a program that consists of three event procedures (in other words, three different task buttons: Select Media and Estimated Fund, Add Agencies, and Generate Report). When the...
View ArticleVS 2008 Do Until/For Next loop return to start of the loop ?
Hi ! I need a fast help from you guys, i need to make a code that will work like this: Code: Do Until num1 > num2 If something Is Nothing Then 'Return to start of the loop, without...
View ArticleVS 2010 Unhandled exception has occurred in your application
Hello guys! When my friend is clicking on a button he gets a error saying "unhandled exception has occurred in your application" how do i fix this? works for me, and btw it's a exe file. thanks
View ArticleVS 2008 Why this doesnt work ? (memory scanning)
Hi ! Im making this program just to learn about memory etc, im trying to scan for a specified value in some process, and it works when i set the start point like 10 addressess before the address i want...
View ArticleVS 2008 Problem with webbrowser control
Hi folks! I need some help with one simple code snipet. Goal is to make simple query on a site, site has one input field and one button. I am not a coder, so please dont judge me for code format, i...
View ArticleVS 2008 Syncronize sort 2 Comboboxes
I have 2 Comboxes . I need to sort them. The one is numbers and the other is normal text. I need them to be syncronized. So Item 1 (MAN) in combobox1 should be syncronized with 1 in combobox2. I should...
View ArticleVS 2010 Array index reference
Hi, using Visual Basic 2010 Express, I created a checkerboard using Dim Board(64) As PictureBox then assigned each cell an image and last added it to form1 in a loop Me.Controls.Add(board(x)). Worked...
View ArticleVB 08 Auto Click on Submit Button?
Code: WebBrowser1.Document.GetElementById("NewGamertag").SetAttribute("value", txtTurbo.Text) WebBrowser1.Document.GetElementById("claimIt").InvokeMember("Click") So basically what...
View ArticleString was not recognized as a valid DateTime.
hello i use a label to display date in format "d/M/yyyy" by using this line Code: datenow.Text = DateTime.ParseExact(datenow.Text, "d/M/yyyy", CultureInfo.InvariantCulture).ToString but if the user...
View ArticleVS 2010 Importing url list uri error
Hey Guys, I have coded a small application to format URLs using the code: Code: '// First split the HOST/USERNAME/PASSWORD Dim stringArray As String() = strAccount.Split(" ")...
View Article