i have a program that interact with another window. lets say window 1 is the window i am trying to interact with... window 2 is different window that is current in the foreground. so i did a getforegroundwindow to get window2, getprocessbyname for window1. bring window1 to the foreground with...
Private Sub cmsTypes_Opening(sender As Object, e As CancelEventArgs) Handles cmsTypes.Opening
With cmsTypes.Items
.Add("Cut", Nothing, AddressOf cmsTypes_Click)
.Add("Paste", Nothing, AddressOf cmsTypes_Click)
End With
e.Cancel = False
End Sub
This will just...
Is there a way to simulate a mouse click without first setting the cursor position then do a mouse event leftdown? sometime if i am moving my mouse during this event, the mouse won't be clicking where its suppose to be clicking.
I created a webbrowser in a tab. I want to download files to the default directory without the save prompt.
Dim imgBrowser As New WebBrowser
With imgBrowser
AddHandler .DocumentCompleted, AddressOf imgBrowser_DocumentCompleted
AddHandler...
How do i get the argument from and 2nd instance in a single instace app? I tried to catch it in MyApplication_StartupNextInstance. But the e.commandLine or the AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData seems to be null. I use "Appname.appref-ms" 123 to send 123...
Is there a way to lock the keyboard and mouse input? I have a program that sending keypress and mouse click to another program. And for that 1 sec, if i move my mouse or type, it interrupt the process.
Can you change the location and size of a sub window inside another program externally? I am running Nox, i could move the main window around from another program. But can you move around that Macro Recorder window or the toolstrip bar on the side around?
Lets say i have a play button in another program and it's image toggle between Play and Pause image. How do i capture that image and determine if it's in the play or pause position. Basically, i want to do a capture a specific position on the screen, and compare it to the play and pause image.
i try to navigate to a mp4 video link in code on a webbrowser. but instead of playing the video, it popup a download link. How do i make it play instead?
When i put a DoDragDrop in the listview_MouseDown event, the MouseDoubleClick event won't trigger. All it does when i double click it is a label edit.
What is the best way to do a DoDragDrop for a listview?
I did a workaround by just storing the drag data in the MouseDown event, and wait til the...
Is there a way when i do a listviewitem label edit, it only select part of the text? If the text is a filename, it only select the name without the extension?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.