By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,501 Members | 2,817 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,501 IT Pros & Developers. It's quick & easy.

Ok Numeric Question

daniel aristidou
100+
P: 491
Ok....This is gonna sound Realy Stupid

Does any one know the IsNumeric Equivalent in VB9 / VB 2008

Its just that i cant seem to find it!!!
Apr 25 '08 #1
Share this Question
Share on Google+
6 Replies


lotus18
100+
P: 866
Ok....This is gonna sound Realy Stupid

Does any one know the IsNumeric Equivalent in VB9 / VB 2008

Its just that i cant seem to find it!!!
In vb 2005, you can upgrade your vb 6 codes to .NET. I didn't yet used vb 2008 but I hope that this feature has been included .

Rey Sean
Apr 25 '08 #2

P: 88
Ok....This is gonna sound Realy Stupid

Does any one know the IsNumeric Equivalent in VB9 / VB 2008

Its just that i cant seem to find it!!!
according to msdn, IsNumeric should work in .Net 3.5 (VB 2008) as well: http://msdn2.microsoft.com/en-us/library/6cd3f6w1.aspx
Apr 25 '08 #3

daniel aristidou
100+
P: 491
according to msdn, IsNumeric should work in .Net 3.5 (VB 2008) as well: http://msdn2.microsoft.com/en-us/library/6cd3f6w1.aspx
Well im afraid to say...i cant seem to find it.

and the convert up code feature seems see isnumeric as correct for vb 2008 but vb just doesnt seem to accept it.

Do i need to import a specific reference?
Apr 25 '08 #4

P: 88
Well im afraid to say...i cant seem to find it.

and the convert up code feature seems see isnumeric as correct for vb 2008 but vb just doesnt seem to accept it.

Do i need to import a specific reference?
yes, you need to import Microsoft.VisualBasic - it's on the msdn page:

"Requirements
- Namespace: Microsoft.VisualBasic
- Module: Information
- Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)"

if you add
Expand|Select|Wrap|Line Numbers
  1. Imports Microsoft.VisualBasic
at the top, it will work.
Apr 25 '08 #5

daniel aristidou
100+
P: 491
yes, you need to import Microsoft.VisualBasic - it's on the msdn page:

"Requirements
- Namespace: Microsoft.VisualBasic
- Module: Information
- Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)"

if you add
Expand|Select|Wrap|Line Numbers
  1. Imports Microsoft.VisualBasic
at the top, it will work.
Ok ill give it a go..............
Apr 25 '08 #6

daniel aristidou
100+
P: 491
Ok ill give it a go..............

Wow Wow Wow ......
it worked.....
How wierd....
Visual basic requires you to import itself
Apr 26 '08 #7

Post your reply

Sign in to post your reply or Sign up for a free account.