Click here to Skip to main content
16,004,882 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: vb6 to vb.net help needed Pin
Thomas Krojer28-Oct-09 5:58
Thomas Krojer28-Oct-09 5:58 
QuestionHyperlink is added when mail send from outlook Pin
dcdhingra28-Oct-09 1:19
dcdhingra28-Oct-09 1:19 
QuestionUsing command prompt to get information needed Pin
offroaderdan28-Oct-09 0:47
offroaderdan28-Oct-09 0:47 
AnswerRe: Using command prompt to get information needed [modified] Pin
Dave Kreskowiak28-Oct-09 3:37
mveDave Kreskowiak28-Oct-09 3:37 
QuestionArray Standard Deviation HELP Pin
PAguilar0927-Oct-09 21:44
PAguilar0927-Oct-09 21:44 
AnswerRe: Array Standard Deviation HELP Pin
Christian Graus27-Oct-09 22:11
protectorChristian Graus27-Oct-09 22:11 
GeneralRe: Array Standard Deviation HELP Pin
PAguilar0927-Oct-09 22:32
PAguilar0927-Oct-09 22:32 
GeneralRe: Array Standard Deviation HELP Pin
Christian Graus27-Oct-09 23:39
protectorChristian Graus27-Oct-09 23:39 
PAguilar09 wrote:
i have these being declared before my subroutine


This means your code will only work once.

PAguilar09 wrote:
iSum += Convert.ToDouble(strArr(count))


iSum is an integer, why are you converting to double ?


PAguilar09 wrote:
dFAvg = iSum / Convert.ToDouble(lblGrades.Text)


How does this calculate an average when it's done on each iteration ? Why not just use lstGrades.Items.Count instead of converting the string ?

Either way, it seems wrong to me. Each time around, the total so far gets divided by the total number of items ( not the number of items added so far ). Then you take this value, which is not an average of anything, and you subtract it from the last added value. Then you square that number. Then you add this to the cumulative total. I don't understand how that gives you any sort of meaningful result.

Christian Graus

Driven to the arms of OSX by Vista.

Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

GeneralRe: Array Standard Deviation HELP Pin
PAguilar0928-Oct-09 1:43
PAguilar0928-Oct-09 1:43 
QuestionHow to make multiline textbox to display the last element added or scroll to last? Pin
pallaka27-Oct-09 20:50
pallaka27-Oct-09 20:50 
AnswerRe: How to make multiline textbox to display the last element added or scroll to last? Pin
Christian Graus27-Oct-09 21:30
protectorChristian Graus27-Oct-09 21:30 
GeneralRe: How to make multiline textbox to display the last element added or scroll to last? Pin
freakyit27-Oct-09 21:53
freakyit27-Oct-09 21:53 
GeneralRe: How to make multiline textbox to display the last element added or scroll to last? Pin
pallaka28-Oct-09 0:03
pallaka28-Oct-09 0:03 
QuestionUsing Avicap32 for Video Recording Pin
kjsl2k927-Oct-09 20:46
kjsl2k927-Oct-09 20:46 
AnswerRe: Using Avicap32 for Video Recording Pin
Christian Graus27-Oct-09 21:29
protectorChristian Graus27-Oct-09 21:29 
QuestionWeb Application using Visual Studio 2005 & .NET ! Pin
jeshra27927-Oct-09 20:46
jeshra27927-Oct-09 20:46 
AnswerRe: Web Application using Visual Studio 2005 & .NET ! Pin
_Damian S_27-Oct-09 20:55
professional_Damian S_27-Oct-09 20:55 
GeneralRe: Web Application using Visual Studio 2005 & .NET ! Pin
jeshra27927-Oct-09 21:33
jeshra27927-Oct-09 21:33 
GeneralRe: Web Application using Visual Studio 2005 & .NET ! Pin
Christian Graus27-Oct-09 22:10
protectorChristian Graus27-Oct-09 22:10 
QuestionArray Help Pin
PAguilar0927-Oct-09 20:25
PAguilar0927-Oct-09 20:25 
AnswerRe: Array Help Pin
tosch27-Oct-09 20:38
tosch27-Oct-09 20:38 
GeneralRe: Array Help Pin
PAguilar0927-Oct-09 20:44
PAguilar0927-Oct-09 20:44 
AnswerRe: Array Help Pin
_Damian S_27-Oct-09 20:59
professional_Damian S_27-Oct-09 20:59 
GeneralRe: Array Help Pin
PAguilar0927-Oct-09 21:08
PAguilar0927-Oct-09 21:08 
QuestionError while read Text File Pin
Anubhava Dimri27-Oct-09 20:04
Anubhava Dimri27-Oct-09 20:04 

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.