Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2008 > Visual Basic 2008 Essentials
|
Visual Basic 2008 Essentials If you are new to Visual Basic programming with version 2008, this is the place to start your questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2008 Essentials section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 30th, 2011, 11:47 AM
Authorized User
 
Join Date: Aug 2010
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Default How to exchange datas between two projects under oan solution?

I get a solution with two different projects,and In one of the two projects I will need to get all control's Text propety of a form,which is containd in the other project.what will I need to do?
For example,I have a solution called solution1,which contains two projects,let's call them project1 and project2.They both contain a form named frmProject1 and frmProject2.Now I will need to get the Text property of frmProject1 's all controls in frmProject2' code editer.I have already add project1 to project2's reference. What's the next I will need to do? Please give me a hand! Thanks.
 
Old May 30th, 2011, 01:23 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

That doesn't sound logical.. Why you need something like that?? why not pass the data in a common way?? (like an xml file, a text file, a flat file, a database or other method)???

How will the project2 know when to collect the data??
__________________
HTH

Gonzalo


================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the
proof.
================================================== =========
The Following User Says Thank You to gbianchi For This Useful Post:
Waterharbin (May 31st, 2011)
 
Old May 31st, 2011, 04:01 AM
Authorized User
 
Join Date: Aug 2010
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Smile

Yes,you are right,That does't sound logical at all.I guess I am not as good as you are in programming.I will take you way,and turn to a text file.Thank you very much for you help.





Similar Threads
Thread Thread Starter Forum Replies Last Post
you can get the solution to projects at hirealance hirealancer Other Programming Languages 0 August 21st, 2006 09:47 AM
Multiple Projects under Single Solution gadhiav ASP.NET 1.0 and 1.1 Professional 2 October 20th, 2005 04:26 AM
Send message between 2 Projects within a Solution KCUK Beginning VB 6 4 August 12th, 2005 07:54 AM
multiple projects within the solution(close Key) rosalynb VS.NET 2002/2003 1 September 28th, 2004 12:50 AM
Exchange or Custom Solution? [email protected] ASP.NET 1.x and 2.0 Application Design 2 February 6th, 2004 10:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.