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).
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...
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...
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...
Colleagues,
Here's what I have in the code:
'====================================================================================================================================
Private Sub MonitorFilesModifications()...
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...
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...
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
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
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
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...
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...
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()...
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 =...
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.