Search Results - VBForums

Search:

Type: Posts; User: jpbro

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    10
    Views
    191

    Re: Divide and multiply

    Maybe my coffee hasn't kicked in yet, but I can't think of a situation where X/4*2 would not equal (X/4)*2. Can anyone clue me in?
  2. Replies
    10
    Views
    191

    Re: Divide and multiply

    That is the correct method. Are you sure you are using the forward slash in your actual code? If you are using the backslash instead (integer divide), then you will get a different result (because...
  3. Replies
    15
    Views
    356

    Re: Events How They Work, CPU Intensive

    If your unused events are demonstrably causing a performance problem, and you've got the source code for the UserControl, instead of carving away all your events for one project (and now having a...
  4. Re: [VB Rich Client 5] - Getting out of memory error when opening RS

    How many rows are we talking about? Do you really need to get them all, or can you get a chunk, process them, get the next chunk, process them, etc...?

    Or do you even need all the images at one...
  5. Replies
    5
    Views
    196

    Re: [RESOLVED] RTF File to richtextboxes

    Use the SelRtf property instead of SelText, and you should get all the formatting in your second RichTextBox.
  6. Replies
    13
    Views
    757

    Re: [Experimental] VB6 FastCGI Server

    Update Released.

    Version 0.0.7
    Significant performance improvement by caching vbRichClient5.cCrypt object for re-use in DataArrival event (and elsewhere).
  7. Replies
    13
    Views
    757

    Re: [Experimental] VB6 FastCGI Server

    Update Released.

    Version 0.0.6
    Changed the command line parameters (one fewer, shorter switch names)
    When in SPAWNER mode, the process will monitor the processes in LISTENER mode for crashes,...
  8. Re: Extract R,G and B value from a string in format "R,G,B"

    You can use the Split function on the "," character to get a zero-based array with one colour value per element. e.g.



    Dim la_Rgb() as String

    la_Rgb = Split("134,45,31", ",")
    ' Now...
  9. Replies
    13
    Views
    757

    Re: [Experimental] VB6 FastCGI Server

    Update Released.

    Version 0.0.5
    Lots of changes - special thanks to Olaf for directing me to information about nginx load balancing across multiple FCGI listeners. This means we can avoid using...
  10. Re: How to know when a certain condition has changed

    That's my problem. I could do that but I didn't write the code


    But do you have the code, and are running it in the IDE? If so, maybe you can search the code for things like:


    ...
  11. Replies
    13
    Views
    757

    Re: [Experimental] VB6 FastCGI Server

    Update Released.

    0.0.3

    Added the gc_MaxResponseLoopSeconds configuration variable to allow you to tweak performance for multiple active requests (vs. relying on RC5 Timer granularity for short...
  12. Re: How to know when a certain condition has changed

    I don't know if it's possible, maybe someone else does. I tried a few things, but none broke on change for UDT members.

    You might have just bumped into another reason to use Classes vs. UDTs...
  13. Re: How to know when a certain condition has changed

    If you have the source code and are running it in the IDE, then you can "watch" the variable. Click the Debug menu, and then click Add Watch, and you will see this window:

    123659

    Change the...
  14. Replies
    13
    Views
    757

    Re: [Experimental] VB6 FastCGI Server

    So my confusion is based on the following sentences from the FastCGI spec. Interesting terms in bold:

    This specification has narrow goal: to specify, from an application perspective, the interface...
  15. Replies
    13
    Views
    757

    Re: [Experimental] VB6 FastCGI Server

    It's entirely possible I've got terminology wrong - I've only just started mucking about with Nginx and FastCGI this weekend.

    Based on my reading of a few different resources (and what I'm...
  16. Replies
    13
    Views
    757

    Re: [Experimental] VB6 FastCGI Server

    First bug fix released (bad constant value for FCGI_END_REQUEST).
  17. Replies
    13
    Views
    757

    [Experimental] VB6 FastCGI Server

    This is an experimental FastCGI application server written in VB6 for use with Nginx.

    It handles FCGI_BEGIN_REQUEST, FCGI_END_REQUEST, FCGI_PARAMS, FCGI_STDIN, FCGI_STDOUT, and FCGI_STDERR...
  18. Thread: Numeric

    by jpbro
    Replies
    8
    Views
    375

    Re: Numeric

    Whoops :) I looked at the code but not the Sub - I thought VBGoat was trying to change all of the items at once (e.g. as part of a final validation step), not react to a single object Change event....
  19. Thread: Numeric

    by jpbro
    Replies
    8
    Views
    375

    Re: Numeric

    A loop would be "simpler" for some definitions of simpler. Whenever you have a control array, use a loop to shorten your code - it's one of the benefits of having a control array in the first place....
  20. Re: Tooltips, Balloon Tips, Tray Notofications [vbRichClient]

    For development you should still register any ActiveX DLLs on your machine, so that you can still use Intellisense. You can then create helper functions to create your objects.

    In a standard...
  21. Re: VB6 QR-Encoding+Decoding and IME-Window-Positioning

    For PDF and SVG export, you need to use a different kind of Cairo surface (PDF or SVG respectively).

    The optional third parameter of the CreateSurface method in RC5 controls what kind of surface...
  22. Re: How to tell the pixels of a JPEG image file using VB6

    @dilettante - I'm starting to wonder if your account has been hacked by Niya ;)

    You are obviously a very good programmer and developer - your knowledge and experience are both clearly vast. You've...
  23. Replies
    20
    Views
    1,819

    Re: SQLite3

    Great, glad to help! You can now help others by marking the thread resolved (Click the Thread Tools link above the top post, and then click Mark Thread Resolved.
  24. Replies
    20
    Views
    1,819

    Re: SQLite3

    The vbRichClient5 cConnection object doesn't have a Close method (like the ADODB.Connection object for example). Just setting the object to Nothing will close the connection though.
  25. Replies
    20
    Views
    1,819

    Re: SQLite3

    You should never use End to end your programs - here's a decent overview as to why not:...
  26. Re: How to make the distinction between file and folder precise and correct

    Note that GetAttr is not Unicode aware, so you probably want to use the GetFileAttributesW API function and test for the FILE_ATTRIBUTE_DIRECTORY flag instead.
  27. Re: How do I correctly remove forms from a Collection?

    Are you also unloading your all your form instances?
  28. Re: Tooltips, Balloon Tips, Tray Notofications [vbRichClient]

    Nice demo Colin, thanks for this!

    A couple of small observations/thoughts regarding the default behaviour of the tooltips:

    According to this:...
  29. Re: Is there a keyboard shortcut to add "comment block"?

    In the MZTools toolbar, click the Options button, then click the Shortcuts tab.
    In the Button list, select Comment Block.
    In the Shortcut list, select the key combination that you want to use (I...
  30. Re: VB6 Mercator-Projection (or - how to handle lots of small objects on a Picturebox

    That's practically the very first sentence of the very first post...
  31. Re: VB6 Mercator-Projection (or - how to handle lots of small objects on a Picturebox

    How does it fail in your environment? Because it shows negative numbers for timing? For a quick demo targeted at programmers, I don't think that should count as a failure (it might demand a short...
  32. Replies
    14
    Views
    2,189

    Re: MultiThreading in VB6

    @firoz.raj - Did you miss the part where axisdj said the VB6 approach has been working flawlessly for over a year? Useless indeed!
  33. Replies
    9
    Views
    521

    Re: Code Signing VB6 created app

    I get my code signing certificates from http://codesigning.ksoftware.net/. They are a Comodo reseller and they are significantly cheaper than buying direct from Comodo.

    AFAIK you can use signtool,...
  34. Re: Video-Decompression with the VCM (ICM-Win32-API)

    I agree with Tanner_H that the location of the linked attachment (VBForums, or outside) wasn't the issue according to FunkyDexter - it was the fact that there was a third-party dependency.

    If he...
  35. Re: Video-Decompression with the VCM (ICM-Win32-API)

    Hi FunkyDexter - where in the VB6 Codebank policy is it mentioned that there can't be any dependencies? I've read this post and only see mention of compiled code inside attached ZIP files, and that...
  36. Re: IDE Shortcut To Move Caret to Code Window?

    Fantastic, thanks a lot Dilettante!

    If only I had known (or asked) sooner, I shudder to think how much time I've wasted over the past 15 years if I were to add it all up :eek:
  37. [RESOLVED] IDE Shortcut To Move Caret to Code Window?

    Does anybody know of a shortcut that will move the caret to the code window from the immediate window? For example, I often need to jump to the immediate window to call functions (which is easily...
  38. Replies
    6
    Views
    453

    Re: VB6 IDE Addin - Code Indent

    SmartIndenter has the ability to indent the "active" procedure only. It is available from here:

    http://www.oaltd.co.uk/indenter/default.htm

    When your cursor is in a procedure, right-click >...
  39. Replies
    33
    Views
    928

    Re: ListView autoarrange fails

    Alright, I'm flailing away now, so I'll give it a rest after this, but using the LockWindowUpdate function along with the LVM_UPDATE message is showing some promise (again in very limited testing):
    ...
  40. Replies
    33
    Views
    928

    Re: ListView autoarrange fails

    I tried "tricking" the control by calling ListItems.Add , the SendMessage LVM_DELETEITEM on the new item, then SendMessage LVM_INSERTITEMA to add the item in hopes that the ListItems collection would...
Results 1 to 40 of 398
Page 1 of 10 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.