Hello Foxpro Friends,
I'm looking to build a robocopy command, run it from VFP9, and pick up the exit code to be sure it completed successfully. I'm a local administrator on my box, and the source and destination directories are on the same local drive, but nevertheless, the command will fail...
At least in the experience of some, SET('DEFAULT') returns only the drive letter rather than the drive letter and path as expected, such as SYS(5) & SYS(2003) or FULLPATH(SET('DEFAULT')) would.
There is some conjecture that this is windows-related, or perhaps not, per 1814250
Does anyone...
In a job shop setting I have a template folder structure with some starter programs in various locations, a fresh copy of the tree is used for each job. This means we have a prg in the corresponding folder under each job folder with the same name. Like:
P:\ABC\001\some.prg...
We're experiencing a problem where we use VFP9 to call an exe (also compiled VFP 9) on a network location and it holds onto that exe file until FoxPro itself is closed. Until the person who called it closes FoxPro, you can't rename, delete, or overwrite, the exe. We've tried the usual close...
Hello,
Easy one here. I'm sure this has been done many times over and want to avoid reinventing the wheel but I can't find it using the forum search...
We're looking for a procedure to see if a string is valid for use as a field name (not in a DBC). Essentially, this means it must contain...
Some background:
We use large free tables in a processing-intensive environment. We would LOVE to see the 2GB barrier eliminated ... but that's the subject of another post. Before you tell me to take this out of Fox and move into Oracle or SQL Server or something, note that other data...
We're using a VFP9 "wrapper" program to call an older fox2.6 stand-alone executable from the command-line in the new version. This program works fine for some and we can call the program straight from windows by double-clicking just fine. Strangely, we get a message that foxtools.fll can't be...
I have an error that can only intermittently can be repeated. I ran the same code on the same data a few times, sometimes it worked, sometimes it threw an error. (XP pro, VFP 9.0, heartily equipped workstation)
The line of code that trips the error is:
"COPY TO (cFileName) TYPE FOX2X"
As...
I am supplied a varying number of files with names that are composed of a fixed segment plus an undetermined segment plus an html extension. I need to rename these files in DOS, preserving the undetermined segment (which can be assumed to be unique) while changing the fixed segment to something...
.
I created an exe for non-technical users that allows them to view, query and perform custom searches on DBFs. In most such programs I do a "SET RESOURCE OFF" and modify the 'start in' path on their shortcut to the application and this works well.
This one is different in that it's associated...
I have a menu pad that calls the stock Find function of VFP with a call to "_med_find." For some reason when using Find within my app you cannot copy/paste into the edit box (shows undisplayable character). (CTRL+V & CTRL+C are not defined anywhere within the app so I would think they would go...
Is there a way to prevent the Table menu from appearing when browsing a table in my app?
I have a custom menu, SET SYSMENU OFF, and SET SKIP OF MENU _MTABLE .T.
I'm trying to do something seemingly innocuous but can't find a way to do it. Can you do a simple browse on a table in such a way that the browse window is not closeable similar to what you could do to the _screen or a normal form?
Thanks in advance
This is so simple that I'm embarassed to post it, but I can't seem to solve this. I check to see if a table is in use, if it is I select it otherwise I open it. The following code will run through to the USE command and then error out with 'File is in use.' This seems so illogical because, by...
For various reasons I would like to load several forms when I launch my application, but not show them to the user yet. I set their visible property to false at design time, but when I run them their visible settings always becomes true and wallah ... there the buggers are. Sure, I can hide...
I have users at remote locations using a VPN connection to a server here at the company HQ and then RDPing to their real workstation. We have found options to allow them to send audio or printer output to their local computer from this session, for example, but nothing related to using local...
I need to shoot out XML data daily for use by someone else's .NET app from my Fox 9.0 app that of course uses tables. I've figured out how to produce XML data with native XML data-types, but need to export XML data with MS SQL Server data-types (ie varchar, etc). I don't see any posts on this...
JS newbie here, is there a way to clear out the contents of document.cookie. I want the transient cookies blown away as if the user closed their browser, not just resetting their values back to empty strings.
I would expect something like these to work but they dont:
document.cookie = ""...
I am trying to get video cables for a KVM switch. Can anyone tell me the difference between HD15 and HDB15 video cable connectors? As far as I can tell, they both "fit" the same pin configuration.
Is there a way to specify a delimiter for the fields on export, but NOT have a framing character. If I want pipe-delimited such as this:
name|address|city|state|zip
I tried all types of derivatives of the copy to command such as "copy to filename delimited with char "|""...
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.