Hi Chang
Check out this link with very useful examples of API calls from VFP. I think you will find the API you want.
http://www.news2news.com/vfp/?example=126&function=-1HTH
Jos
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.