Search:

Type: Posts; User: georgekar

Page 1 of 13 1 2 3 4

Search: Search took 0.13 seconds.

  1. How To Place a Nice ToolTip in TextBoxW

    In a module modToolTip.bas copy this. You can update any control, just do the same.


    Private Type TOOLINFO
    lSize As Long
    lFlags As Long
    hWnd As Long
    lId ...
  2. Re: Krool's CommonControls cut out for Onesie-Twosie use

    Elroy,
    The resource file missing from examples. So if anyone compile one example, gets the wrong idea about the control.
    The resource file has an AVI section, I don't now why, I just can't remember...
  3. Replies
    38
    Views
    13,321

    Re: Unicode Textbox

    There is also a nice tooltip. Here is a form for a password. I use the same form for Message Box, for Input Box, for Password Input. This is the messagebox.frm. For curiosity just look the code....
  4. Replies
    38
    Views
    13,321

    Re: Unicode Textbox

    You don't have to use these in an ocx.
    Here is a program I made with selected controls.

    Its very stable in the final exe. Also if you are a fast saver (means SAVE always your work, before a test...
  5. Replies
    4
    Views
    489

    Re: Make Seamless tiles

    Μy filename is ΑΝΥΝΑΜΕ (Greek letters), so you use non Unicode textbox.
    Also the 3d title use a font substitute;
  6. Replies
    4
    Views
    489

    Re: Make Seamless tiles

    Check the VB6 program there:
    https://www.vbforums.com/showthread.php?802997-Advance-Scrolliodo-with-Jpg-encoder-class&p=4921119&viewfull=1#post4921119

    file
  7. Replies
    2
    Views
    402

    Re: A clsObjectExtender new version

    Version 2.0
    I forgot about BSTR, when they are byvalue. We have to preserve original pointer, because the caller has to free this.
  8. Replies
    2
    Views
    402

    A clsObjectExtender new version

    From 2005 the clsObjectExtender was a fine class for late binding objects with events. But how we can use if we have our own object which raise events and we want that object to be present on a...
  9. Replies
    13
    Views
    1,671

    Re: [VB6] In memory convert to JPEG using WIC

    One VB class for jpg:
    https://github.com/M2000Interpreter/Environment/blob/main/cJpeg.cls
    Try this
  10. Re: Pratt parsers and the building blocks of a scripting language.

    @Niya
    I check the 11 oct version (a use of a revision number will be better).
    Handling of two forms was bad, so you can get an idea to fix it:

    You should update with these:

    In Private Sub...
  11. Re: Pratt parsers and the building blocks of a scripting language.

    I found a problem when I run the code. If we set Break in Class Modules, then to avoid the error we have to insert an On Error Resume Next statement in property Item, in class Dictionary.


    Public...
  12. Re: Executing assembly language functions in VB6 using DispCallFunc.

    @Niya
    GetExecCBProc not found in the code above
    Also examples TestAdd, TestSumArray not exist.
  13. Replies
    10
    Views
    1,007

    Re: Procedure is too large.

    I had this problem with M2000 Interpreter. The solution is simple. Just create some subs and just call them instead using inline code.
  14. Re: [VB6] TrickSound - class for working with audio.

    -----
  15. Re: [VB6] TrickSound - class for working with audio.

    Here is another version of ctlKnob.cls without flickering. Just some fixes I do and now works without flickering.
  16. Re: hao to call Sqlite3.dll with cdecl?

    For Windows 10 I have this in codebank:
    https://www.vbforums.com/showthread.php?889536-SqLite3-Win10-Demo-Using-winsqlite3-dll

    I dodn't know if the internal SQlite3 of Windows 10 can use password...
  17. Replies
    10
    Views
    1,382

    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....
  18. Replies
    47
    Views
    4,915

    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...
  19. Re: hao to call Sqlite3.dll with cdecl?

    Thanks, Trick.
    @Arnoutdv, is any ready to use dll, or I have to compile one?
  20. 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 ?
    ...
  21. 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...
  22. 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,...
  23. 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...
  24. Replies
    5
    Views
    1,442

    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...
  25. 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.
  26. Replies
    1
    Views
    1,356

    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...
  27. 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?
  28. Replies
    5
    Views
    1,442

    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...
  29. 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...
  30. Replies
    10
    Views
    1,382

    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()
  31. 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....
  32. Replies
    5
    Views
    1,442

    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
  33. Replies
    5
    Views
    1,442

    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...
  34. 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,...
  35. Replies
    2
    Views
    17,675

    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
  36. Replies
    2
    Views
    17,675

    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...
  37. 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...
  38. Replies
    31
    Views
    5,045

    Re: Paint PNGs via DrawIconEx()

    Rotation? Using GDI+ we can rotate and resize a png at draw time preserving transparency
  39. Replies
    2
    Views
    1,134

    Re: XmlMono Class

    XmlMono2
    This has more methods. I use it for extraction data from excel files (xlsx).
  40. Replies
    3,287
    Views
    1,094,163

    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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width