I have a Purchase Order application, written in VFP50, that allows a user to automatically generate an email, using their default email client, to send to a vendor. This is the code that creates the email:
local lSession,lMessages
lSession = createobject("MSMAPI.MAPISession")
lSession.Signon()...
I just installed VFP50 on my new windows 7 64-bit system. Installation went without a problem. However when starting VFP50, I receive the error message "Error initializing Application object (Error 1574)". Clicking [Help] gives:
"The Automation server or type library is not registered...
Hi all,
After looking at the FAQs and prior posts regarding the best way to quit an application, the following code seems like a simple way to go:
***Simplified Main Program***********************
on error do errorhandle
on shutdown do confirmquit && asks user if they really want to quit
do...
Am starting to rewrite an old FoxPlus (DOS) program from scratch using VFP50. One of the (free) tables will be a vendor table, with the user assigning a unique vendor lookup key (they could be adding a new vendor, or changing the lookup key of an existing vendor).
I have come up with 2 ways...
Just installed Service Pack 2 for Windows XP. Foxpro 2.6 for Dos will not run now. Received the following error when starting foxpro.exe from a Command prompt:
"The NTVDM CPU has encountered an illegal instruction."
I have tried all the compatibility modes, but that makes no difference.
Called...
Hi,
I have a simple grid with a 5 field database as the record source. The following code is in the header of each column:
set order to ......
thisform.refresh
The grid changes order as expected, but the record pointer jumps to some other record. How do I keep the record pointer on...
I used the following code to bring a VFP 5.0 app (a network messaging program) to the foreground whenever a user received a message:
&& setup code:
declare integer FindWindow in Win32api string,string
declare SetForegroundWindow in Win32api integer
_screen.caption = "Test...
I am setting up a 5 user peer-to-peer network using Windows XP Home version. On our old Windows 95 setup, whenever a user started to shut down and other users had files open, a popup would warn the operator that other users were on the system and still had open files.
With the new Windows XP...
Just bought a new Dell with XP-Home (what a change from my old 133 Win95!) Anyhow, the auto update feature is already telling me there are updates that should be downloaded and installed. I have no problem with this, but I was wondering if there is any way to save these updates as they come in...
(Using VFP 5.0)
I have a form (using optimist row buffering) that allows the user to edit records and then Save (using tableupdate) or Cancel (using tablerevert). That all works fine.
To add a record while in the same form, the user presses an ADD button which appends a record, which is then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.