Click here to Skip to main content
16,010,553 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralDeployment Rearranges Controls on Form Pin
Brent Lamborn11-Jun-04 7:37
Brent Lamborn11-Jun-04 7:37 
GeneralVisual Basic homework Pin
KristineB11-Jun-04 6:55
KristineB11-Jun-04 6:55 
GeneralRe: Visual Basic homework Pin
Colin Angus Mackay11-Jun-04 7:41
Colin Angus Mackay11-Jun-04 7:41 
GeneralRe: Visual Basic homework Pin
KristineB11-Jun-04 7:44
KristineB11-Jun-04 7:44 
GeneralRe: Visual Basic homework Pin
Colin Angus Mackay11-Jun-04 8:06
Colin Angus Mackay11-Jun-04 8:06 
GeneralRe: Visual Basic homework Pin
KristineB11-Jun-04 8:07
KristineB11-Jun-04 8:07 
GeneralRe: Visual Basic homework Pin
KristineB11-Jun-04 9:12
KristineB11-Jun-04 9:12 
GeneralRe: Visual Basic homework Pin
Colin Angus Mackay11-Jun-04 9:47
Colin Angus Mackay11-Jun-04 9:47 
KristineB wrote:
Does that make sense?

Maybe... I'll explain my assumptions because I am not 100% sure what you mean.

* You have a variable called Packagea which has a value of 99.00.

* You have a variable called txtpackagea which is a reference to the TextBox control

* You need to convert the text in the TextBox to a number in order to perform the calculation.

Try this:
Dim quantity As Integer

Try
    quantity = Convert.ToInt32(txtpackagea.Text)
Catch ex As Exception
    MessageBox.Show("The quantity entered for Package A is not a number")
End Try


Does this help?


"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar

The Second EuroCPian Event will be in Brussels on the 4th of September

Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!

My Blog


GeneralExcel/VBA - Hard question Pin
Jon G11-Jun-04 1:31
Jon G11-Jun-04 1:31 
GeneralRe: Excel/VBA - Hard question Pin
Dave Kreskowiak14-Jun-04 3:00
mveDave Kreskowiak14-Jun-04 3:00 
GeneralAccess security Pin
Rana Kashif10-Jun-04 20:20
Rana Kashif10-Jun-04 20:20 
GeneralRe: Access security Pin
Dave Kreskowiak11-Jun-04 10:32
mveDave Kreskowiak11-Jun-04 10:32 
QuestionHow to add product key in package and Deployement wizard Pin
Rana Kashif10-Jun-04 20:17
Rana Kashif10-Jun-04 20:17 
AnswerRe: How to add product key in package and Deployement wizard Pin
tramdtt10-Jun-04 20:52
tramdtt10-Jun-04 20:52 
GeneralSQLClient and System.Security.SecurityException Pin
sybux200010-Jun-04 20:16
sybux200010-Jun-04 20:16 
GeneralRe: SQLClient and System.Security.SecurityException Pin
Dave Kreskowiak14-Jun-04 3:08
mveDave Kreskowiak14-Jun-04 3:08 
GeneralRe: SQLClient and System.Security.SecurityException Pin
sybux200010-Aug-04 10:32
sybux200010-Aug-04 10:32 
GeneralRe: SQLClient and System.Security.SecurityException Pin
Dave Kreskowiak10-Aug-04 13:05
mveDave Kreskowiak10-Aug-04 13:05 
GeneralRe: SQLClient and System.Security.SecurityException Pin
sybux200010-Aug-04 20:28
sybux200010-Aug-04 20:28 
GeneralRe: SQLClient and System.Security.SecurityException Pin
Dave Kreskowiak11-Aug-04 1:31
mveDave Kreskowiak11-Aug-04 1:31 
GeneralRe: SQLClient and System.Security.SecurityException Pin
sybux200011-Aug-04 6:26
sybux200011-Aug-04 6:26 
Generalanother problem Datagrid Pin
dotnet_cpp10-Jun-04 12:16
dotnet_cpp10-Jun-04 12:16 
Generalinser hyperlink at launching outlookexpress Pin
skoizumi2911010-Jun-04 9:31
sussskoizumi2911010-Jun-04 9:31 
GeneralForms Threading Question Pin
Wingnut7410-Jun-04 7:49
Wingnut7410-Jun-04 7:49 
GeneralRe: Forms Threading Question Pin
Dave Kreskowiak10-Jun-04 8:40
mveDave Kreskowiak10-Jun-04 8:40 

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.