Reading Properties from an External File

Hello,

I have written a macro to allow users to fill out custom properties for drawings, parts, and assemblies.  It works great, but I want to add one feature to it and I'm not sure how.

Right now, the code has names listed for DrawnBy to allow the user to select his/her name from a drop down menu.  This means that if someone new enters the company, I have to enter their names into the code.

What I want to do:

I want the program to read these names from a text file (.ini). That way when people come and go from the company the text file will need to be edited but not the code. Thus preventing someone from accidentally editing the macro.

I tried copying code out of Rigid Custom Properties V4.71  (http://sw.fcsuper.com/index.php?name=UpDownload&req=viewsdownload&sid=6)  but the objects used in the code for this are never defined and I have not been able to figure out how to define them) Does anyone know how to do this?

Thanks,

Tara

SolidworksApi macros