PC Review


Reply
Thread Tools Rate Thread

Conversiont Function

 
 
Jim Heavey
Guest
Posts: n/a
 
      30th Aug 2003
If you have an object array with values such as Int16 or Int64, what
conversion function do you use on them, i.e CInt(myObject(1))? There is no
CInt16, so what would you use?


Thanks in advance for your assistance!!!!




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
 
Reply With Quote
 
 
 
 
Jay B. Harlow [MVP - Outlook]
Guest
Posts: n/a
 
      30th Aug 2003
Jim,
Int32 is an Integer, CInt converts to integer.

Int16 is a Short, CShort converts to short.

Int64 is a Long, CLng converts to long.

Hope this helps
Jay

"Jim Heavey" <(E-Mail Removed)> wrote in message
news:3f5000f8$(E-Mail Removed)...
> If you have an object array with values such as Int16 or Int64, what
> conversion function do you use on them, i.e CInt(myObject(1))? There is

no
> CInt16, so what would you use?
>
>
> Thanks in advance for your assistance!!!!
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 100,000 Newsgroups - 19 Different Servers! =-----



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      30th Aug 2003
Hello,

"Jim Heavey" <(E-Mail Removed)> schrieb:
> If you have an object array with values such as Int16 or Int64, what
> conversion function do you use on them, i.e CInt(myObject(1))? There is

no
> CInt16, so what would you use?


CShort

http://msdn.microsoft.com/library/en...conversion.asp

HTH,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I have a CLR function thet returns IEnumberable (a table) and it has a FillRow function. I am returning 10,000 integers from this function. Is there any way that I can preallocate the resulting table or give SQL server hint as to how many rows my fun DR Microsoft Dot NET Framework 1 22nd Nov 2007 11:36 AM
I have a CLR function thet returns IEnumberable (a table) and it has a FillRow function. I am returning 10,000 integers from this function. Is there any way that I can preallocate the resulting table or give SQL server hint as to how many rows my fun DR Microsoft ADO .NET 3 22nd Nov 2007 09:17 AM
I have a CLR function thet returns IEnumberable (a table) and it has a FillRow function. I am returning 10,000 integers from this function. Is there any way that I can preallocate the resulting table or give SQL server hint as to how many rows my fun DR Microsoft VB .NET 0 20th Nov 2007 04:24 AM
I have a CLR function thet returns IEnumberable (a table) and it has a FillRow function. I am returning 10,000 integers from this function. Is there any way that I can preallocate the resulting table or give SQL server hint as to how many rows my fun DR Microsoft Dot NET 0 20th Nov 2007 04:24 AM
VbScript Function to encode into base64 compatible with .NET function System.Convert.FromBase64String abarberis@gmail.com Microsoft Dot NET Framework 1 20th Mar 2006 11:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:33 AM.