VS 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 ArticleFor...Next instead of Do..Loop & Select Case instead of If Statement
Hi guys, I am a beginner in VB, I have one exercise to solve: Rewrite the following program segment by using For Â… Next statement instead of the Do Â… Loop statement, and by using Select Case statement...
View ArticleMultiple companies
Im developing a accounting vb.net windows application, 1.In this 1 company can be created with its customer n vendors. My problem is how to make multiple companies...for ex in quickbooks and many...
View ArticleVS 2010 Delete SQL records based on Datatable
Afternoon all, I load a number of records into a datatable. I am trying to find out if there is a simple way to remove all the records in my sql table that are in my datatable without having to loop...
View ArticleGetting this screen while trying to debug app???
I'm getting the following screen while trying to debug my web app. I set a breakpoint and when I hit the breakpoint and step to the next line, this error occurs. I've never seen this before!!!! Thanks,...
View ArticleHow to split email string?
If I had an email- firstname.lastname@example.com How would I split it so the end result would be firstnam.lastname? Thanks in advance everyone :D
View ArticleVS 2010 Adding directory names to a listbox
Hello! I haven't been programming much, but dabble in it once in a while because it's fun. But I've been stuck with this issue that I thought would be fairly easy to solve, unfortunately it doesn't...
View ArticleTransaction Puzzle
I have to run off for a brief walk (doesn't even count as a hike), but let me toss out a puzzle that I have been making no headway on in case somebody can tell me what to look at next. There is no...
View ArticleGetting Balance from selections made in program (Visual Basic)
Hello, I am trying to get the balance from a program that I wrote, but seem to be having a little trouble with it. The formula for getting balance in this program is (balance = balance * (1 +...
View Article[RESOLVED] Help with Code, PLEASE
I am attempting to populate a drop down from a text file, the cod is below, and I've attached a data file I'm getting the text from. Help if you can, What's happenuing is if i rem out the lower code,...
View ArticleVS 2010 Tab Control Event Handling
Hi, I have a TabControl on my form and I'm trying to handle the "leave" event such that I can decide what to do based on which other tab page has been selected. As an example, suppose I have 3 tabs; A,...
View ArticleInsert picture in middle of word document
Hi I have tried to find out how to insert a picture in the middle of my Word document with Visual Basic, but could only manage to insert a picture at either the top or bottom of the document. Thank you...
View ArticleVS 2010 cyclic redundency check software
I am using some external software that creates a crc. For each line of text it creates a crc - i.e. the last field in the following example "71BACE4E"...
View ArticleShow integer value
Hello! Dim i as integer = 0 How to make an event, that label1.text = me.i.tostring() So, whenever the 'i' value is changed, label1.text is equal 'i' example: Code: Private Sub Button1_Click(sender As...
View ArticleInstalling VS2010Express
I downloaded the 1.5G VS2010ExpressWith SP1. My understanding is that this contains all the VS2010Express files and the SP1. After burning it to a dvd I tried to install it. All I see here is an...
View Article[RESOLVED] Events From Out There, In Here?
I've probably just woken up with my stupid head on but bear with me! I'm writing a custom control class which draws on properties from the Parent (form or other container). What I need to do,...
View Article[RESOLVED] Perform double-click in Listbox through code?
All I am trying to do is have the Listbox double-clicked via code when a button is clicked - 'Listbox1.PerformDoubleClick()' doesn't work (I just assumed that would work) - This is the only thing so...
View ArticleEdit a String
In Excel to edit a string by: out=Left(str,3), out=Right(str,2) or out=Left(Right(str,5),2). How do you do it in Visual Basic?
View ArticleSave and Save As Buttons
Hello Guys! I'm a new member here, and i would like your help. So I'm trying to develop an advanced text editor using vb.net and currently in the saving process... So I created this button for the Save...
View ArticleVS 2008 regex for numbers
I'm trying to scrape the number 38,111 from the below string. What is the regex? I tried using [0-9].*[0-9] but it didn't work because 100 is in the string. #38,111 in Health & Personal Care (See...
View Article