Search Results - VBForums

Search:

Type: Posts; User: jpbro

Page 1 of 11 1 2 3 4

Search: Search took 0.02 seconds; generated 15 minute(s) ago.

  1. Replies
    12
    Views
    363

    Re: [RESOLVED] JAVA is faster than VB6?

    Hi Jonney, I might be wrong, but I think you may be performing many loops after the value has been calculated. The reason I'm not sure is because I don't really know what your code is trying to do,...
  2. Replies
    14
    Views
    1,061

    Re: [Experimental] VB6 FastCGI Server

    Update Released.

    Version 0.0.8

    I recommend you get the latest vbRichClient5 for use with this version, though I don't think it is mandatory.

    Changes:


    Added support for parsing out HTTP...
  3. Replies
    23
    Views
    686

    Re: Run VB6 program on Win 7/8 and later

    Error 52 is Bad File Name or Number. What are the values of the myfile and num variables when the error is raised?
  4. Replies
    12
    Views
    284

    Re: How do I highlight a textbox text

    How about something like this:



    Option Explicit

    Private Declare Function GetKeyState Lib "user32.dll" (ByVal nVirtKey As Long) As Integer
    Private Declare Function GetSystemMetrics Lib...
  5. Replies
    12
    Views
    284

    Re: How do I highlight a textbox text

    You can use the SelStart and SelLength properties.
  6. Replies
    6
    Views
    250

    Re: Windows 8.1 Tablet/Video Capture

    Hmm, not sure (it works fine here). Maybe you could ask in the actual code thread, and the author will see it and might be able to help.
  7. Replies
    6
    Views
    250

    Re: Windows 8.1 Tablet/Video Capture

    I just tried Dilettante's webcam demo on a Surface Pro 3 with Win8.1 , and it works perfectly (front or back camera):
    ...
  8. Replies
    7
    Views
    332

    Re: [vbRichClient] - How to create tabs ?

    Don't listen to Dilettante on matters re:RC5 - he's made up his mind about it's usefulness, and for reason known only to himself, he's taken to trolling whenever it's mentioned here. So while he's...
  9. Re: [RESOLVED] Help! cannot delete registry [x64] subkeys

    Try this:



    RegDelTree HKEY_LOCAL_MACHINE, "SOFTWARE\Classes\Interface\{1A2A195A-A0F9-4006-AF02-3F05EEFDE792}"
  10. Re: How do I use CreateProcess to launch Chrome.exe with default URL

    On my computer, Chrome isn't installed in Program Files - are you sure yours is?

    Also, putting chrome.exe in front of the parameters works here. E.g. I changed your variables as follows, and...
  11. Re: How do I use CreateProcess to launch Chrome.exe with default URL

    Try a leading space in sCommand. e.g.:



    sCommand = " https://mail.verizon.com/webmail/driver?nimlet=showmessages&view=emails#mail_Emails_INBOX"
  12. Re: Plugin framework without DLL registering (DirectCOM)

    Looks like the error might be occurring in the C++ DLL itself - the GetInstance call is returning an object, but the subsequent SetHost call fails. Perhaps the plugin is expecting itself to be...
  13. Re: Plugin framework without DLL registering (DirectCOM)

    Do the C++ and Java plugins work if you go the regular RegSvr32 route? If not, maybe the runtimes are missing?
  14. Replies
    27
    Views
    1,002

    Re: Persisting data in vb6 classes/objects

    To extrapolate on LaVolpe's point, this might also be a good reason to use a file database format like Sqlite. You can create a table/tables to hold all your serialized values (and have a version...
  15. Replies
    27
    Views
    1,002

    Re: Persisting data in vb6 classes/objects

    You can use the PropertyBag object to serialize/deserialize your object properties.

    For example (this is air code so there might be bugs, it's just to give you an idea):



    Public Function...
  16. Thread: Sort Large Array

    by jpbro
    Replies
    6
    Views
    283

    Re: VB6 String to Integer Array

    Do you need the duplicates? If not, you could probably save a lot of time by not storing/sorting them.
  17. Re: VB6 Dynamic Menu-, Popup- and Toolbar-Demo (vbRichClient-based)

    Sorry for not being clearer. What I mean is that the arrow of a disabled cwToolbarItem is drawn identically to an arrow of an enabled cwToolbarItem. For example, compare:

    126349

    In other UIs...
  18. Re: VB6 Dynamic Menu-, Popup- and Toolbar-Demo (vbRichClient-based)

    Olaf, a quick question about widget state drawing - Should there be a disabled state option for things like drawing the toolbar arrows? Right now they appear black when the parent widget is disabled,...
  19. Re: VB6 Dynamic Menu-, Popup- and Toolbar-Demo (vbRichClient-based)

    In the Draw method of the cwToolbarItem class, you can add this code to the Else ' Disabled State block to fix this issue:



    If Len(W.ImageKey) Then
    xOffs = dy
    End If
  20. Re: vbRichClient5.dll->cRecordset-> Not "Filter" method?

    How about just using a WHERE clause in your SQL query?
  21. Re: Revisit Font Color from Excel to VB6 RTB

    Try putting your Sleep call after your cel.Copy call - maybe the clipboard isn't getting filled fast enough before your WM_PASTE.
  22. Replies
    10
    Views
    289

    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?
  23. Replies
    10
    Views
    289

    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...
  24. Replies
    22
    Views
    851

    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...
  25. 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...
  26. Replies
    5
    Views
    240

    Re: [RESOLVED] RTF File to richtextboxes

    Use the SelRtf property instead of SelText, and you should get all the formatting in your second RichTextBox.
  27. Replies
    14
    Views
    1,061

    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).
  28. Replies
    14
    Views
    1,061

    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,...
  29. 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...
  30. Replies
    14
    Views
    1,061

    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...
  31. 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:


    ...
  32. Replies
    14
    Views
    1,061

    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...
  33. 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...
  34. 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...
  35. Replies
    14
    Views
    1,061

    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...
  36. Replies
    14
    Views
    1,061

    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...
  37. Replies
    14
    Views
    1,061

    Re: [Experimental] VB6 FastCGI Server

    First bug fix released (bad constant value for FCGI_END_REQUEST).
  38. Replies
    14
    Views
    1,061

    [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...
  39. Thread: Numeric

    by jpbro
    Replies
    8
    Views
    482

    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....
  40. Thread: Numeric

    by jpbro
    Replies
    8
    Views
    482

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



Featured


Click Here to Expand Forum to Full Width