VS 2010 Help:for each loop and for next loop
Hi, i am looking to display folders of a particular directory in a listbox. below is the code for the same using 'for each loop' Private Sub btnForEachLoop_Click(sender As Object, e As EventArgs)...
View ArticleI can't find why I can't get 'Text Align' to work.
Hi, I've been strugglin' with this bit of code for too long now... I can't find what I'm doing wrong or missing here... Everything else seems to work fine, but Line 16 makes no difference whatever...
View ArticleSimple Voice Recognition help!!
Hi guys, A little background first... I've dabbled in loads of programming languages on a recreational basis.. But not much more than than! My work is based entirely around the SAS programming...
View ArticleVS 2010 Getting values between brackets where anothe value exists
Hey Everyone I have a program that is designed to allow users to buy and sell models (as a small computing project). The user has to register an account which is stored in a database separately. They...
View ArticleButtons not moving with the Window Frame
I hope this is the correct place to post this at, I have VB Studio 2008 Pro. Please move if I posted in the incorrect forum. Thank You. I'm just starting to learn VB and some of its fun. I've read over...
View ArticleSend keys
Hello! Code: text = TextBox1.Text SendKeys.Send(text) SendKeys.Send("{enter}") Problem: It works fine, but when symbols like '%' '/' ... are written into textbox1, it gives an error I tried this: Code:...
View Articleurgent help needed: mysql/sql database, checking for duplicates/adding line
Let's call my program FortuneSender.exe, it's made to send Fortune cookie messages to my forum members. Currently it sends 1 fortune to each member per month via forum PM function. They have to contact...
View Article[RESOLVED] somestring.chars() not yielding correct results
Code: Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click txtbox.text = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" dim pos as string = txtbox.text...
View ArticleVS 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 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 Article