Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    94
    Views
    1,362

    Re: LED.OCX & Windows 11 Pro

    Do you run your Setup-Executable via Right-Click->"Run as Administrator"?

    Olaf
  2. Replies
    19
    Views
    528

    Re: END Statement On Light-Weight Object

    I did... and was not able to find the real cause for the behaviour.

    Have tested this in VB6 only - and only in the IDE...
    - and the error is caused in the "more complete" Code you have posted in...
  3. Re: client to server question : winsock close after idle

    If your remote-machine is running a Windows-Server-OS, then chances are,
    that the Hosts "KeepAliveTime" is set to a lower value (than the Standard-7200 seconds == 2hours).
    ...
  4. Replies
    11
    Views
    310

    Re: can't write to network path ini file

    Then the same will be possible from your App ... when it is compiled!

    If - on the other hand - you still run your App from the IDE,
    then the IDEs process is working (usually) "elevated in...
  5. Replies
    2
    Views
    185

    Re: can this be done ?

    If you are using the WebView2-Control(-Binding), then you can Add your Form-Object as e.g.:
    WV.AddObject "me", Me
    ...before the document loads...

    Which then allows you to call (from inside your...
  6. Replies
    187
    Views
    46,832

    Re: VB6 WebView2-Binding (Edge-Chromium)

    Had to adapt the jsProp-Resolver Method internally (in 6.0.10) due to "security-reasons" -
    (the old version was using eval(...) to resolve the jsProp-expression, and that does not work in all...
  7. Replies
    3
    Views
    259

    Re: QRCode don't Scan on print

    Your Src-Image is 141x141 Pixels in size -
    (and each QRCode "Sqare-Unit" is only one pixel wide) in that Bitmap)...

    So, you have to "Stretch it" via StretchBlt (instead of BitBlt) on your...
  8. Replies
    19
    Views
    528

    Re: END Statement On Light-Weight Object

    As already suggested, why not try this with a properly implemented LWO?
    - which allocates its instance-memory via CoTaskMemAlloc
    - and has its (IUnknown)-VTable fully populated

    I'm quite sure...
  9. Replies
    19
    Views
    528

    Re: END Statement On Light-Weight Object

    I'd think, that the END-statement is not all that "careless" under the covers,
    and that the VB(A)-PCode Interpreter (when "shot down" via END),
    is at least trying to "cleanup any...
  10. Replies
    9
    Views
    322

    Re: problem reading registers open for random

    What I've posted is doing the very same thing as your UDT-based ISAM-File approach -
    only "much better" (less codelines, less chances to make errors).

    Your former example was trying to interact...
  11. Replies
    9
    Views
    322

    Re: problem reading registers open for random

    If you want to solve "the problem" properly, you should start working with a library,
    which is specialized for this task (I'd suggest ADO, because nearly everyone here is familiar with it).

    For...
  12. Replies
    9
    Views
    322

    Re: problem reading registers open for random

    I'm quite sure you have "random access-mode" in mind (which is not used here).

    Leaving the second param out, is perfectly fine for that loop.

    If you have to give the Offset-Param explicitely,...
  13. Replies
    4
    Views
    213

    Re: Get local IP address using RC5

    Directly built-in is only retrieval of the IP of the current Default-Adapter (so, not a listing)...
    Please try:
    ?New_c.TCPServer.GetIP("")
    in the Immediate-Window

    Olaf
  14. Thread: Stuff to watch

    by Schmidt
    Replies
    267
    Views
    17,570

    Re: Stuff to watch

    Ah, there you have the whole issue, expressed in just two words... ;)
    ...(and it apparently works on people, as the recent "banning" has shown).

    wes4dbt is right, that mass-media was always...
  15. Replies
    15
    Views
    284

    Re: Int Function and Rounding

    As Eduardo already pointed out - use an "Epsilon-Value" and add it to your passed Value in your own little helper-routine:


    Private Sub Form_Load()
    Dim Value As Double

    Value = 1.5: ...
  16. Re: RC6 User Control (ucCanvas) - CheckControlPointUnderCursor(X, Y)

    The main-reason for your "struggles" is (again) your inexperience with Classes in VB6
    (a fact I have to point out, because you repeatedly insist, that these struggles are caused by "insufficient...
  17. Replies
    2
    Views
    172

    Re: CANVAS vs Cairo SURFACE?

    A Usercontrol-based Canvas has a higher "degree of integration"...
    (with "other stuff" beside the graphics-methods).

    E.g. support for MouseEvents (on the Usercontrols "Surface") comes to mind.
    ...
  18. Replies
    187
    Views
    46,832

    Re: VB6 WebView2-Binding (Edge-Chromium)

    Not sure, what is meant here...
    (there is an interactive right-mouseclick-context-menu in the chromium-engine,
    which allows to trigger "Save as..."-commands).

    If it's only "plain-text-" or...
  19. Replies
    22
    Views
    615

    Re: C POINT Data Type passed ByRef in x64 ?

    The ByRef... ;)

    Olaf
  20. Replies
    5
    Views
    255

    Re: webview2 get the output to richtextbox

    The "bearer-token" (after a successful Login via OAuth2 or something),
    is either in the "cookie-" or "local-"storage.

    Since I have no clue with which site or service you interact, I cannot give...
  21. Replies
    1
    Views
    190

    Re: Link or connect to SQLite tables BE ..how

    Did you try the (top-centered on this Forum-page) Google-Searchbox?

    searching for the terms: [VB6 SQLite] should bring up quite a few results.
  22. Replies
    5
    Views
    255

    Re: webview2 get the output to richtextbox

    The complete example below is perhaps enlightening (needs a reference to RC6):


    Option Explicit

    Private WithEvents WV As cWebView2

    Private Sub Form_Load()
    Me.Visible = True 'ensure...
  23. Re: Need Help with Cairo Example - Displaying results of Radial and Linear Pattern

    This is an example of "what is he talking about?" that isn't so clear.

    The VB6 equivalent of this I believe is:


    CC.DeviceToUserDistance 0.01, 0.01


    But I do not have a clue as to how...
  24. Replies
    187
    Views
    46,832

    Re: VB6 WebView2-Binding (Edge-Chromium)

    In my understanding, Selenium was written as a generic Test-Tool which can "work against multiple Browser-engines".

    The WebView2 is just an encapsulation of a single Browser-engine (chromium) -...
  25. Re: How to send headers through navigate a webpage by webview2

    As I see it, there is none...



    The header-entries need to be vbCrLf delimited -
    and I've just checked this with our AppServer - it works as it should...

    Below is an example, which...
  26. Re: How to send headers through navigate a webpage by webview2

    AFAIK user-agent and referer are "non-overridable" header-entries in modern Browsers ...
    (to avoid "spoofing" in case of the referer-field).

    All you can do is IMO, to disable the...
  27. Re: vbRichClient (RC6) & RC6 Widgets Docs | WORK IN PROGRESS

    I'm not upset and also not really in "scolding mode" - I'll inform you, when I get there I guess... ;)

    But put yourself in my shoes for a moment as well.

    First there is the claim, that...
  28. Re: Need Help with Cairo Example - Displaying results of Radial and Linear Pattern

    The official cairo-documentation:
    1) for the C-language is "in one place" (at cairographics.org) -
    2) and the official documentation for the VB6-COM-wrapper is as well (in the...
  29. Re: vbRichClient (RC6) & RC6 Widgets Docs | WORK IN PROGRESS

    Yes, I've made Cairo a "selfinstancing, GlobalMultiuse object" (similar to the "main-constructor" New_c)
    at a later time (after writing the VB6-cairo-tutorial).



    Yes, and for regfree usage you...
  30. Re: Need Help with Cairo Example - Displaying results of Radial and Linear Pattern

    If you read the C-documentation you linked to carefully through (completely),
    you'd have come to the "Working with Transformations"-part (near the bottom), where he states:

    If I want my 1.0 x 1.0...
  31. Re: vbRichClient (RC6) & RC6 Widgets Docs | WORK IN PROGRESS

    As jpbro already explained, the SymbolName Cairo (as cCairo) is already predefined,
    as soon as you check-in the RC6-ref.

    Now, when you define a line like:

    Private Cairo As cCairo
    at...
  32. Re: vbRichClient Equivalent to Cairo Methods

    If you want to assing an instance-pointer to a VB6-Object-Variable,
    a normal assignment like o = x is insufficient, you need the Set-prefix.

    Here's your code-example:


    Private Sub Form_Load()...
  33. Re: VB6 Microsoft DAO 3.6 Object Library, can't input UTF-16 strings into text fields

    Yes, in my tests (done long ago, on XP), Space$ was a little bit faster as a BSTR-pre-allocation-vehicle.

    The speed-differences (if there still are any) are neglectable in your case though,
    so...
  34. Re: vbRichClient (RC6) & RC6 Widgets Docs | WORK IN PROGRESS

    Yes, an (Image)Surface-instance holds the physical Pixel-allocation (as a "2D-Array" in memory, if you want) -

    Then, when you derive a "Context-SubObject" from this Surface-Object,
    the Context...
  35. Re: vbRichClient (RC6) & RC6 Widgets Docs | WORK IN PROGRESS

    Yes, that goes without saying basically, because otherwise
    (when you leave it "un-registered", just "sitting there as a Dll-file" in some \RC6\-Folder),
    you will not find an RC6-reference in your...
  36. Re: vbRichClient Equivalent to Cairo Methods

    Yep, in the official (C) cairo-documentation, the cairo_show_text() call is mentioned as a "toy-API".

    It is not used and thus not exposed on the outside of cCairoContext
    (one can use...
  37. Replies
    10
    Views
    568

    Re: calculate benefits

    As said, these two columns should not exist in the table-definition.
    They can always be derived "on the fly" by specifying a select like e.g.:

    Select *, pur_price*pur_qty As pur_total From...
  38. Re: is there any win api to get string memory size as like GlobalSize ???

    Don't rely on it...
    The Ole-BSTR-allocator allocates the BSTR-chunks in "multiples of 16Byte" (at least here on my Win10).
    You can test this out yourself, by successively reducing the Input-String...
  39. Re: VB6 Microsoft DAO 3.6 Object Library, can't input UTF-16 strings into text fields

    The above is kinda "weird" (including all the ANSI-conversion).

    They are not needed in your case (where BASS will return an UTF8-Ptr to you via: TAGS_Read(...)
    Please use a "directly from...
  40. Re: is there any win api to get string memory size as like GlobalSize ???

    You can use this API also on BSTRs, when you take into consideration,
    that a BSTR-allocation starts at StrPtr(S)-4:



    Option Explicit

    Private Declare Function GlobalSize Lib "kernel32.dll"...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width