Click here to Skip to main content
15,902,634 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Additional properties or methods into midi form of VB6.0? Pin
JR2125-Oct-12 23:14
JR2125-Oct-12 23:14 
GeneralRe: Additional properties or methods into midi form of VB6.0? Pin
Member 24584676-Oct-12 3:54
Member 24584676-Oct-12 3:54 
AnswerRe: Additional properties or methods into midi form of VB6.0? Pin
Eddy Vluggen6-Oct-12 3:50
professionalEddy Vluggen6-Oct-12 3:50 
GeneralRe: Additional properties or methods into midi form of VB6.0? Pin
Member 24584676-Oct-12 4:02
Member 24584676-Oct-12 4:02 
GeneralRe: Additional properties or methods into midi form of VB6.0? Pin
Eddy Vluggen7-Oct-12 1:28
professionalEddy Vluggen7-Oct-12 1:28 
QuestionSecuring application password Pin
Dominick Marciano4-Oct-12 12:26
professionalDominick Marciano4-Oct-12 12:26 
AnswerRe: Securing application password Pin
Richard MacCutchan4-Oct-12 21:54
mveRichard MacCutchan4-Oct-12 21:54 
AnswerRe: Securing application password Pin
David Mujica5-Oct-12 3:11
David Mujica5-Oct-12 3:11 
AnswerRe: Securing application password Pin
Dominick Marciano5-Oct-12 9:58
professionalDominick Marciano5-Oct-12 9:58 
GeneralRe: Securing application password Pin
Richard MacCutchan5-Oct-12 22:40
mveRichard MacCutchan5-Oct-12 22:40 
AnswerRe: Securing application password Pin
Matty2211-Oct-12 17:29
Matty2211-Oct-12 17:29 
GeneralRe: Securing application password Pin
Dominick Marciano11-Oct-12 18:51
professionalDominick Marciano11-Oct-12 18:51 
GeneralRe: Securing application password Pin
Matty2211-Oct-12 19:05
Matty2211-Oct-12 19:05 
GeneralRe: Securing application password Pin
Matty2211-Oct-12 19:11
Matty2211-Oct-12 19:11 
GeneralRe: Securing application password Pin
Dominick Marciano12-Oct-12 9:28
professionalDominick Marciano12-Oct-12 9:28 
GeneralRe: Securing application password Pin
Matty2212-Oct-12 13:53
Matty2212-Oct-12 13:53 
GeneralRe: Securing application password Pin
Dominick Marciano12-Oct-12 18:59
professionalDominick Marciano12-Oct-12 18:59 
QuestionVB6 Project - Printing Press Management System Pin
Mahesh KL3-Oct-12 5:58
Mahesh KL3-Oct-12 5:58 
AnswerRe: VB6 Project - Printing Press Management System Pin
Dave Kreskowiak3-Oct-12 13:39
mveDave Kreskowiak3-Oct-12 13:39 
AnswerRe: VB6 Project - Printing Press Management System Pin
Eddy Vluggen3-Oct-12 22:49
professionalEddy Vluggen3-Oct-12 22:49 
SuggestionRe: VB6 Project - Printing Press Management System Pin
Joan M4-Oct-12 0:47
professionalJoan M4-Oct-12 0:47 
QuestionWorking from scratch based on created application Pin
Herboren3-Oct-12 5:49
Herboren3-Oct-12 5:49 
AnswerRe: Working from scratch based on created application Pin
Eddy Vluggen3-Oct-12 22:46
professionalEddy Vluggen3-Oct-12 22:46 
AnswerRe: Working from scratch based on created application Pin
Dominick Marciano11-Oct-12 19:02
professionalDominick Marciano11-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:

VB
For i As Integer = 0 To priceArrayElements.Length - 1
'Do calculations
Next


or

VB
For i As Integer = 0 To priceArrayElements.GetUpperBound(0)
'Do calculations
Next

QuestionHow may I add a MDITabControl to my project (VB2008) Pin
Member 16752941-Oct-12 4:56
Member 16752941-Oct-12 4:56 

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

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