Colleagues:
1. I know (from MS documentation), that in DOS there was the limit on the number of files in the root dir of the system disk (256, if I'm not mistaken).
2. I know by experience that there was limit on the number of files in any folder in Win98SE and earlier (20,000 + something)...
Colleagues,
here's the trap I (ungracefully) have fallen into:
LASTKEY() function, when called in the CommandButton.Click event procedure returns ASCII code 27 (Esc) if the button's Cancel property set to True!
In my case it was User Name and Password entry screen, with two labels, two text...
Colleagues:
We recently started to experience quite bazzar behavior of a simple INSERT (SQL) command, i.e.
INSERT INTO (DBF("TABLE_ALIAS")) FROM MEMVAR
If you issue after that
GO BOTTOM IN TABLE_ALIAS
IF TABLE_ALIAS.FieldN # m.FieldN
&& Some code
ENDIF
the IF condition above is...
Colleagues:
Wery interesting problem: I need to find if the user, curently logged in, is Admin or not. This should work in any WinOS, from Win95B to WinME and from WinNT4 to WinXP.
I need it because I ammaking a program that is supposed to be used by Administrators only, whether it is WS or...
Colleagues:
Have anyone ever encountered the following:
ADIR(SomeArray, SomePath, "D") returns number of rows greater than the array actually holds - or so it seems?
I have the following function in my program to determine if the given directory is empty...
Colleagues:
Have any of you tried to "intercept" Ctrl+C, or Alt+F, or some other "reserved" key combinations (i.e. Ctrl+F) in the FORM.KeyPress procedure, provided FORM.KeyPreview = .T.?
I tried it - and could not make it work.
Here's how I tested it:
1. I made a blank...
I am starting this thread by suggestion from Mike Lewis.
My statement:
PRIVATE mem. vars. belong to a class definition. For everything else there are LOCAl and PUBLIC mem. vars. And the less PUBLIC mem. vars. - the better.
Consequently, implicit memory variable's declaration - which makes it...
Colleagues:
quick question: have any of you ever gotten DRIVETYPE(cPath) function's return CD/DVD-ROM type (=5) from a network drive which is not CD/DVD-ROM? Could that happen with some non-convetional type of storage (not IDE or SCSI)?
AHWBGA.
Regards,
Ilya
The subject is the question. Looking through the FAQ list gave me no answer, neither did the search through the entire site.
BTW, on representation of the web page where I am typing this now, the "Signature" object at the bottom is just a checkbox, not a hyperlink to where I could set...
This is something new for me, fellows!
One of my projects, when being loaded into VFP 7.0 SP1, momentarily displays a wait window saying "Apphook class loaded. Press Alt+F11 etc."
I once tried App. Builder, but I found it unfit to my purposes, so I just cancelled it. After that this...
Fellows,
I need to find the total size of physical RAM on the box programmatically (for speed optimization).
"Wintage" ( [wink] ) functions like SYS(12) or SYS(1001) ain't no help at all.
Function SYS(3050) is not of much help either: it gives you approx 65% of total RAM for the...
Colleagues:
Everybody knows that right-click on My Computer icon and selecting Properties brings up the window telling the amount of RAM on this particular box. Thus I know that finding the RAM amount can be done programmatically. And that's exactly what I need: to find the amount of RAM on...
Colleagues:
I found references on DocuCom components in others' posts. Maybe some of you familiar with the ActiveX in subject and can if not help to solve the problem, than at least to understand the cause of that problem.
I downloaded the control in subject (eval., of course) and started test...
Colleagues!
We are all using the built-in function FILE() in VFP for checking the existence of certain file, ain't we? I found lately that it's not fit for the cases when we either do not know exactly the file name and/or extension, or need just to find out if a group of files with common name...
Fellows, quick question:
is there in VFP 7.0 some "native" function which counts the number of occurences of one string in another string?
WAW, say, I need to count how many THs are in the ALPHA BETHA THETHA KSI, for instance?
AHWBGA
Regards,
Ilya
Fellows:
Quick and (I hope) easy question:
What DRIVETYPE(cPath) function returns if it's DVD drive? The problem is that we have no DVD drives in the shop yet [sad], and our customers have 'em.
With CD it returns 5, I know, but what about DVD? [ponder] Have anybody tested that?
TIA...
wgcs:
I tried your test program in the FAQ, just copy-pasted the code and followed your instructions "by the book". As you could guess from the title - ain't working:
VFP gives me "Invalid subscript reference" error message before executing a single line. I even put in...
Fellows,
I'm still struggling with E-Mail, but on more deep level. The problem I'm having now is verification if the message has been sent. The following is the code that does the sending (I'm using Collaboration Data Objects, or CDO, by suggestion from Mike Gagnon):
loMSG =...
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.