Terminal Services and Applications running in the session

1- Assume that there is a windows application (lets call it APP-A) running in a Terminal Services Session on a computer that has Windows XP installed.
2- Assume on the Win XP machine there is another application (APP-B) installed that is NOT inside the Terminal Session.
3- The problem is that APP-A needs to pass messages/commands over to APP-B, and visa versa.  
(Note: Communication between APP-A and APP-B when installed both on Win XP works fine)

Q1- Can this be achieved?
Q2- What is the best way/technique/approach to achieve this?

Thanks in advance
centsoftAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
You'll have to explain how you have an application that is NOT inside the Terminal Session.  A Terminal Session does not "contain" applications that are insalled on a Windows XP computer.  Since Windows XP does not allow two users to be logged on at the same time, it is not clear to me what this question is really asking.

Could you be more specific?

Jeff
TechSoEasy
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
centsoftAuthor Commented:
OK, thanks,

 I have a Win XP pc, consider that the client pc.
On this Win XP pc, I open a connection (Terminal Services- TS) session to a Terminal Services Server.
The Terminal Services session runs in a separate window (I can resize/minimise it etc), on the Win XP PC (client).
This allows me to run the TS session  (and associated apps inside it) plus other separate applications concurently running on the local WinXP client (outside the session).

I hope I have explained this a bit better?

-Frank
0
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Ah... now I understand... I was picturing that you were connecting to the XP Machine remotely.

So to answer your questions:

Q1- Can this be achieved?

Yes... depending on the protocol of the message/command that needs to be transfered

Q2- What is the best way/technique/approach to achieve this?

That would all depend on the protocol.  

So now you need to be quite specific about what the programs are and what messages/commands you want to transfer if you want a real answer to this question.

Jeff
TechSoEasy
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

centaursoftwareCommented:
Well, I am no programmer, so I can not be very specific.
One program is written in PowerBuilder 9, the others could be C++ etc.
Basically, the PowerBuilder (PB) program is the front end to a sybase sqlanyware 9 database of customer records.
This program runs in the Terminal Server session.
The external programs are image management programs, they store scanned and captured images for its own customer database. There are about 8 of these programs, each uses some sort of method to allow the PB to send them messages. Most use command line, some use the clipboard, some use DDE, some OLE and some "mailshot" (whatever that is).
So lets say command line way.
The PB program will say to the Image program c:\image.exe -cutomerID "1", -name "Smith, Mrs Mary"
So then the image program called IMAGE.EXE opens with Customer ID =1 , Customer name = "Smith, Mrs Mary"

Hope that makes some sense.
See what I want to do is be sure its possible so I can get some experienced programmer to do it.

-Frank
0
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
It does make sense... and I'm no programmer either... but I think I understand what you are trying to accomplish...

Just FYI, here is a good overview of how TS works:
http://technet2.microsoft.com/WindowsServer/en/Library/2cb5c8c9-cadc-44a9-bf39-856127f4c8271033.mspx

What you may want to look at is using a Terminal Services Web Connection instead of using the RDP client.  This is because the Web Connection uses Active-X which can essentially issue commands back to your XP Machine to execute just about any command you allow it to.  (Hence the reason FireFox is so popular because it doesn't allow Active-X -- which can be a security problem if not managed properly).  But in your case this is a welcome technology!

To get an idea of what Active-X can do, take a look at this SharePoint demo... I realize it isn't exactly the same as what you want, but I think it makes the point:

http://www.wssdemo.com/Pages/OutlookDemo.aspx?menu=Demo's

http://www.wssdemo.com/Pages/NetworkShare.aspx?menu=Demo's

Sorry that I can't offer you any more specific advice or info.

Jeff
TechSoEasy

0
centsoftAuthor Commented:
thanks for that
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.