>Cetin,
>
>My goal here is to create a script that automates the conversion of some PRGS to HTM files, in order to keep the same appearance that we are used to have in our VFP program editor.
>
>As VFP9 brings this possibility, I'd like to automate this without needing to recreate the wheel, creating a program that will apply the formatting in the VFP keywords, comments, functions etc, just like we have when we adda "PRE" tag here in UT or "VFP" in Foxite.
>
>This will be used in some places
>- GdiPlusX help files, adding the samples keeping the formatting
>- And samples to be posted in my blog, in HTML
>
>
>BTW, I've already tried using the API RegisterClipboradFormat , using "HTML Format" as parameter, with no success... maybe I configured it wrong, I'll try to check this again too.
>
>Thanks again,
>
>Cesar
Nice idea. BTW, the program which is used for HTML formating here is in Downloads section. It's called mhHTMLCode.
But I agree with your plan.
If it's not broken, fix it until it is.
My Blog