Solution explorer and two projects

anthony

Member
Joined
Jun 14, 2002
Messages
24
I was wondering if there was a way in a VB.net program
to have two projects inside the solution explorer(i.e shellapp1,
and shellapp2).
and have the first project(shellapp1) say read and bind
a database and then somehow call (shellapp2),at a certain
point in the program to manipulate the database.
And if so how would shellap2 recognize public variables ,etc
I know this can be done with forms no problem,but I
want to do it with two seperate projects in the same solution explorer.
Any help Ill gladly lend you ten dollars if
I run into you.
Sincerely Anthony
 
Its very easy to have multiple projects in one solution. Just add another one. However, what youre trying to do isnt quite that simple. Each project runs as its own process and therefore has its own address space. Its possible to communicate between two processes using various IPC techniques, but with global variables? No.
 
The ongoing struggle!

Hey crazed Lunatic.You,re not as crazy as you look!Thanks
for the help!
I was just wondering,Is there anyway at all to get around
the shortcomings of the userdefined classes and com componants in the vb .net standard edition.
Is there any tricks at all?And what is Ipc techniques?
Thanks for your help!
Stay a Lunatic!
Thank you Anthony!
 
Is there anyway at all to get around
the shortcomings of the userdefined classes and com componants in the vb .net standard edition.
Is there any tricks at all?
Im not sure I follow you on this. Can you rephrase it?
what is Ipc techniques?
It stands for Interprocess communication. Some methods to take note of are DDE (outdated), file-based communication, [api]SendMessage[/api] with/without WM_COPYDATA, [api]ReadProcessMemory[/api]/[api]WriteProcessMemory[/api], and System.Runtime.Remoting. This last one is solely related to .NET.
 
Back
Top