Search:

Type: Posts; User: georgekar

Page 1 of 13 1 2 3 4

Search: Search took 1.73 seconds.

  1. Replies
    10
    Views
    317

    Re: Writing a card game

    VB6 use double buffer on forms (using the autoredraw). The name of the property is not exactly what it say. Autoredraw just place the double buffer. When a refresh produced we get the next buffer....
  2. Replies
    26
    Views
    510

    Re: Moving a picture box

    You have a hot spot on the picture box.A hot spot is nothing else but two variables X, Y. So if you have a card of WidthXHeight, you have a Hot Spot at the center, so X= Width/2+Left and...
  3. Replies
    60
    Views
    1,226

    Re: hao to call Sqlite3.dll with cdecl?

    Thanks, Trick.
    @Arnoutdv, is any ready to use dll, or I have to compile one?
  4. Replies
    60
    Views
    1,226

    Re: hao to call Sqlite3.dll with cdecl?

    1. For SQLITE3, the sqite3 exec functions get a call back. Can I pass a vb6 module's sub or function? I have to prepare it with FAR_PROC function ?
    ...
  5. Replies
    60
    Views
    1,226

    Re: hao to call Sqlite3.dll with cdecl?

    Very Good. Supposed I want to call with a parameter, or two (as long, say pointers to anything). Trick show the way to call a function from asm, but without passing something to it. Alternative I can...
  6. Replies
    60
    Views
    1,226

    Re: hao to call Sqlite3.dll with cdecl?

    I can't understand your answer wqweto. Ok I know the scope of this thread is for trampolines for loaded functions. My word was for functions that we prepare in memory, say with cdecl convention call,...
  7. Replies
    60
    Views
    1,226

    Re: hao to call Sqlite3.dll with cdecl?

    I would like to see an example, where we prepare an execution buffer, adding machine code and a pointer to a vb function, say in a module, so when we call that execution buffer, the machine code call...
  8. Replies
    5
    Views
    320

    Re: Another json solution written for VB6

    I run some tests, only when exponent value is more than the VB6 can handle break, return null object (typename Nothing).
    If we have same keys the last value change the earlier one.
    The assignpath...
  9. Replies
    60
    Views
    1,226

    Re: hao to call Sqlite3.dll with cdecl?

    Check this https://www.vbforums.com/showthread.php?889536-SqLite3-Win10-Demo-Using-winsqlite3-dll
    for using Sqlite, in Windows 10.
  10. SqLite3 Win10 Demo - Using winsqlite3.dll

    I found some work about the using of winsqlite3.dll, in VBA for Excel, and was not completed. First I did some changes for using it in VB6. I did some checks and found some errors i the old...
  11. Re: how to read Excel workbooks without office excelapplication,without drives

    You did so much good work and I appreciate that.
    I have a question about BIFF12, you can export images from that?
  12. Replies
    5
    Views
    320

    Version 3

    The new version 3 handle big numbers. (also some bugs removed)
    In the code posted in #1. I have two more tests. In my computer the decimal separator is "," so this version handle perfect big numbers...
  13. Re: how to read Excel workbooks without office excelapplication,without drives

    I have code to open excel files xlsx, but I made for specific files from Inventor2, with images, so the code isn't universal.
    The xlsx files are zip files with xml files inside (and maybe jpg files...
  14. Replies
    10
    Views
    317

    Re: Writing a card game

    Look this. You can use png files and here is a program to move it around form.
    https://www.vbforums.com/showthread.php?889287-Paint-PNGs-via-DrawIconEx()
  15. Re: Display Unicode Chess Symbols in Text Boxes

    Arial Unicode MS has these ♙♘♗♖♕♔ ♟♞♝♜♛♚
    I copy these from my chess program written in M2000 (a language which is written in VB6).
    You have to use Krool's unicode controls, if you prefer textboxes....
  16. Replies
    5
    Views
    320

    Re: Another json solution written for VB6

    Ok.
    Module1 has tests only. The classes used without a module.

    Ok the vbp is loaded now with the right paths
  17. Replies
    5
    Views
    320

    Another json solution written for VB6

    The code below has two classes, a JsonArray and a JsonObject, so we can make json objects starting from an object or an array. Parser included in both objects. Also the parser isn't recursive. The...
  18. Re: VB6 (RC6) Slider-Widget with Auto-Vert/Horz-Switching

    I made some changes, because your very good example, draw both fish and arrow:

    At cwSlidder:
    Public NoArrow As Boolean
    In same class at W_Paint:

    If Not NoArrow Then Cairo.Theme.DrawTo CC,...
  19. Replies
    2
    Views
    13,856

    Re: VB6 IDE Linker AddIn

    I get the files from git, and finally i have a bin file with the 3 files:
    sqlite3win32.dll
    sqlite3win32helper.cobj
    sqlite3win32stubs.cobj
  20. Replies
    2
    Views
    13,856

    Re: VB6 IDE Linker AddIn

    I get a message
    LINK : fatal error LNK1181: cannot open input file "KERNEL32.LIB"
    I found the KERNEL32.LIB so I put this
    C:\Program Files (x86)\Windows...
  21. Re: VB6 - QUESTION - Is it possible to add tooltiptext to individual items in a treev

    As I post here
    https://www.vbforums.com/showthread.php?698563-CommonControls-(Replacement-of-the-MS-common-controls)&p=5499670&viewfull=1#post5499670
    in CreateToolTip need this line to set wrapping...
  22. Replies
    22
    Views
    1,193

    Re: Paint PNGs via DrawIconEx()

    Rotation? Using GDI+ we can rotate and resize a png at draw time preserving transparency
  23. Replies
    2
    Views
    407

    Re: XmlMono Class

    XmlMono2
    This has more methods. I use it for extraction data from excel files (xlsx).
  24. Re: CommonControls (Replacement of the MS common controls)

    I have the solution for unicode tooltips. This tested for command button control.

    I use from Elroy some routines, and I found a way (using mouse tracking) to enable/disable the tooltip. Also in...
  25. Replies
    35
    Views
    14,980

    Re: Github For M2000 Interpreter

    Using SQLITE3, from M2000 Interpreter:
    Need the ODBC Driver 32bit from here http://www.ch-werner.de/sqliteodbc/
    https://github.com/M2000Interpreter/Environment/releases/tag/Ver10%3B0Rev8


    ...
  26. Re: [RESOLVED] Special sorting/ordering problem

    I understand what I wrote, and why. It was a message to initiate a discussion about the "code opening" of RC5, now RC6. I couldn't accuse anything for a close to me and for everyone, piece of a...
  27. Re: [RESOLVED] Special sorting/ordering problem

    Olaf, my spirit was to trigger you to answer the expected answer; So now honestly I believe that there is no such a patent or any other violation in your code. This is my thought (or believe) (we...
  28. Re: [RESOLVED] Special sorting/ordering problem

    Sorry, but i start programming at a time without indentation. For times to times when I want to revise my code I pass the proper indentation. I am fun of ctrl+F (is the most used keystroke in vb6...
  29. Re: CommonControls (Replacement of the MS common controls)

    @Mith,
    Expose your idea, for someone like me to include it in an embedded fashion use of Krools controls. So then I can place the code to any control I wish to include a Unicode tooltip.
  30. Re: [RESOLVED] Special sorting/ordering problem

    @Karl77,
    My second post triggered from Olaf. He gave a solution that i thought was not proper for an exercise. So you say that this was not an exercise. My first post is more universal. You have to...
  31. Re: CommonControls (Replacement of the MS common controls)

    I am waiting for the new version with ToolTextTipW
  32. Re: Special sorting/ordering problem

    Sorting not needed if we get the data as is always, and this is the solution:



    Dim where
    For j = LBound(Lines) To UBound(Lines)
    LastRun = (i = ToDoCount)
    If...
  33. Re: Special sorting/ordering problem

    I don't want to solve your exercise but I have to give you some tips:
    1. Make the right key before you do the sort job.
    2. Parents must be uinque, so you must have a second list, for parents, to...
  34. Replies
    22
    Views
    1,193

    Re: Paint PNGs via DrawIconEx()

    You can use AutoRedraw=True, for double buffer. So using Refresh at specific time we can make animations.
  35. Re: CommonControls (Replacement of the MS common controls)

    I start using Crool's controls, and I found some not just as I expect. Tooltips are not unicode.

    In my form I use Greek letters. My VB6 IDE is in a Windows 64, Greek is primary language. Also the...
  36. Replies
    2
    Views
    407

    Re: XmlMono Class

    Revision 2
    I forgot to unclude numbers and period, hyphen and uderscore for names
  37. Replies
    2
    Views
    407

    XmlMono Class

    I am working on some exports from Autodesk Inventor, as xlsx files. So I start to program in Vb6 to make something to handle these xlsx files (without using excel as object). To read xml files from...
  38. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Check my RecDir class, https://github.com/M2000Interpreter/Environment/blob/master/RecDir.cls
    I use this for my own control for files. When we see something (a folder's items) and click for any...
  39. Re: VB6 Question: Is there a method of reading an embedded image in a DLL using GDI+?

    If you have the address of a Png or ico file in memory it is very easy to display it on any hdc (from a picture1.hdc, or form1.hdc)...
  40. Re: Send Commands To CMD Window (without sendkeys)?

    Get this file: https://github.com/M2000Interpreter/Environment/blob/master/ShellPipe.cls
    And this file: https://github.com/M2000Interpreter/Environment/blob/master/SPBuffer.cls

    These are the...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width