Search:
Type: Posts; User: bergerkiller
Search:
Search took 0.07 seconds.
-
@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...
-
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...
-
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...
-
@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...
-
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...
-
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...
-
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.
-
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...
-
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...
-
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()
...
-
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...
-
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...
-
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...
-
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...
-
@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...
-
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...
-
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,...
-
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....
-
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. :)
-
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,...
-
A few IMPORTANT additions:
<MarshalAs(UnmanagedType.FunctionPtr)> _
Private Shared mousecallback As LowLevelMouseHookProc
<MarshalAs(UnmanagedType.FunctionPtr)> _
Private...
-
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...
-
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...
-
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...
-
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
...
-
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...
-
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:...
-
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...
-
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:
...
-
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,...
-
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...
-
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...
-
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...
-
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....
-
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...
-
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...
-
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...
-
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...
-
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)...
-
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...
|
Click Here to Expand Forum to Full Width
|