anthony Posted September 26, 2002 Posted September 26, 2002 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 Quote
*Gurus* Derek Stone Posted September 26, 2002 *Gurus* Posted September 26, 2002 It's very easy to have multiple projects in one solution. Just add another one. However, what you're trying to do isn't quite that simple. Each project runs as its own process and therefore has its own address space. It's possible to communicate between two processes using various IPC techniques, but with global variables? No. Quote Posting Guidelines
anthony Posted September 26, 2002 Author Posted September 26, 2002 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! Quote
*Gurus* Derek Stone Posted September 26, 2002 *Gurus* Posted September 26, 2002 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? I'm 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. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.