473,322 Members | 1,734 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,322 software developers and data experts.

Newbie/idiot question about adding classes to a project

I want to use the arbitrary precision integer arithmetic package "IntX",
from http://codeplex.com/IntX/

This adds a multiprecision class for integers.

I cannot see how to add an external class in to my project. If I just
compile the IntX code as a project, I get a million errors (missing
namespace).

I can't find the library in the list in "Add Resource ..." under Project in
VS2005, which isn't surprising, because its just a downloaded file - I can't
see how its "linked" to the VS environment.

Could somebody just give me a start on how I go about adding an external
class to a Windows form application?

Sorry ...

Sep 6 '08 #1
2 1144
On Sun, 7 Sep 2008 09:45:57 +1000, "Peter Webb"
<we********@DIESPAMDIEoptusnet.com.auwrote:
>Could somebody just give me a start on how I go about adding an external
class to a Windows form application?
Use "Add reference..." and browse for the file. You should then be
able to add the namespace to your project.

I normally add the dll for the class I am adding to the bin directory
under the project I am developing. That way I know it is always going
to be there and I can control which version I am developing against.

If you try to compile the IntX solution then you may get a whole load
of errors because the system uses the Nunit test framework. If you
try to compile just the IntX project (Right click on Oyster.IntX and
select compile) then it should compile OK. At least it does on my
machine.

Hope this helps,
Mark
--
|\ _,,,---,,_ A picture used to be worth a
ZZZzzz /,`.-'`' -. ;-;;, thousand words - then along
|,4- ) )-,_. ,\ ( `'-' came television!
'---''(_/--' `-'\_)

Mark Stevens (mark at thepcsite fullstop co fullstop uk)

This message is provided "as is".
Sep 7 '08 #2
On Sep 6, 7:45*pm, "Peter Webb" <webbfam...@DIESPAMDIEoptusnet.com.au>
wrote:
I want to use the arbitrary precision integer arithmetic package "IntX",
fromhttp://codeplex.com/IntX/

This adds a multiprecision class for integers.

I cannot see how to add an external class in to my project. If I just
compile the IntX code as a project, I get a million errors (missing
namespace).

I can't find the library in the list in "Add Resource ..." under Project in
VS2005, which isn't surprising, because its just a downloaded file - I can't
see how its "linked" to the VS environment.

Could somebody just give me a start on how I go about adding an external
class to a Windows form application?

Sorry ...
Did you get a useful answer to your question?
Oct 6 '08 #3

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

Similar topics

51
by: Noam Raphael | last post by:
Hello, I thought about a new Python feature. Please tell me what you think about it. Say you want to write a base class with some unimplemented methods, that subclasses must implement (or...
2
by: Mike Hennessy | last post by:
I'm looking for people's opinions and feedback regarding the design of the application tier, and how to best logically separate out the Data Access from the Business Object's. Per the Microsoft...
4
by: Bill Dodd | last post by:
Is there really no way to have different asp.net applications share session variables? The problem I'm running into is that I have numerous asp.net (and asp) applications that were written as...
12
by: clintonG | last post by:
I can't tell you how frustrated I get when going to a web developer's website and observing he or she is an idiot that has not grasped the most fundamental element of usability: page title naming...
4
by: Josh Golden | last post by:
i lead a small development team (based on some of my posts that might cause some people to choke themselves, but have no fear, i am NOT the lead developer, the people on my team are great - i'm...
0
by: MIGUEL | last post by:
Hi all! Be patient because what I'm going to explain all of you it's more than very strange. I've developed a webservice project that contains two classes. One of them is going to act as a...
3
by: MIGUEL | last post by:
Hi all, I'm quite lost with how adding web references to a project creates proxy classes. I've developed a web service with two classes inside and that contains three references to three...
44
by: Andy Dingley | last post by:
On 15 May, 04:55, Prisoner at War <prisoner_at_...@yahoo.comwrote: Or in another universe, where things are understood and site code is stable and reliable, beginners don't even think about...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.