473,385 Members | 1,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Reference error!

Hi,
I have this project it has a folder that it's supposed to read but when
I run an error occurs the type or namespace name src could not be
found(areyou missing a using directive or an assembly referrence?).
This folder is src it contains a folder called controls and in controls
that's where one finds an object and I think It's a graph because the
code looks like this.
public src.controls.cont dngchart;

// Set our axis values
dngchart.YAxisValues = iValue;

// Set our axis strings
dngchart.YAxisItems = sItems;

// the colors
dngchart.gcolors=mags;

// Provide a title
dngchart.ChartTitle = "<b>Inventory Breakdown:</b>";

// Provide an title for the X-Axis
dngchart.XAxisTitle = "(units display actual numbers)";
What could this be?
Thanks

Jan 22 '07 #1
5 1010
Likely, folder src contains a project that you can add to your project as a
reference. Right click your project in the solution explorer and select "Add
reference".

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"rcoco" <nc******@yahoo.cawrote in message
news:11*********************@q2g2000cwa.googlegrou ps.com...
Hi,
I have this project it has a folder that it's supposed to read but when
I run an error occurs the type or namespace name src could not be
found(areyou missing a using directive or an assembly referrence?).
This folder is src it contains a folder called controls and in controls
that's where one finds an object and I think It's a graph because the
code looks like this.
public src.controls.cont dngchart;

// Set our axis values
dngchart.YAxisValues = iValue;

// Set our axis strings
dngchart.YAxisItems = sItems;

// the colors
dngchart.gcolors=mags;

// Provide a title
dngchart.ChartTitle = "<b>Inventory Breakdown:</b>";

// Provide an title for the X-Axis
dngchart.XAxisTitle = "(units display actual numbers)";
What could this be?
Thanks

Jan 22 '07 #2
You don't give a lot of info about how your project is structured, or
where - exactly - the error occurs. Usually this type of error occurs at
compile time, but you say, "When I run ...". So I don't really understand
that.

Assuming for the moment that the error occurs at compile time on the first
line you give:

public src.controls.cont dngchart;

(Which presumably is a member variable of some class or other)

Have you referenced the assembly that contains the class src.controls.cont?

If not you will have to add such a reference before your project will
compile.

If the error occurs at runtime (i.e. the project compiles without errors),
then please let us know what happens when you run the project through the
debugger - i.e. on what line does the error occurs, as well as giving some
surrounding lines for context, and the current values of all the variables
that you think are of interest.

HTH
Peter

"rcoco" <nc******@yahoo.cawrote in message
news:11*********************@q2g2000cwa.googlegrou ps.com...
Hi,
I have this project it has a folder that it's supposed to read but when
I run an error occurs the type or namespace name src could not be
found(areyou missing a using directive or an assembly referrence?).
This folder is src it contains a folder called controls and in controls
that's where one finds an object and I think It's a graph because the
code looks like this.
public src.controls.cont dngchart;

// Set our axis values
dngchart.YAxisValues = iValue;

// Set our axis strings
dngchart.YAxisItems = sItems;

// the colors
dngchart.gcolors=mags;

// Provide a title
dngchart.ChartTitle = "<b>Inventory Breakdown:</b>";

// Provide an title for the X-Axis
dngchart.XAxisTitle = "(units display actual numbers)";
What could this be?
Thanks

Jan 22 '07 #3
That was actually what I tryed at first. Can someone create a .dll for
a folder?

Jan 22 '07 #4

Sorry I made a mistake the error comes at the compiling time.

Jan 22 '07 #5

Sorry I made a mistake the error comes at the compiling time.

Jan 22 '07 #6

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

Similar topics

2
by: Pkpatel | last post by:
Hi, I keep getting this error every time I try to load crystalreportviewer on a webform with a dataset. Here is the error: -------------------------------------------------------- Server...
4
by: Todd | last post by:
Is it possible to pass an argument by reference through an event in C++ managed code? For example, can I do the following? public __gc class MyClass : public Control { public: __event...
110
by: Mr A | last post by:
Hi! I've been thinking about passing parameteras using references instead of pointers in order to emphasize that the parameter must be an object. Exemple: void func(Objec& object); //object...
6
by: trexim | last post by:
Hi, I am trying to create a Web Reference for CSTA using the URL http://www.ecma-international.org/standards/ecma-348/csta-wsdl/csta-wsdl-all-operations.wsdl Visual .Net complains that: "...
2
by: Zippy | last post by:
Some months ago, we requested help from this newsgroup on how to replace the library reference of a database with another library reference, prior to creating an MDE. I got the following answer...
2
by: Steve Jorgensen | last post by:
When writing VB or VBA code that works with databases or other external libraries that cannot be trusted to automatically do the right thing when references to their objects are arbitrarily...
4
by: dhnriverside | last post by:
HI guys I've just written my first independent namespace for my library (yay me!). However, on trying to add it to my website project, it causes an error when I look at the website. It compiles...
2
by: msnews.microsoft.com | last post by:
I am currently trying to follow the Que Publishing exam guide to the Microsoft Exam 70-320. I followed the guide to a tee, but when I try to add a web reference to my server side soap extension it...
51
by: Kuku | last post by:
What is the difference between a reference and a pointer?
3
by: prakash.mirji | last post by:
Hello, I am getting below mention linker error when I tried to link my class test.C I use below command to compile test.C /usr/bin/g++ -g -fpic -fvisibility=default -D_POSIX_SOURCE...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.