Search:
Type: Posts; User: agent
Search:
Search took 0.27 seconds.
-
Totally abusing compiler directives here... but:
#If False Then
Comments
go
here
#End If
-
I could have sworn that a system menu being popped up in this manner would still send the commands to the window as wm_syscommand, not wm_command. maybe i'm not understanding it quite right?
-
I'm making a form that has a completely owner-draw nonclient area and have to manually hittest to open the system menu.
The code below opens the system menu, but the items don't do anything whn...
-
Wow, it only took me 10 year to solve this one proper...
Subclass the WM_WINDOWPOSCHANGING message. The lParam is a WINDOWPOS. In vb6, you need to use RtlMoveMemory api function to copy the lParam...
-
I'm in the planning stages of a rather large project (think Photoshop killer) that will be released to the public at large. Most of the features are plugable and I plan to release the plugin sdk for...
-
The first one works. Thanks. Encode128 is the function that encodes the string for the Code128 font.
-
I'm writing a piece of software that will print barcodes using a font. (My method of manually drawing the barcode didn't yield the results I was looking for and I'm on a deadline.) So now I'm using a...
-
Actually, this is more common than you think, especially in codes where there is not a 1:1 ratio of segments (combination of bars) to digits. Examples include upc-a (half the code is black-white...
-
whoops, forgot to comment that out myself. the Barcode reference isn't relevant to this problem, hence the other commented out code.
I figured I could just scale it to twice the height, but I'm...
-
I'm writing some code that draws a barcode at a given size and scales it. It starts off with an image that varies in width but is always one pixel in height.
When I'm ready to draw the barcode, it...
-
That doesn't seem to work either. Thanks, though. I did notice the Clip property of the Cursor class, though. That let me eliminate the API call I was using instead.
-
What I did to overcome this problem was to clip the mouse cursor to 0,0 and reverse the colors of that particular character. less than ideal, but it works.
-
I'm making a full-screen console-mode app. Since it is entirely text-based and needs no mouse interaction, I thought it'd be nice to not display the ugly blocky mouse cursor. It seems that all...
-
This wasn't quite what I was looking for, but this fulfills the need nicely. It's also something I was looking for a while back for a different project.
-
I'm interested in interacting with the shell. In windows 2000 and windows xp up to sp2, you could put an address bar on the taskbar. I use this feature frequently to run commands, start programs,...
-
See code as modified below:
Private _MouseOver As Boolean
Private Sub pbDesktop_Paint(ByVal sender As Object, ByVal e As PaintEventArgs) Handles pbDesktop.Paint
Using...
-
Though several other responses indicate using regex, in this case, you're probably better off using the Like operator. You should look it up in the vb help but it basically works like this:
"abc"...
-
One issue I see, though, is this: what do the mainstream browsers (other than IE) have on us that we don't have the means to correct easily?
Portability.
Firefox is available for something...
-
Thank you very much for this, but I have one question first. I'm not at my development machine right now so I can't test this. Are properties provided for changing the view and/or allowing to filter...
-
Put the definition for the DOM classes into a different file, say DOM.dll. All plugins that need to access it can reference it. Next, when the plugin is initialized for a particular document, the DOM...
-
I didn't notice any flicker when I tried your code. I tried using both .refresh and .invalidate in the .mousemove event of pbDesktop.
Either way, I usually double-buffer everything. Also, any time...
-
Anybody have a good practical tutorial on doing this one in vb.net?
Implementing a Folder View
http://msdn.microsoft.com/en-us/library/cc144092(VS.85).aspx
If I'm reading this correctly, it's...
-
I've been thinking about how difficult it would be to build a standards compliant html/css parser and renderer in either vb.net or c#.
It shouldn't be too hard to make a parser that works on html...
-
Somebody mentioned to me that you could use the webbrowser control to browse for files. Setting the URL parameter to a local folder does this.
Now, does anybody know how to do anything with it,...
-
I'm attempting a class that uses a stream to store a collection.
The class is declared as Public Class StreamBackedCollection(Of TItemType As IKeyedObject) and implements ICollection(Of...
-
Changed line 5 to use direct cast. Tested using a small test project in another instance of vstudio. Sorry to waste yall's time.
Public Sub New(ByVal fromObject As IObject)
Me.Object =...
-
I've built a structure to handle writing of data to a file from any class or structure that implements my IObject interface (I'll come up with a better name later).
When I try to use GetType with...
-
Thanks for the information. I didn't know that an array was a reference type.
-
I'm working on code the will be handling large one-dimensional arrays of bytes.
I've been told in the past that passing an array to a method ByVal can be a big performance hit so I'm enforcing...
-
I'm creating a binary format for a custom serializer I'm writing. (I need to maintain the format even on different versions of .Net where binary formatting might change.)
Several of the fields in...
-
I'm writing an very complex application that will have a dual release as a freeware (lite version) and commercial (pro version) product.
The application is a photoshop killer with some new...
-
Thanks... didn't think about that one... I'll fix it in a few minutes.
-
Whoops, ColumnHeader isn't derrived from Control.
This is what I'm using:
For Each current As Control In form.Controls
If current.GetType Is GetType(Splitter) Then...
-
I was under the impression that it would be possible to do a select case on reference types themselves (not just their properties.) The comparator for reference types is 'is', not '=', but Case Is...
-
Take a look at: http://msdn2.microsoft.com/en-us/library/ms713221.aspx
-
I'd also be interested in using a progress bar without having to deal with ISerializable.
A couple of the data I'm working with are stored as byte arrays already. Maybe I'll write an IBytes...
-
I'm trying to serialize about 3-16 mb worth of byte arrays. I figured it would be faster to copy it from memory to the harddrive rather than 1) use reflection to list all the public/private fields 2)...
-
I'm looking into the possibility of persisting data by putting it into a structure and then copying the structure (via the marshal class) to a byte array which is then output to the file.
I'm...
-
I'm working with a bitmap that has .PixelFormat set to Format64bppArgb. As I recall, GDI+ likes Format32bppArgb or Canonical.
If I blit a 32bpp bitmap to the 64bpp bitmap, whilst resizing using...
-
hmm... this ones from the past...
You could use the Windows Activation model:
Write software that has some pretty serious flaws and requires an update out of the box. Require activation to use...
|
Click Here to Expand Forum to Full Width
|