Keyboard.SendKeys is an update of Forms.Sendkeys?How to click buttons in an application using AutoIt or Windows UI AutomationIs there an alternative for the SendKeys class that will work with Windows 10What is the best workaround for the WCF client `using` block issue?Sending keystrokes to a Flash/Silverlight app embedded in a webbrowser control (mostly done)updating data of a distributed windows applicationVB.NET Programmatically login as Administratoralternative sto VB.NET SendKeysHow do I set a Windows Forms Title Bar and UI use the flat OS theme of Windows 8/10, not XP/7 textured look?cmd.exe will not recognize commandSendKeys.SendWait in Visual Basic program not working properlysecure* remember me in vb.net win forms applications?Alternative to SendKeys in InputBox to choose cells with least user input
Social leper versus social leopard
Should the average user with no special access rights be worried about SMS-based 2FA being theoretically interceptable?
Subverting the emotional woman and stoic man trope
Is it more effective to add yeast before or after kneading?
Palatino font (newpxmath) misaligns text in fraction numerators
When is it acceptable to write a bad letter of recommendation?
looking for citation, pīti and sukha of 4 jhānas compared to dying of thirst, seeing water in distance, and drinking it
Co-Supervisor comes to office to help her students which distracts me
2000s Animated TV show where teenagers could physically go into a virtual world
What is the meaning of "heutig" in this sentence?
word frequency from file using partial match
What is the difference between an astronaut in the ISS and a freediver in perfect neutral buoyancy?
A high quality contribution but an annoying error is present in my published article
What secular civic space would pioneers build for small frontier towns?
1, 2, 4, 8, 16, ... 33?
What is the meaning of word 'crack' in chapter 33 of A Game of Thrones?
Meaning of 小せェサル in the following sentence
How do you use the interjection for snorting?
Is there a way to hide HTML source code yet keeping it effective?
My manager quit. Should I agree to defer wage increase to accommodate budget concerns?
Can a DC brushless motor produce the same torque at different power levels?
Is it really necessary to have a four hour meeting in Sprint planning?
while loop factorial only works up to 20?
How can this Stack Exchange site have an animated favicon?
Keyboard.SendKeys is an update of Forms.Sendkeys?
How to click buttons in an application using AutoIt or Windows UI AutomationIs there an alternative for the SendKeys class that will work with Windows 10What is the best workaround for the WCF client `using` block issue?Sending keystrokes to a Flash/Silverlight app embedded in a webbrowser control (mostly done)updating data of a distributed windows applicationVB.NET Programmatically login as Administratoralternative sto VB.NET SendKeysHow do I set a Windows Forms Title Bar and UI use the flat OS theme of Windows 8/10, not XP/7 textured look?cmd.exe will not recognize commandSendKeys.SendWait in Visual Basic program not working properlysecure* remember me in vb.net win forms applications?Alternative to SendKeys in InputBox to choose cells with least user input
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I can read lot of posts about problems using System.Windows.Forms.SenKeys with Windows 10.
But I can't read anything about problems using My.Computer.Keyboard.Sendkeys with Windows 10.
So the question: Keyboard.Sendkeys is a update of SendKeys, more compatible with Win 10, or is the same thing with the same problems?
If I want to distribute an application using SendKeys to avoid problems is more safe to use InputSimulator? (note: on my PC with Win 10 64bit all three works without problems)
vb.net sendkeys
|
show 1 more comment
I can read lot of posts about problems using System.Windows.Forms.SenKeys with Windows 10.
But I can't read anything about problems using My.Computer.Keyboard.Sendkeys with Windows 10.
So the question: Keyboard.Sendkeys is a update of SendKeys, more compatible with Win 10, or is the same thing with the same problems?
If I want to distribute an application using SendKeys to avoid problems is more safe to use InputSimulator? (note: on my PC with Win 10 64bit all three works without problems)
vb.net sendkeys
They're essentially the same.Forms.SendKeys
is most likely more up-to-date thanKeyboard.SendKeys
. What are these "problems" you are talking about, though? I haven't heard of any problems with either.
– Visual Vincent
Mar 28 at 17:00
Keyboard.SendKeys
callsForms.SendKeys
– TnTinMn
Mar 28 at 17:03
2
It is the exact same method. The My namespace was meant to make it easier for VB.NET programmers to find stuff back. The only reason that SendKeys was added to the framework is because it existed long before .NET was released. Don't use it, UI Automation is the correct way.
– Hans Passant
Mar 28 at 17:05
@ Visual vincent -stackoverflow.com/questions/50404327/…
– ezio
Mar 28 at 18:37
1
You've got to import the automation libraries first (Project > Add Reference
). See the answer to the following question: stackoverflow.com/q/22551669
– Visual Vincent
Mar 28 at 23:24
|
show 1 more comment
I can read lot of posts about problems using System.Windows.Forms.SenKeys with Windows 10.
But I can't read anything about problems using My.Computer.Keyboard.Sendkeys with Windows 10.
So the question: Keyboard.Sendkeys is a update of SendKeys, more compatible with Win 10, or is the same thing with the same problems?
If I want to distribute an application using SendKeys to avoid problems is more safe to use InputSimulator? (note: on my PC with Win 10 64bit all three works without problems)
vb.net sendkeys
I can read lot of posts about problems using System.Windows.Forms.SenKeys with Windows 10.
But I can't read anything about problems using My.Computer.Keyboard.Sendkeys with Windows 10.
So the question: Keyboard.Sendkeys is a update of SendKeys, more compatible with Win 10, or is the same thing with the same problems?
If I want to distribute an application using SendKeys to avoid problems is more safe to use InputSimulator? (note: on my PC with Win 10 64bit all three works without problems)
vb.net sendkeys
vb.net sendkeys
asked Mar 28 at 16:52
ezioezio
1141 silver badge8 bronze badges
1141 silver badge8 bronze badges
They're essentially the same.Forms.SendKeys
is most likely more up-to-date thanKeyboard.SendKeys
. What are these "problems" you are talking about, though? I haven't heard of any problems with either.
– Visual Vincent
Mar 28 at 17:00
Keyboard.SendKeys
callsForms.SendKeys
– TnTinMn
Mar 28 at 17:03
2
It is the exact same method. The My namespace was meant to make it easier for VB.NET programmers to find stuff back. The only reason that SendKeys was added to the framework is because it existed long before .NET was released. Don't use it, UI Automation is the correct way.
– Hans Passant
Mar 28 at 17:05
@ Visual vincent -stackoverflow.com/questions/50404327/…
– ezio
Mar 28 at 18:37
1
You've got to import the automation libraries first (Project > Add Reference
). See the answer to the following question: stackoverflow.com/q/22551669
– Visual Vincent
Mar 28 at 23:24
|
show 1 more comment
They're essentially the same.Forms.SendKeys
is most likely more up-to-date thanKeyboard.SendKeys
. What are these "problems" you are talking about, though? I haven't heard of any problems with either.
– Visual Vincent
Mar 28 at 17:00
Keyboard.SendKeys
callsForms.SendKeys
– TnTinMn
Mar 28 at 17:03
2
It is the exact same method. The My namespace was meant to make it easier for VB.NET programmers to find stuff back. The only reason that SendKeys was added to the framework is because it existed long before .NET was released. Don't use it, UI Automation is the correct way.
– Hans Passant
Mar 28 at 17:05
@ Visual vincent -stackoverflow.com/questions/50404327/…
– ezio
Mar 28 at 18:37
1
You've got to import the automation libraries first (Project > Add Reference
). See the answer to the following question: stackoverflow.com/q/22551669
– Visual Vincent
Mar 28 at 23:24
They're essentially the same.
Forms.SendKeys
is most likely more up-to-date than Keyboard.SendKeys
. What are these "problems" you are talking about, though? I haven't heard of any problems with either.– Visual Vincent
Mar 28 at 17:00
They're essentially the same.
Forms.SendKeys
is most likely more up-to-date than Keyboard.SendKeys
. What are these "problems" you are talking about, though? I haven't heard of any problems with either.– Visual Vincent
Mar 28 at 17:00
Keyboard.SendKeys
calls Forms.SendKeys
– TnTinMn
Mar 28 at 17:03
Keyboard.SendKeys
calls Forms.SendKeys
– TnTinMn
Mar 28 at 17:03
2
2
It is the exact same method. The My namespace was meant to make it easier for VB.NET programmers to find stuff back. The only reason that SendKeys was added to the framework is because it existed long before .NET was released. Don't use it, UI Automation is the correct way.
– Hans Passant
Mar 28 at 17:05
It is the exact same method. The My namespace was meant to make it easier for VB.NET programmers to find stuff back. The only reason that SendKeys was added to the framework is because it existed long before .NET was released. Don't use it, UI Automation is the correct way.
– Hans Passant
Mar 28 at 17:05
@ Visual vincent -stackoverflow.com/questions/50404327/…
– ezio
Mar 28 at 18:37
@ Visual vincent -stackoverflow.com/questions/50404327/…
– ezio
Mar 28 at 18:37
1
1
You've got to import the automation libraries first (
Project > Add Reference
). See the answer to the following question: stackoverflow.com/q/22551669– Visual Vincent
Mar 28 at 23:24
You've got to import the automation libraries first (
Project > Add Reference
). See the answer to the following question: stackoverflow.com/q/22551669– Visual Vincent
Mar 28 at 23:24
|
show 1 more comment
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55403016%2fkeyboard-sendkeys-is-an-update-of-forms-sendkeys%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55403016%2fkeyboard-sendkeys-is-an-update-of-forms-sendkeys%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
They're essentially the same.
Forms.SendKeys
is most likely more up-to-date thanKeyboard.SendKeys
. What are these "problems" you are talking about, though? I haven't heard of any problems with either.– Visual Vincent
Mar 28 at 17:00
Keyboard.SendKeys
callsForms.SendKeys
– TnTinMn
Mar 28 at 17:03
2
It is the exact same method. The My namespace was meant to make it easier for VB.NET programmers to find stuff back. The only reason that SendKeys was added to the framework is because it existed long before .NET was released. Don't use it, UI Automation is the correct way.
– Hans Passant
Mar 28 at 17:05
@ Visual vincent -stackoverflow.com/questions/50404327/…
– ezio
Mar 28 at 18:37
1
You've got to import the automation libraries first (
Project > Add Reference
). See the answer to the following question: stackoverflow.com/q/22551669– Visual Vincent
Mar 28 at 23:24