473,412 Members | 2,075 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,412 software developers and data experts.

Reference / Call method to another project's source code

254 100+
i have 2 projects but i am not sure how to integrate them.

from 1st project, i have to call some function in 2nd project.

what source code should i add into my 1st project ?

use "import" ?
but import is used within the same project but not with other project , right ?

so what should i do ?
Sep 11 '07 #1
5 3881
dmjpro
2,476 2GB
i have 2 projects but i am not sure how to integrate them.

from 1st project, i have to call some function in 2nd project.

what source code should i add into my 1st project ?

use "import" ?
but import is used within the same project but not with other project , right ?

so what should i do ?
Actually this sounds very absurd.
Why do you need this?
Please let me know.

Kind regards,
Dmjpro.
Sep 11 '07 #2
nickyeng
254 100+
Actually this sounds very absurd.
Why do you need this?
Please let me know.

Kind regards,
Dmjpro.
Because i need to update project B's account from project A.
Sep 11 '07 #3
dmjpro
2,476 2GB
Because i need to update project B's account from project A.
So your A project depends on B.
But that should not happen in Application.

Kind regards,
Dmjpro.
Sep 11 '07 #4
r035198x
13,262 8TB
Because i need to update project B's account from project A.
What type is the account? Is it a file? A database table?

Are these "projects" running at the same time from different JVMs?
Sep 11 '07 #5
Nepomuk
3,112 Expert 2GB
i have 2 projects but i am not sure how to integrate them.

from 1st project, i have to call some function in 2nd project.

what source code should i add into my 1st project ?

use "import" ?
but import is used within the same project but not with other project , right ?

so what should i do ?
You can import one project into another with import, as long as that other project is in your classpath. However, as was already said, this is normally no good idea.

Greetings,
Nepomuk
Sep 11 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Nashat Wanly | last post by:
HOW TO: Call a Parameterized Stored Procedure by Using ADO.NET and Visual C# .NET View products that this article applies to. This article was previously published under Q310070 For a Microsoft...
2
by: Steve Harclerode | last post by:
Hi all, I've been doing web service development for a year, with a break for the last few months. What I remember is how easy it is to reference a web service using Visual Studio. So today, I...
1
by: robertm | last post by:
I have the following method written in C# public static void Substitute(ControlCollection controls, ArrayList affectedControls, ref CCase objCase) { // .................. }
3
by: Adam | last post by:
We have a web site that uses .vb for the web pages and .cs for a class module. We are getting the error in .NET 2.0 and VS 2005 beta 2. It does work with .NET 1.1. When trying to access a page...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
3
by: SAL | last post by:
I am getting the following ERROR in my WebApp on line 30: Server Error in '/TestWebApp' Application. -------------------------------------------------------------------------------- Object...
2
by: Steve | last post by:
Kind of a strange question... I have a VB.NET 2.0 solution containing a main project (my EXE) and a number of other projects (class DLLs) that are "plug-ins" to the main app. These plugins get...
12
by: Bryan Parkoff | last post by:
I write my large project in C++ source code. My C++ source code contains approximate four thousand small functions. Most of them are inline. I define variables and functions in the global scope....
275
by: Astley Le Jasper | last post by:
Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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
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
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...

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.