Win API library for VB

  • Thread starter Thread starter RB Smissaert
  • Start date Start date
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top