VB203 - VB NET HotKey Hooks
14:35
3 жыл бұрын
VB170  - VB.NET The Web Browser Object
14:04
Пікірлер
@theawesomeyopro
@theawesomeyopro 7 ай бұрын
NO WAY MR HEM LOL
@NElectronicSoul
@NElectronicSoul Жыл бұрын
This isn't very clear and it's evident that you haven't thought about what you were going to show prior to the video.
@thatoneshadyperson9648
@thatoneshadyperson9648 Жыл бұрын
Mathematics is the key to science and innovation...
@AntiNepotismAdvocate
@AntiNepotismAdvocate Жыл бұрын
Babe wake up, new Mr Hem video just dropped
@lestercorpuz6540
@lestercorpuz6540 Жыл бұрын
do u have auto click that donot interrupt the mouse when im playing?
@farzadsaremi66
@farzadsaremi66 Жыл бұрын
Hi, I'm wondering if you have the time to help me be able to load several complicated xml files into a DataGridView in VB. Best regards Farzad Saremi
@8bitnullnvoid762
@8bitnullnvoid762 2 жыл бұрын
Shoudn't it be: "SELECT LoginId, Password FROM..... when your checking the password instead of just selecting the LoginId.
@astonious
@astonious 2 жыл бұрын
dom
@kestrelthesoldier
@kestrelthesoldier 2 жыл бұрын
Good video, you are good at teaching stuff (by the way I didn't actually watch the video) new sub also your profile picture is funny and good. Quality content 10/10
@aaronbrookerpayne8918
@aaronbrookerpayne8918 2 жыл бұрын
im kinda hungry
@ilikemoney9206
@ilikemoney9206 2 жыл бұрын
NOICE
@aaronbrookerpayne8918
@aaronbrookerpayne8918 2 жыл бұрын
oobady goobady am i right
@doseofanesthesia4272
@doseofanesthesia4272 2 жыл бұрын
Great video!!
@gustavodonayre9276
@gustavodonayre9276 2 жыл бұрын
Creo que te amo, gracias.
@lorenzomariotti9133
@lorenzomariotti9133 2 жыл бұрын
THANK YOU FOR THIS VIDEO!!! REALLY AWESOME!!! :)
@farfuraaa
@farfuraaa 2 жыл бұрын
This is really helpful!!! Thank you
@learnpythontogether4490
@learnpythontogether4490 2 жыл бұрын
This really help thanks.
@vagrantrandomstuff2312
@vagrantrandomstuff2312 3 жыл бұрын
i thought you have a solution... zzzz
@abhayp9
@abhayp9 3 жыл бұрын
Thats really Good Instructional Video. I need a help in this, is there a way to call WndProc only when required as I would need HotKey Hook only at certain point of program and only when form is in focus.
@mrhem5371
@mrhem5371 3 жыл бұрын
Hey, thanks. sounds like maybe you don't need to hook into the windows api? Maybe just using the form event is enough for your requirements. Private Sub Form1_KeyDown(sender As Object, e As KeyEventArgs) Handles Me.KeyDown Dim key = e.KeyCode If key = Keys.K Then 'flag that it was press and use that elsewhere in the code as an indication. End If End Sub
@abhayp9
@abhayp9 3 жыл бұрын
@@mrhem5371 Thank you so much for your reply, This will help me a lot I will test this code and update you :)
@abhayp9
@abhayp9 3 жыл бұрын
@@mrhem5371 Its working Thank you
@gerryRD19
@gerryRD19 3 жыл бұрын
Is there a way to register multiple keys? For example I want to register a hotkey that handles Win+V
@mrhem5371
@mrhem5371 3 жыл бұрын
We can use the modifier parameter to couple the key with an ALT, CRLT or WIN. In the documentation, it says the WINDOWS keys are reserved for use by the operating system, so I'd avoid using that with RegisterHotKey(). If you still want to use the WIN key or do more interesting stuff I recommend looking into www.autohotkey.com/ AUTOHOTKEY. Here would be the modifications required to couple with an ALT key. 'change the id to integer instead of keys Public Declare Auto Function RegisterHotKey Lib "User32.dll" (ByVal x As IntPtr, ByVal id As Integer, modifier As UInteger, keycode As Keys) As Long Public Const WM_HOTKEY = &H312 Public Const MOD_ALT = &H1 'add the MOD_ALT hex Protected Overrides Sub WndProc(ByRef m As Message) MyBase.WndProc(m) If (m.Msg = WM_HOTKEY) Then Dim id = m.WParam.ToInt32 If (id = 1) Then 'check for the id number MsgBox("ALT A") End If End If End Sub Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load RegisterHotKey(Me.Handle, 1, MOD_ALT, Keys.A) 'id 1 is registered with ALT A End Sub
@TheDailyRant
@TheDailyRant 3 жыл бұрын
@@mrhem5371 Loved the video great tuition and very helpful. I am using VS 2019 on windows 10. I had to update a line of your code to make it work on my system... from RegisterHotKey(Me.Handle, 1, MOD_ALT, Keys.A) 'id 1 is registered with ALT A to RegisterHotKey(Me.Handle, 1, CUInt(MOD_ALT), Keys.A) 'id 1 is registered with ALT A It works perfectly now. Thanks
@t.n.a.1703
@t.n.a.1703 3 жыл бұрын
Great work! Thank you for sharing your knowledge with us. The code works perfect for me, but when I try to encrypt an iso-file, that is 3.5GB large, I get an buffer overflow error in line 39. Do you have an idea to fix this?
@stuffiwannashare
@stuffiwannashare 3 жыл бұрын
Ah right, so this video encryptions the whole buffer in one go and relies on data to fit the buffer (eg. small messages or files). For data larger than the buffer, we'll need to iterate over it and encrypt it block by block setting a block size.
@justinlinwoodrossakarythor63
@justinlinwoodrossakarythor63 2 жыл бұрын
Here's a better method: kzbin.info/www/bejne/qYfEcmWnbdmnsLM
@justinlinwoodrossakarythor63
@justinlinwoodrossakarythor63 2 жыл бұрын
Here's a better method: kzbin.info/www/bejne/qYfEcmWnbdmnsLM
@geek-zd2zm
@geek-zd2zm 3 жыл бұрын
Nice vidéo. Greeting from France
@magnuswootton6181
@magnuswootton6181 3 жыл бұрын
beautiful, love how GDI is natural to windows, like to see u do it in this much code with direct x, NO WAY!
@bobstewart5898
@bobstewart5898 3 жыл бұрын
This video was really good. Maybe work on your sound quality though.
@Thegoodpublicist
@Thegoodpublicist 3 жыл бұрын
THANK YOU SO MUCH! I been searching how to do that for a long time 3>
@mrhem5371
@mrhem5371 3 жыл бұрын
Glad it helped!
@relusrmf1
@relusrmf1 3 жыл бұрын
Cool, I learn a lot. Here is where I applied the double buffering kzbin.info/www/bejne/rKLTo2Z5d7OAi5I
@relusrmf1
@relusrmf1 3 жыл бұрын
Subscribed and Liked. Pretty cool.
@mrhem5371
@mrhem5371 3 жыл бұрын
Hey thanks!
@lukebermingham4034
@lukebermingham4034 3 жыл бұрын
any draw code isnt working for me is this out of date?
@mrhem5371
@mrhem5371 3 жыл бұрын
I don't think it is out of date. Are you getting any errors?
@sorakmaz413
@sorakmaz413 3 жыл бұрын
the "wrong language again" for the ; was adorable I only know it from java but that is the only language I know I assumed it was from that~ What other languages end commands with ;? now im curious
@sorakmaz413
@sorakmaz413 3 жыл бұрын
WRONG LANGUAGE AGAIN FKSJNKASJ
@mrhem5371
@mrhem5371 3 жыл бұрын
@@sorakmaz413 c#, c, c++ to name a few
@sorakmaz413
@sorakmaz413 3 жыл бұрын
@@mrhem5371 I got a 99% On the cs final yayyyyy
@mrhem5371
@mrhem5371 3 жыл бұрын
@@sorakmaz413 wow! good work!
@billystoy1730
@billystoy1730 3 жыл бұрын
good video
@mrhem5371
@mrhem5371 3 жыл бұрын
thank you
@irrell7077
@irrell7077 4 жыл бұрын
Fav teacher
@irrell7077
@irrell7077 4 жыл бұрын
Yooo this guy is a godgamer. He's my dad
@mrhem5371
@mrhem5371 3 жыл бұрын
Hey, thanks for your support "son"
@Lhamb
@Lhamb 4 жыл бұрын
more famous than my twitch streams 10/10 content shame i'm still failing
@colorizedenhanced-silentmo5628
@colorizedenhanced-silentmo5628 4 жыл бұрын
Hey, MrHem. fairly good looking video. thank. :)