use vc++.net in vb.net

bebakhshid

Member
Joined
Jun 28, 2004
Messages
9
Programming Experience
1-3
hello
i have a code of visual c++.net and i wanna to use in vb.net
but when i add the program this item it cannot identify the variables
how can i do this
 

Paszt

Staff member
Joined
Jun 3, 2004
Messages
1,500
Location
Raleigh, NC - USA
Programming Experience
Beginner
To use other languages, you need to compile it into a dll and add a reference to the project.

You cannot combine different languages in the same Project (although you can in the same Solution, as described above).
 

ayan

Member
Joined
Jun 9, 2004
Messages
18
Programming Experience
Beginner
if your using c++.net [which i don't know, lol] then it is managed. it uses .net base class libraries. objects, etc... just do a single solution with two projects. vb.net project and c++.net. it normally has the same objects used but differ in syntax...
 
Top Bottom