473,799 Members | 3,218 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

command line compiler referencing

Hi everyone,
I've been practicing C# by writing some programs with the downloadable SDK
from Microsoft. I'm writing the programs using Notepad and compiling with
the command line compiler. I have Excel installed and I'd like to use the
MSChart control but I don't know how to command the compiler to reference it.
I've found instructions on the web that say:

"Add a reference to the MSChart control to Visual Studio's toolbox. Select
menu->Tools->Add/Remove Toolbox items, then the COM components tab and look
for Microsoft Chart Control version 6.0 (OLEBD)."

I don't have Visual Studio...can someone post an example of how to
accomplish the above by using the command-line compiler? Thanks in advance
everyone!
Nov 17 '05 #1
1 1429
=?Utf-8?B?TGlvbmVs?= <Li****@discuss ions.microsoft. com> wrote in
news:3D******** *************** ***********@mic rosoft.com:
Hi everyone,
I've been practicing C# by writing some programs with the
downloadable SDK from Microsoft. I'm writing the programs using
Notepad and compiling with the command line compiler. I have
Excel installed and I'd like to use the MSChart control but I
don't know how to command the compiler to reference it.
I've found instructions on the web that say:

"Add a reference to the MSChart control to Visual Studio's
toolbox. Select menu->Tools->Add/Remove Toolbox items, then the
COM components tab and look for Microsoft Chart Control version
6.0 (OLEBD)."

I don't have Visual Studio...can someone post an example of how
to accomplish the above by using the command-line compiler?
Thanks in advance everyone!


Exposing COM Components to the .NET Framework:

http://msdn.microsoft.com/library/de...TFramework.asp

--
Hope this helps.

Chris.
-------------
C.R. Timmons Consulting, Inc.
http://www.crtimmonsinc.com/
Nov 17 '05 #2

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

Similar topics

9
4559
by: happy | last post by:
I need to download Command line C compiler ASAP ? Where can I find the latest and moden one ?
11
3232
by: Andrew Warren | last post by:
When I build my winforms exe using the IDE I have a perfectly functioning exe. If I try to build the same project using the .Net Framework csc compiler I get a seemingly valid exe produced (although it's only 44 Kb instead of 76 Kb). When I then run the csc-compiled exe I immediately get a "System.TypeInitializationException". What am I missing? I'm guessing there may be some batch
4
1636
by: Francesco Martinelli | last post by:
I need to create a multiple file assemby: this requires working directly with the command line compiler (no IDE support!). After a few tests I found my problem comes from the issue described below. Thank you in advance for any suggestion? === The project is a nearly empty Windows Form project, and the compilation works fine as far as there is no bitmap in the project form. I have to use the command line compiler and I use the following...
3
4919
by: michael | last post by:
How can I compile my VS.NET ASP.NET project from the command line?
6
1471
by: Todd A | last post by:
If I use the following in my code behind page: Public Class _Default Inherits System.Web.UI.Page The page will compile with no errors from the command line compiler (vbc.exe) But, If I insert my own base page to inherit from, say,
4
2209
by: billben74 | last post by:
Despite advances in devstudio .NET building large projects can still be difficult. Is there a way, perhaps using EnvDev class or some other class that would allow output of the "command line" that is being used to compile a VB.NET project (c.f. C++ which shows this under project options/Linker). This would be very useful as one could explicitly see which assemblies were being included in each project; it would also be a good starting...
1
2182
by: Papanii Okai | last post by:
Hi Guys, I am trying to use the command line to compile a .cs file to a dll. I am using the Windows SDK command shell for this. Below is the command.. C:\Documents and Settings\Papanii Okai\Desktop>csc /t:library HelloWorld.cs /reference:System.dll
4
5007
by: Bit byte | last post by:
I have a project that I normally build (without problems) from the DevStudio IDE. However, I have embarked on automating all my builds (this test project being one of several). The project creates a DLL. I am able to build the project without any probs in the IDE, however - when I build the project from the command line (using the same options shown in the 'Command line' node in the 'Project Settings' dialog box), I get the following...
3
4581
by: Tom Baxter | last post by:
I just set up VS 2008 B2 and did a simple command line compile from the VS command prompt. I received this warning: warning CS1668: Invalid search path 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib' specified in 'LIB environment variable' -- 'The system cannot find the path specified. ' When I checked, sure enough, the "lib" directory is not present'. Perhaps I
0
9688
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9546
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10243
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10030
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5467
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5590
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4146
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.