This might not be 100% clear. What I mean is use the keyboard map to determine the sendkeys. (e.g.; F1 = [11~, so set your code to write [11~ rather than use F1.)
Well, 2 x 2 is easy. You either have 1 or 4 depending on whether rotating the solution counts.
I started working on 3 x 3 and the number of solutions increases dramatically. It looks like you have about 7 solutions when the 1 tile starts in a corner. 3 solutions when the 1 tile starts...
I know this is a clunky way to do this. But, I have a client-side application. The user types notes in it. Then there's a button to send those notes to a specific field in existing IE windows.
Private Sub tsmiSendData_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
The COM component should be able to do everything that's possible with HLAPI plus have the added functionality of being able to manipulate the Extra and Session settings.
If you want to use ehlapi.dll, then you would call to it the same way you do for any unmanaged DLL (e.g. kernel32).
Imports...
For a single business, not multiple businesses what is the correct way to make it possessive? I have a directive to change business' to businesses which looks wrong to me.
"The business' income was ..."
"The business's income was ..."
"The businesses income was ...
You can't have it update when they press a key, but you could use events 1, 2, 3, and 4 (basically any non-idle event) to reset the wait time.
'Use this code to set the time
minute = 1 / (24 * 60)
waitUntil = now() + (5 * minute)
'Use this code in your wait
if now >= waitUntil then
'do...
1. No, the best you can do is crop the field after the user leaves it
2. No, the value of the field is not updated until you leave it. So if the value was empty when you entered the text box, the value won't be set until the text box loses focus.
It wasn't quite working, plus I wanted to stop gathering after a double-space. It's a bit longer but is parsing keys and values correctly now.
(?<key>\S+)=(?<value>((?!(\S+=|\s{2}))\S*\s?)*)
I think I figured it out. After a little playing around and testing it looks like this would work.
\S+=(\S(?!\S+=)\s?)*
If there's a simpler expression or if you see something that's wrong with the expression let me know.
I'm separating lines of data it into key/value pairs. I have a regex to do this, but I'd like to expand it to be able to parse values with spaces.
Shared Sub ByDelimiter(ByVal input As String, ByRef dict As Dictionary(Of String, String))
If String.IsNullOrEmpty(input) Then
Throw New...
I have the following regular expression (fairly simple) that is a good start, but I want to improve it and haven't found a good site to explain how to improve it.
^(0|[1-9]\d{0,2}(,?\d{3})*)(\.\d{1,2})?$
I'd like it so that if the comma separator is used, then it has to continue to be used...
If you need the headers to have their own sub main (they can be ran independently), then you could just move everything that's in the Sub Main to another sub. Then you can call the other sub by name, because you won't have two Sub Mains. (See example below.)
I'm surprise using headers that it...
You can read the session file and update the HotSpots there. Read the file, write the file with the change. When the user opens the session they're then using the new scheme.
I'm not sure how to get an array to work, but here's a solution using a dictionary object.
Set oMyClass = New cArrayTest
With oMyClass
.Files_List = "File 1"
.Files_List = "File 2"
.Files_List = "File 3"
MsgBox .Files_List.Count
MsgBox .Files_List.Item(1)
End With...
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.