473,323 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Conversions between C types and VB types

I've seen a table of conversions between C types and VB.net types.
But now that I need it I can't find it anywhere on the internet.

What I mean, should DWORD be UInteger or Integer, etc.
Do you know where there is such a table?
Secondly, with vb.net should I use
Integer, UInteger... or
Int32, UInt32...
thanks
Aug 14 '07 #1
2 1446
Regarding the first question, here are some links:
http://msdn2.microsoft.com/en-us/lib...20(vs.71).aspx
http://www.codeproject.com/dotnet/Wi...ustoDotNET.asp
Many equivalents can be obtained via our 'C++ to VB Converter' (demo edition).

Regarding the second question, use whichever you prefer. "Integer" is just
a VB language alias for "System.Int32", etc.
--
David Anton
http://www.tangiblesoftwaresolutions.com
Convert between VB, C#, and C++
Instant C#
Instant VB
Instant C++
C++ to C# Converter
C++ to VB Converter
"active" wrote:
I've seen a table of conversions between C types and VB.net types.
But now that I need it I can't find it anywhere on the internet.

What I mean, should DWORD be UInteger or Integer, etc.
Do you know where there is such a table?
Secondly, with vb.net should I use
Integer, UInteger... or
Int32, UInt32...
thanks
Aug 14 '07 #2
Thanks, just what I needed.
"David Anton" <Da********@discussions.microsoft.comwrote in message
news:33**********************************@microsof t.com...
Regarding the first question, here are some links:
http://msdn2.microsoft.com/en-us/lib...20(vs.71).aspx
http://www.codeproject.com/dotnet/Wi...ustoDotNET.asp
Many equivalents can be obtained via our 'C++ to VB Converter' (demo
edition).

Regarding the second question, use whichever you prefer. "Integer" is
just
a VB language alias for "System.Int32", etc.
--
David Anton
http://www.tangiblesoftwaresolutions.com
Convert between VB, C#, and C++
Instant C#
Instant VB
Instant C++
C++ to C# Converter
C++ to VB Converter
"active" wrote:
>I've seen a table of conversions between C types and VB.net types.
But now that I need it I can't find it anywhere on the internet.

What I mean, should DWORD be UInteger or Integer, etc.
Do you know where there is such a table?
Secondly, with vb.net should I use
Integer, UInteger... or
Int32, UInt32...
thanks

Aug 14 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: buda | last post by:
Let me see if I got this :) 1. I know the rules for type conversions in arithmetic expressions 2. I know that an implicit type conversion is done at assignment, so float x = 1.23; int t = (int)...
10
by: vb | last post by:
Hi all, I am a newbie in C and i want to know what all pointer conversions are "legal" according to ANSI C standard. For Example, int* to char*, some_struct* to char* and so on .. According to...
4
by: O. Zimmermann | last post by:
Hi all, A variable with an enumerated type can be set with a value from any other generic "enum" type in the program, or with an integer value, without notice to the user, neither at compilation...
31
by: Michael C | last post by:
If a class inherits from another class, say Form inherits from control, then I can assign the Form to a variable of type Control without needing an explicit conversion, eg Form1 f = new Form1();...
36
by: Chad Z. Hower aka Kudzu | last post by:
I have an implicit conversion set up in an assembly from a Stream to something else. In C#, it works. In VB it does not. Does VB support implicit conversions? And if so any idea why it would work...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.