Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: USMA99
  • Content: Threads
  • Order by date
  1. USMA99

    VFP9 to run external command as admin and capture exit code, WScript, ShellExecute

    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...
  2. USMA99

    SET('DEFAULT') Not returning drive and path for default directory

    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...
  3. USMA99

    path or cache/memory issue in VFP9

    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...
  4. USMA99

    Can't Close VFP9 File Lock to Exe

    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...
  5. USMA99

    Validate FoxPro Field Naming Constraints

    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...
  6. USMA99

    32-bit VFP9, 64-bit OS, and more than 4GB RAM

    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...
  7. USMA99

    file 'foxtools.fll' does not exist

    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...
  8. USMA99

    Troublesome File Write Error in FoxPro

    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...
  9. USMA99

    Fine Points of Using Wildcards in Ren/Copy in DOS

    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...
  10. USMA99

    Somebody, please, kill these Foxuser.dbf/fpt files

    . 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...
  11. USMA99

    conflict with _finddialog class

    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...
  12. USMA99

    Preventing Appearance of 'Table' Menu

    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.
  13. USMA99

    browse window equivalent to .closeable = .F. ?

    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
  14. USMA99

    help checking to see if a table is open

    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...
  15. USMA99

    Keeping forms as visible = .F.

    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...
  16. USMA99

    using local peripherals with an RDP session

    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...
  17. USMA99

    How to generate XML (SQL server data types) from VFP 9

    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...
  18. USMA99

    can you clear transient cookies in javascript?

    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 = ""...
  19. USMA99

    HD15 vs HDB15 video cable connectors

    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.
  20. USMA99

    export delimiters

    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 "|"&quot...

Part and Inventory Search

Back
Top