>> That works, but each time I issue "DO FORM" I open another instance of the form. I want to keep two forms open, one visible and one that appears and hides.
-------------------
The form created with DO FORM is an object, which has its object reference (variable of type Object). Through this...
THISFORM.ActiveControl
--or--
in control.gotfocus save the object reference or object name into user defined property of the form
--or--
in control.click save the object reference or object name into user defined property of the form (only if you use such parameters of BINDEVENTS, where...
I like JMail.dll from Dimac Development, www.dimac.net. It should be free for SMTP.
Most POP3 ActiveX aren't free, but (I hope) ESPOP is (in google try to find Espop Essmtp)
I think if you add proper runtime files in same folder as the application, you will never have problems.
I think it isn't very good idea to install runtime files in common location, because you can rewrite runtime version for other VFP applications.
I think SCATTER NAME can be usefull command.
LOCAL loRecord
SELECT Alias
SCATTER NAME loRecord
loRecord.FieldName1 = NewValueForFieldName1
INSERT INTO Alias FROM NAME loRecord
If INSERT INTO FROM NAME isn't supported in your/older version of VFP, you can use APPEND BLANK + GATHER NAME...
You can use Visual Foxpro (or old Foxpro):
From help file: CSV - Include CSV to import data from a comma separated value file. A CSV file has field names as the first line in the file; the field names are ignored when the file is imported.
Use following commands:
CREATE TABLE NewTable (field1...
Hi Mike & others,
I had sometimes problem with SET DATASESSION command - application wasn't stable and I received strange C000005 errors later in the application run. It was in VFP6 or VFP7 and maybe such problems are no longer here. But to avoid such problems I recommend to go back to the...
Yes, we haven't enough problems to develop software, so we need additional problems with such crazy IT managers.
Cannot help something with SUBST command,
f.e. SUBST e: \\server\netdir\userdir ?
(and "userdir" (maybe) you can give as a parameter in the starting command)
OLE DB runs faster and it is the preffered (Microsofts) way for future.
Use Visual Foxpro and its Cursoradapter class. Then you can switch between ODBC and OLE DB with one property setting.
I make it using PHP which calls COM servers well. I don't know PHP at all, but it is realy easy to call FoxPro COM server.
F.e. on Win98 I have installed PHP for Windows and Xitami web server and I have setup Xitami to run PHP for .php extension.
In Xitami /cgi-bin folder I have a registered...
New versions of Foxpro (starting from 6 with servicepacks) are stable, very good software.
But automatic conversion from versions <3 isn't good idea.
You should change to object interface (forms) at least. Redesign forms with object controls and then you can copy-paste the old code into...
HTPATCH.EXE is a part of SiS video drivers (patch for hyperthreading support?)
HTPATCH.EXE causes Foxpro/DOS (and other DOS applications with similar interface, f.e. Volkov commander) hangs in fullscreen mode immediately!
(sure valid for HTPATCH.EXE 27.03.2003, Celeron (=no hyperthreading...
I have WinXP-professional station (not a server), shared folder with DBF files, which is accessed from LAN, fixed internet connection with public IP address.
Is it possible to access the data through remote views & VFP ODBC from other computers in internet?
What is necessary to do for it?
I'm sorry, I haven't understand that it is necessary to send mails using Outlook. If so, solution is Outlook automation (example bellow). JMail sends mails directly to the SMTP server, no e-mail client is required.
<code>
* Class requires .roOutLook and .roOutLookItem properties
PROCEDURE...
Thank you for responses.
> Mike Gagnon: on error * doesn't work inside error handling code.
> Mike Lewis: yes. But I wait a little more from the error handling routine, f.e.: give info to the user in his current language, let write him his knowledges about the error, write error info into...
Hi. If there is an error in code, and error procedure starts, is there a possibility to disable error messages for next errors (i.e. for errors inside the error procedure)?
I know that starting from VFP8 Try/Catch can be used. But in VFP7?
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.