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

how access a frm in project_B from project_A which contains projec

Project_A is the primary project. I have deployed project_A and users have
been using it for a while. I have another project -- project_B which is a
standalone application. But rather than have to deploy 2 separate projects I
was thinking of combining project_B with project_A. So I added project_B to
project_A. But I don't know how to communicate between the projects. How
can I bring up the primary form in project_b from project_A?

Do I have to use namespaces?

Thanks,
Rich
Oct 31 '07 #1
3 1078
On Oct 31, 12:25 pm, Rich <R...@discussions.microsoft.comwrote:
Project_A is the primary project. I have deployed project_A and users have
been using it for a while. I have another project -- project_B which is a
standalone application. But rather than have to deploy 2 separate projects I
was thinking of combining project_B with project_A. So I added project_B to
project_A. But I don't know how to communicate between the projects. How
can I bring up the primary form in project_b from project_A?

Do I have to use namespaces?

Thanks,
Rich
Add a reference to Project B from project A, once you have done that
you can import the namespace.

Oct 31 '07 #2
Thanks. I was trying Imports Project_B.custNamespace

but got a message that there were no public members. Yes there are!

I will try the Reference approach. That should do it.

Thanks.

"cfps.Christian" wrote:
On Oct 31, 12:25 pm, Rich <R...@discussions.microsoft.comwrote:
Project_A is the primary project. I have deployed project_A and users have
been using it for a while. I have another project -- project_B which is a
standalone application. But rather than have to deploy 2 separate projects I
was thinking of combining project_B with project_A. So I added project_B to
project_A. But I don't know how to communicate between the projects. How
can I bring up the primary form in project_b from project_A?

Do I have to use namespaces?

Thanks,
Rich

Add a reference to Project B from project A, once you have done that
you can import the namespace.

Oct 31 '07 #3
Rich wrote:
Thanks. I was trying Imports Project_B.custNamespace
but got a message that there were no public members. Yes there are!
I will try the Reference approach. That should do it.
All "Imports" does is to save you /typing/ in your own code.

These are equivalent:

(1) Dim sMethodName as String =
System.Reflection.MethodBase.GetCurrentMethod().Na me

(2) Imports System.Reflection.MethodBase

Dim sMethodName as String = GetCurrentMethod().Name

Imports doesn't "get" you anything that you didn't have before, like
access to classes and methods defined in a.n.other assembly.

For that, you /have/ to use References.

HTH,
Phill W.
Nov 1 '07 #4

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

Similar topics

13
by: bill | last post by:
I am trying to convince a client that dotNet is preferable to an Access project (ADP/ADE). This client currently has a large, pure Access MDB solution with 30+ users, which needs to be upgraded....
3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
4
by: Otis Hunter | last post by:
I have been given an Access Database which contains a table that has an OLE object field that contains a Word document. That table contains hundreds of records. I would like to find out how I can...
70
by: lgbjr | last post by:
Hello All, I've been developing a VB.NET app that requires the use of a DB. Up to now, I've been using Access. It's a bit slow, but everything works. I'm at a point now where I need to decide if...
2
by: ruben20 | last post by:
Hi: I've migrated a couple of weeks ago from 7.4.2 to 7.4.5 and I am getting this error after executing a query: Warning: pg_exec() query failed: ERROR: could not access status of transaction...
3
by: nigel.thomson | last post by:
Hello All Is there an easy way to do this? I have a database that contains records witha image as one of the fields, what I want to do is export the images to a seperate folder, in whatever...
23
by: Reggie | last post by:
Hi and TIA. I developed several A2K dbs which are now being run on my clients computer which have been upgraded to Access 03. I'm not sure exactly what they mean but of you know or could point me...
9
by: JT | last post by:
Here is the overall structure I will be referring to: End-program ProvideWorkFlow.dll Forms and methods that properly manipulate calls to methods in AccessUtils AccessUtils (a web service)...
1
by: smaczylo | last post by:
Hello, I've recently been asked to work with Microsoft Access, and while I feel quite comfortable with Excel, I'm at a complete loss with databases. If someone could help me with this issue I'm...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.