VB and VBA Users Source Code: Re: Creating windows and controls using API calls
[
Home
|
Contents
|
Search
|
Reply
|
Previous
| Next ]
VB/VBA Source Code
Re: Creating windows and controls using API calls
By:
Cliff Jensen
Email (spam proof):
Email the originator of this post
Date:
Tuesday, July 02, 2013
Hits:
127
Category:
Windows API
Article:
This code snippet just saved me tons of time. I wrote an app 20 years ago in Borland C++ and am porting it to MS Access (Access provides database support for my app) and needed to create a window to continue my efforts. The only major change I had to make to get a functional window was to replace App.hInstance with: Dim appInstance as Long appInstance = GetWindowLong(Application.hWndAccessApp, GWL_HINSTANCE) Thank Andy Baker for me and thank you for having a web site to share the info. Regards, Cliff
Terms and Conditions
Support this site
Download a trial version of the Excel Workbook Rebuilder