R
RB Smissaert
Just came across a very interesting website:
http://www.freewebs.com/api_library_for_vb_z/
From here you can download the Windows API library for VB and you can use
this in VBA as well.
Just download the file winU.tlb and place in for example
C:\WINDOWS\SYSTEM32.
You can then set a reference to this in the VBE and you can use these
Windows API functions without
the declarations. They show in the object browser as well. I noticed that
there also is a file Win32.tlb in
C:\WINDOWS\SYSTEM32.
I have to do some investigations on this, but it just looks promising.
Just one question for the experts:
Can you rely on the fact that Win32.tlb will always be present and could you
avoid having to make those
Win API declarations as long as you set the reference to this library?
Thanks for any advice.
RBS
http://www.freewebs.com/api_library_for_vb_z/
From here you can download the Windows API library for VB and you can use
this in VBA as well.
Just download the file winU.tlb and place in for example
C:\WINDOWS\SYSTEM32.
You can then set a reference to this in the VBE and you can use these
Windows API functions without
the declarations. They show in the object browser as well. I noticed that
there also is a file Win32.tlb in
C:\WINDOWS\SYSTEM32.
I have to do some investigations on this, but it just looks promising.
Just one question for the experts:
Can you rely on the fact that Win32.tlb will always be present and could you
avoid having to make those
Win API declarations as long as you set the reference to this library?
Thanks for any advice.
RBS