Search:

Type: Posts; User: wqweto

Page 1 of 13 1 2 3 4

Search: Search took 0.40 seconds.

  1. Replies
    3
    Views
    59

    Re: MSCOMM control freezes the VB6 IDE

    Most probably.

    You can use Process Monitor to examine your compiled executable's threads callstack upon it hanging but I guess that the background thread MSComm control uses for I/O to the device...
  2. Thread: l wonder

    by wqweto
    Replies
    14
    Views
    276

    Re: l wonder

    Can't remember details but sure FFT for real numbers in input still produces complex numbers in the output but is computationaly cheaper (than input with complex numbers).

    Isn't a sound buffer...
  3. Thread: l wonder

    by wqweto
    Replies
    14
    Views
    276

    Re: l wonder

    Sure! :-))

    Remember like it was yesterday the year I learned C++

    cheers,
    </wqw>
  4. Thread: l wonder

    by wqweto
    Replies
    14
    Views
    276

    Re: l wonder

    That's what I thought 30 years ago when I first decided to implement the "oscillator" to display frequencies from current playback like in WinAmp (though back then first version of WinAmp wasn't...
  5. Thread: l wonder

    by wqweto
    Replies
    14
    Views
    276

    Re: l wonder

    This is the CodeBank, not the general VB6 forum.

    Will report to moderators to move thread off CodeBank.

    cheers,
    </wqw>
  6. Replies
    6
    Views
    169

    Re: Peekmessage (API) instead of Subclassing

    When you use a custom message loop instead of the runtime provided one Form's navigation with keyboard becomes shaky and control's Validate event does not fire.

    Using custom message loop with...
  7. Re: Here's how to execute any arbitrary x86 machine code from a VB6 program.

    You might have troubles with NX (no-execute) access bit set on the virtual memory your thunk resides in. (Try executing your sample code compiled.)

    This technique is known as thunking in VB6 land...
  8. Replies
    6
    Views
    228

    Re: What are square brackets used for in VB6?

    I wish VB6 had *more* use of square brackets as escape sequence for identifiers in general. Currently only enum names and callsite function/property names can be escaped.

    It is not possible to...
  9. Re: Problem with VB6 ComboBox with style "DropDown List"

    Sure, but I've seen no end-user which uses this feature (I personally use it all the time) while in "DropDown Combo" style with sorted list all the end-users can "guess" that you can actually type in...
  10. Replies
    10
    Views
    247

    Re: Font used by MsgBox

    I get "Segoe UI" w/ size of 9 pt. for all the LOGFONTs in the non-client metrics:


    Option Explicit

    Private Const LF_FACESIZE As Long = 32
    Private Const...
  11. Re: Problem with VB6 ComboBox with style "DropDown List"

    "DropDown List" style is completely supplanted by "DropDown Combo" style so I *never* actually use it in any of my applications as it first looks ugly and second does not allow quick find on list...
  12. Replies
    20
    Views
    462

    Re: [RESOLVED] WIA Automation

    You would be probably better off with your own (simple) custom GDI+ wrapper class instead of trying to transfer byte-arrays back and forth between WIA and GDI+ I suppose.

    For instance Olaf has a...
  13. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    It was first M. Curland who demonstrated that on the new thread a call to CoInitialize is not enough to get away with running other VB6 code but you have to explicitly initialize the VB6 runtime on...
  14. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    JFYI, just fixed the links in the top answer on the SO questions so the in-process multi-threading sample is reachable through PSC organization on github.

    Completely agree that any kind of...
  15. Re: How do ActiveX DLLs actually store their exported functions?

    There are no "pointers to classes" per se. COM internals are easy to grasp once you have enough fundamental understanding about OS underlying systems.

    When you call a function in most languages...
  16. Re: Unable to select multiple controls using CTRL or SHIFT click

    If the issue is real all of you might try using manifested IDEs and greet XP look and feel just only like 20 years later. LOL
  17. Replies
    3
    Views
    157

    Re: Overflow using timeGetTime

    JFYI, timeGetTime is API can be hopelessly inaccurate in contrast to QueryPerformanceXxx functions.


    Option Explicit

    Private Declare Function QueryPerformanceCounter Lib "kernel32"...
  18. Re: Unable to select multiple controls using CTRL or SHIFT click

    I never seen this issue outside of manifested IDEs but this could probably be caused by compatibility shims too.

    Pretty sure that stock Windows 10 with normal VS6 + SP6 setup and no shortcuts...
  19. Re: Unable to select multiple controls using CTRL or SHIFT click

    This is a side-effect of using a manifest on the IDE with comctls version 6 referenced.

    You'll have to get used to it or drop the IDE manifest altogether.

    cheers,
    </wqw>
  20. Replies
    7
    Views
    176

    Re: Picturebox w/ transparency

    Try this windowless control which supports both key-color and per-pixel alpha transparency (and both simultaneously if needed) - https://github.com/wqweto/AlphaBlendImage

    cheers,
    </wqw>
  21. Replies
    6
    Views
    304

    Re: Windows Aero Effect in Form

    Use manifest for your IDE or test your project compiled to EXE w/ manifest.

    (I would have tested it myself whether this suggestion fixes anything if there was a project attached to your OP.)
    ...
  22. Replies
    16
    Views
    451

    Re: [RESOLVED] Select Case True

    There is no MsgBox “Hello 2” in the short-circuit OR sample above so it has to be the same code in both cases.

    There might be more than 2 sub-expresions like 10 of them.

    The body might be more...
  23. Re: VB6 QUESTION: Non-Modal message box in its own thread

    MSDN says flat out right that WinExec is left only for compatibility with source codes for 16-bit apps.

    It does not mention that LoadIcon comes from 16-bit ages (though it could be).
  24. Replies
    16
    Views
    451

    Re: [RESOLVED] Select Case True

    It does short-circuit OR expressions like If rs Is Nothing Or rs!DataField = 0 Then which bomb out otherwise on second sub-expression.
  25. Re: Can someone tell me about undocumented sections in VBP files?

    No, this was never leaked/documented by MS but was reversed by the guys at vbstreets.ru it seems. The original “author” even cried out loud here for not being credited for some other reversing work...
  26. Replies
    38
    Views
    1,159

    Re: [RESOLVED] Why can't Enum of VB6 be a string?

    Never heard of Edit&Continue in Lua or node i.e. putting a breakpoint, stopping execution, modifying current function and continuing with new code being executed. Is this already possible in Lua or...
  27. Replies
    16
    Views
    451

    Re: [RESOLVED] Select Case True

    I’m using it all the time. Very nice to have short-circuit And/Or in ancient VB6.
  28. Replies
    38
    Views
    1,159

    Re: [RESOLVED] Why can't Enum of VB6 be a string?

    The only other language you can find such symbiotic REPL is Common List considered by many the most powerful programming language ever conceived.

    VB’s editor keeps code semi-compiled and has E&C...
  29. Re: VB6 QUESTION: Non-Modal message box in its own thread

    This is provided only for comparibility with Win 3.x and VB6 is old but not that old so dont’t use it.
  30. Replies
    17
    Views
    479

    Re: Crop Filter: Crop Picture

    I am not arguing WIA is slower tha GDI+ for some kind of operations but your bullshit approach to benchmarking anything is abomination.

    Always comparing apples to oranges e.g. you’re including BMP...
  31. Re: I have some questions about computer memory?

    It’s most likely consumed by BIOS for shadowing ROM (copied to RAM) or UEFI boot or some other secure boot option.

    Nowadays there is a complete separate computer inside every computer which runs...
  32. Replies
    17
    Views
    479

    Re: Crop Filter: Crop Picture

    Do both conversions produces same sized output?

    Do both same sized JPGs have similar (equal) PSNR compared to original image?

    Please, don't benchmark anything already!

    cheers,
    </wqw>
  33. Re: I think VB6 is much a better tool/language than VB.NET

    Sure!

    Always fun to get a legacy VB6 solution to top position. This is not meant to compare VB6 vs .Net merits, you know. . . Who would do that! :))
  34. Re: I think VB6 is much a better tool/language than VB.NET

    They don’t accept VB6 versions in the prime sieve contest — too fast to judge! :))

    I’m currently afk but will write an algorithmicly viable snippet (targeting best C# submission constraints) and...
  35. Re: Forcibly sell values to others or other countries

    Is this thread some kind of chineese ideological officers parade in these forums?

    It is simultaneously hilarious and sad sad sad.

    How many posts per day do you have to toil on the uncensored...
  36. Replies
    73
    Views
    5,792

    Re: Introducing MixLangz a Visual IDE

    Or just use http://mixlangz.com/downloads/MixLangz_Demo_Setup.exe
  37. Replies
    3
    Views
    296

    Re: VB6 Call Web Api GET

    You need a JSON parser to “split” the response you receive before you can populate Text1, Text2, etc.
  38. Re: VB6 QUESTION: Methods for finding a memory leak.

    Flat GDI+ is particularly dangerous as there is no monitoring API built-in and for bookkeeping C++ wrappers depend on language RAII which will hurt performance if reimplemented with VB6/COM classes.
  39. Re: [RESOLVED] XMLHTTP GET, passing API parameters

    This is curl with -v option (verbose output) set. Nowadays Win10 comes with curl (and other linux utils) preinstalled.

    If you look carefully the folder it's run in is...
  40. Re: XMLHTTP GET, passing API parameters

    I just added -v parameter for verbose mode and got this


    d:\TEMP\curl-7.69.1_1-win32-mingw>curl --request "GET" --location "https://api.rocketreach.co/v2/api/lookupProfile" --header "Api-Key:...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width