answersLogoWhite

0


Best Answer

Visual Basic.net 2008 Datatypes

Data Type in Visual Basic.net 2008 defines the type of data a programming element should be assigned, how it should be stored and the number of bytes occupied by it.

In VB.net 2008 all the variables by default are of Variant datatype was used for numeric, date, time and string data, but in VB.net 2008 Variant and Currencydatatypes are no longer available. Following are the common data types used in Visual Basic.Net 2008.

Data TypeValue RangeByte0 to 255BooleanTrue or FalseChar0 to 65535DateJanuary 1, 0001 to December 31,9999Decimal+/-79,228,162,514,264,337,593,543,950,335 with no decimal point; +/-7.9228162514264337593543950335 with 28 place to right of decimal.Double-1.79769313486231E+308 to -4.94065645841247E-324 for negative values to 4.94065645842247E-324 to 1.79769313486231E+308 for positive values.Integer-2,147,483,648 to 2,147,483,647Long-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807ObjectAny type can be stored in a variable of type ObjectShort-32,768 to 32,767Single-3.402823 * 103 to -1.401298 * 10 45 for negative values 1.401298 * 10 -45 to 3.402823 * 10 38for positive valuesString0 to approximately 2 billion characters

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the VB built in data types?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is built-in data-type are abstract data-types in java?

All built-in data types are not abstract data types.


What is data project in VB 6.0?

kire khar


Difference between built in data type and user-defined datatype?

A built in data type is a framework's native data type. By default you'd probably have some built in generic data types, such as integer, string, boolean and so on. In the other hand sometimes you can extend the framework's data types, by programminga user-defined data type. In this data type you have to define it's behaviour and structure, and once defined, you can use it the same way you use the default data types. In PostgreSQL or Oracle, you can define data types. You can read about it on their webs.


What is datatype.Define various types of data types?

In c language data types are used to specify the tye of data.for ex:int a;It means "a" is a variable of type integer.There are two types of data types in c.They areprimary data typessecondary data typesprimary data types are the built in data types and secondary data types are the user defined data types.eg for primary data types are int,float,char,long,double..and for secondary are arrays,structures,pointers,unions..


Why String data type cannot be used as built-in data type in C?

Because it isn't a built-in data-type in C. Other examples that aren't built-in data-types: complex numbers, binary trees, associative-arrays.


What is the need for structure datatype?

A structure is not a data type. We use structures to define new data types (user-defined data types). If we didn't have the ability to create user-defined types we'd be limited solely to the built-in data types and arrays of those types.


What is the full form of dde in vb?

dynamic data exchange


What are the types of Dot-net?

totally there are 3 types C # Asp dot net Vb dot net


Types of VB files?

.frm .vbp .vbw .frx


What are derived data types in the C language?

You seem to have lost your text book so I am giving you a link where you can study data types, including derived data types.


How do you use MSFlexGrid in VB6.0?

How to display data in table form in VB 6.0


How do you show oracle data in vb text box?

its very easy dear