Search:
Type: Posts; User: Zphere
Search:
Search took 0.02 seconds.
-
-
Okay,
most important for me is a search against pattern ranges ("[]") also.
Reading the information from the provided link, this is not explicitly stated by MS.
-
Nice find, thank you very much dilettante,
I visited this ms-site so often but never recognised this api as interesting in the left scroll-down menu.
However, according to your test results (I...
-
Thanks OptionBase1,
I cannot use Instr because it's not able to handle regex patterns as the like operator.
I've to compare a specific array value against regular expression patterns from the...
-
Hello all,
is there any faster way to compare multiple strings via regex-patterns than I did in the example code below?
This code works very well, but becomes slow when executed multiple times in...
-
wqweto,
PathFileExistsW does not distinguish between existance of a filename or a directory.
As its name suggest, it simply checks for existance of a path.
Zphere
EDIT: Sorry, at second...
-
Perhaps belatedly, but still just another one that is unicode aware:
Private Declare Function PathFileExistsW Lib "shlwapi" (ByVal pszPath As Long) As Boolean
Private Declare Function...
-
Elroy, I think I now understand your statement of going sure that destination should be the first parameter.
Regarding your link: habitually, RTFM is the first thing I do. This was the first side I...
-
Also, thanks for your warnings.
Am I allowed to ask what "memory" one might try to copy is not memory?
Could you/someone recommend a good reference about how CopyMemory works?
DEXWERX, I think I...
-
Elroy, thank you very much for "coaching" me here.
"Secretely", methods of byte array handling was also what I'm looking for.
I'm just changing my code regarding your suggestions and till now...
-
Very, very interesting Victor Bravo VI.
This is new to me, I will test this.
I'm shifting away from my initial question I know,
but at first I would like to refer to Elroys approach.
Elroy,...
-
At first, a big thanks to all of you
(In hope my english is good enough...)
Victor Bravo VI:
Clear answer to my initial problem (as it was posted). Thanks also for the reference.
To be...
-
Example declarations:
Private Type SUB_STRUCTURE
SubMember1(15) As Byte
SubMember2 As LARGE_INTEGER
SubMember3 As LARGE_INTEGER
SubMember4 As Long
End Type
Private...
-
cwk2,
very useful instructions - thanks much.
Environment: VB6 Enterprise German with SP6 installed on Win10 (v.1709) and vba6.dll v.6.0.9782.
I did a short, sucessful test and would like to...
-
...I know :-)
BTW, StorageGetDeviceNumber has it own disadvantages.
For example, it fails for attached VHDs via ImDisk/True- and VeraCrypt where others do not.
Also thanks for confirming...
-
Dragokas,
I suggest not to use this IOCTL-ControlCode for your aim.
As you (?), I prefer writing codes that work in a commandline window without explicit elevation.
Use...
-
Elroy,
believe it or not, but basically I'm aware of of that what you pointed out.
The main difference I see between people who do coding on regular basis and/or
earn money with it and people like...
-
Uhh, I was really close.
It was simple enough -if there wasn't the really stupid mistake I made.
Thank you Schmidt, I got it now.
About your supplementary notes, I see what you mean.
And you're...
-
LaVolpe and Elroy,
here now is what I did more precisely regarding my original question.
This code works (certainly), but is not what I want:
Module1
Option Explicit
Public Type SubInfo
...
-
A big thanks to both of you,
will try your suggestions and post results (or emerging questions) as soon as possible.
-
My project so far is started via Sub Main in a module.
It also contains a class that collects Information using an UDT.
Below, contents of interest are shown.
Class1
Option Explicit
...
-
I'm still on testing, but I would like to post a preliminary opinion here:
In case the claimed performance boost affects loading only I would also say No, don't change anything.
In general - does...
-
In the meanwhile I did some tests with the previously attached project.
Intent was to check if slowness might be related to the ListSubItems only or by defining several columns (data fields) or...
-
Again, thank you Krool.
I expected (and feared) this kind of answer.
@Karl77,
I'm also very interested in providing the thread link.
-
Thanks Krool for having a look.
I admire your patience and willingness to answer all requests in this thread.
Attached is a project sample to address the issue mentioned in my previous post.
I...
-
At first, I don't know if my question is related to Krools controls in particular
because of my missing knowledge here.
So, please excuse if you think that I'm hijacking this thread.
ListViewW...
-
@erenagar
Sorry for intruding, but the microsoft source provided is misleading.
Inside console doubled ampersands (as well as doubled vertical pipes) are treated completely different.
One...
-
sockey,
if I may - your "code" is not very fool proofing.
Your two commands open two independent command line windows.
Although the first one changes to the target directory - the second...
-
Thanks much for clarification.
That's exactly what I wanted to know.
-
@Krool,
I started using your controls collection for displaying very long and unicode path/file names.
It's the first time I'm using a ListView control so please excuse if the following question...
-
Independent from dilettantes much better solution LaVolpe is right with his assumption.
%CD% in a batch always returns the directory from which a batch was called. I think this is not what you want....
-
Thank you very much Schmidt for this extensive clarification - I am interested and willing to dive into this.
fafalone,
to clarify my post I will describe an example from practice:
German...
-
@ all,
thanks for your plain words.
Indeed, it seems that I was misleaded in a way Tanner_H described.
Just now, I am growing angry about myself of being unable to distinguish
between unicode...
-
In present, many people still use Windows XP.
There, unicode is available only if foreign/asian language support is enabled in the regional and language options.
I do not intent to open a...
-
I think you don't have to.
Assuming you're looping through FindFirstFile until FindNextFile is "0"
- the WFD.cFilename always returns the filename only.
You've to add the source path (input...
-
...nice to see confirmings from my initial post.
Tanner_H,
the "funny bug" in the PathIsUnc function surely relies on insufficient or bad msdn documentation for many APIs.
This so called "bug"...
-
Regarding the intention of unicode awareness and full access to very long file pathes
I would like to add that dealing with file functions APIs is not so easy as it seems
at first glance.
...
-
Elroy,
I'm not an expert as you and many others here in this forum
but nevertheless, I would like to share my experience here.
Working in a medical research area of a german university
(with...
-
Several possibilities exist in a batch file.
Here're three of them that could be of interest:
Possibility 1:
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS
cmdLine1
if errorlevel 1 GOTO :_Skip
-
The console output highly depends on the used commands itselves.
Some commands produce an output, some not.
Additionally in some cases its important if you use a batch with bat or cmd extension....
|
Click Here to Expand Forum to Full Width
|