Daniel,
This answer from you we have seen now twice, but it does probably for
nobody describe what you want to doe.
As Herfried already wrote (in another way) in an earlier message. A string
can contain any collection of characters,
A string is nothing more than an address in memory with a certain lenght. In
the positions of that it is possible to set that collection of charecters
(unicode) which exist per character of two bytes.
A wildcard has nothing to do with that.
Cor
"Daniel N" <De******@yahoo.comschreef in bericht
news:XO*****************@fe12.lga...
Essentially I want a string to be able to define multiple instances.
Similar to using the (*) while doing a search. I posted this in
dotnet.general:
hWnd = FindWindow("CLASS NAME", *)
A string must be where the (*) is. Is there a way of making some kind of
wildcard so that function accepts every string instance?
To which someone replied;I should use the EnumWindows API along with the
GetClassName API.
But , after googleing I found
:http://www.vbaccelerator.com/home/vb...ws/article.asp
But still have no idea what do.
"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in message
news:ew**************@TK2MSFTNGP04.phx.gbl...
>"Daniel N" <De******@yahoo.comschrieb:
>>Is there a way of setting the string Wildcard to true for multiple
scenarios such as;
Dim Wildcard As String
If Wildcard = "This" And Wildcard = "That" Then
'Do stuff here
End If
I recommend to describe what you want to archieve in more detail because
it's unclear what you understand by the term "wildcard". The code inside
the 'If' block shown above will never be executed because if the value of
'Wildcard' is "This", it cannot be equal to "That".
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>