Search:

Type: Posts; User: bergerkiller

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. VS 2012 Re: Doing window drawing efficiently

    @OICU812
    Looks like that was indeed the problem. I added a timer and called invalidate, followed by update. Now the amount of drawing distortions is visibly less, and it doesn't seem to forget to...
  2. VS 2012 Re: Doing window drawing efficiently

    I do have thumbnails elsewhere, but they don't store all frames and are a lower resolution. Unlike the default loading system, my implementation 'pre-loads' the full GIF into memory. So if there are...
  3. VS 2012 [RESOLVED] Doing window drawing efficiently

    So, I've written an image viewer that allows zooming, moving it around while zooming and Async-image loading to keep everything responsive. It works well with very little lag problems...except when I...
  4. VS 2012 Re: [Visual Studio] Compiling only that code that is actually used

    @kebo

    Interesting, I did not expect that to be possible in VB .net, I'll keep it in mind for the future, thanks. I'm more looking for an automated method though, one that looks at the startup code...
  5. VS 2012 [Visual Studio] Compiling only that code that is actually used

    I started to finally fix my place up a bit by grouping up commonly used functions into a single namespace so they can be used by many projects at once.

    This question is related to three problems I...
  6. Re: Suppressing workflow exceptions from being logged

    I agree, for that reason I often try to avoid empty catches as much as possible. Often times though, you need a way to 'quickly' abort a certain operation, for example when a form closes or is...
  7. Re: Suppressing workflow exceptions from being logged

    I've solved the problem for now by using a different kind of waiting system (with wait objects). I am still interested in whether there is a way to suppress exceptions from being debug-logged, though.
  8. [RESOLVED] Suppressing workflow exceptions from being logged

    Hello everyone. I am dealing with a very multithreaded environment at the moment, and as you may expect, this involves the complicated subject of properly aborting a thread.
    Now I know that calling...
  9. VS 2008 Re: [RESOLVED] When are Class declarations treated as a Variable?

    Thanks for the insightful information, and indeed, coming from other language where this sort of default instancing doesn't exist, it is a bit of a strange 'feature'. In my experience it is a bad...
  10. VS 2008 Re: When are Class declarations treated as a Variable?

    Actually, you already helped me quite a bit with the 'Default Instance' name. Looked it up and over here someone mentions that Form1.ShowDialog() is simply compiled as My.Forms.Form1.ShowDialog()
    ...
  11. VS 2008 Re: When are Class declarations treated as a Variable?

    Default instance is the name, so then, can a 'Default Instance' be assigned for non-form classes as well? I specifically need this functionality because I need to store an Instance of this same...
  12. VS 2008 Re: When are Class declarations treated as a Variable?

    I know how I can instantiate my class or make the method shared, like I mentioned in the OP. My problem, or rather, question is: how can this entire step be skipped for Forms, and can this also be...
  13. VS 2008 [RESOLVED] When are Class declarations treated as a Variable?

    I've gotten used to cross-form access such as:


    Form2.ShowDialog()
    Form1.SelectedFile = Form2.SelectedDirectory & "\test.txt"
    Form1.ShowDialog()

    But recently something started bothering...
  14. Replies
    4
    Views
    9,099

    VS 2008 Re: Fullscreen magnifier glass

    After a long, long browse through all corners of the Internet I finally found that there is someone out there that wrote a .NET interaction library with the Windows Magnifier. It allowed me to create...
  15. Replies
    4
    Views
    9,099

    VS 2008 Re: Fullscreen magnifier glass

    @dunfiddlin
    I have a multiscreen issue. So far, all magnification programs stretch out their image over all monitors, and provide no way to show the same zoomed image on all monitors. So, I am...
  16. Replies
    4
    Views
    9,099

    VS 2008 [RESOLVED] Fullscreen magnifier glass

    Hello everyone, been a while since posting here...

    I'm trying to write a full-screen magnification program in Visual basic .NET, which will likely utilize the Windows API (Pinvoke) to do it's...
  17. Re: [RichTextBox] [Helper] - Emoticonizer Helper Class

    Hi,

    Luckily I got an e-mail notification, otherwise I couldn't answer. Anyhow, in your FORM_LOAD event (or some other place where your program starts) you call Emoticonizer.initialize(). Then,...
  18. Replies
    9
    Views
    1,095

    VS 2008 Re: object opacity

    If there is really no choice, add multiple forms with no form design style set. (Simple control-colored square) with a single control added. Possible edges can be removed using the transparency key....
  19. Re: [Extension] Set control properties across threads

    Trying to stay compatible with framework version 2.0, but since his example requires 3.5 it does not make sense, my bad. ;)

    I'll look into the newer Task namespaces then. :)
  20. Re: [Extension] Set control properties across threads

    Really nice method you got there, I thought the only way was using tons of overloaded delegates. Nice work. ;)

    Got a question somewhat related. Is it possible to make an "AsyncExecute" function,...
  21. Replies
    9
    Views
    11,487

    Re: globalInputHook component

    A few IMPORTANT additions:


    <MarshalAs(UnmanagedType.FunctionPtr)> _
    Private Shared mousecallback As LowLevelMouseHookProc

    <MarshalAs(UnmanagedType.FunctionPtr)> _
    Private...
  22. VS 2010 Re: Fast transfer byte data to picturebox?

    With SetPixel I meant the SetPixel API.

    What it does is create a Device Context out of a bitmap, on which it performs SetPixel a lot quicker. Not sure what they did to the standard SetPixel...
  23. VS 2010 Re: Fast transfer byte data to picturebox?

    BitBlt works with device context operations. What this means is, that a "2D surface", the "context", sits in memory and that is transferred over.

    Since all you have is a (multi dimensional) array...
  24. Re: Why does this happen! I need someone to look at this now!!! Please!

    You probably made a designer error once (or the designer did it) and switched you to the raw designer code. To go back to the "visible designer", open the "Solution Explorer". (View -> Solution...
  25. VS 2010 Re: My program is not compatible with Windows XP

    Functions:

    Public Function GetExceptionText(ByVal Ex As Exception) As String
    Dim trace As StackTrace = New StackTrace(Ex, True)
    Dim msg As String = Ex.Message & vbCrLf
    ...
  26. Replies
    7
    Views
    4,158

    Re: Get window position

    Neither did I, and that is the odd bit. GetWindowRect only worked with me when I used a HandleRef there. When I used the IntPtr it failed.

    Same for the following functions:

    Private Declare...
  27. Replies
    5
    Views
    6,221

    VS 2010 Re: Pascal's triangle

    Neighbouring
    http://i708.photobucket.com/albums/ww88/bergerkiller/node.jpg

    Positions (array index):
    http://i708.photobucket.com/albums/ww88/bergerkiller/NewBitmapImage-3.jpg

    Do as Paul did:...
  28. Replies
    7
    Views
    4,158

    Re: Get window position

    You can always look at the class in my signature (Window container class), but it is pretty much the same as I described previously. :o

    Anyway, your code would look somewhat like this:

    Imports...
  29. Replies
    5
    Views
    6,221

    VS 2010 Re: Pascal's triangle

    Well if you look closely you can see the following:

    So this is your base. On the other end you see that the inverted version of this is sticked to the one:


    So it is somewhat like this:


    ...
  30. VS 2010 Re: My program is not compatible with Windows XP

    Um could it be an API you use that should be declarated differently?
    (Alias SendMessageA only fixes it for 32 bit, 64 bit can crash or fail)

    (This also includes external libraries you referenced,...
  31. Replies
    7
    Views
    1,280

    Re: ScreenUpdating

    Private Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA" (ByVal winHandle As IntPtr, ByVal wMsg As Int32, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As Int32
    Private Const...
  32. VS 2010 Re: My program is not compatible with Windows XP

    Do you use any special controls that are listed under "Visual Basic Powerpacks"?

    I used one of these before (to draw a line) and it crashed my program as soon the dialog containing this control...
  33. Replies
    7
    Views
    4,158

    Re: Get window position

    The problem is in your API declaration of "GetWindowRect". The handle is passed as HandleRef, not IntPtr.


    Private Declare Function GetWindowRect Lib "user32" (ByVal hWnd As...
  34. Replies
    41
    Views
    3,409

    VS 2010 Re: Preventing Cracks

    http://jerkmag.files.wordpress.com/2009/10/yawn.gif?w=300&h=300

    I see where this goes. Time for an admin to lock this thread up before we get oppositions that try to physically hack eachother....
  35. Replies
    15
    Views
    1,364

    VS 2008 Re: download file

    If it is visible in the HTML you can. If it is part of a flash/java application, I doubt. I hope someone else can help around here; don't know much of cookies in requests, and you probably need one...
  36. Replies
    15
    Views
    1,364

    VS 2008 Re: download file

    Headers are set by the webbrowser, it contains information of what you did previously and is usually set by the return header of a previous request.

    It gets pretty complicated from there. If you...
  37. Replies
    15
    Views
    1,364

    VS 2008 Re: download file

    Um maybe completely irrelevant to your question, but:
    You can use one of the so many conversion tools around.

    Almost every Freeware conversion program I have seen uses "ffmpeg.exe". It can...
  38. Replies
    4
    Views
    1,005

    VS 2010 Re: Progress Bar Help

    Or you can use an infinite loop. :)

    You basically do a 1 / X function to move on until the infinite.


    Private prog As Double
    Private endprog As Integer

    Private Sub Timer1_Tick(ByVal sender...
  39. VS 2008 Re: Is it possible to get my network users' local IP?

    Line by line?

    Dim ips As String = ""
    For Each ip As String In CurrentIPs
    ips &= ip & VbCrlf
    Next
    TextBox1.Text = ips.Trim()

    And yep, if you mean other users connected to your (small)...
  40. Replies
    41
    Views
    3,409

    VS 2010 Re: Preventing Cracks

    And even after he emulated everything you don't know his IP? O_o

    You should really start a database of blocked IP's (including proxys) to block these types of people. To emulate anything he needs...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width