Home > Net >  Vb how to view a specific method body
Vb how to view a specific method body

Time:09-22



Shortcuts SendKeys the method using shift + F2 pop-up window method, how to check the method body,
With Java, CTRL + click to enter the method body, VB how to operate

CodePudding user response:

This seems a vb6 interface, built-in method can only see, can't see the method code

CodePudding user response:

Vb is not open source, open net (source code is written by c #, however, is not VB.NET)
https://referencesource.microsoft.com/#System.Windows.Forms/winforms/Managed/System/WinForms/SendKeys.cs, a1bac34bab032093

If you track down all the way, you will find that the last call the Windows API is SendInput
https://docs.microsoft.com/zh-cn/windows/win32/api/winuser/nf-winuser-sendinput

Windows and not open source, however, if you want to see the sendinput code, you can find ReactOS source code for reference
  • Related