Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • *Gurus*
Posted
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.
Posted

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!

  • *Gurus*
Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...