By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,552 Members | 927 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,552 IT Pros & Developers. It's quick & easy.

Reference VB.Net exe in Visual Basic Project

P: n/a
Hi,
I am new to .Net programmimg. Please let me know if it is possible to
refer .Net exe in a visual basic project. If so what are the steps I need to
follow.

TIA
Srinivas
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"Srinivas" <Sr******@discussions.microsoft.com> schrieb:
I am new to .Net programmimg. Please let me know if it is possible to
refer .Net exe in a visual basic project. If so what are the steps I need
to
follow.


EXE files cannot be referenced. Only DLL files (class library projects) can
be referenced by another project (to do that, select "Project" -> "Add
reference..." -> ...).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2

P: n/a
Thanks for the answer.
I am trying to add the reference of a VB.Net exe file into a Visual Baisc
6.0 project.
Is this possible?

TIA
"Herfried K. Wagner [MVP]" wrote:
"Srinivas" <Sr******@discussions.microsoft.com> schrieb:
I am new to .Net programmimg. Please let me know if it is possible to
refer .Net exe in a visual basic project. If so what are the steps I need
to
follow.


EXE files cannot be referenced. Only DLL files (class library projects) can
be referenced by another project (to do that, select "Project" -> "Add
reference..." -> ...).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

P: n/a
Found an article about this below

http://www.15seconds.com/issue/010214.htm

Thanks
"Srinivas" wrote:
Thanks for the answer.
I am trying to add the reference of a VB.Net exe file into a Visual Baisc
6.0 project.
Is this possible?

TIA
"Herfried K. Wagner [MVP]" wrote:
"Srinivas" <Sr******@discussions.microsoft.com> schrieb:
I am new to .Net programmimg. Please let me know if it is possible to
refer .Net exe in a visual basic project. If so what are the steps I need
to
follow.


EXE files cannot be referenced. Only DLL files (class library projects) can
be referenced by another project (to do that, select "Project" -> "Add
reference..." -> ...).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #4

P: n/a
"Srinivas" <Sr******@discussions.microsoft.com> schrieb:
Found an article about this below

http://www.15seconds.com/issue/010214.htm


Some additional information can be found here:

..NET Framework Developer's Guide -- Exposing .NET Framework Components to
COM
<URL:http://msdn.microsoft.com/library/en-us/cpguide/html/cpconexposingnetframeworkcomponentstocom.asp>

Visual Basic Language Concepts -- COM Interop
<URL:http://msdn.microsoft.com/library/en-us/vbcn7/html/vaconCOMInteroperability.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.