Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Replacement for SendKeys.Send "{F1}" necessary?

Reply
Thread Tools Display Modes

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

 
 
Gina
Guest
Posts: n/a

 
      02-27-2008
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
 
Reply With Quote
 
 
 
 
Mark L. Ferguson
Guest
Posts: n/a

 
      02-27-2008
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" <> wrote in message
news:1C1375F9-0666-409C-BE82-...
>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


 
Reply With Quote
 
Gina
Guest
Posts: n/a

 
      02-27-2008
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:

> 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" <> wrote in message
> news:1C1375F9-0666-409C-BE82-...
> >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

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista not wotking with "My Computer" or "Control Panel", "Screen Saver" Platebanger Windows Vista General Discussion 6 02-05-2008 01:54 PM
Deleted "music" folder, can't take ownership of replacement. Philipp Windows Vista File Management 1 05-29-2007 08:11 PM
SendKeys throws "Hook cannot be created" security exception in Vista Beta 2 Dan Dautrich Windows Vista Security 1 03-28-2007 08:47 PM
WM5 Sync with Vista "Windows Calender", "Contacts", and "Mail" Tony Windows Vista General Discussion 1 02-16-2007 11:20 PM
Send to "replacement" David Sherman Windows Vista General Discussion 0 06-09-2006 12:18 PM



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 47 48 49 50 51 52 53 54 55 56 57 58 59