분류 전체보기203 Windows Invoke 코드 활용가능한 라이브러리 Vanara-master 참고 사이트 : github.com/dahall/Vanara dahall/Vanara A set of .NET libraries for Windows implementing PInvoke calls to many native Windows APIs with supporting wrappers. - dahall/Vanara github.com 2021. 4. 15. x86, x64 모두 사용 가능한 cmd Dim result_Cmd As New RichTextBox Dim output As String Dim ptr As IntPtr = New IntPtr() Wow64DisableWow64FsRedirection(ptr) Dim info As ProcessStartInfo = New ProcessStartInfo() Dim proc As Process = New Process() With info .RedirectStandardOutput = True .UseShellExecute = False .FileName = "cmd.exe" .Arguments = "/c query session /vm" End With proc.StartInfo = info proc.Start() output = proc.St.. 2021. 3. 31. Key입력(VirtureKey and HardwareKey) [사용법] InputHelper.PressKey(Keys.Escape, False) InputHelper.PressKey(Keys.Escape, True) [라이브러리 코드] Imports System.Runtime.InteropServices Public NotInheritable Class InputHelper Private Sub New() End Sub #Region "Methods" #Region "PressKey()" ''' ''' Virtually presses a key. ''' ''' The key to press. ''' Whether or not to press the key using its hardware scan code. ''' Public Shared Sub PressKey(.. 2021. 3. 31. Windows 작업 스케줄 API 참고 Site : github.com/dahall/taskscheduler dahall/TaskScheduler Provides a .NET wrapper for the Windows Task Scheduler. It aggregates the multiple versions, provides an editor and allows for localization. - dahall/TaskScheduler github.com 참고 소스 2020. 12. 8. 이전 1 ··· 5 6 7 8 9 10 11 ··· 51 다음