Search:

Type: Posts; User: Mathiaslylo

Page 1 of 8 1 2 3 4

Search: Search took 0.04 seconds.

  1. VS 2010 Get value of handle without knowing the type?

    Hi there guys.

    I am working on a new version of my clipboard manager.

    I was wondering if there would be a way to copy the value of a given handle without knowing its type? The current methods I...
  2. Re: Index was outside the bounds of the array

    This can only happen one way (assuming you are giving me all the related code).

    arraygather is 7 entries long or shorter.

    Remember that if an array is 7 entries long, then the last element has...
  3. VS 2010 How would I use the Windows 7 wallpaper slideshow feature?

    How could I be able to set the backgrounds shuffled in the Windows 7 wallpaper slideshow feature? Also, is there a way to programmatically read/write the interval it is currently set to?

    If yes,...
  4. VS 2010 Get handle of window below foreground window?

    How can I get the handle of the window that is below (or behind, whatever you call it) the foreground window?
  5. Replies
    11
    Views
    3,555

    VS 2010 Re: Is LINQ faster than for-loops?

    Interesting. I will do my own tests for way more items though. Thanks.
  6. Replies
    11
    Views
    3,555

    VS 2010 Re: Is LINQ faster than for-loops?

    Then how about increasing the array capacity, until it doesn't take 0 ms anymore? I need way more than 9000 objects, since I am rendering a 3D game.
  7. Replies
    11
    Views
    3,555

    VS 2010 Re: Is LINQ faster than for-loops?

    Wow Paul, is a converter really faster than a for-loop? If yes, how come? Does it compile the converter somehow?
  8. Replies
    11
    Views
    3,555

    VS 2010 Re: Is LINQ faster than for-loops?

    The thing is that my loop just isn't fast enough either. Is there any other alternative?
  9. Replies
    11
    Views
    3,555

    VS 2010 Is LINQ faster than for-loops?

    Hi there.

    I have an array of approximately 1000 classes. All of these classes must have one of their properties changed to the same value. I need this to be as optimized and fast as possible.
    ...
  10. VS 2010 Re: How do I extract a 256X256 image out of an icon?

    No, it does not work at all. You see, even though this is a so called "large" icon, it's still not the full size that we wish to have. We want the full 256X256, and SHGetFileInfo is not capable of...
  11. VS 2010 Re: How do I extract a 256X256 image out of an icon?

    The "ExtractVistaIcon" method doesn't work at all, as many others stated too. I already stumbled upon this by Googling it myself, but it doesn't work.
  12. VS 2010 How do I extract a 256X256 image out of an icon?

    I run a software development firm that develops application for Windows Vista or higher. Windows Vista has a new feature called large icons, that allows display of up to 256X256 icons.

    However, if...
  13. Replies
    0
    Views
    2,287

    Displaying an icon in its maximum size?

    I have an Image control in WPF where I display an icon. However, even though I am using Windows 7, and the actual icon is a 256X256 icon, it displays the smallest icon possible in the file itself, or...
  14. Replies
    6
    Views
    5,611

    Re: Loading Hyperlink from XAML!

    Oh, and the procedure handling it:

    Public Sub LinkClicked(ByVal sender As Object, ByVal e As RoutedEventArgs)
    MsgBox("Test")
    End Sub
  15. Replies
    6
    Views
    5,611

    Re: Loading Hyperlink from XAML!

    I am getting this error:

    System.Xaml.XamlObjectWriterException: 'Failed to create a 'Click' from the text 'LinkClicked'.' Line number '1' and line position '925'. ---> System.ArgumentException:...
  16. Replies
    6
    Views
    5,611

    Re: Loading Hyperlink from XAML!

    Doesn't work. You see, I am loading the link dynamically through the System.XAML namespace.
  17. Replies
    6
    Views
    5,611

    Re: Loading Hyperlink from XAML!

    I still need help with this.
  18. Replies
    6
    Views
    5,611

    Loading Hyperlink from XAML!

    Hi there.

    I'm using .NET Framework 4.0's System.XAML namespace to load an object from XAML code parsed as a string.

    However, if I wish to load the code here:

    <TextBlock><Hyperlink...
  19. VS 2005 Re: Open "C:/Test.txt" For Input As #iFileN String

    Simply use a StreamReader/StreamWriter object. You are using the old Visual Basic 6 method of handling files.

    The old method may still work, if you do it using the backwards compatibility...
  20. Re: VB6.Format() convert to vb 2008

    Use Microsoft.VisualBasic.Format.

    Microsoft saved the Microsoft.VisualBasic namespace for Visual Basic 6 backwards compatibility. It will work fine.
  21. Replies
    3
    Views
    496

    Re: Access denied for user "Mathy"

    There is, and sometimes when I rebuild it and upload it, it runs fine. Then when I rebuild it again and upload it, it doesn't work. Besides, what's up with the '&#37;' behind "Mathy" anyway?
  22. Replies
    3
    Views
    496

    Access denied for user "Mathy"

    Hi there.

    I am connecting to a MySQL database through ASP .NET (Visual Basic), and I am using the MySQL .NET connector.

    However, once a connection has been opened and I use the "ChangeDatabase"...
  23. Replies
    17
    Views
    9,793

    VS 2010 Re: Prevent a CheckBox from being checked?

    I need it to use checkboxes, because I am using a horizontal ListView with a custom view mode. Now, these ListViewItems doesn't seem to apply the theme I want when I select them, but when I add a...
  24. Replies
    17
    Views
    9,793

    VS 2010 Re: Prevent a CheckBox from being checked?

    I want it to be a general default WPF checkbox.

    Why I want it to be selected only with double-click is not what matters.
  25. Replies
    17
    Views
    9,793

    VS 2010 Re: Prevent a CheckBox from being checked?

    Because I want it to be selected only when I double-click it, or something similar.

    It's complicated, but no, I don't want a seperate control. I have 4 years of WPF experience and 9 years of...
  26. Replies
    17
    Views
    9,793

    VS 2010 Re: Prevent a CheckBox from being checked?

    Yes, sorry for that. I updated the main topic to reflect this.
  27. Replies
    17
    Views
    9,793

    VS 2010 Re: Prevent a CheckBox from being checked?

    In WPF there is.
  28. Replies
    17
    Views
    9,793

    VS 2010 Re: Prevent a CheckBox from being checked?

    Maybe I should've told that I am actually using WPF, where this property is not available in a CheckBox. I edited the main topic to reflect this.
  29. Replies
    17
    Views
    9,793

    VS 2010 Re: Prevent a CheckBox from being checked?

    Disabling it (as far as I am concerned) also disables the DoubleClick event of the CheckBox. So that's not usable.
  30. Replies
    17
    Views
    9,793

    VS 2010 Re: Prevent a CheckBox from being checked?

    I thought about that. However, that will make it all flicker, right? You will then actually see it enable and then disable again.

    And I don't like that.
  31. Replies
    17
    Views
    9,793

    VS 2010 Prevent a CheckBox from being checked?

    Is there any way to prevent a CheckBox from being checked, while still leaving its DoubleClick event enabled?

    Edit: I am using WPF in this project. Not Windows Forms.
  32. VS 2005 Get access to Intellisense through IDE addin?

    Hi there.

    I'm developing an IDE addin for Visual Studio 2005, and I was wondering if it would be possible to somehow get access to Intellisense through that, and check if a line of code in some of...
  33. VS 2010 Re: Alternative method for getting file type description?

    No. Is that faster than direct registry access?
  34. VS 2010 Re: Alternative method for getting file type description?

    Yes, but I was thinking about using APIs. Normally they are faster, and I was wondering if this would be the case.
  35. VS 2010 Alternative method for getting file type description?

    Hi there.

    I am currently using the registry to get file descriptions for files. As an example, so that a DOCX file will return the description "Microsoft Word". I am doing this from the...
  36. Replies
    1
    Views
    744

    VS 2010 Optimized registry access?

    Hi there.

    I need to perform a huge amount of registry read operations, and I'm trying to figure out a way to make each read operation faster than using My.Computer.Registry.

    If I used APIs...
  37. VS 2010 Re: Sorting LinkedList objects as they are added?

    I still need help with this.
  38. Re: How To Get The Remote Computer Name From IP Address

    Oh! My bad. I got confused by the word "Remote" in the title of the topic.
  39. Replies
    11
    Views
    919

    Re: program/project idea's

    Great :) Can I get your email, Windows Live Messenger or Skype ID?

    Just send it in a private message to avoid spamming, will ya' ;)
  40. Replies
    9
    Views
    8,016

    Re: A way to calculate Pi

    Well that doesn't provide an accurate result at all.

    After the first 2 digits, it's already entirely incorrect.
Results 1 to 40 of 302
Page 1 of 8 1 2 3 4



Click Here to Expand Forum to Full Width