dcsimg

Search:

Type: Posts; User: ahenry

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    276

    Re: VB6 reading registry 32bit and 64bit

    HKLM\Software is redirected, not shared between 32-bit and 64-bit. So make sure that entry actually exists in the WOW64 area.
  2. Replies
    8
    Views
    364

    Re: Option Explicit Ignored

    But Compile on Demand is turned on, right? Is that module actually called anywhere?
    Also, Ctrl-f5 would probably catch it even if the regular IDE run missed it. I've had plenty of bad code get...
  3. Re: How to get a list of all windows that are currently open

    Do you want to enumerate the windows open in your particular application, or for all applications in your Windows session?
  4. Re: MSXML2.ServerXMLHTTP60 with TLS 1.2 support XP POSReady

    I tried on Windows 7 and both IDE and exe came back with TLS 1.0...
  5. Replies
    6
    Views
    415

    Re: VB6 Command Line Compilation on Windows 10

    Have you checked the Windows Application log? There will probably just be an APPCRASH or faulting process entry that doesn't tell you anything useful, but it's worth a look.
  6. Replies
    4
    Views
    341

    Re: crystl32.ocx problem

    Yes there are a ton of Crystal reports base DLLs that you need, plus any that are specific to your data sources and export formats. I don't have 8.5 so I can't tell you which ones exactly. Be...
  7. Replies
    2
    Views
    311

    Re: Progress Indicator Help

    For the blue line, if you want a solid box, then draw one with the BF parameter:

    Picture1.Line (0, 20)-(myOldX, 40), vbBlue, BF

    For the green line I'm not sure exactly what you're trying to do...
  8. Re: Combobox with visual styles / manifest seems incredibly slow

    It shouldn't make a difference (with just 100 items), but on this computer it sure does. Here's my results for a few more variations:

    VB standard Populated in 0.2496562
    API with redraw on...
  9. Re: Combobox with visual styles / manifest seems incredibly slow

    Yep, when I run the same program on other computers, I get numbers similar to what you all reported.

    The computer I tested on is a modern i7 laptop with multiple adapters driving multiple monitors...
  10. Re: Combobox with visual styles / manifest seems incredibly slow

    Thanks for all of the results. I'm literally starting with an empty drop-down combo listbox in a program that is doing nothing else. Sounds like something is busted on my computer, maybe a video...
  11. Combobox with visual styles / manifest seems incredibly slow

    Just populating a box with 100 entries takes more than a half-second.



    Dim sTimer As Single
    Dim l As Long

    sTimer = Timer
    For I = 1 To 100
    cboOne.AddItem...
  12. Re: How to find (and modify) compoonents list of custom display

    You need to select each control individually, then go to the Index field in Properties and delete it. So Instead of "0" or "1" Index should have a blank. You'll want to rename your control at the...
  13. Re: Trouble loading 'older' project - Windows Update issue?

    Can you create a fresh project with a reference to that type library?

    ADO is considered part of the OS, and I'm sure it gets the occasional security update.

    You could try a verify in the ADO...
  14. Replies
    71
    Views
    8,331

    Re: Windows August 2019 Update break VB arrays

    It would be nice to live in a world where you could just drop support for Windows 7, but it's still on something like 30% of desktops. I still have a couple customers that use Windows NT 4!

    And...
  15. Replies
    71
    Views
    8,331

    Re: Windows August 2019 Update break VB arrays

    There's no indication in the documentation that a fix is included in the September Windows 7 update, but I think it may be in there. I tried it on 3 Windows 7 computers.

    The first computer...
  16. Re: Winsock is reaching its limit and freezing - $20 Bitcoin for whoever solves!

    Strange, I did replace your server code with a more standard setup with a dedicated listener passing the connections to other winsock instances, but only that client change prevented the stop after...
  17. Re: Winsock is reaching its limit and freezing - $20 Bitcoin for whoever solves!

    I ran a few tests with most of your confusing timer stuff disabled, and it seems like allowing message processing between the Close and the reconnect gets around the problem. Either:



    Private...
  18. Re: Winsock is reaching its limit and freezing - $20 Bitcoin for whoever solves!

    If the lockups persist after you actually shut down the programs, I wonder if you are running afoul of some Windows Defender protection... Making tens of thousands of connections in a few seconds is...
  19. Replies
    3
    Views
    284

    Re: GlobalAlloc without GlobalFree?

    Do you have some reason to think there is a leak in this function, besides seeing an Alloc without a Free?

    It might be missing some error handling, but the second parameter of...
  20. Re: locking mechanism for synchronize one instance of subroutine running. Mutex?

    You don't need mutexes in VB, it's going to be single-threaded unless you specifically set up multi-threading. The problem is your mixture of timers and DoEvents loops. Is there something in your...
  21. Replies
    71
    Views
    8,331

    Re: Windows August 2019 Update break VB arrays

    The Windows 7 fix is not available in Windows Updates, you need to download it directly:
    KB4517297

    It does seem to fix all the cases that I tested. Hopefully everything will be resolved by...
  22. Replies
    71
    Views
    8,331

    Re: Windows August 2019 Update break VB arrays

    Yeah, that surprised me in VB6 too. I bet that there are more variations of assigning / reassigning that I missed.
  23. Replies
    71
    Views
    8,331

    Re: Windows August 2019 Update break VB arrays

    So far we've seen the error raised by:
    Assigning (by value) an empty array (or an array containing an empty array) to a variant, where that empty array comes from:
    1) A ParamArray with no...
  24. Replies
    71
    Views
    8,331

    Re: Windows August 2019 Update break VB arrays

    I ran into this case when looking at the ParamArray problem. In the IDE, it raised Error 5 like the other examples. But when compiled, it just crashes:



    Private Sub Command1_Click()
    Dim...
  25. Re: [RESOLVED] Getting index value of an item's key in treeeview

    Right, that's a difference between TreeView and a generic VB collection.
  26. Replies
    71
    Views
    8,331

    Re: Windows August 2019 Update break VB arrays

    I see that the KB lists Windows 7 SP1 as affected. Has anyone run into it there yet?

    Edit: OK, I see it listed specifically as part of the August update in KB4512506...
  27. Re: [RESOLVED] Getting index value of an item's key in treeeview

    That's a general rule for VB collections, not just the treeview. If you're using an unknown variant as a key, then use:

    Collection(CStr(variantIndex))

    to make sure it doesn't try to access by...
  28. Replies
    10
    Views
    763

    Re: Trace the calls origin.

    MuTek Bug Trapper used to have almost-magical tracing and logging capabilities for VB exes. I don't think there was a version that worked after Windows XP though - the last time I used it was under...
  29. Replies
    9
    Views
    589

    Re: How Are You Dealing With High DPI?

    Pretty much Eduardo's approach - I swap in nicer icons when running in medium DPI, but no real support for high DPI yet.
  30. Re: How to capture command button event in vb6 when it is dynamicaly loaded at run ti

    As dilettante said, the typical way to do this is with a control array, and it's quite easy.

    1) Create a button called T1 on your form inside whichever container you want, set the Index property...
  31. Re: VBDataViewWindow popup on compile

    All the normal stuff is installed, although I don't use that Data View window for anything. I first ran into the popup when compiling from the command line on two different development machines. ...
  32. [RESOLVED] VBDataViewWindow popup on compile

    I ran into a truly weird event today that I thought was worth documenting since googling for VBDataViewWindow didn't give me any results.

    After making a bunch of changes to an old project, it...
  33. Replies
    12
    Views
    745

    Re: CryptoAPI Not Working on Windows 10

    I didn't look at it too closely, but that function doesn't seem to be designed to generate reproducible results, so I don't see how it could ever be used for decryption without storing the result...
  34. Replies
    2,436
    Views
    576,104

    Re: CommonControls (Replacement of the MS common controls)

    I've had trouble replicating it myself. I can get it to consistently fail, and then I'll open another project and it starts working again. Maybe I'm mixing incompatible versions somehow, but when...
  35. Replies
    2,436
    Views
    576,104

    Re: CommonControls (Replacement of the MS common controls)

    Selecting the Toolbar DisabledImageList and HotImageList property page entries cause an immediate crash to desktop. Regular ImageList and PressedImageList work fine. I checked an older CCR version...
  36. Re: asp classic find duplicate record in database

    You're switching between AlreadyTaken and AlreadyPurchased.
    Don't forget to use Option Explicit at the top of any code file.
  37. Re: Avoiding Duplicates in Random Passwords

    Well if you are dead-set on using the function you posted, then take a crc32 of the initial string, convert the crc to a long, and use that for the Randomize value. It won't be secure, or free of...
  38. Re: Avoiding Duplicates in Random Passwords

    You're calling Randomize with a non-random seed, so you're guaranteed to get duplicates when you provide the same seed. On top of that, a ton of your "seeds" are equivalent to each other with that...
  39. Re: Email setup (SMTP, port, SSL, etc) - did it change in Windows 10

    I've never seen the CDO library give a more descriptive error message when it comes back with that number.

    That code works fine for me in the latest Windows 10. Test a simple connection to that...
  40. Replies
    36
    Views
    1,529

    Poll: Re: Do you use the VB6 IDE in MDI or SDI mode?

    I'm occasionally tempted to switch to SDI (whenever VB decides to show every code window opening/closing in the whole project) but I haven't tried it out in years.
Results 1 to 40 of 87
Page 1 of 3 1 2 3



Featured


Click Here to Expand Forum to Full Width