473,322 Members | 1,523 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Send key stroke command from one pc to another on the network

Hi

don't know if this is the best forum or if my request is possible...hope
someone out there can suggest a pointer for me.

I want to to be able to send a keyboard keystroke (specifically the
"spacebar") from one PC on our network to another programatically.

My scenario is this

PC "A" is executing an application that displays a series of Powerpoint
presentations from a nominated directory. This PC is not accessible to users.
The application to run the presentations was devloped in VB.net 2003.

PC "B" excutes an application that allows users to see the list of
presentations that are being displayed on "A" along with various functions
that allow the user to add, edit and move the presentations that are used by
"A".

The problem : occasionally, a presentation on "A" freezes and does not
advance to the next slide, despite the fact that all presentations have
automatic transitions. In that situation the only way to "kick start" "A" is
to get to the PC and either click the mouse or hit the space bar.

I'd like to be able to include a button in the app on "B" that, when
pressed, would in effect send the keyboard "space bar" command to "A" and
thus effect the "kick start"

Am I asking too much? Presently this is done via a VNC session that requires
Tech Support call out especially outside of office hours and I'm looking for
a simpler solution.

Appreciate any help or pointers

Regards

Michael Bond

Dec 7 '07 #1
2 6805
On Dec 7, 9:43 pm, mabond <mab...@discussions.microsoft.comwrote:
Hi

don't know if this is the best forum or if my request is possible...hope
someone out there can suggest a pointer for me.

I want to to be able to send a keyboard keystroke (specifically the
"spacebar") from one PC on our network to another programatically.

My scenario is this

PC "A" is executing an application that displays a series of Powerpoint
presentations from a nominated directory. This PC is not accessible to users.
The application to run the presentations was devloped in VB.net 2003.

PC "B" excutes an application that allows users to see the list of
presentations that are being displayed on "A" along with various functions
that allow the user to add, edit and move the presentations that are used by
"A".

The problem : occasionally, a presentation on "A" freezes and does not
advance to the next slide, despite the fact that all presentations have
automatic transitions. In that situation the only way to "kick start" "A" is
to get to the PC and either click the mouse or hit the space bar.

I'd like to be able to include a button in the app on "B" that, when
pressed, would in effect send the keyboard "space bar" command to "A" and
thus effect the "kick start"

Am I asking too much? Presently this is done via a VNC session that requires
Tech Support call out especially outside of office hours and I'm looking for
a simpler solution.

Appreciate any help or pointers

Regards

Michael Bond
I can give you some logic. If feasible, you may implement it.
First of all, I think there is an app running on PC 'A', right ?
Change the application on PC 'A' to accept and listen to TCP
connections.
Application on PC 'B' will now be changed to have a TCP client.
A new button, as you said, will be added to app on PC 'B' which will
send a specific message to app on PC 'A'. When PC 'A' recieves this
message, it SendKey space to the PPT.

I am not sure whether this is feasible, because I don't know the
complexity of existing applications and there complete working
knowledge.
But you might get some sort of idea form this ?

Revert back if you are going to try this solution. I would like to
hear the progress in this application, just in case you have time and
you don't mind.

Thanks,
coolCoder.
Dec 7 '07 #2

CoolCoder

Thanks for the idea. The logic sounds right. I'll see how it goes when I've
given it a try. It's not on the top of my development priorities at the
moment so may not get round to it for a week or two. I'll gladly let you know
how it progresses.

Thanks for the suggestion

Regards

Michael Bond
"coolCoder" wrote:
On Dec 7, 9:43 pm, mabond <mab...@discussions.microsoft.comwrote:
Hi

don't know if this is the best forum or if my request is possible...hope
someone out there can suggest a pointer for me.

I want to to be able to send a keyboard keystroke (specifically the
"spacebar") from one PC on our network to another programatically.

My scenario is this

PC "A" is executing an application that displays a series of Powerpoint
presentations from a nominated directory. This PC is not accessible to users.
The application to run the presentations was devloped in VB.net 2003.

PC "B" excutes an application that allows users to see the list of
presentations that are being displayed on "A" along with various functions
that allow the user to add, edit and move the presentations that are used by
"A".

The problem : occasionally, a presentation on "A" freezes and does not
advance to the next slide, despite the fact that all presentations have
automatic transitions. In that situation the only way to "kick start" "A" is
to get to the PC and either click the mouse or hit the space bar.

I'd like to be able to include a button in the app on "B" that, when
pressed, would in effect send the keyboard "space bar" command to "A" and
thus effect the "kick start"

Am I asking too much? Presently this is done via a VNC session that requires
Tech Support call out especially outside of office hours and I'm looking for
a simpler solution.

Appreciate any help or pointers

Regards

Michael Bond

I can give you some logic. If feasible, you may implement it.
First of all, I think there is an app running on PC 'A', right ?
Change the application on PC 'A' to accept and listen to TCP
connections.
Application on PC 'B' will now be changed to have a TCP client.
A new button, as you said, will be added to app on PC 'B' which will
send a specific message to app on PC 'A'. When PC 'A' recieves this
message, it SendKey space to the PPT.

I am not sure whether this is feasible, because I don't know the
complexity of existing applications and there complete working
knowledge.
But you might get some sort of idea form this ?

Revert back if you are going to try this solution. I would like to
hear the progress in this application, just in case you have time and
you don't mind.

Thanks,
coolCoder.
Dec 7 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dirk Reske | last post by:
Hey, I have following struct: struct Packet { string Command; string Args; byte Data; }
3
by: Jon | last post by:
Hi, in my program, i want to send a signal to other computer on the network (LAN). so that when other recieves this signal, it will do something... What Class should I use for sending the...
4
by: Dixie | last post by:
I want to send a file to each persons home network space. I believe that when a person logs onto a network, some sort of variable is set that identifies the user. Is there any code that would...
5
by: Odd Bjørn Andersen | last post by:
I have installed DB2 9 Enterprise Edition on my laptop and created the sample database. Now I'm having truble connecting to the database from Command Editor. If I connect from Command Window it's...
2
by: iloveprincess | last post by:
Hi, I'm developing windows application using VB.Net 2005. I would like to send 'save' message using 'SendMessage' API to the excel appication. I've already got a handle of the excel window with...
14
by: Professor Yonce | last post by:
I have made form for E-Mail. I have entered code but the Import system does not work. It has squiggly line underneath it showing it is not communicating. It Will not build. Public Class...
2
by: Bill Nguyen | last post by:
How can I send a system message to an active user within my network from a ..NET app? Bill
16
by: bgreer5050 | last post by:
I have a form with the following fields: UserEmail Subject Body When the form is submitted, the email is processed fine. When I try to add another field to the mm.body (mm.Body = Body.Text...
0
by: Xionbox | last post by:
Hello everybody, The error I have seems very easy to solve, but for some odd reason I can't seem to solve it. Anyways, here's my "setup". I created a server running on localhost:1200 (telnet...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.