WM_WINDOWPOSCHANGED, WM_WINDOWPOSCHANGING. This little project is mainly just to increase my experience with subclassing. I hadn't really planned on changing what I've got, I read something this morning and then it occurred to me that maybe VBA had a built-in message capturing mechanism that...
So, as far as I can tell, the "events" in VBA Userforms (such as UserForm1_Click, ect..) are either very similar or identical to SendMessage + BN_CLICKED. So, that leads to my question, are there additional events that you can filter for? Not the _Terminate and _Activate type of events in the...
Well, nobody replied, but I did some digging on MSDN today and this is what I came up with if anybody else wants help with this project. Works like a dream.
Private Sub UserForm_Initialize()
Me.TreeView1.ImageList = Me.ImageList1 'I have an image of a folder as Image1 and an icon as Image2...
I haven't been able to find many examples of how to create a treeview directory of files and folders in the system in a treeview control for Excel VBA. I have come up with some code that will do it, but it's really touchy (sometimes identical node keys are generated or I run out of room in the...
Could someone please explain to me why my script is not launching the targeted application (it works just fine outside of the .html file as a .vbs file, and if you have some .html knowledge, why are my area maps not working correctly(there are blue borders around the enclosed area, but they are...
So, essentially I have made an instant messenger with Excel, which uses a VBScript to notify the VBA code to fire a certain sub when a parameter is met. In the code Application.Visible = False, so my problem actually lies with opening any different Excel files through their respective shortcuts...
Tsuji, it WILL retrieve the window text, however, the specified return value in "i=lrl" of r, which is to pass by reference, seems to be limited to 48 characters. I disagree that the implementation is incorrect. There is only one other similar function that I know of; InternalGetWindowText does...
I am using Dynawrap to get text from a dialog box, and when I try to grab anything of the class "Static", I receive the following error: "Run-time error '-2147417848 (80010108)': Automation error. The object invoked has disconnected from its clients." I wrote the code for VBS but copied the code...
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.