Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Don Higgins
  Where is Don Higgins?
 Peoria
 Illinois - United States
 Don Higgins
 To: Jijo Pappachan
  Where is Jijo Pappachan?
 Kerala
 India
 Jijo Pappachan
 Tags
Subject: RE: ActiveVFP Example
Thread ID: 331107 Message ID: 331343 # Views: 79 # Ratings: 0
Version: Visual FoxPro 9 Category: Web, FTP and other Internet Protocols
Date: Thursday, December 29, 2011 4:52:12 AM         
   


> > The application is now being installed on dealer's web sites. Here it is live ( but smashed down to fit their web page template): http://www.boblindsayhonda.com/lease-calculator.htm
> >
> Hi Don Higgins,
> Iam not able to see any vfp coding in web source. How to view active VFP commands?
>
> Jijo
> JUST THINK, THERE IS A WAY
> my blog:http://weblogs.foxite.com/jijo_pappachan/


Here is a very small sample of it:


<%

IF .NOT. USED('model')
	USE ('model') IN 0 SHARED
ENDIF


locate for upper(modelcode) = upper(lcModelCode)
* get price of vehicle
lnMSRP = model.msrp

* pull picture file into variable
lcModelPicFile = alltrim( lower( model.modelpic )) 
lcModelPic = lcModelPicFile

* Now close the Database or it will stay opened and NOT allow you to download new data
* when you are trying to update the files on the web site.
use in select("model")

%>



Everything between the
 " <% " 
and the opposite
 " %> " 
is pure VFP Code. You can put as many of these as you need on a web page. In Dreamweaver it creates a yellow box that says ASP.

The neat part is Claude's ActiveVFP will turn whatever code you have into HTML at the time it is processed through ASP.NET. I had to change a bunch of code because it was designed to work with forms and had to convert all Form Properties to normal Variables.

Then I taught myself CSS Coding with Divisions type code to make the site look decent. Get something good like Dreamweaver to help with this. Coding by hand would be a tough thing to do.

Only downside is debugging it. I learned whatever line number it reported was the error was actually 4 lines before the line it said. Made life much easier once I figured that out.

I can't see much of a limit to this, I was able to "dumb down" my very robust desktop application to make it display simple information for customers. The dealership managers still use my desktop application to work the actual deals.


Don Higgins



http://www.youtube.com/watch?v=dcuFx85o8XU


ENTIRE THREAD

ActiveVFP Example Posted by Don Higgins @ 12/27/2011 3:26:33 AM
RE: ActiveVFP Example Posted by michael johnson @ 12/27/2011 4:10:29 AM
RE: ActiveVFP Example Posted by Don Higgins @ 12/27/2011 5:20:17 AM
RE: ActiveVFP Example Posted by claude fox @ 12/27/2011 7:14:08 PM
RE: ActiveVFP Example Posted by Don Higgins @ 12/28/2011 5:04:22 AM
RE: ActiveVFP Example Posted by Jijo Pappachan @ 12/28/2011 8:31:38 AM
RE: ActiveVFP Example Posted by claude fox @ 12/28/2011 2:41:50 PM
RE: ActiveVFP Example Posted by Dilip Kumar @ 12/29/2011 6:17:14 AM
RE: ActiveVFP Example Posted by Don Higgins @ 12/29/2011 4:20:45 AM
RE: ActiveVFP Example Posted by Don Higgins @ 12/29/2011 4:52:12 AM
RE: ActiveVFP Example Posted by Jijo Pappachan @ 12/29/2011 1:03:11 PM
RE: ActiveVFP Example Posted by tushar @ 12/29/2011 1:22:52 PM
RE: ActiveVFP Example Posted by Jijo Pappachan @ 1/2/2012 6:36:36 AM
RE: ActiveVFP Example Posted by Don Higgins @ 1/2/2012 6:47:48 AM
RE: ActiveVFP Example Posted by Jijo Pappachan @ 1/2/2012 8:17:01 AM
RE: ActiveVFP Example Posted by claude fox @ 1/2/2012 6:22:37 PM
RE: ActiveVFP Example Posted by Don Higgins @ 1/2/2012 6:28:11 PM
RE: ActiveVFP Example Posted by Boudewijn Lutgerink @ 1/8/2012 10:41:15 PM
RE: ActiveVFP Example Posted by claude fox @ 1/8/2012 10:57:13 PM
RE: ActiveVFP Example Posted by Don Higgins @ 1/9/2012 2:48:42 AM
RE: ActiveVFP Example Posted by claude fox @ 1/9/2012 7:09:36 AM
RE: ActiveVFP Example Posted by Don Higgins @ 1/9/2012 6:17:54 PM
RE: ActiveVFP Example Posted by claude fox @ 1/9/2012 6:46:25 PM
RE: ActiveVFP Example Posted by JLW Smith @ 1/10/2012 5:38:41 PM
RE: ActiveVFP Example Posted by claude fox @ 1/10/2012 8:10:28 PM
RE: ActiveVFP Example Posted by Neeraj Charne @ 1/3/2012 10:03:12 AM
RE: ActiveVFP Example Posted by claude fox @ 1/3/2012 3:36:33 PM
RE: ActiveVFP Example Posted by Zaheer Ahmed @ 12/28/2011 6:23:01 AM
RE: ActiveVFP Example Posted by Don Higgins @ 12/28/2011 6:50:22 AM
RE: ActiveVFP Example Posted by JLW Smith @ 12/31/2011 11:11:18 AM
RE: ActiveVFP Example Posted by claude fox @ 12/31/2011 12:38:02 PM
RE: ActiveVFP Example Posted by JLW Smith @ 12/31/2011 12:44:13 PM
RE: ActiveVFP Example Posted by claude fox @ 1/1/2012 1:53:03 PM
RE: ActiveVFP Example Posted by Don Higgins @ 1/2/2012 1:24:25 AM
RE: ActiveVFP Example Posted by claude fox @ 12/29/2011 5:38:26 PM
RE: ActiveVFP Example Posted by Noker Lodia @ 12/29/2011 9:32:04 PM
RE: ActiveVFP Example Posted by claude fox @ 12/29/2011 10:35:43 PM
RE: ActiveVFP Example Posted by Don Higgins @ 1/2/2012 1:30:47 AM
RE: ActiveVFP Example Posted by claude fox @ 1/2/2012 2:47:21 AM