Simple mscomm control question

M

mikewild2000

I am setting up the mscomm control to control a projector, therefore all
I need to do is open the port and send some data.

mscomm.portopen = true
mscomm1.output = 433433

will do this using the oncomm() property

However how do you trigger this event?
Can it be assigned to key commands? If so how?

Can it be assigned to a text box? If so how?

Basically how do you run the code, as the mscomm activeX icon in not
visible during a show.?
 
S

Steve Rindsberg

Mikewild2000 said:
I am setting up the mscomm control to control a projector, therefore all
I need to do is open the port and send some data.

mscomm.portopen = true
mscomm1.output = 433433

will do this using the oncomm() property

However how do you trigger this event?
Can it be assigned to key commands? If so how?

Can it be assigned to a text box? If so how?

Basically how do you run the code, as the mscomm activeX icon in not
visible during a show.?

Anything on the slide can trigger a macro when you click it; rightclick the
shape, choose Action Settings, click Run Macro and choose the macro you want to
fire off.

While you can't normally assign keyboard shortcuts to macros in PPT, Chirag
Dalal has an addin that lets you do this. Have a poke around
htt://www.mvps.org/chirag/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top