aboka
asked on
Make Program 'Talk' To Each Other
Hi! I would like to request a sample for the best way to make my VB program to 'talk' to each other. Like when the 'client' start it will 'inform' the 'main', etc.
I have found one example from the internet and I think its using DDE, but it needs to have textbox(control) on both the running program to run successfully. So I think there must be a better way.
FYI - I am running VB6
Thank you,
I have found one example from the internet and I think its using DDE, but it needs to have textbox(control) on both the running program to run successfully. So I think there must be a better way.
FYI - I am running VB6
Thank you,
Apologies to the Apostrophe Preservation Society for "It's" instead of "Its"
>>but it needs to have textbox(control) on both the running program to run successfully.
You can set visbile to false
You can set visbile to false
ASKER
To EDDYKT -
Yep, have done that, but like my question - I want to find other better ways.
Thank you,
Yep, have done that, but like my question - I want to find other better ways.
Thank you,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
To seanpage -
I have looked at the link you provided and test the code, its working ok with the 'notepad'. But how could I 'trap' the message send to my program?
Do I need to have a textbox and a timer to constantly check if theres any message receive? I was hoping to find something without all that(control). Please advice with sample coding, thank you.
P/s - The TCP/IP thing is not suitable as its not a network program.
cheers,
I have looked at the link you provided and test the code, its working ok with the 'notepad'. But how could I 'trap' the message send to my program?
Do I need to have a textbox and a timer to constantly check if theres any message receive? I was hoping to find something without all that(control). Please advice with sample coding, thank you.
P/s - The TCP/IP thing is not suitable as its not a network program.
cheers,
Surely having a text box control is not a problem?