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: IRABYY
  • Content: Threads
  • Order by date
  1. IRABYY

    File system limits

    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)...
  2. IRABYY

    MouseClick = Esc if CommandButton.Cancel=.T.

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

    Is it RAID or something else?

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

    How do I find if user is Admin?

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

    Problem with ADIR() function

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

    Detecting Ctrl+<letter> in KeyPress

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

    PUBLIC, PRIVATE & LOCAL

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

    DRIVETYPE () function question

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

    How do I set signature to my posts?

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

    GetUserName() function ain't working

    Colleagues, quick question: DECLARE integer GetUserName IN AdvAPI32 string @lpBuffer, integer @lpSize LOCAL lcBuffer, lnSize, lnRes, I lcBuffer = SPACE(255) lnSize = 255 lnRes = GetUserName(@lcBuffer, @lnSize) IF lnRes = 0 WAIT WINDOW [ Failure! ] ELSE FOR I = 0 TO 31 lcBuffer...
  11. IRABYY

    Apphook class loaded - ???

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

    How do I find the size of RAM programmatically?

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

    How Much Memory Do I Have?

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

    URL address string length

    Fellows, Is there the limit on the URL address string length in MS IE 5.0 and 5.1? AHWBGA. Regards, Ilya
  15. IRABYY

    ZEON PDF Reader OCX problem

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

    Colleagues! We are all using the b

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

    Quick question: substring count

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

    Question about DRIVETYPE()

    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...
  19. IRABYY

    How to Close Application Window - Ain't working

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

    How do I check if E-Mail is sent?

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

Part and Inventory Search

Back
Top