how to trap? for example in my textfield i don't want my textfield to accept double data type only integer is accepted..i don't have any idea how to do it.. can someone here give me a clue...please a sample code.
Private sub cmd_calculate_cllick()
dim radius as double
if IsNumeric(txtR.Text) then
Public sub compute(ByVal radius As double)
dim diameter,circumference as double,area as Double
what my teacher want is that the text field of the radius and the diameter would not accept a double data type ...how to ?
Just a beginner all i want is ask some of idea's you experts have
Edited 3 Years Ago by mike_2000_17: Fixed formatting
can u explain this to me what this kind of method i dont clearly understand it all i know "Like " is an operator in VB but it use and asteres and parenthesis
this method i use do work but...i forgot to trap, if the user will input greater than 32767 it has an error...i think ur method do work
I'm just a beginner please be patience if sometimes it hard for me to understanf right away
Edited 5 Years Ago by Nick Evan: Removed all the horrible tags
Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...