Click here to Skip to main content
15,892,161 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionOK Going Mad...VB.Net Mail Pin
Dalek Dave29-Mar-10 9:59
professionalDalek Dave29-Mar-10 9:59 
AnswerRe: OK Going Mad...VB.Net Mail Pin
nlarson1129-Mar-10 10:18
nlarson1129-Mar-10 10:18 
GeneralRe: OK Going Mad...VB.Net Mail Pin
Dalek Dave29-Mar-10 21:27
professionalDalek Dave29-Mar-10 21:27 
QuestionNew line to be added to a mail message [modified] Don't Worry, got it! Pin
Dalek Dave29-Mar-10 8:56
professionalDalek Dave29-Mar-10 8:56 
AnswerRe: New line to be added to a mail message [modified] Don't Worry, got it! Pin
nlarson1129-Mar-10 10:23
nlarson1129-Mar-10 10:23 
QuestionStatic Variables for Grade Counting Program [modified] - SOLVED Pin
Adam Wike29-Mar-10 4:39
Adam Wike29-Mar-10 4:39 
AnswerRe: Static Variables for Grade Counting Program Pin
Estys29-Mar-10 5:09
Estys29-Mar-10 5:09 
AnswerRe: Static Variables for Grade Counting Program Pin
Steven J Jowett29-Mar-10 6:12
Steven J Jowett29-Mar-10 6:12 
I don't normally do student's homework, but seeing as you have attempted to solve the problem here is some pointers...

Remove the lines that declare the STATIC integer and make the PRIVATE member variables e.g.

Public Class Form1
Private intA As Integer
Private intB as Integer
Private intC as Integer
Private intD as Integer
Private intF as Integer


In the Form_Load Event handler, initiate the starting values e.g.

intA = 0
intB = 0


Now all you need is a Function to return the averages.
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.

GeneralRe: Static Variables for Grade Counting Program Pin
Adam Wike30-Mar-10 4:17
Adam Wike30-Mar-10 4:17 
GeneralRe: Static Variables for Grade Counting Program Pin
Steven J Jowett30-Mar-10 4:35
Steven J Jowett30-Mar-10 4:35 
GeneralRe: Static Variables for Grade Counting Program Pin
Adam Wike30-Mar-10 4:51
Adam Wike30-Mar-10 4:51 
GeneralRe: Static Variables for Grade Counting Program Pin
Steven J Jowett30-Mar-10 5:56
Steven J Jowett30-Mar-10 5:56 
Questionscript to copy web page contents into text file Pin
220828-Mar-10 18:41
220828-Mar-10 18:41 
AnswerRe: script to copy web page contents into text file Pin
DaveAuld28-Mar-10 23:07
professionalDaveAuld28-Mar-10 23:07 
QuestionTwo checkbox in single column of datagridview Pin
C#Coudou28-Mar-10 13:44
C#Coudou28-Mar-10 13:44 
AnswerRe: Two checkbox in single column of datagridview Pin
Dave Kreskowiak28-Mar-10 14:22
mveDave Kreskowiak28-Mar-10 14:22 
Questioninstalling application [modified] .... resolved Pin
Daniel Engelkes28-Mar-10 12:55
Daniel Engelkes28-Mar-10 12:55 
AnswerRe: installing application Pin
Dalek Dave28-Mar-10 13:09
professionalDalek Dave28-Mar-10 13:09 
GeneralRe: installing application Pin
Daniel Engelkes28-Mar-10 13:24
Daniel Engelkes28-Mar-10 13:24 
GeneralRe: installing application Pin
Dalek Dave28-Mar-10 13:40
professionalDalek Dave28-Mar-10 13:40 
GeneralRe: installing application Pin
Daniel Engelkes28-Mar-10 14:31
Daniel Engelkes28-Mar-10 14:31 
GeneralRe: installing application Pin
Dave Kreskowiak28-Mar-10 14:21
mveDave Kreskowiak28-Mar-10 14:21 
GeneralRe: installing application Pin
Daniel Engelkes28-Mar-10 14:32
Daniel Engelkes28-Mar-10 14:32 
GeneralRe: installing application Pin
Dave Kreskowiak28-Mar-10 17:35
mveDave Kreskowiak28-Mar-10 17:35 
GeneralRe: installing application Pin
Daniel Engelkes28-Mar-10 13:26
Daniel Engelkes28-Mar-10 13:26 

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.