Checking new docs into vault

I can check-in documents into the vault that are already inthe vault by taking the ownership and then use check-in. When I tryto check a NEW file into the vault I can not find the code fortaking ownership of a new document that is on my C drive nor can Ivault it.
Does anyone know how to do this?

Thanks

Dan Miel
SolidworksApi macros