If Statement VB via Excel
Hi Was wondering if somebody could help I am struggling with some code I have a form with a update button and once pressed i need it to do the following. Hope this makes sense If combobox1 = worksheet1...
View ArticleNeed help in ComboBox Custom Class
Hi I am using VB 2010 Express. I have the need for a Custom ComboBox where there is a TextBox placed on top of the ComboBox (replacing the ComboBox Text Area). I created the Class as shown: Code:...
View ArticleSetting curser position in range object
Quick question: When setting up a bookmark.range in a MS Word doc. Instead of setting a absoulte insertion point via code as in .range(0,0) how do I capture the current curser position so that the...
View ArticleVS 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 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 ArticleSetting up a authenication server like thing
i am really bad and no little to nothing about connection to internet with vb but i have always wanted to know how to add like a auth before using a program. basicly how it would work is you would...
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