Mixing AVFP and VBscript code in a web page?

Topics: Developer Forum
Jan 8, 2013 at 8:32 PM
Edited Jan 8, 2013 at 8:32 PM

Just curious.  Has anyone been able to run VBscript code for ASP.NET on an AVFP template HTML?

Both languages use the alligator tags.

It would be useful since you have a few ASP commands like Response.Redirect to another URL could be employed, though I'm sure you use Javascripts instead.

My initial test of using VBscript was not successful.



Jan 8, 2013 at 8:38 PM
Edited Jan 8, 2013 at 8:38 PM

Why can't you use oResponse.Redirect in Foxpro????

You can use all of the objects from classic ASP in VFP and VFP is MUCH stronger a language than VBscript any day of the year...iow NO NEED for it unless you come up with a better example of why you'd want to vbscript instead of FoxPro (and I  can't think of any)

Jan 9, 2013 at 1:17 AM

OK, great.  Actually I didn't notice the oResponse.Redirect function in the documentation when I did a quick scan.   Now that I realize that's available, I agree.   Best to stay in the Foxpro domain.   It is simpler.

Thanks, Claude.