Search:

Type: Posts; User: victor_knight

Search: Search took 0.04 seconds.

  1. Replies
    12
    Views
    1,478

    Re: InkEdit Object Run-time Error '383'

    Tried it, but it didn't work. Maybe I got the wrong version or didn't incorporate it right. I couldn't really find any clear instructions about where to get it and how, exactly, to use it. With the...
  2. Replies
    12
    Views
    1,478

    Re: InkEdit Object Run-time Error '383'

    That seems to make the most sense. In any case, I've replaced the InkEdit control with the Web Browser control and the Unicode characters I need display just fine now (on Windows 11 Home and Pro)....
  3. Replies
    12
    Views
    1,478

    Re: InkEdit Object Run-time Error '383'

    Apparently it is. I just tested my code on Windows 11 Pro and it works with no error message. Again, not perfectly (the output is not properly formatted as it should be) but it works. On Windows 11...
  4. Replies
    12
    Views
    1,478

    Re: InkEdit Object Run-time Error '383'

    Would that be Windows 11 Home or Pro? Because I've noticed it seems to work (better, but not perfectly as before) on the Pro version (of Windows 10, at least). I can't imagine what else might be...
  5. Replies
    12
    Views
    1,478

    Re: InkEdit Object Run-time Error '383'

    It displays Unicode font like 'Segoe UI Symbol'.
  6. Replies
    12
    Views
    1,478

    InkEdit Object Run-time Error '383'

    I'm having this strange run-time error '383' in my Visual Basic 6 code.

    188225

    It relates to this line:

    188226

    And pertains to this InkEdit object:
  7. Re: Copying Formatted Text Out of a Rich Text Box

    Okay, thanks. I'll try it out for a while.
  8. Copying Formatted Text Out of a Rich Text Box

    If I've formatted a rich text box as follows:


    RTB9.SelStart = 0
    RTB9.SelLength = 6
    RTB9.SelBold = True
    RTB9.SelText = "Hello1 "
    RTB9.SelStart = 8
    RTB9.SelLength = 6
    RTB9.SelBold = False
  9. Re: Display Unicode Chess Symbols in Text Boxes

    Fantastic. That works. Thank you.
  10. Re: Display Unicode Chess Symbols in Text Boxes

    Okay, that seems to work. However, when I try to copy such symbols from the Inkedit box like this:

    Clipboard.SetText (InkEdit1.Text)

    And then paste it into Notepad (Windows 10), all I get is a...
  11. Re: Display Unicode Chess Symbols in Text Boxes

    I'm still not clear how, exactly, to get this to work. What references/modules/components do I need to import (without messing up anything else I have imported)? Is there a line or two of code...
  12. Display Unicode Chess Symbols in Text Boxes

    Hi,

    I've been searching online but haven't been able to find a way to display Unicode characters in VB6 text boxes (including the rich text box). In particular, I would like to be able to display...
  13. Re: Getting Input from an HTTPS Link using VB6

    This looks very promising, thanks. I'll give it some testing.
  14. Re: Getting Input from an HTTPS Link using VB6

    Yeah, that doesn't seem to be working too well. I thought the solution might look something like this, but less complicated and with fewer dependencies. Right now I'd even settle for an executable I...
  15. Getting Input from an HTTPS Link using VB6

    I'm trying to get a simple random number from this site using the code as shown there, for example this:

    https://qrng.anu.edu.au/API/jsonI.php?length=5&type=uint16

    will return a number from...
  16. Re: Details on How to Use Named Pipe for Communicating with Chess Engine

    wqweto,

    Thanks a lot. That works perfectly.
  17. Re: "MSCOMCTL.OCX Could Not Be Loaded" Error (and Strange Fix)

    Apparently, PC 1 was indeed having a newer version of MSCOMCTL.OCX. I simply copied that over the older version of the same file in PC 2 and now the problem's gone.
  18. Re: "MSCOMCTL.OCX Could Not Be Loaded" Error (and Strange Fix)

    Sounds like PC1 has v2.1 and PC2 has v2.0

    Of what? MSCOMCTL.OCX?


    After you change the version to 2.0 and open it again on PC1 and save the project, look at the line again in NotePad -- it...
  19. Re: Details on How to Use Named Pipe for Communicating with Chess Engine

    Couldn't find anything much online about how to do that, exactly. Perhaps I'll look into Python; write a simple piping EXE in that (which doesn't cause the UCI engine window to pop-up at all) and...
  20. Re: Details on How to Use Named Pipe for Communicating with Chess Engine

    And there is apparently no way to send and receive information from the UCI engine otherwise. A catch-22.
  21. Re: Details on How to Use Named Pipe for Communicating with Chess Engine

    What about with this part?



    Do you know how to modify the following code so there is no pop-up (even for a second)? I would like command window to be completely invisible since I call it many...
  22. "MSCOMCTL.OCX Could Not Be Loaded" Error (and Strange Fix)

    I use Microsoft Visual Basic 6 (SP6) on two different computers. When I compile my program on PC 1 and later click the main *.vbp file, it opens just fine. However, if I bring the program folder to...
  23. Re: Details on How to Use Named Pipe for Communicating with Chess Engine

    Schmidt,

    Thanks. Your code works a lot better for me. The earlier one, actually, wasn't even getting full output from the UCI engine. For instance, in positions like this:...
  24. Re: Details on How to Use Named Pipe for Communicating with Chess Engine

    Okay, thanks. There appears to be some progress. I've adapted the material above to the following function and sub in my program.


    Public Function Invoke_UCI_Engine(engine_path As String) As...
  25. Re: Details on How to Use Named Pipe for Communicating with Chess Engine

    Yes, I know. The question was, how do I get something like "position fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1" and then "go depth 30 movetime 15000" into the command window (with...
  26. Re: Details on How to Use Named Pipe for Communicating with Chess Engine

    That doesn't work for me either. I just need to do Steps 1-6 above.
  27. Details on How to Use Named Pipe for Communicating with Chess Engine

    I'm looking to communicate my VB6 program with the Stockfish (UCI) chess engine. I found the following code which I saved into a module called "ConsolePipe.bas".


    Option Explicit
    Private Declare...
Results 1 to 27 of 27



Click Here to Expand Forum to Full Width