Click here to Skip to main content
       

Visual Basic

 
GeneralRe: Securing application password PinmemberDisIsHoody12-Oct-12 18:59 
QuestionVB6 Project - Printing Press Management System PinmemberMahesh KL3-Oct-12 5:58 
AnswerRe: VB6 Project - Printing Press Management System PinmvpDave Kreskowiak3-Oct-12 13:39 
AnswerRe: VB6 Project - Printing Press Management System PinmemberEddy Vluggen3-Oct-12 22:49 
SuggestionRe: VB6 Project - Printing Press Management System PinmemberJoan Murt4-Oct-12 0:47 
QuestionWorking from scratch based on created application PinmemberHerboren3-Oct-12 5:49 
AnswerRe: Working from scratch based on created application PinmemberEddy Vluggen3-Oct-12 22:46 
AnswerRe: Working from scratch based on created application PinmemberDisIsHoody11-Oct-12 19:02 
Quick thing I noticed:
 
Herboren wrote:
Dim priceArrayElements(20) As Decimal

and
Herboren wrote:
For i As Integer = 0 To priceArrayElements.Length
priceArrayElements(i) = (Decimal.Parse(txtPieces.Text) * rangeA)
txtEarned.Text = FormatCurrency(priceArrayElements(i).ToString())
Next

The length of priceArrayElements would be 21 (the total number of elements), however the highest index is 20. So in the for loop the last index it would try to use would be 21, however the highest index would be 20. Shouldn't the for loop be:
 
For i As Integer = 0 To priceArrayElements.Length - 1
'Do calculations
Next
 
or
 
For i As Integer = 0 To priceArrayElements.GetUpperBound(0)
'Do calculations
Next

QuestionHow may I add a MDITabControl to my project (VB2008) PinmemberMember 16752941-Oct-12 4:56 
AnswerRe: How may I add a MDITabControl to my project (VB2008) PinmemberEddy Vluggen1-Oct-12 5:14 
QuestionLOAD CSV FILES TO VB 8 Pinmembermemas6328-Sep-12 6:32 
AnswerRe: LOAD CSV FILES TO VB 8 PinmvpDave Kreskowiak28-Sep-12 7:03 
QuestionSOAP service responding with partial data Pinmemberloctrice28-Sep-12 5:17 
AnswerRe: SOAP service responding with partial data PinmvpDave Kreskowiak28-Sep-12 7:01 
GeneralRe: SOAP service responding with partial data Pinmemberloctrice28-Sep-12 7:03 
GeneralRe: SOAP service responding with partial data PinmvpDave Kreskowiak28-Sep-12 7:14 
QuestionVB 2005 Datagridview print PinmemberNigel14227-Sep-12 19:34 
AnswerRe: VB 2005 Datagridview print PinmvpRichard MacCutchan27-Sep-12 21:56 
QuestionHow can I distribute a VB6 application with NSIS? PinmemberfancyRocko27-Sep-12 2:08 
AnswerRe: How can I distribute a VB6 application with NSIS? PinmvpDave Kreskowiak27-Sep-12 13:38 
GeneralRe: How can I distribute a VB6 application with NSIS? PinmemberfancyRocko27-Sep-12 22:49 
GeneralRe: How can I distribute a VB6 application with NSIS? PinmemberEddy Vluggen27-Sep-12 23:03 
GeneralRe: How can I distribute a VB6 application with NSIS? PinmvpDave Kreskowiak28-Sep-12 1:16 
GeneralRe: How can I distribute a VB6 application with NSIS? PinmemberfancyRocko28-Sep-12 1:25 
AnswerRe: How can I distribute a VB6 application with NSIS? Pinmemberjrumage5-Oct-12 2:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 23 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid