Search:
Type: Posts; User: obi1kenobi
Search:
Search took 0.05 seconds.
-
Sure, go for it :) Btw, the highlight of the rows was in fact implemented and working, you may not have been using it correctly.
-
Could you please explain exactly what you changed and how that improves the control? I might be missing something, but I see no difference between your screenshot and the one at the top of the...
-
I would appreciate it if you add a comment in the source explaining exactly what you changed, otherwise it will become increasingly harder and harder to keep track of changes.
Also, you should...
-
You might want to consider WPF for that, actually... Repeated multi-screen-size drawing on CPU is making me shudder just thinking about it :)
-
I need to add a ComboBox to a ListView to display possible values of an Enum and bind the selected item to the value of a variable of that Enum. Unfortunately, my attempts are failing miserably and...
-
It's confirmed to run both under XP and Vista/W7.
I've never actually tried it with checkboxes, I think it won't work because the control is doing some custom drawing and I never actually wrote...
-
The source code is attached to the first post, right above the link to the dll.
Would you mind posting the source you are using to display the control? If I remember correctly, you need to choose...
-
Can you please post all of your code?
Also, I couldn't find the post where I used both Form1 and Form3, could you provide a link to it?
-
@jemidiah: I'm probably off-topic here, but I see that you are pretty comfortable around linear programming problems... I recently needed to learn the Simplex algorithm for a linear programming...
-
For some reason, the path at File.Exists is "E:\Test.bat", but the path at Process.Start is "E:\\Test.bat"... Is this a typo or is it relevant?
I see no explanation as to why File.Exists would...
-
This is what Reflector shows as the VB translation of that code:
Private Sub CreateImage8()
Dim bmd As BitmapData = Me.bmp.LockBits(New Rectangle(0, 0, Me.imgWidth, Me.imgHeight),...
-
Yeah, it's the final release :) I downloaded and installed it but haven't tried it out yet :) The download did wreck the VOIP video call I was having, though xD
-
-
If an exception in CheckData's Try block occurs, it will be caught by the Catch block, the code within the Catch will be executed and ImportData will continue with the loop as if nothing has...
-
No problem :) Perhaps we can help speed up your algorithm if you can post it :)
-
My argument that crypto is necessary was basically the same as the one in the link you posted - if this is a game that will award money to winners, then crypto is needed. If it's just a pet project...
-
I meant that possibly generating a byte array containing a single byte may be the problem, as opposed to generating 450000 bytes in an array at once.
I just tried generating 450000 numbers using...
-
Is it possible that the function is slow because you are generating one byte at a time as opposed to the entire byte array at once? I know it's a longshot, but still...
-
Of course they get their numbers before the drawing starts :) But it's still a security hole waiting to be exploited - can you imagine the speed with which a big bingo company would act if it...
-
Have a look at this CodeBank thread:
http://www.vbforums.com/showthread.php?t=586709
As far as I could see, this will not require major changes in your code but should speed it up...
-
Try Reflector - you'll be able to disassemble the .Net assembly and view it in various .Net languages. Alternatively, post a link to the .exe or .dll file containing the code you want to translate...
-
Your link points to the same post and thread on which it was posted - this one! :D
-
Since you are developing a Bingo app, I think that it would be better if you used cryptographically secure random number generation procedures due to one very very important fact:
Source:...
-
You're welcome :) Good luck with your project :)
-
Instead of:
SendKeys.Send("ENTER") try
SendKeys.Send("{ENTER}")
Also instead of
replacedString = replaceRegex.Replace(Form1.TextBox1.Text, Keys.Enter) try
replacedString =...
-
Interesting, I like it :) Are you using the WebBrowser control to render pages or some third-party control?
-
To tell you the truth, I sometimes find that method better - especially when tracking changes of variables over time. It's a good debugging method :) Don't forget it :D
-
Yes, I meant that at a breakpoint, the watches will allow you to monitor values without mousing over individual variables.
-
You need to handle the Click events of those buttons. Through the click event handlers, you can return a different DialogResult for the form and then use that value to do whatever you wish - similar...
-
You can also use watches. That way, you will be able to monitor the value of any variable at all times in a small panel/window.
-
You should just know that while searching List(Of T) has a complexity of O(n), where n is the number of elements, searching a Dictionary(Of TKey,T) of the same size has a complexity of O( log2(n) )....
-
It's ok, it took me a while to think of it myself the first time :D
As for performance, I encountered no issues on machines built during the last 5 years. If you are experiencing performance...
-
Hmm this has happened to me as well in VS2008 - it was a bug in VS and not in the TLV code. I fixed it by restarting VS, so maybe that will help. If it doesn't, zip your project and post it sans the...
-
If you can, post the link to the new thread here so we can find it more easily :)
-
We have to see the code to suggest a concrete solution. If the app is crashing, try inserting a Try-Catch block around the starting point and also use the unhandled exception event to display...
-
-
You can find a comprehensive example on ThreadPool and WaitHandle in the MSDN documentation here:
http://msdn.microsoft.com/en-us/library/system.threading.waithandle.aspx
The example is near the...
-
Yeah, I agree... This class used BackgroundWorkers due to specific progress reporting requirements anyway :)
-
Some locations require elevated (admin) permissions in order to access and modify files. If you are running Win7/Vista, you should run your app with admin permissions, or use a try-catch block to...
-
I wrote a parallelisation class for a project I worked on some time ago. Since it used .Net 3.5, it was based on dynamically declared background worker objects. It was designed for that project in...
|
Click Here to Expand Forum to Full Width
|