15 pts.
 Converting Integer to Short in VB6
I need to convert integer to short and short to integer. I need a .dll which I can use in my VB6 project. Please help.

Software/Hardware used:
ASKED: March 13, 2009  10:27 AM
UPDATED: March 13, 2009  5:10 PM

Answer Wiki:
This <a href="http://digiassn.blogspot.com/2006/04/visual-basic-integer-to-stringstring.html">site</a> has some information on variable type conversion, as well as a conversation thread that exapands on the concept a bit. The page located <a href="http://theopensourcery.com/vb06tut.htm">here</a> also has some promising looking information on it. Good Luck! -Flame -------------------------- You will need to provide more information about your question and what exactly you want to accomplish. AFAIK there is not a SHORT standard data type in Visual Basic 6. However, it exists in C++, but the C++ definition of short is exactly the same as the definition for Integer in Visual Basic. From the MSDN library 6.0: Integer data type <b>A data type that holds integer variables stored as 2-byte whole numbers in the range -32,768 to 32,767.</b> The Integer data type is also used to represent enumerated values. The percent sign (%) type-declaration character represents an Integer in Visual Basic. Data Type Ranges C/C++ recognizes the types shown in the table below. <pre>Type Name Bytes Other Names Range of Values ... ... ... short <b>2 </b> short int,signed short int <b>–32,768 to 32,767 </b> ...</pre> In VB there is also a BYTE type, which stores small unsigned numbers from 0-255 (1 byte). Pleas provide more details.
Last Wiki Answer Submitted:  March 13, 2009  5:10 pm  by  Flame   14,895 pts.
All Answer Wiki Contributors:  Flame   14,895 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

any help?

 15 pts.