Howdy , 2 Questions...

O

Organza

good day all!
i have 2 questions i will be thankful if someone will be able to help me :)

1. i know that there are few diffrences in the size of int , double , short
, etc.... can someone tell me please what are the diffrences bettwen vb6 to
..net or give me some sources , links to read.?

2. i have vb.net project which include reference to vb6 com , now i need to
pass to a function from .net to the vb6 some parameter but!!!!! he need to
be byref and when i do so i got "Type Mismatch" someone can guess what the
problem is?

any help will be thankful.
Zoei...
 
A

Armin Zingler

Organza said:
good day all!
i have 2 questions i will be thankful if someone will be able to help
me :)

1. i know that there are few diffrences in the size of int , double ,
short , etc.... can someone tell me please what are the diffrences
bettwen vb6 to .net or give me some sources , links to read.?

All data types are described in the docs. In VB6 as well as in VB.Net.
Simply type the type name in the code editor, and/or, in VB6, in the
immediate window and press said:
2. i have vb.net project which include reference to vb6 com , now i
need to pass to a function from .net to the vb6 some parameter
but!!!!! he need to be byref and when i do so i got "Type Mismatch"
someone can guess what the problem is?

What's the declaration of the procedure? What the declaration of the
variables/values you're trying to pass?

Also have a look at

<F1>
Visual Studio.NET
Visual Basic and Visual C#
Reference
Visual Basic language
Tour through Visual Basic
COM-Interop
 
A

Armin Zingler

Armin Zingler said:
All data types are described in the docs. In VB6 as well as in
VB.Net. Simply type the type name in the code editor, and/or, in VB6,
in the immediate window and press <F1>.

You might also consider reading

Visual Studio.NET
Visual Basic and Visual C#
Reference
Visual Basic language
Tour through Visual Basic
-> Changes in Visual Basic
Upgrading applications
Upgrading from VB 6.0
-> Introduction in VB.Net for experienced VB users
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top