shanley06 that will not work. the algorithm cannot know if there is a line passing between the two points that does not touch the endpoints. it only successfully tests for overlapping segments on a single horizontal or vertical line, one or the other and not both.
n$ = STRING$(6-LEN(n$), "0") + n$
or
num$ = STRING$(6, "0")
MID$(NUM$, 6 - LEN(n$) + 1, LEN(n$)) = n$
MID$ allows you to set string characters or read certain characters. MID$(String, StartIndex, NumChars) it can be used as an assignment or as a value returning function...
...a selection sort invented over a half century ago which has an algorithmic complexity of n^2, quicksort is a very good algorithm because it is n*log n .... so the difference is major for large arrays... for an of 1024 quicksort needs 10000 iterations where yours needs over a million. yes it...
umm, I am working on a project that uses TransparentBlt and I noticed that the autosize property IS set to True on both pictures. I must have been mistaken before when I associated my problem with the Autosize property. Sorry to send you on a wild goose chase. I haven't had any other problems...
For some reason TransparentBlt does not work if the source picture(haven't checked if the same is true for the dest) has the AutoSize property set to True on XP. I can't even guess why. Maybe this is your problem. I don't see anything else that could be an issue. They do recommend a DoEvents...
...is what i mean.
Private Sub Command1_Click()
Dim Xin As Double, Xout As Double, e As Double, R As Double
Xin = 210034
e = 1
Xout = Xin
Do
Xout = Xout / (10 ^ e)
R = Round(Xout - Int(Xout))
Xout = (Int(Xout) * 10 ^ e) + ((10 ^ R) * R)
e=e+1
Loop Until Xout Mod 10 = 0
Me.Print Xout...
...answer your question. Good Luck.
Private Sub Command1_Click()
Dim Xin As Double, Xout As Double, e As Double, R As Double
Xin = 210034
e = 1
Do
Xout = Xin / (10 ^ e)
R = Round(Xout - Int(Xout))
Xout = (Int(Xout) * 10 ^ e) + ((10 ^ R) * R)
Loop Until Xout Mod 10 = 0
Me.Print Xout...
haven't had any trouble with bitblt on XP. maybe if you post the part of your code where you set up your DCs and handles and where you call bitblt we can check if there is something else that could be a potential problem on XP...
...As Byte
Dim sDex As Long
Dim tmpDex As Long
Dim tClock As Double
'make a random string
For sDex = 1 To 10000
StrChunk.Bytes(i) = Int(Rnd * 255)
Next
'add 2500 pounds
For sDex = 1 To 2500
StrChunk.Bytes(Int(Rnd * 10000)) = Asc("#")
Next
OmitChar = Asc("#")
'time...
I think there should be a relatively easy solution to this. If you only have this problem when you click on a textbox then Windows may be redrawing the window when it doesn't need to. Theres lots of ways to minimize the amount of drawing you need to do to improve performance. Maybe you could...
...As Double, color As Byte
Dim mx As Integer, my As Integer
Dim exitflag As Boolean
Dim dx As Double, dy As Double, dz As Double
Sub DrawFrame()
'***********************************
' Setup the bitmaps so we can
' get to their memory
'***********************************
' these are used to...
If you can't find a standalone then runs it there may not be one. I'm not sure. But it's easy to call the SHRunDialog function to do it.
If you have VB you can follow the link below(go to the example code), paste the code in a project, set the Form's Visible property to False, Place the...
I find SetCapture is very useful for a lot of things dealing with mousemoves. When you shell to another app you could SetCapture SomeInVisibleObject.Hwnd, so that object would suck up all the mousemove events over your form. Seems to me that using this along with some simple logic would solve...
Sweet! thanks logiclrd. I can't wait to get a chance to play around with this. I'm sure crackers and the like would be interested in this kind of thing but I hope it will have practical uses too, like finders pointers to values so you can link two applications from different vendors, and maybe...
hehe. That's a good idea. I can see that being a popular time killer in the workplace. You have a lot of options for the objective of the game as well. Maybe have a pong like rectangle that could knock the bubble back to the thrower really fast, and if it goes past your screen to the next...
Nice job, remedy! You should put that up on downloads as a stress reliever when you get the bugs worked out. "My mini piano" got something like a 300k+ downloads for crying out loud. The oddities were quite pronounced on my Celeron 400 with a Voodoo3. The biggest problem is you can see...
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.