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 SkipVought 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. IlyaRabyy

    Poll #1: What versions of FoxPro/XBase languages did you use?

    Started with DBase III and Clipper in 1989, then FoxBASE 2.x, FoxPro 2.5/2.6, VFP 3.0 in 1997, ended with VFP 9.0 in 2019. Now working in VB .NET (VS 2022).
  2. IlyaRabyy

    "Who's in here?"

    Colleagues, How do I know who's currently logged in on a server (or even local W/S) machine? IOW, I need a function that returns a list of currently logged UserIDs, whether as a String (e.g. CSV, or CRLF-, or whatever char separated) or String(). I recon posting similar Q. here before (way B4...
  3. IlyaRabyy

    FileSystemWatcher reacts twice

    After rigorous testing, it's been established that whatever the NotifyFilter(s) is/are - the notification is doubled. To fight this discrepancy, I recalled that there is such thing as Static local memvar... and here it is: ' To prevent double notification: Static lsPrevFile As String If...
  4. IlyaRabyy

    FileSystemWatcher reacts twice

    when the file is changed by Notepad Actually, it's Notepad++, but might be the same. create a temporary copy, work with that, then when you save for example they delete the original file and copy the temp file to the original filename see this article...
  5. IlyaRabyy

    FileSystemWatcher reacts twice

    Colleagues, Here's what I have in the code: '==================================================================================================================================== Private Sub MonitorFilesModifications()...
  6. IlyaRabyy

    FileSystemWatcher.Filter errs

    Scheise! It seems that I'll never learn when to declare a pointer-on-oject memvar with just "As", and when with "As New"! Albeit... "String" is also an object... err... class that becomes an object when declared just with "As", ain't it? [ponder] Anyway, thank you very much, Mikrom! Problem's...
  7. IlyaRabyy

    FileSystemWatcher.Filter errs

    Exist it does. It was declared way above in the code. I moved it down so I could "take a picture". Regards, Ilya
  8. IlyaRabyy

    FileSystemWatcher: how to make it accept multiple file extensions?

    That'd be fine and dandy, but the problem is that in .NET Framework 4.8 I opened the Project Properties tab and selected "Install other frameworks; that took me there: https://dotnet.microsoft.com/en-us/download/dotnet/8.0 I dunno which ver. 8 files to select... Any hints? (Win 11...
  9. IlyaRabyy

    FileSystemWatcher.Filter errs

    Colleagues, Picture worth 1K words, so here it is: AHWBGA! Regards, Ilya
  10. IlyaRabyy

    FileSystemWatcher: how to make it accept multiple file extensions?

    Right, not supported. Any tip on how to get around this restriction? Regards, Ilya
  11. IlyaRabyy

    FileSystemWatcher: how to make it accept multiple file extensions?

    Colleagues, I need to monitor files of more than one type (e.g. XML, TXT, etc.) I looked up FileSystemWatcher.Filters property - it's read only. This is what I have: What am I doing wrong? Regards, Ilya
  12. IlyaRabyy

    File's hash code - how to get it?

    It did, muchos gratis, le grand merci, tada raba, bol'shoe spasibo, djakue bardzo! :-) Regards, Ilya
  13. IlyaRabyy

    File's hash code - how to get it?

    Thank you, mikrom, it worked! Regards, Ilya
  14. IlyaRabyy

    File's hash code - how to get it?

    Thank you, StrongM! There's one drawback, though: Is it because my testing program is on .NET Framework 4.8, and Convert.ToHexString() method I opened the Project Options screen (VS 2022), and there's no option for .NET, only for the Framework... [ponder] Regards, Ilya
  15. IlyaRabyy

    File's hash code - how to get it?

    Colleagues, the subject line says it. Search in the MS Learning (aka on-line Help) produced "you're in a helicopter" results. GetFileHashCode() threw an exception even before Ctrl+S. AHWBGA! Regards, Ilya
  16. IlyaRabyy

    Delete an array element - HOWTO?

    Thank you, StrongM! Where this "Function()" comes from? Tried to find it in MS's Help - got "U R in a helicopter" results... For that matter: where can I find comprehensive description of LINK? Searched MS Help... (see above). BTW, I know "a thing or two" (sorry, Sir Paul! :-)) about Transact...
  17. IlyaRabyy

    Delete an array element - HOWTO?

    Colleagues, I vaguely remember that there was something like Array.Delete(ElementIdx) in one of the programming platforms I've used in the past. Can't recall was it VB6 or VFP 3.0-9.0... Probably in VFP, coz I remember giving my students in VB6 class assignment to develop a sub or function for...
  18. IlyaRabyy

    Directory.GetFiles() misbehaves

    Colleagues, The subject line says it, and I'm at the end of the rope with frustration! This is what's happening: I have a root dir, with subdirs, where I have files of type *.LOG, *.XML and *.PS; These files can be located in the root dir or in a subdir, or both; This Directory.GetFiles()...
  19. IlyaRabyy

    Appending arrays - HOWTO?

    Forgot to click on star - mea culpa! Done now. Regards, Ilya
  20. IlyaRabyy

    Appending arrays - HOWTO?

    I like this Concat() the best! [thanks2] , StrongM! Actually, I need to concatenate 3 arrays, so I tried (C/C++ style, y'kno) Dim la1() As String = {"1", "2", "3"} Dim la2() As String = {"4", "5", "6"} Dim la3() As String = {"7", "8", "9"} Dim laS() As String =...

Part and Inventory Search

Back
Top