Search:

Type: Posts; User: obi1kenobi

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    27
    Views
    27,903

    Re: [2008] Transparent ListView

    Sure, go for it :) Btw, the highlight of the rows was in fact implemented and working, you may not have been using it correctly.
  2. Replies
    27
    Views
    27,903

    Re: [2008] Transparent ListView

    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...
  3. Replies
    27
    Views
    27,903

    Re: [2008] Transparent ListView

    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...
  4. Replies
    59
    Views
    13,845

    Re: [RESOLVED] [2005] Scrolling Label Text

    You might want to consider WPF for that, actually... Repeated multi-screen-size drawing on CPU is making me shudder just thinking about it :)
  5. [2010] Adding ComboBox to ListView and binding to the selected value

    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...
  6. Replies
    27
    Views
    27,903

    Re: [2008] Transparent ListView

    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...
  7. Replies
    27
    Views
    27,903

    Re: [2008] Transparent ListView

    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...
  8. Re: [2008] Detect the insertion of a USB mass storage device (USB stick etc.)

    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?
  9. Replies
    32
    Views
    3,616

    Re: Any one can solve liner programing problem

    @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...
  10. Re: File.Exist have an issue with USB Keys?

    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...
  11. Replies
    9
    Views
    2,057

    VS 2008 Re: Conversion from C# to VB.Net

    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),...
  12. Replies
    17
    Views
    2,886

    Re: VS 2010 Service Pack 1

    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
  13. Replies
    10
    Views
    1,376

    VS 2005 Re: Error Handling Scope

    You're welcome :)
  14. Replies
    10
    Views
    1,376

    VS 2005 Re: Error Handling Scope

    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...
  15. Replies
    42
    Views
    2,766

    Re: Quite Interesting…

    No problem :) Perhaps we can help speed up your algorithm if you can post it :)
  16. Replies
    42
    Views
    2,766

    Re: Quite Interesting…

    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...
  17. Replies
    42
    Views
    2,766

    Re: Quite Interesting…

    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...
  18. Replies
    42
    Views
    2,766

    Re: Quite Interesting…

    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...
  19. Replies
    42
    Views
    2,766

    Re: Quite Interesting…

    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...
  20. Replies
    24
    Views
    3,423

    VS 2010 Re: Pixel Detection.

    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...
  21. Replies
    9
    Views
    2,057

    VS 2008 Re: Conversion from C# to VB.Net

    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...
  22. Replies
    9
    Views
    2,057

    VS 2008 Re: Conversion from C# to VB.Net

    Your link points to the same post and thread on which it was posted - this one! :D
  23. Replies
    42
    Views
    2,766

    Re: Quite Interesting…

    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:...
  24. Re: [RESOLVED] How to Send Enter Key to textbox?

    You're welcome :) Good luck with your project :)
  25. Re: How to Send Enter Key to textbox?

    Instead of:
    SendKeys.Send("ENTER") try
    SendKeys.Send("{ENTER}")

    Also instead of
    replacedString = replaceRegex.Replace(Form1.TextBox1.Text, Keys.Enter) try
    replacedString =...
  26. Replies
    5
    Views
    5,715

    Re: Fairly Complex Webbrowser

    Interesting, I like it :) Are you using the WebBrowser control to render pages or some third-party control?
  27. Re: How to check variable state during runtime?

    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
  28. Re: How to check variable state during runtime?

    Yes, I meant that at a breakpoint, the watches will allow you to monitor values without mousing over individual variables.
  29. Replies
    7
    Views
    800

    Re: Message box options

    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...
  30. Re: How to check variable state during runtime?

    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.
  31. Replies
    5
    Views
    829

    Re: Non conditional within nested loop

    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) )....
  32. Replies
    27
    Views
    27,903

    Re: [2008] Transparent ListView

    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...
  33. Replies
    27
    Views
    27,903

    Re: [2008] Transparent ListView

    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...
  34. Replies
    7
    Views
    837

    VS 2010 Re: Threading problem

    If you can, post the link to the new thread here so we can find it more easily :)
  35. Replies
    7
    Views
    837

    VS 2010 Re: Threading problem

    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...
  36. VS 2008 Re: Looping through all directory's on the hard drive

    You're welcome :)
  37. Thread: Threading

    by obi1kenobi
    Replies
    12
    Views
    1,198

    Re: Threading

    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...
  38. Thread: Threading

    by obi1kenobi
    Replies
    12
    Views
    1,198

    Re: Threading

    Yeah, I agree... This class used BackgroundWorkers due to specific progress reporting requirements anyway :)
  39. VS 2008 Re: Looping through all directory's on the hard drive

    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...
  40. Thread: Threading

    by obi1kenobi
    Replies
    12
    Views
    1,198

    Re: Threading

    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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width