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 TouchToneTommy 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: *

  1. MrFancyteeth

    SET("PATH")

    I'm using Visfox 8 & can't find this in the help file - it goes from SET("NOTIFY") to SET("PRINTER") With intellisense i get can pass the parameters 1, 2 & 3 but what do they mean? They all seem to return the same path - even when my SET PATH TO command has multiple paths. Any Ideas? MrF
  2. MrFancyteeth

    Report form - VFP8 good - VFP6 errors

    Morning, This compiles fine in VFP8 REPORT FORM swgdelnt.frx PREVIEW TO PRINTER PROMPT NOCONSOLE but errors when i recompile in VFP6 (from error err file) Error in line 38: Missing comma (,) any ideas of the correct order? MrF
  3. MrFancyteeth

    "Not a charcter exp" error - macro subst

    morning I'm trying to resize grid columns based on data that the cursor contains step 1 is an Afields() AFIELDS(arrfld,"curgrid") FOR x=1 TO ALEN(arrfld,1) cFld=arrfld(x,1) IF arrfld(x,2)="C" && only for char fields thisform.sizemycolumns(cfld,x) endif endfor step 2 is the...
  4. MrFancyteeth

    datetime()-datetime()

    morning I'm trying to use datetime(afturedate)-datetime() to return the a 'proper' interval between the 2 date/times currently the calculation returns the number of seconds between the 2 date/times - but I would like it to return 2 days, 4 hours, 3 minutes and 7 seconds. I'm working on a...
  5. MrFancyteeth

    return full control heirarchy

    Afternoon, Is there a way of returning the full heirarchy of a control programatically? e.g when i right click on a textbox it would return "form name.pageframe name.page name.container name.textbox name" ? mrF
  6. MrFancyteeth

    Bad sectors gone when convert to NTFS

    Morning, My 40Gb hard drive developed bad sectors under WinMe.. However upgraded to WinXP pro and converted to NTFS the local disk management displays the partitions as healthy. Does NTFS ignore the bad secors? or is the healthy designation mean something else? Can I safely continue to use...
  7. MrFancyteeth

    redim preserve problem

    I'm having problems with ReDim Preserve If I run the following code without 'preserve' it runs fine (it's only a test program at the moment - as i'm learning VBA) Option Base 1 Private Sub UserForm_Click() Dim nCount As Integer Dim arrTest() As Integer For nCount = 1 To 20 ReDim...
  8. MrFancyteeth

    program Workspace error / NT permission?

    Morning, I have a exe that runs from a CD which cretaes a directory on the C:\drive then unzips files to the directory. It works fine on most (180+)Users' systems except for Some NT4 installs (5-8 users). The error "Cannot create program workspace" occurs as the exe starts...
  9. MrFancyteeth

    SQL alter table / macro subst

    I'm trying to create a common structure for several dbf files. The Fieldname,Fieldtype and fieldwidth are stored in a cursor. i'm then scanning through the cursor and using SQL alter table to modify and existing table structure SELECT curstrus scan cfname=curstrus.fname cftype=curstrus.ftype...
  10. MrFancyteeth

    Zip / compressed folders in XP pro

    I currently use shell execute to call Winzip to perform zipping. Now we've moved to XP - we're using compressed folders (ie no winzip installed) know any way to create a compressed folder - extra mkdir() parameters? and pass password etc to it similar to - DECLARE INTEGER ShellExecute IN...
  11. MrFancyteeth

    Macro substitution / evaluate()

    I've been using macro substitution for a while, but just found the evaluate() function in Visfox help. quote:"Whenever possible, use EVALUATE( ) or a name expression to replace macro substitution using &. EVALUATE and name expressions execute faster than macro substitution." However...
  12. MrFancyteeth

    date functions - number of days in a month

    hello is there a function that returns the number of days in a month?
  13. MrFancyteeth

    dbl click file - open with exe

    hello there, I've created an exe & associated setup program which registers a custom filetype (filename.X9X)and associates them with my program with the default action of open. These files are essentially CSV files which my program exports and can view in a grid. My client is really happy to...

Part and Inventory Search

Back
Top