Quantcast
Channel: Home of ActiveVFP - Foxpro on the World Wide Web
Viewing all 1109 articles
Browse latest View live

New Post: Problem with printing report

$
0
0
Try stoping your Application Pool at IIS and restarting it. Then try again. Also try your code directly from VFP; this will help in checking if it is a code error or an COM server error.

Victor

New Post: GoDaddy web and mobile web hosting - don't pay more than you have to!

$
0
0
Image

AVFP and GoDaddy = The Tools You Need…..to Silence Your Doubters!

New Post: Installing ActiveVFP on my Windows 7

$
0
0
Hello,

Getting back into ActiveVFP and have not run the 6.3 version yet.

Trying to get it up on my Windows 7 PC.

I made all the changes in the Installing instructions, but running into a config error.

Here is the error screen. Thanks.




Detailed Error Information

Module: IIS Web Core

Notification: BeginRequest

Handler: Not yet determined

Error Code: 0x80070021

Config Error
This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

Config File
\?\c:\activevfp\web.config

Requested URL: http://localhost:80/virtual/default.aspx)
Physical Path: c:\activevfp\default.aspx)

Logon Method: Not yet determined
Logon User: Not yet determined


Config Source 21: </defaultDocument>
22: <handlers>
23: <add verb="" path=".avfp"

New Post: Installing ActiveVFP on my Windows 7

$
0
0
Found this:

"... had the same problem. Don't remember where I found it on the web, but here is what I did:

Click "Start button"
in the search box, enter "Turn windows features on or off"
in the features window, Click: "Internet Information Services"
Click: "World Wide Web Services"
Click: "Application Development Features"
Check (enable) the features. I checked all but CGI.
btw, I'm using Windows 7."

http://stackoverflow.com/questions/9794985/iis-this-configuration-section-cannot-be-used-at-this-path-configuration-lock

New Post: Installing ActiveVFP on my Windows 7

$
0
0
Thanks, Claude! It's running like a charm now.

I feel ashamed that I couldn't work on ActiveVFP for over a year, but it looks like lots of improvements were made. Right off the top, everything seems zippier. ActiveVFP really is the ticket to moving VFP forward because so much revolves around making solid HTML websites and applications. It's going to be fun.

Updated Wiki: Home

$
0
0

ActiveVFP Project - Foxpro on the World Wide Web

PHP or MVC style, you choose.  VFP pages or VFP controller - just add Fox code!!

Arvixe!

AVFP- best choice for using FoxPro with REST as a RESTful server. AVFP- best choice for using FoxPro with Android, iPad, iPhone.

ActiveVFP 6.03 Demo onGoDaddy Shared Hosting.
ActiveVFP 6.03 Demo on local network.

Easily installs on local IIS, GoDaddyArvixe, WinHost, Discount ASP.NETSoftSys, many others.  Get the cheapest web hosting rates ($5/month and below) using AVFP.  Don't pay a premium just for using FoxPro!

FoxPro to Web, FoxPro to Mobile, FoxPro to Cloud: ActiveVFP(AVFP) is a completely free and open source project for creating web applications with the Visual Foxpro programming language and database (and other DBs like MSSQL or MySQL). It provides an easy-to-use framework in pure fox code for utilizing a multi-threaded vfp dll (vfp mtdll) called from ASP.NET.  If you're considering web programming with FoxPro, using FoxPro in the cloud, or converting desktop VFP to web or mobile - using Android, iPhone, or iPad, this tool is for you.

Free and open source web software for the Foxpro community!!!

Faster than PHP on Windows, easier than C#!
Windows Web Scripting Comparison for AVFP vs. PHP vs. ASP.NET Razor

Really multi-threaded, really runs in the cloud, really open-source - accept no substitute!  The goal of this project was to match or surpass the capabilities of commercial vfp web development products and to take vfp into the future by making it easy to interop with .NET for web applications. Along with this, ActiveVFP makes using cool web and mobile technologies like JavaScript, AJAX, JSON, jQuery, jQuery Mobile, AngularJS, Bootstrap, HTML5, CSS, PDF, Android, iPhone, iPad, RESTful web services (and more!) with FoxPro a breeze.

Fastest and most scalable VFP web solution, yet also the easiest to setup and program!

"...It can do everything the commercial vfp web products can and more like the ability to be easily hosted atcheap shared web hosts like GoDaddy, XCOPY deployment, and true multi-threading.  I think of it as applying more modern technology to foxpro web development as compared to most of the older products that were developed 20 years ago and still use the original outdated techniques.  However, AVFP is extremely easy to use and develop in." -VFP Developer.  No more paying for the privilege of using outdated technology!

High Availability, High Performance, works with Everything! Unlike commercial VFP web products, ActiveVFP concentrates on producing multi-threaded COM VFP server apps. While commercial VFP web products all have a multi-threaded ISAPI client (as does ActiveVFP), only ActiveVFP focuses on creating multi-threaded VFP web server applications using a vfp mtdll. No simulated multi-threading (using multiple VFP EXE processes) here.  What this means for you is much faster, efficient and scalable vfp web applications along with far less maintenance headaches and worries about uptime. It also means you take full advantage of new Dual-Core, Quad-Core or multiple processors in new computers increasingly available now.

Your ideas and code contributions to this project are always welcome. Guidance for enhancements to ActiveVFP is on theIssue Tracker page.

Making it easy to use Foxpro on the web!!

Links
ActiveVFP 6.03 Demo on GoDaddy Shared Hosting.
ActiveVFP 6.03 Demo on local network.
ActiveVFP Documentation
ActiveVFP Video Overview
Windows Web Scripting Comparison for AVFP vs. PHP vs. ASP.NET Razor
Free Community Support
Consulting Support

Background Articles
Advanced VFP Servers by Calvin Hsia, Microsoft
VFP COM Debugging

From Microsoft Visual Foxpro FAQ:
"Q: Can I use Visual FoxPro to build Web applications?
Visual FoxPro COM components can be used with Internet Information Services (IIS) to build high-powered Internet database applications. This is because Visual FoxPro components can be called from Active Server Pages (ASP). Visual FoxPro is compatible with ASP but works even better in conjunction with the more modern ASP.NET. The components will retrieve and manipulate data, and will build some of the HTML returned to the user. "

Notable Quotes

"I was able to get a mobile site using AVFP up and 
running in about 30 minutes." Andrew MacNeill, Akselsoft 

On running ActiveVFP at GoDaddy, "I got it working and I tell you its sweet" LarryJ

"Everything you see is completely controlled by VFP code. Data controlled pictures, text, links,
and calculations are 100% VFP. I can change anything on the fly and it is multiuser right out of the box."
"...The dealership has a server guy who didn't know it was a VFP application. He was bad mouthing VFP for being old and slow. He was glad my new Super Fast application was built on .NET and used SQL server backend. I let him ramble on, then told him that it was powered by VFP and used DBF tables. He told me "There is no way, a Foxpro application with that much data would be terribly slow." I just laughed and simply told him that any *Decent* Programmer can make VFP fly. I am still chuckling. He was so sure it was .NET with SQL. He had to admit it was extemely fast." Don Higgins, Crew Chief Pro Software

"You should not have an issue with performance if you use multi-threaded
DLLs. I regularly test Visual FoxPro COM DLLs by simulating 40 clients
pounding the server for days at a time, generating as many as 3 million hits
per day (on a four-proc machine with 2Gb of RAM and striped RAID). If you're
site is generating more hits per day than that, I think other stuff is going
to break down before your COM servers. :-)" Mike Stewart, Microsoft

"I installed AVFP 5.5 experimentally this morning: xcopy the app and support libs to a
Windows 2003 server,create a new IIS virtual directory, map it to the new folder,
allow scripts and execute, I also created a new application pool out of habit...
then hit the site and the VFP app was serving pages. No DCOM, no registration,
nothing else to configure..."
"..Just for the record for people who haven't tried it, we're using an ActiveVFP MTDLL
in a production environment at the moment. That thing is fast- quick enough that it's
the server and network latency causing the biggest bottlenecks. We're talking a 15Mbps
connection burstable to 100Mbps so the app itself is doing fine." Jack Ryan

--
Donations
Donations are accepted.
Click here to donate to help support ActiveVFP and Open Source VFP projects.

Donate!


Thank you for your support!

Updated Wiki: Home

$
0
0

ActiveVFP Project - Foxpro on the World Wide Web

PHP or MVC style, you choose.  VFP pages or VFP controller - just add Fox code!!

Arvixe!

AVFP- best choice for using FoxPro with REST as a RESTful server. AVFP- best choice for using FoxPro with Android, iPad, iPhone.

ActiveVFP 6.03 Demo onGoDaddy Shared Hosting.
ActiveVFP 6.03 Demo on local network.

Easily installs on local IIS, GoDaddyArvixe, WinHost, Discount ASP.NETSoftSys, many others.  Get the cheapest web hosting rates ($5/month and below) using AVFP.  Don't pay a premium just for using FoxPro!

FoxPro to Web, FoxPro to Mobile, FoxPro to Cloud: ActiveVFP(AVFP) is a completely free and open source project for creating web applications with the Visual Foxpro programming language and database (and other DBs like MSSQL or MySQL). It provides an easy-to-use framework in pure fox code for utilizing a multi-threaded vfp dll (vfp mtdll) called from ASP.NET.  If you're considering web programming with FoxPro, using FoxPro in the cloud, or converting desktop VFP to web or mobile - using Android, iPhone, or iPad, this tool is for you.

Free and open source web software for the Foxpro community!!!

Faster than PHP on Windows, easier than C#!
Windows Web Scripting Comparison for AVFP vs. PHP vs. ASP.NET Razor

Really multi-threaded, really runs in the cloud, really open-source - accept no substitute!  The goal of this project was to match or surpass the capabilities of commercial vfp web development products and to take vfp into the future by making it easy to interop with .NET for web applications. Along with this, ActiveVFP makes using cool web and mobile technologies like JavaScript, AJAX, JSON, jQuery, jQuery Mobile, AngularJS, Bootstrap, HTML5, CSS, PDF, Android, iPhone, iPad, RESTful web services (and more!) with FoxPro a breeze.

Fastest and most scalable VFP web solution, yet also the easiest to setup and program!

"...It can do everything the commercial vfp web products can and more like the ability to be easily hosted atcheap shared web hosts like GoDaddy, XCOPY deployment, and true multi-threading.  I think of it as applying more modern technology to foxpro web development as compared to most of the older products that were developed 20 years ago and still use the original outdated techniques.  However, AVFP is extremely easy to use and develop in." -VFP Developer.  No more paying for the privilege of using outdated technology!

High Availability, High Performance, works with Everything! Unlike commercial VFP web products, ActiveVFP concentrates on producing multi-threaded COM VFP server apps. While commercial VFP web products all have a multi-threaded ISAPI client (as does ActiveVFP), only ActiveVFP focuses on creating multi-threaded VFP web server applications using a vfp mtdll. No simulated multi-threading (using multiple VFP EXE processes) here.  What this means for you is much faster, efficient and scalable vfp web applications along with far less maintenance headaches and worries about uptime. It also means you take full advantage of new Dual-Core, Quad-Core or multiple processors in new computers increasingly available now.

Your ideas and code contributions to this project are always welcome. Guidance for enhancements to ActiveVFP is on theIssue Tracker page.

Making it easy to use Foxpro on the web!!

Links
ActiveVFP 6.03 Demo on GoDaddy Shared Hosting.
ActiveVFP 6.03 Demo on local network.
ActiveVFP Documentation
ActiveVFP Video Overview
Windows Web Scripting Comparison for AVFP vs. PHP vs. ASP.NET Razor
Free Community Support
Consulting Support

Background Articles
Advanced VFP Servers by Calvin Hsia, Microsoft
VFP COM Debugging

From Microsoft Visual Foxpro FAQ:
"Q: Can I use Visual FoxPro to build Web applications?
Visual FoxPro COM components can be used with Internet Information Services (IIS) to build high-powered Internet database applications. This is because Visual FoxPro components can be called from Active Server Pages (ASP). Visual FoxPro is compatible with ASP but works even better in conjunction with the more modern ASP.NET. The components will retrieve and manipulate data, and will build some of the HTML returned to the user. "

Notable Quotes

"I was able to get a mobile site using AVFP up and 
running in about 30 minutes." Andrew MacNeill, Akselsoft 

On running ActiveVFP at GoDaddy, "I got it working and I tell you its sweet" LarryJ

"Everything you see is completely controlled by VFP code. Data controlled pictures, text, links,
and calculations are 100% VFP. I can change anything on the fly and it is multiuser right out of the box."
"...The dealership has a server guy who didn't know it was a VFP application. He was bad mouthing VFP for being old and slow. He was glad my new Super Fast application was built on .NET and used SQL server backend. I let him ramble on, then told him that it was powered by VFP and used DBF tables. He told me "There is no way, a Foxpro application with that much data would be terribly slow." I just laughed and simply told him that any *Decent* Programmer can make VFP fly. I am still chuckling. He was so sure it was .NET with SQL. He had to admit it was extemely fast." Don Higgins, Crew Chief Pro Software

"You should not have an issue with performance if you use multi-threaded
DLLs. I regularly test Visual FoxPro COM DLLs by simulating 40 clients
pounding the server for days at a time, generating as many as 3 million hits
per day (on a four-proc machine with 2Gb of RAM and striped RAID). If you're
site is generating more hits per day than that, I think other stuff is going
to break down before your COM servers. :-)" Mike Stewart, Microsoft

"I installed AVFP 5.5 experimentally this morning: xcopy the app and support libs to a
Windows 2003 server,create a new IIS virtual directory, map it to the new folder,
allow scripts and execute, I also created a new application pool out of habit...
then hit the site and the VFP app was serving pages. No DCOM, no registration,
nothing else to configure..."
"..Just for the record for people who haven't tried it, we're using an ActiveVFP MTDLL
in a production environment at the moment. That thing is fast- quick enough that it's
the server and network latency causing the biggest bottlenecks. We're talking a 15Mbps
connection burstable to 100Mbps so the app itself is doing fine." Jack Ryan

--
Donations
Donations are accepted.
Click here to donate to help support ActiveVFP and Open Source VFP projects.

Donate!


Thank you for your support!

New Post: Helpful webpages for getting started in AVFP

$
0
0
As I was studying the AVFP documentation, I ran into the names of objects such as oRequest, oSession, and oResponse.

I was wondering where these objects were created, but soon discovered that they don't need to be created because they are built-in to the language.

The AVFP objects and attributes are overlaid on top of Microsoft's ASP language. So studying the organization of the ASP language and examples of how it's used is educating me about AVFP.

A couple websites I recommend are:

The ASP Tutorial at w3Schools.com -- includes lots of examples.

Active Server Pages on Wikipedia

Though I'm not sure how universally this applies, the objects are the same name except for the addition of "o" in the front, so:

oRequest.QueryString("action") in AVFP is: Request.QueryString("action") in ASP
oResponse.Redirect(lcNewPath) in AVFP is Response.Redirect URL

This knowledge should give comfort that AVFP is an actually built on the ASP industry standards. It's not an alien language. Things have been added to it to make it useful for VFP users.

In fact, if in the year 2150, the 32bit Windows goes away, we'll still have AVFP to run in the cloud -- or access using IIS on the desktop :- )





















Lots of basis knowledge was cleared up for me when I visited the

New Post: Problem with printing report

$
0
0
Mr_ocean, any news about this issue ?

New Post: Problem with printing report

$
0
0
Unfortunately nothing... i've tried the code in VFP and it works fine. In AVFP, instead, it not works. I don't understand how it can be.

P.S. I was not able to write on forum before for mauntenance.

New Post: Problem with printing report

$
0
0
Yes, There is any way you can grant me remote access to your test server to see if I can figure it out the problem? It its important for me to know that other person than me has been able to get AVFP printing working and understand what your problem was in order to find a way to make it easier for others.

Victor

New Post: Problem with printing report

$
0
0
I think it is not possible. My test server is my local machine. On the remote server (not located here) that i have there aren't printers.

I can give you an access to my machine but i think there are time zone problem.

New Post: New helper class for reporting from AVFP

$
0
0
The download link was updated to include the last version of avfphelper.dll. Please, redownload the files if your are experience OLE errors when trying to send a report from AVFP server code.

Victor

New Post: Problem with printing report

$
0
0
I am pleased to inform that the problem was solved with an update of the avfphelper.dll. It seems that the original version had some bug that I solved in the last version but never updated the downloadable package.

Victor

New Post: Accessing Data Tables in Desktop Mode

$
0
0
How do you open DBF tables that are in the DATA folder?

I keep getting the "File access denied" message, even after I have closed any localhost session.

Do I need to close Internet Explorer? Restart the computer?

Thanks

New Post: Accessing Data Tables in Desktop Mode

New Post: Accessing Data Tables in Desktop Mode

$
0
0

Victor,

Thank you. This was simple once understood.

I am using Windows 7, so the instruction was to type ”inetmgr” in the Start Search box.

That took me to the following screen in IIS

New Post: Accessing Data Tables in Desktop Mode

$
0
0
I created a batch file and a shortcut of this batch file in my desktop. Inside are 2 lines of code:
net stop w3svc
net start w3svc

Run as admin as needed.

New Post: Accessing Data Tables in Desktop Mode

$
0
0
iisreset does the stopping and starting of iis as well.
If the site is hosting more than 1 web site in separate app pools, then you'll want to stop\start just the app pool in iis manager to be less disruptive of other sites

New Post: Managing Files for Multiple Websites in Desktop AVFP

$
0
0
Hi Active Foxes,

I'm starting to create the code for my website, but I'm already feeling I've got a management problem on my hands. What's the best way to partition the code for different websites or applications?

Are you creating multiple instances of the AVFP application on the desktop? Can you even do that?

Or are you naming your AVFP pages and folders in such a way that you can easily figure out which pages go on which site?

Curious. Thanks.
Viewing all 1109 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>