>So my question is how can I automate the running of the RI Builder or how can I do this in code?Bret,
From your home VFP directory, go to tools\xsource. In that directory there should be an XSOURCE.ZIP file which contains the source code for all the builders, among which is the RI builder. You'll probably have to copy and customize the code that you need to your liking so it's not interactive and then you should be set.
Laterness,
Jon
Jon Rosenbaum
Devcon Drummer