Click here to Skip to main content
15,891,951 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Adding class libary Pin
cstrader23216-Nov-09 6:28
cstrader23216-Nov-09 6:28 
Questioncontrolling and invoking a MATLAB program through vb code. Pin
csetopper_bhanu13-Nov-09 17:32
csetopper_bhanu13-Nov-09 17:32 
AnswerRe: controlling and invoking a MATLAB program through vb code. Pin
Richard MacCutchan13-Nov-09 23:34
mveRichard MacCutchan13-Nov-09 23:34 
QuestionWebBrowser Control Print method won't Print Pin
rm302913-Nov-09 17:12
rm302913-Nov-09 17:12 
AnswerRe: WebBrowser Control Print method won't Print Pin
waddahattar13-Nov-09 22:00
waddahattar13-Nov-09 22:00 
AnswerRe: WebBrowser Control Print method won't Print Pin
Dave Kreskowiak14-Nov-09 1:21
mveDave Kreskowiak14-Nov-09 1:21 
QuestionHelp in code in visual basic for a new vb student Pin
Scamperdoodle13-Nov-09 9:37
Scamperdoodle13-Nov-09 9:37 
AnswerRe: Help in code in visual basic for a new vb student Pin
The Man from U.N.C.L.E.13-Nov-09 11:34
The Man from U.N.C.L.E.13-Nov-09 11:34 
Where do I start! The point of homework is to learn not to get others to do it for you. The code you have written so far won't even compile.


Scamperdoodle wrote:
Dim duration = "", item = ""


Should say
Dim duration As String = String.Empty
Dim item As String = String.Empty


Scamperdoodle wrote:
num = CInt(mtxtItemNum.Text)
num = mtxtItem2Num.Text
num = mtxtItem3Num.Text


You are picking up each value and overwriting what you had before. Should go into three variables not one.

Why output to a list box when a Label or a textbox would be more appropriate?

Handling click events on labels makes no sense.

So, start from the beginning and think logically. Gather the input, do the maths and then create the output. It's not that difficult.

If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
www.JacksonSoft.co.uk

AnswerRe: Help in code in visual basic for a new vb student Pin
Steven J Jowett14-Nov-09 0:17
Steven J Jowett14-Nov-09 0:17 
QuestionC# code snippet need help converting to VB Pin
bubk13-Nov-09 9:28
bubk13-Nov-09 9:28 
AnswerRe: C# code snippet need help converting to VB Pin
Dave Kreskowiak13-Nov-09 10:39
mveDave Kreskowiak13-Nov-09 10:39 
GeneralRe: C# code snippet need help converting to VB Pin
bubk13-Nov-09 10:55
bubk13-Nov-09 10:55 
AnswerRe: C# code snippet need help converting to VB Pin
Dave Doknjas13-Nov-09 11:51
Dave Doknjas13-Nov-09 11:51 
AnswerRe: C# code snippet need help converting to VB Pin
Milad.Biroonvand14-Nov-09 17:55
Milad.Biroonvand14-Nov-09 17:55 
QuestionFtpWebRequest Pin
Archimedes2413-Nov-09 6:46
professionalArchimedes2413-Nov-09 6:46 
AnswerRe: FtpWebRequest Pin
Dave Kreskowiak13-Nov-09 7:27
mveDave Kreskowiak13-Nov-09 7:27 
GeneralRe: FtpWebRequest Pin
Archimedes2414-Nov-09 0:59
professionalArchimedes2414-Nov-09 0:59 
GeneralRe: FtpWebRequest Pin
Dave Kreskowiak15-Nov-09 10:55
mveDave Kreskowiak15-Nov-09 10:55 
GeneralRe: FtpWebRequest Pin
Archimedes2415-Nov-09 21:25
professionalArchimedes2415-Nov-09 21:25 
QuestionDatagridView Button Column Cell Editing Control Width. Pin
priyamtheone13-Nov-09 2:38
priyamtheone13-Nov-09 2:38 
AnswerRe: DatagridView Button Column Cell Editing Control Width. Pin
Dave Kreskowiak13-Nov-09 4:45
mveDave Kreskowiak13-Nov-09 4:45 
QuestionHow to get general control of any window in VB .net Pin
mtayyab200913-Nov-09 1:41
mtayyab200913-Nov-09 1:41 
AnswerRe: How to get general control of any window in VB .net Pin
Johan Hakkesteegt13-Nov-09 2:43
Johan Hakkesteegt13-Nov-09 2:43 
AnswerRe: How to get general control of any window in VB .net Pin
EliottA13-Nov-09 2:48
EliottA13-Nov-09 2:48 
AnswerRe: How to get general control of any window in VB .net Pin
Dave Kreskowiak13-Nov-09 4:31
mveDave Kreskowiak13-Nov-09 4:31 

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.