Connecting Tech Pros Worldwide Help | Site Map

command button problem

  #1  
Old November 13th, 2005, 05:03 AM
Paul T. RONG
Guest
 
Posts: n/a
Hello there,

I have a comman button controls printing, is it other way than to have to
press both "Alt" and "P", e.g., is it any more simple way to just hit one
key, for example "F9" to print?
If yes, how to do that? Thank you very much.

Paul


  #2  
Old November 13th, 2005, 05:05 AM
Paul
Guest
 
Posts: n/a

re: command button problem


on the KeyDown Event

If KeyCode = vbKeyF9 Then
do this
end if

HTH
Paul

"Paul T. RONG" <etjsk@hotmail.com> wrote in message
news:r8Hhd.51187$z77.7506@news.chello.at...[color=blue]
> Hello there,
>
> I have a comman button controls printing, is it other way than to have to
> press both "Alt" and "P", e.g., is it any more simple way to just hit one
> key, for example "F9" to print?
> If yes, how to do that? Thank you very much.
>
> Paul
>
>[/color]


  #3  
Old November 13th, 2005, 05:05 AM
Paul T. RONG
Guest
 
Posts: n/a

re: command button problem


THanks, Paul, it works.

"Paul" <pzspam@rogers.com> 写入消息新闻:VfadnbCQmaI6ZxXcRVn-1A@rogers.com...[color=blue]
> on the KeyDown Event
>
> If KeyCode = vbKeyF9 Then
> do this
> end if
>
> HTH
> Paul
>
> "Paul T. RONG" <etjsk@hotmail.com> wrote in message
> news:r8Hhd.51187$z77.7506@news.chello.at...[color=green]
> > Hello there,
> >
> > I have a comman button controls printing, is it other way than to have[/color][/color]
to[color=blue][color=green]
> > press both "Alt" and "P", e.g., is it any more simple way to just hit[/color][/color]
one[color=blue][color=green]
> > key, for example "F9" to print?
> > If yes, how to do that? Thank you very much.
> >
> > Paul
> >
> >[/color]
>
>[/color]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in the datagrid mero answers 1 June 21st, 2007 01:35 AM
Problem with login/index scripts John Meyer answers 0 August 24th, 2006 01:15 AM
MS Comm Control/Wireless periferal John Morrow answers 1 November 21st, 2005 10:53 AM
VB app nolonger works with XP SP2 Jason Dravet answers 20 November 21st, 2005 02:15 AM
Strange Behavoir With OleDbDataAdapter Chris Mayers answers 4 August 1st, 2005 11:45 AM