473,473 Members | 2,100 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Compiling With VBC

RN1
Most of the questions I have been asking in this newsgroup have
remained unanswered (is grasping .NET too tough a task - I guess so
since even basic questions that I have asked in this newsgroup haven't
been answered); so I sincerely hope someone could help me overcome
this problem

I am trying to compile a VB file using the vbc tool but it generates a
plethora of errors one of them being:

-----------------------------
Unable to load referenced library 'C:\WINDOWS\Microsoft.NET\Framework
\v2.0.5.0727\System.dll': No such interface supported.
-----------------------------

What am I missing? This is what I am using at the prompt where the VB
file MyDLL.vb resides in a command prompt window:

vbc /t:library /out:bin\MyDLL.dll /r:System.dll /r:System.Data.dll
MyDLL.vb

Please note that I have added

C:\Program Files\Microsoft.Net\FrameworkSDK\Bin\

&

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\

to the "Path" variable under "System Variables" by opening up the
"System" applet from "Control Panel" & then navigating to the
"Advanced" tab & clicking the "Environment Variables" button.

Thanks,

Ron
Mar 15 '08 #1
3 1239
RN1
On Mar 15, 4:00*pm, RN1 <r...@rediffmail.comwrote:
Most of the questions I have been asking in this newsgroup have
remained unanswered (is grasping .NET too tough a task - I guess so
since even basic questions that I have asked in this newsgroup haven't
been answered); so I sincerely hope someone could help me overcome
this problem

I am trying to compile a VB file using the vbc tool but it generates a
plethora of errors one of them being:

-----------------------------
Unable to load referenced library 'C:\WINDOWS\Microsoft.NET\Framework
\v2.0.5.0727\System.dll': No such interface supported.
-----------------------------

What am I missing? This is what I am using at the prompt where the VB
file MyDLL.vb resides in a command prompt window:

vbc /t:library /out:bin\MyDLL.dll /r:System.dll /r:System.Data.dll
MyDLL.vb

Please note that I have added

C:\Program Files\Microsoft.Net\FrameworkSDK\Bin\

&

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\

to the "Path" variable under "System Variables" by opening up the
"System" applet from "Control Panel" & then navigating to the
"Advanced" tab & clicking the "Environment Variables" button.

Thanks,

Ron
C'mon yaar...someone out there must definitely be knowing
this,,,,,,it's been close to 48 hours since I asked this
question.....is this so hard a question to answer especially for the
so-called .NET MVPs, experts, gurus?
Mar 16 '08 #2

"RN1" <rn**@rediffmail.comwrote in message
news:50**********************************@d4g2000p rg.googlegroups.com...
On Mar 15, 4:00 pm, RN1 <r...@rediffmail.comwrote:
Most of the questions I have been asking in this newsgroup have
remained unanswered (is grasping .NET too tough a task - I guess so
since even basic questions that I have asked in this newsgroup haven't
been answered); so I sincerely hope someone could help me overcome
this problem

I am trying to compile a VB file using the vbc tool but it generates a
plethora of errors one of them being:

-----------------------------
Unable to load referenced library 'C:\WINDOWS\Microsoft.NET\Framework
\v2.0.5.0727\System.dll': No such interface supported.
-----------------------------

What am I missing? This is what I am using at the prompt where the VB
file MyDLL.vb resides in a command prompt window:

vbc /t:library /out:bin\MyDLL.dll /r:System.dll /r:System.Data.dll
MyDLL.vb

Please note that I have added

C:\Program Files\Microsoft.Net\FrameworkSDK\Bin\

&

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\

to the "Path" variable under "System Variables" by opening up the
"System" applet from "Control Panel" & then navigating to the
"Advanced" tab & clicking the "Environment Variables" button.

Thanks,

Ron
C'mon yaar...someone out there must definitely be knowing
this,,,,,,it's been close to 48 hours since I asked this
question.....is this so hard a question to answer especially for the
so-called .NET MVPs, experts, gurus?

I think most people here use an IDE so this is not something that is
normally dealt with. Plus insulting those who you ask for help is just
plain dumb.
Mar 16 '08 #3
RN1
On Mar 17, 2:16*am, "Lloyd Sheen" <a...@b.cwrote:
"RN1" <r...@rediffmail.comwrote in message

news:50**********************************@d4g2000p rg.googlegroups.com...
On Mar 15, 4:00 pm, RN1 <r...@rediffmail.comwrote:


Most of the questions I have been asking in this newsgroup have
remained unanswered (is grasping .NET too tough a task - I guess so
since even basic questions that I have asked in this newsgroup haven't
been answered); so I sincerely hope someone could help me overcome
this problem
I am trying to compile a VB file using the vbc tool but it generates a
plethora of errors one of them being:
-----------------------------
Unable to load referenced library 'C:\WINDOWS\Microsoft.NET\Framework
\v2.0.5.0727\System.dll': No such interface supported.
-----------------------------
What am I missing? This is what I am using at the prompt where the VB
file MyDLL.vb resides in a command prompt window:
vbc /t:library /out:bin\MyDLL.dll /r:System.dll /r:System.Data.dll
MyDLL.vb
Please note that I have added
C:\Program Files\Microsoft.Net\FrameworkSDK\Bin\
&
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\
to the "Path" variable under "System Variables" by opening up the
"System" applet from "Control Panel" & then navigating to the
"Advanced" tab & clicking the "Environment Variables" button.
Thanks,
Ron

C'mon yaar...someone out there must definitely be knowing
this,,,,,,it's been close to 48 hours since I asked this
question.....is this so hard a question to answer especially for the
so-called .NET MVPs, experts, gurus?

I think most people here use an IDE so this is not something that is
normally dealt with. *Plus insulting those who you ask for help is just
plain dumb.- Hide quoted text -

- Show quoted text -
No...no....I really don't mean to insult or offend someone from the
bottom of my heart. I sincerely apologize for the same if anyone feels
so. Actually I have been using the various newsgroups (like ASP, SQL,
VB etc.) since last 6-7 years or so & on 99.5% occasions have got my
queries & doubts resolved but this newsgroup seems to be an exception.
Most of the questions that I have put forward in this newsgroup have
gone unanswered. Since most developers have migrated from ASP to
ASP.NET, I didn't expect such a subdued response from this newsgroup.

I guess I went a bit overboard to vent my frustration & disappointment

Once again, sorry for the folly.....

Ron
Mar 17 '08 #4

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

Similar topics

0
by: Martin Bless | last post by:
I need to access a MSSQL database (MS-Sql, not MySQL!)and would very much like to use mssql-0.09.tar.gz which is available from http://www.object-craft.com.au/projects/mssql/download.html ...
3
by: modemer | last post by:
Hello, I got weird compiling message similar like following when I compiled my simple code on Sun 5.8 with CC WorkShop 6 update 2 C++ 5.3. CC -g -o myclass.o -c myclass.cpp CC -g -o main.o...
0
by: David W. Fenton | last post by:
Today I was working on a hideous old app that I created a long time ago that does a lot of showing/hiding/resizing of fields on one of the forms. I had used constants to store reference values for...
4
by: Aaron Queenan | last post by:
When I build a C++ library to .NET using the managed C++ compiler, I get the following error message: Linking... LINK : error LNK2020: unresolved token (0A000005) _CrtDbgReport LINK : error...
2
by: Rudy Ray Moore | last post by:
Hi guys, I just upgraded to "Visual Studio .net 2003 7.1 c++" from VS6. Some things I like (proper for loop variable scoping, for example), but some other things are troubling me. One...
1
by: Jim Heavey | last post by:
Hello, trying to round out my knowlege here about compiling. To date I have used VS.Net to do all my compiling "majically", but I want to understand how to do it on my own, should the need ever...
10
by: Christina N | last post by:
When compiling my ASP.Net application, VS puts the new DLL under the local cached directory 'VSWebCache' in stead of on the server. How can I make it save the DLL file on the server when compiling?...
2
by: Justin Naidl | last post by:
A group of friends and I are doing a RPG (role-playing game) maker for a school project. It occured to us, however, that if you want the user to be able to have almost complete control over the...
8
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the...
0
by: =?Utf-8?B?amVmZmVyeQ==?= | last post by:
i need help compiling code dynamically it may involve some reflection so if any one is any good in that field or compiling code this would be a great time to show me what you know. by the way my...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.