Shaheer,
>>I want to know whether it is possible if I code the entire syntax in VFP 6.0 and later on after the completion of the project compile the entire project in such a way that it can be used inside the browser.
IF all of the users of the browser-based app will be on computers directly connected to a LAN, with fast access to the datafiles, and the web browser is NOT being specified for use over the Internet, then you could use the Active Document feature to compile a VFP app to run in the browser.
However, this requires the VFP runtimes to be installed on every computer, and fast direct access to the datafiles from each computer.
There are better approaches if you need access over the internet or from computers that do not have access to the data files, or from computers (such as Win 3.1 or Mac or UNIX) that cannot run VFP programs:
Go to
www.west-wind.com and get Rick Strahl's West Wind Web Connection and also his book on developing Internet applications with VFP 6. The book gives you all of the options available, and the software gives the capabilities to develop something quickly. BOTH are HIGHLY recommended!
You will also find there several very good articles about the information that is in the book.