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: *

  • Users: Skie
  • Order by date
  1. Skie

    SendKeys <Esc> & <F1> not working VB6

    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.)
  2. Skie

    SendKeys <Esc> & <F1> not working VB6

    You should open up the keyboard map and run the sendkeys in it rather than the key presses.
  3. Skie

    dividing squares

    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...
  4. Skie

    Passing HTMLEncoded data to an IE window

    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...
  5. Skie

    Send key for ctrl 5

    Have you tried SendKeys "<Ctrl+5>
  6. Skie

    Vanity Plates V

    I saw DRGNFYR recently on a four-door Jeep Wrangler.
  7. Skie

    Problem in adding ehlapi.dll reference in VB.NET

    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...
  8. Skie

    Business', Business's, Businesses

    Ok, that's what I was figuring. But, I wanted to make sure I wasn't crazy for thinking "businesses" was incorrect.
  9. Skie

    Business', Business's, Businesses

    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 ...
  10. Skie

    Idle timer

    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...
  11. Skie

    Dialog Box Properties questions

    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.
  12. Skie

    Regex Parsing Question

    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?)*)
  13. Skie

    Regex Parsing Question

    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.
  14. Skie

    Regex Parsing Question

    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...
  15. Skie

    Automated Setup of HotSpot (or anything)

    It's the edp files. Use a text editor to see the HotSpot data. Read/write the files (via script) to update the HotSpotsSchemeName.
  16. Skie

    Money Regex

    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...
  17. Skie

    Trying to create a Meta-Macro

    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...
  18. Skie

    Automated Setup of HotSpot (or anything)

    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.
  19. Skie

    Array as property problem

    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...
  20. Skie

    Dialog box opens twice during program

    I was having issues with it taking the entire contents in a single post. So, it's broken into 2.

Part and Inventory Search

Back
Top