Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Replacement for SendKeys.Send "{F1}" necessary?

Reply
 
Old 02-27-2008   #1 (permalink)
Gina


 
 

Replacement for SendKeys.Send "{F1}" necessary?

I read somewhere that Vista does not like SendKeys and that you should use
API's. I have a Vis Studio 2005 application and its compiled HTML helpfile
(.CHM) which does appear to be working when the user hits F1 or clicks the
help button and I issue SendKeys.Send "{F1}"

Questions:
Do you think it is safe to leave the code as is?

The API I am being told to use is SendMessage. Can someone point me on how
to code SendMessage to issue F1 (I've got some code but it's not working) AND
have it open my helpfile to a particular topic?

Or am I off base using this API?

I am lazy and have not had time to read about helpproviders. If someone has
a nice read on that, I would appreciate it.

Thanks!

--
end war
stop greed

My System SpecsSystem Spec
Old 02-27-2008   #2 (permalink)
Mark L. Ferguson


 
 

Re: Replacement for SendKeys.Send "{F1}" necessary?

Go to the start orb, and type the command:

HH
MS-ITS:%windir%\Help\mk:@MSITStore:%windir%\help\MUI\0409\AuthFw.chm::/html/9868a02b-2d5f-4a8d-a1f7-f6f1a64cec99.htm

Why did that work? Look at the source of any help entry (rightclick the page
in help and support app)

--
Was this helpful? Then click the "Yes" Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales....htm#RateAPost

Mark L. Ferguson

..
"Gina" <Gina@xxxxxx> wrote in message
news:1C1375F9-0666-409C-BE82-230DD10575C0@xxxxxx
Quote:

>I read somewhere that Vista does not like SendKeys and that you should use
> API's. I have a Vis Studio 2005 application and its compiled HTML helpfile
> (.CHM) which does appear to be working when the user hits F1 or clicks the
> help button and I issue SendKeys.Send "{F1}"
>
> Questions:
> Do you think it is safe to leave the code as is?
>
> The API I am being told to use is SendMessage. Can someone point me on
> how
> to code SendMessage to issue F1 (I've got some code but it's not working)
> AND
> have it open my helpfile to a particular topic?
>
> Or am I off base using this API?
>
> I am lazy and have not had time to read about helpproviders. If someone
> has
> a nice read on that, I would appreciate it.
>
> Thanks!
>
> --
> end war
> stop greed
My System SpecsSystem Spec
Old 02-27-2008   #3 (permalink)
Gina


 
 

Re: Replacement for SendKeys.Send "{F1}" necessary?

Sorry, I have no idea what you're telling me to do. What's the "start orb"?
You mean "start menu"?


--
end war
stop greed


"Mark L. Ferguson" wrote:
Quote:

> Go to the start orb, and type the command:
>
> HH
> MS-ITS:%windir%\Help\mk:@MSITStore:%windir%\help\MUI\0409\AuthFw.chm::/html/9868a02b-2d5f-4a8d-a1f7-f6f1a64cec99.htm
>
> Why did that work? Look at the source of any help entry (rightclick the page
> in help and support app)
>
> --
> Was this helpful? Then click the "Yes" Ratings button. Voting helps the web
> interface.
> http://www.microsoft.com/wn3/locales....htm#RateAPost
>
> Mark L. Ferguson
>
> .
> "Gina" <Gina@xxxxxx> wrote in message
> news:1C1375F9-0666-409C-BE82-230DD10575C0@xxxxxx
Quote:

> >I read somewhere that Vista does not like SendKeys and that you should use
> > API's. I have a Vis Studio 2005 application and its compiled HTML helpfile
> > (.CHM) which does appear to be working when the user hits F1 or clicks the
> > help button and I issue SendKeys.Send "{F1}"
> >
> > Questions:
> > Do you think it is safe to leave the code as is?
> >
> > The API I am being told to use is SendMessage. Can someone point me on
> > how
> > to code SendMessage to issue F1 (I've got some code but it's not working)
> > AND
> > have it open my helpfile to a particular topic?
> >
> > Or am I off base using this API?
> >
> > I am lazy and have not had time to read about helpproviders. If someone
> > has
> > a nice read on that, I would appreciate it.
> >
> > Thanks!
> >
> > --
> > end war
> > stop greed
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Unwanted Multiple contacts in "To","CC","BCC" of email send catago Vista mail
Deleted "music" folder, can't take ownership of replacement. Vista file management
SendKeys throws "Hook cannot be created" security exception in Vista Beta 2 Vista security
Send to "replacement" Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46