Search:

Type: Posts; User: Billy Conner

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    5
    Views
    2,261

    Re: VB6 Encryption & Decryption

    Where are you getting the comparison value of 'Nqo(&FZV|ixr' ? It seems you are wanting us to break another encryption that is already present somewhere else. A normal programmer is not going to be...
  2. Replies
    5
    Views
    5,211

    Re: Get handle using FindWindow API

    My MSPaint(windows 10) has different class names than yours. So if you plan to distribute your application, you may want to take that into consideration.

    This code does basically the same thing...
  3. Replies
    27
    Views
    6,999

    Re: SendKeys - Why doesn't this work

    I am sorry, I was under the assumption that you were still using MSPaint "as is". My code is working as it should for MSpaint as it's own application. With all this SetParent talk, I figured that...
  4. Replies
    27
    Views
    6,999

    Re: SendKeys - Why doesn't this work

    I really do not like using findwindow api because the classnames change with the program versions a lot of the time; that is why I put in the PID waiting(timeout) in my previous example. it seemed to...
  5. Replies
    27
    Views
    6,999

    Re: SendKeys - Why doesn't this work

    I really like dilettante's OLE method in post #12.

    But, I took the route of the OP to solve his sendkey issue.

    Here is what I came up with. It is rather crude I suppose.

    Note: assumes there...
  6. Replies
    4
    Views
    2,421

    Re: Code to detect blank image

    I spent a little time messing with an idea. I have little experience using safearray, so if something isn't proper here, please correct it.
    it requires an image on your form (you can do away with...
  7. Replies
    21
    Views
    1,921

    Re: Locked Control?

    I really don't see a reason why the RTB object will not hide when you are directly sending it a command to do so.. But since you are debugging this, have you tried using an API function to hide the...
  8. Re: Storing Large Chunks of Data in VB6

    I figured you'd probably do something similar to this..


    Private Data(2, 4) As Single

    Private Sub Form_Load()

    Data(0, 0) = 3.14159

    Open "c:\test.txt" For Binary As #1
  9. Re: Bit Manipulation - Need help find a better method than this function i am using.

    I want to thank everyone who put time in on this.

    Passel, after seeing your solution while at work, I looked it over and seen that it had great potential to be the optimization I needed; I...
  10. Replies
    41
    Views
    2,361

    Re: VB 6.0 trying to add a value on label

    Hey OP, I know you are probably frustrated, but I think people are actually trying to help you. I would love to use your code and update it to make it work for you, but when I look at what you are...
  11. Re: Bit Manipulation - Need help find a better method than this function i am using.

    Hey, thanks for the feedback. I was working my code using this technique at first, but I really need it to find the whole pattern, and this one doesn't work like I was wanting it to. For instance...
  12. Re: Bit Manipulation - Need help find a better method than this function i am using.

    Thanks for the reply. Although this is a method to get a bit, I am actually looking to retrieve a pattern of bits, which could be 4 bits, or 16 bits.. This pattern can change.
    And currently I am...
  13. Replies
    41
    Views
    2,361

    Re: VB 6.0 trying to add a value on label

    I am not writing your code for you, but here is something I think might help you along.

    Dim PercentDiff1 As Single
    Dim PercentDiff2 As Single

    Dim Pl1Value As Single
    Dim Pl2Value As Single...
  14. [RESOLVED] Bit Manipulation - Need help find a better method than this function i am using.

    Ok, I have been away from programming for a good while. I decided to mess around with it the other day and create something, and I wrote a function that seems sloppy. I cant seem to figure out how...
  15. Replies
    3
    Views
    866

    Re: saving all textboxes

    Text1 defaults to Text1.Text. a quick look makes me think you should change the code to lines() = Split(Txt.Text , vbCrLf)
    and i see you declared txt_Name, but you dont seem to use it.
  16. Re: Ctrl+Backspace to Remove a Word instead of a Character?

    i spent a few minutes and wrote this. it is a bit sloppy, but it seems to work for me. i haven't tried this on a RFT. I would also like to add that if i had spent much more time on this i could have...
  17. Vb6 - Word Search App (Scrabble Solver?) *includes Wildcard usage

    103095

    First off...My apologies if "Word Search" is the incorrect term for this, I have no clue what the official name for this type of app is. people usually relate it to Scrabble.

    Here is my...
  18. Re: [RESOLVED] Looking for possible optimization of code to count bits (1's).

    Just to say, im actually using 182 bits instead of 31. ive just been looping the array of long integers for now for comparison until i find a better fix. my word search routine feels nearly instant...
  19. Re: Looking for possible optimization of code to count bits (1's).

    Thanks Milk!, your code runs much quicker. :)
  20. [RESOLVED] Looking for possible optimization of code to count bits (1's).

    I was wondering if anyone could find a better solution to this code i wrote.
    The purpose of this function is to simply tell me how many bits are flagged in a long integer.
    I figured there may be...
  21. Replies
    15
    Views
    5,522

    Re: Rounding Off Numbers to Even Numbers

    Dim Num As Long
    Num = 107
    Num = (Num + 1) And Not 1
    Debug.Print Num
  22. Replies
    4
    Views
    620

    Re: array styles?

    i am not sure exactly what you are trying to do, so i am just taking a guess per the pictures.
    i am thinking you want to count a bunch of items in an array really fast (finding duplicates).
    i...
  23. Re: Is there possibly an algorithm or better way to accomplish this?

    thank you westconn, i knew there had to be a faster way. it seems to work great.

    Edit:
    decided to change If (pValue \ i) = (pValue / i) Then to If (pValue Mod i) = 0 Then
  24. [RESOLVED] Is there possibly an algorithm or better way to accomplish this?

    Hey all, i wrote a function to help me out in something i am creating, the function returns the outcome intended. the problem is that it's really slow on large numbers(which i am wanting to use). i...
  25. Replies
    3
    Views
    1,976

    Re: ReadProcessMemory

    i really don't understand why you would loop though each byte and append the data to read. you can use an array or UDT and grab all the data you need in one call and then convert it to string.
    ...
  26. Re: [RESOLVED] Reading multi column textfile with line position

    Sorry, i didnt notice that you had an attachment until now.
  27. Re: Reading multi column textfile with line position

    just something i noticed...
    unless you don't care to split the first record in the file; when you wrote on line 15 'Records = Split(TotalFile, vbCrLf)', the Records() array will be zero-based. which...
  28. Re: Type mismatched: Array or user-defined expected

    quick note..
    your calling lngMatch = BinarySearch()
    the function requires a parameter...
    perhaps call it like: lngMatch = BinarySearch(DataArray)
    and then in the BinarySearch function remove the...
  29. Re: [HELP] How to detect WM_CLOSE events??

    some apps disable the X and put their own Quit button. why not do that? yes its sometimes uglier, but its simple. you can still block the WM_CLOSE and have your app end itself with a button.
  30. Re: [HELP] How to detect WM_CLOSE events??

    If your app has a form module you can do just as Merri basically said, if you put Cancel=True in the Form_QueryUnload event, it will block the WM_CLOSE message sent to your app.
    if your app is made...
  31. Replies
    54
    Views
    6,840

    Re: Wheel of Fortune Problem

    i much would prefer to write the routine to split it all on-the-fly, but another way could be to store your data like "HOW THE|GRINCH STOLE|CHRISTMAS BY|DR SEUSS" or "|COP OUT", using a delimiter (in...
  32. Replies
    7
    Views
    837

    Re: How to grab this text ?

    there are a quite a few ways to get the name from the text depending on the conditions of the string.

    here is one example.

    Dim lFirst As Long, lSecond As Long
    Dim myString As String,...
  33. Replies
    2
    Views
    724

    Re: GetPixel done wrong ?!

    i could be wrong, but i think you should be releasing the device context [ReleaseDC] after using GetDC to get the calculators' hDC. you can find out more here...
  34. Replies
    45
    Views
    5,559

    Re: Random Unique Lists of 12 Numbers

    ok i'll explain again.

    to save the headache im going to work with 6 numbers instead of 12

    lets say our numbers in sequence are 8,5,4,3,12,10

    i put those in a 12 byte string as explained in...
  35. Replies
    45
    Views
    5,559

    Re: Random Unique Lists of 12 Numbers

    the 6 extra bytes im talking about now are appended to the 12 bytes from my ID variable on my code in post #20
    leinad31 said it would double it(making 24 total) if i wanted to know what order they...
  36. Replies
    45
    Views
    5,559

    Re: Random Unique Lists of 12 Numbers

    ok, we know there are 12 numbers that represent 1-90

    the bit represented numbers in the original data are always in order.(90 bits)
    now we take binary values of our 1-12
    0000=0, 0001=1, ...
  37. Replies
    45
    Views
    5,559

    Re: Random Unique Lists of 12 Numbers

    From what i get, the OP wants to display a list of all sequences of 12 different numbers 1-90, but without using the same exact numbers in a different sequence. i really don't see why the sequence...
  38. Replies
    45
    Views
    5,559

    Re: Random Unique Lists of 12 Numbers

    i was thinking of a different approach..if you control how the ID's are made, then you could create an ID that would be the same for every sequence of the same numbers ({1,2,3} would create the same...
  39. Re: Efficient way of capturing screen in real time

    The desktop does not redraw itself until told that it needs to. just as your form doesnt. for instance, your form receives a WM_PAINT message when certain events are triggered telling it it needs to...
  40. Replies
    24
    Views
    2,493

    Re: will u help!

    oh i see you edited your post.. ok you are using 10 textboxes. each has a different name. you wouldnt need to do the loop for that. if you want to do that then you will have to do something like:...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width