If you use the Hardcore Visual Basic API type library, you will almost never need to declare another function or constant again. I can't remember the URL right now, but will post it if I find it.