H E L P !!! with Virtual Channels

  • Thread starter Thread starter Darren Brook
  • Start date Start date
D

Darren Brook

Does anyone know of anywhere that I can view code examples of how to use
VirtualChannels successfully with Visual Basic 6 (VB6)?

I have a VB app on one machine (running XP Pro) that starts a msrdp RDP
session with a server machine (Windows 2000 AS). When it starts the RDP
session, it also launches another VB application on the server.

But once launched, I need to send a message to the application from the
calling machine.

I think that Virtual Channels may allow me to do this but unsure?

And also unsure if possible with VB or how!? Can't seem to find any code
examples.

Can anyone offer any help or advice.

Many thanks,
Darren
 
Darren - although what you are describing is possible, there is no sample
that you can reuse.

To write everything in VB6, you would have to use two separate API sets -
one for the client, one for the server.

Client side:
http://msdn.microsoft.com/library/d...top_activex_control_with_virtual_channels.asp

Server side - there is a wrapper around C APIs:
http://dev.remotenetworktechnology.com/api/wtsapi.htm

Nice article that explains how to use Virtual Channels:
http://www.microsoft.com/msj/1099/terminal/terminal.aspx

Virtual Channel reference:
http://msdn.microsoft.com/library/d.../using_terminal_services_virtual_channels.asp

Hope it helps.
 
Back
Top