Click here to Skip to main content
15,927,055 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Problem saving indexed, transparent PNGs Pin
Dave Kreskowiak4-Mar-05 7:26
mveDave Kreskowiak4-Mar-05 7:26 
GeneralRe: Problem saving indexed, transparent PNGs Pin
evildonut5-Mar-05 0:19
evildonut5-Mar-05 0:19 
GeneralRe: Problem saving indexed, transparent PNGs Pin
Dave Kreskowiak5-Mar-05 17:09
mveDave Kreskowiak5-Mar-05 17:09 
Generalremoving hyphens from a value Pin
lxhan4-Mar-05 4:56
lxhan4-Mar-05 4:56 
GeneralRe: removing hyphens from a value Pin
Mandar Patankar4-Mar-05 5:27
Mandar Patankar4-Mar-05 5:27 
GeneralRe: removing hyphens from a value Pin
tdciDoug4-Mar-05 7:39
tdciDoug4-Mar-05 7:39 
Generalplot graph in vb Pin
mohd@fazly4-Mar-05 3:53
mohd@fazly4-Mar-05 3:53 
GeneralNumeric Textbox Pin
ionzarate4-Mar-05 0:59
ionzarate4-Mar-05 0:59 
Hi all!
I´m newbie using Vbasic. I need to make a macro for Excel, which
shows a form asking for a numeric value in a Textbox.
I convert the Textbox content to long with CLng() function.

<br />
Dim longval As Long<br />
longval=CLng(TheTextBox.Text)<br />


But this function crashes if the content of the textbox is alphanumeric.

How can I check that the value entered is only numeric?
Is there any function like "IsDigit" or something?
or
Is there any Textbox property to force only numeric content?

Thanks a lot.
WTF | :WTF:
GeneralRe: Numeric Textbox Pin
Anonymous4-Mar-05 4:02
Anonymous4-Mar-05 4:02 
GeneralRe: Numeric Textbox Pin
ionzarate4-Mar-05 4:25
ionzarate4-Mar-05 4:25 
QuestionSleek GUI - how ? Pin
mecracked3-Mar-05 22:04
sussmecracked3-Mar-05 22:04 
AnswerRe: Sleek GUI - how ? Pin
Dave Kreskowiak4-Mar-05 0:54
mveDave Kreskowiak4-Mar-05 0:54 
Questionhow to display data in data grid in vb.net Pin
nicky_833-Mar-05 16:41
nicky_833-Mar-05 16:41 
AnswerRe: how to display data in data grid in vb.net Pin
Mohamed Ishak5-Mar-05 23:23
professionalMohamed Ishak5-Mar-05 23:23 
QuestionHow to print a picture box image with vb.net Pin
V_A_S_S3-Mar-05 16:16
V_A_S_S3-Mar-05 16:16 
AnswerRe: How to print a picture box image with vb.net Pin
Dave Kreskowiak4-Mar-05 3:33
mveDave Kreskowiak4-Mar-05 3:33 
QuestionHow to use Remoting to transfer a Bitmap? Pin
inew3-Mar-05 16:10
inew3-Mar-05 16:10 
QuestionHow to change file permissions? Pin
Zenly3-Mar-05 11:36
Zenly3-Mar-05 11:36 
AnswerRe: How to change file permissions? Pin
Christian Graus3-Mar-05 11:46
protectorChristian Graus3-Mar-05 11:46 
GeneralRe: How to change file permissions? Pin
Zenly3-Mar-05 12:12
Zenly3-Mar-05 12:12 
GeneralRe: How to change file permissions? Pin
Christian Graus3-Mar-05 12:46
protectorChristian Graus3-Mar-05 12:46 
GeneralRe: How to change file permissions? Pin
Zenly3-Mar-05 12:57
Zenly3-Mar-05 12:57 
AnswerRe: How to change file permissions? Pin
Dave Kreskowiak4-Mar-05 1:01
mveDave Kreskowiak4-Mar-05 1:01 
GeneralBound Controls Pin
lildragon3-Mar-05 6:55
lildragon3-Mar-05 6:55 
GeneralEasy VB.Net Syntax Question Pin
Capilano3-Mar-05 6:02
Capilano3-Mar-05 6:02 

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.