473,399 Members | 3,832 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,399 software developers and data experts.

Referencing business objects from another application

I'm creating a new application that will use/need to refer to some
business objects I have in another separate application. What the best
way to do this?

It appears that adding a reference and pointing to the
INETPUB\WWWROOT\MyOldApplication\MyBusinessObject\ Bin\BusinessObjects.dll
of my other application

works and the code compiles but I want to know if this is the right
way of doing this.

I don't want to just duplicate my objects. I'd rather do a reference
except the reference it to another application.

Any help would be appreciated.

Thanks.

7078895
Nov 20 '05 #1
2 964
Yep, this is how it's done.

"SpamProof" <sp***********@yahoo.com> wrote in message
news:8c**************************@posting.google.c om...
I'm creating a new application that will use/need to refer to some
business objects I have in another separate application. What the best
way to do this?

It appears that adding a reference and pointing to the
INETPUB\WWWROOT\MyOldApplication\MyBusinessObject\ Bin\BusinessObjects.dll
of my other application

works and the code compiles but I want to know if this is the right
way of doing this.

I don't want to just duplicate my objects. I'd rather do a reference
except the reference it to another application.

Any help would be appreciated.

Thanks.

7078895

Nov 20 '05 #2
"SpamProof" <sp***********@yahoo.com> wrote in message
news:8c**************************@posting.google.c om...
I'm creating a new application that will use/need to refer to some
business objects I have in another separate application. What the best
way to do this?

It appears that adding a reference and pointing to the
INETPUB\WWWROOT\MyOldApplication\MyBusinessObject\ Bin\BusinessObjects.dll
of my other application

works and the code compiles but I want to know if this is the right
way of doing this.

I don't want to just duplicate my objects. I'd rather do a reference
except the reference it to another application.


You probably want to put BusinessObjects.dll into some library directory and
then reference the library directory from your new project. You don't want
to be referencing it from where your old application happens to be located
today. What if it moves?
--
John Saunders
John.Saunders at SurfControl.com
Nov 20 '05 #3

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

Similar topics

2
by: hans | last post by:
Hi! I am new to .NET (coming from Java). We have to implement a desktop application which extracts data from a database, does some analysis, filtering etc. and displays the results. I have...
16
by: PromisedOyster | last post by:
Hi I have a situation where I want to use circular referencing. I have cut down the example for demonstration purposes. Say we have one executable (main.exe) and two DLLS (A1.dll and A2.dll)....
2
by: SpamProof | last post by:
I'm creating a new application that will use/need to refer to some business objects I have in another separate application. What the best way to do this? It appears that adding a reference and...
5
by: G. Stewart | last post by:
The word "Business" in the term implies some sort of commercial aspects or connotations. But from what I can see, that is not necesserially the case at all? So what is the reasoning behind the...
8
by: Keith-Earl | last post by:
Okay, looking for a Best Practice. We are building a classic three tier app in VB.NET. When we load up a WebForm we have access to very useful objects such as the Session object. We frequently...
6
by: Relaxin | last post by:
I'm coming from Borland C++ and am "somewhat" new to C#, but very seasoned in C++. I'm looking for a specific feature that Borland had that I can't seem to find in C#. In Borland that feature...
25
by: Penelope Dramas | last post by:
Hello, I'm in a front of very serious .net redesign/rewrite of an old VB6 application. I had been asked to make it .NET 2.0 and would like to ask couple of questions regarding data access as...
5
by: =?Utf-8?B?U3RlZmFuIEJhcmxvdw==?= | last post by:
I am experiencing a lot of speed issues on initial app loads where we are referencing 3rd party 1.1 assemblies from 2.0 code. Those 1.1 assemblies reference things like System.Windows.Forms...
8
by: morleyc | last post by:
Hi, until recently i was quite happy to add data sources from mssql database in visual studio and drag the datasets directly onto the form this creating a directly editable form which worked well....
12
by: BillE | last post by:
I'm trying to decide if it is better to use typed datasets or business objects, so I would appreciate any thoughts from someone with more experience. When I use a business object to populate a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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
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...

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.