Search:

Type: Posts; User: agent

Page 1 of 13 1 2 3 4

Search: Search took 0.27 seconds.

  1. Replies
    4
    Views
    970

    Re: Multiline comments

    Totally abusing compiler directives here... but:

    #If False Then
    Comments
    go
    here
    #End If
  2. Replies
    3
    Views
    757

    VS 2008 Re: Manually displaying a system menu

    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?
  3. Replies
    3
    Views
    757

    VS 2008 Manually displaying a system menu

    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...
  4. Replies
    6
    Views
    3,960

    Re: Window always on bottom

    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...
  5. Replies
    0
    Views
    363

    Plugin-based software marketing scheme

    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...
  6. Re: [2005] Byte array loses data when converted to ascii string

    The first one works. Thanks. Encode128 is the function that encodes the string for the Code128 font.
  7. [RESOLVED] [2005] Byte array loses data when converted to ascii string

    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...
  8. Re: [2005] Graphics.DrawImage incorrectly scaling an image?

    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...
  9. Re: [2005] Graphics.DrawImage incorrectly scaling an image?

    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...
  10. [2005] Graphics.DrawImage incorrectly scaling an image?

    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...
  11. Re: [RESOLVED] [2005] Hide the mouse cursor in a full-screen console-mode app

    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.
  12. Re: [2005] Hide the mouse cursor in a full-screen console-mode app

    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.
  13. [RESOLVED] [2005] Hide the mouse cursor in a full-screen console-mode app

    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...
  14. Re: [2005] Implementing a COM control in vb .net

    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.
  15. [2005] Implementing a COM control in vb .net

    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,...
  16. Re: [2008] Graphics drawn to form, doesn't flash, but graphics drawn on picture boxs,

    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...
  17. Replies
    10
    Views
    998

    Re: [2008] Wildcards?

    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"...
  18. Re: i am looking for a programming team to help me with a web browser i am developing

    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...
  19. Replies
    6
    Views
    5,183

    Re: Using a webbrowser control as a file browser

    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...
  20. Re: i am looking for a programming team to help me with a web browser i am developing

    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...
  21. Re: [2008] Graphics drawn to form, doesn't flash, but graphics drawn on picture boxs,

    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...
  22. Replies
    0
    Views
    832

    [2005] Implementing a Folder View

    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...
  23. Re: i am looking for a programming team to help me with a web browser i am developing

    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...
  24. Replies
    6
    Views
    5,183

    Using a webbrowser control as a file browser

    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,...
  25. Replies
    0
    Views
    514

    Stream-backed collection

    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...
  26. Re: [2005] Using Object.GetType on an interface

    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 =...
  27. [RESOLVED] [2005] Using Object.GetType on an interface

    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...
  28. Replies
    3
    Views
    686

    Re: Array and ByRef

    Thanks for the information. I didn't know that an array was a reference type.
  29. Replies
    3
    Views
    686

    [RESOLVED] Array and ByRef

    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...
  30. Replies
    1
    Views
    510

    UInt64 and cls compliance

    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...
  31. Replies
    3
    Views
    558

    [2005] How to engineer a large project

    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...
  32. Re: [RESOLVED, can't be done] Select Case with reference types

    Thanks... didn't think about that one... I'll fix it in a few minutes.
  33. Re: Select Case with reference types

    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...
  34. [RESOLVED, can't be done] Select Case with reference types

    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...
  35. Replies
    6
    Views
    893

    Re: [2005] How to record voice?

    Take a look at: http://msdn2.microsoft.com/en-us/library/ms713221.aspx
  36. Replies
    8
    Views
    4,341

    Re: Structure to Byte array

    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...
  37. Replies
    8
    Views
    4,341

    Re: Structure to Byte array

    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)...
  38. Replies
    8
    Views
    4,341

    Structure to Byte array

    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...
  39. Replies
    0
    Views
    1,350

    [2005] 64 bpp image + GDI Plus + PNG = ???

    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...
  40. Replies
    7
    Views
    1,320

    Re: Cd copy Protection

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



Click Here to Expand Forum to Full Width