Search:
Type: Posts; User: Billy Conner
Search:
Search took 0.04 seconds.
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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.
-
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...
-
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...
-
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...
-
Thanks Milk!, your code runs much quicker. :)
-
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...
-
Dim Num As Long
Num = 107
Num = (Num + 1) And Not 1
Debug.Print Num
-
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...
-
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
-
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...
-
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.
...
-
Sorry, i didnt notice that you had an attachment until now.
-
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...
-
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...
-
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.
-
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...
-
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...
-
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,...
-
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...
-
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...
-
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...
-
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, ...
-
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...
-
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...
-
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...
-
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:...
|
Click Here to Expand Forum to Full Width
|