Search:

Type: Posts; User: DaveDavis

Page 1 of 10 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    3,287
    Views
    1,089,127

    Re: CommonControls (Replacement of the MS common controls)

    What is PropDC representing and purpose? I am confused with Printer.hdc
  2. Re: Krool's CommonControls cut out for Onesie-Twosie use

    We have to refer back to Krool's original work because he apply updates and bug fixes from time to time.
  3. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Yes. work as EXPECT. The hot tracking cue will shift to new mouse-on cell after selection, not the current editing cell because mouse is no more on last editing cell...It could confuse user on which...
  4. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    After picking a dropdown ComboBox item, focus goes to mouse Cell, should stay at last dropdown cell, logically.
  5. Re: Transform your form in YingYang with transparency

    Can you draw in GDI+ to have antialiasing? thank you.
  6. Replies
    5
    Views
    390

    Re: VB6 FileSystemObject query

    Other than others said, try to create a 'guest' or 'user' account in your Lenovo PC and your current account in Lenovo PC has a password protected...
  7. Re: Passing UDT as variant, for saving/loading UDTs

    I just done some fresh code in Serialize and Deserialize in C#:


    private byte[] StructureToToByteArray<T>(T structure) where T : struct //Serialize
    {

    //var size =...
  8. Re: Drawing bitmap to printer based Enhanced Metafile after latest windows update 03-

    Self deleted.
  9. Replies
    17
    Views
    718

    Re: Print to specific PDF file name

    Can this module be used as common function to hook other APIs? e.g. hook TextBox DrawTextA/W API so that we can print colorful text?
  10. Re: Passing UDT as variant, for saving/loading UDTs

    I suggest you read "http://sandsprite.com/CodeStuff/Understanding_UDTs.html"
  11. Replies
    17
    Views
    718

    Re: Print to specific PDF file name

    What is the purpose or principle of mReplaceAPI?

    easy understand...
  12. Re: Passing UDT as variant, for saving/loading UDTs

    Classic summary, thank you~
  13. Replies
    5
    Views
    572

    Re: Find string in string[]

    Thank for introducing the tools. The string[] array has only few hundreds items, I have tested there're no significant differences.

    I will use option #2 because it is simple and has .NET taste.
  14. Replies
    5
    Views
    572

    [RESOLVED] Find string in string[]

    C# is a powerful tool, what I should choose to find index of a string in a string[] array:

    string[] MyStrings = new string[6] { "test1", "test2", "test3", "test4", "test5", "test6" };

    ...
  15. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    I suggest a public enum and Format$ with an optional separator string "-" or "/":


    Public Enum DateFormatEnum

    YMD = 0 'YYYY-MM-DD
    MDY = 1 'MM-DD-YYYY
    DMY = 2 'DD-MM-YYYY
    ...
  16. Re: How to delete my Rows in 2-D Array efficiently?

    OK. I figured out. but as jmcilhinney said, Array.Copy can't eliminate for...loop completely, but the loop can reduced to 1/RowCount times.
  17. Re: How to delete my Rows in 2-D Array efficiently?

    I thought I can use Array.Copy to copy all bottom Rows at new Index, but haven't yet figured out.
    But If delete the columns, then I am accomplished to use Array.Copy to do the job:


    //for (int...
  18. [RESOLVED] How to delete my Rows in 2-D Array efficiently?

    I have an 2-D array, the structure is Data[Cells, Rows] as screenshot.
    When I remove Row #1, Row #2 and followings will move up. I use for...next loop and it works fine.
    But how to manipulate this...
  19. 5.0 Re: NET 5.0 got DllImport CS0246 error

    OK.
    I recreate the project, then I see DllImport is intellisensed.
    First touching NET CORE gives me a lesson, but it is good to learn something. Thank you everyone.

    Edited: I replace the...
  20. 5.0 Re: NET 5.0 got DllImport CS0246 error

    Intellisense is nothing when I am keying in DllImport; The NET Core is different from Winform NETFramework...But sure something is wrong with what I am doing...
  21. 5.0 [RESOLVED] NET 5.0 got DllImport CS0246 error

    First touch NET 5.0, but I got CS0246 error, don't know what is the reason.
    Refer to screenshot.
  22. Re: Why I can't connect to SQLITE db3 with Password?

    OK. I got right answer on stackoverflow.
  23. Re: Why I can't connect to SQLITE db3 with Password?

    It is a slightly good news...How to find the compiled System.Data.SQLite with SEE support on internet? Is a simple dll or pakage?
  24. Re: Why I can't connect to SQLITE db3 with Password?

    No wonder failed ONLY with password protected db3 database.
    2000USD for license? I can't afford. What is workarounds to open an encrypted db3?
  25. Re: Why I can't connect to SQLITE db3 with Password?

    Look like it is license problem.

    https://inotgo.com/imagesLocal/202107/08/20210708205146882e_6.png
  26. Re: Why I can't connect to SQLITE db3 with Password?

    possible it is not the path issue, I think. With the same code, I removed the db3's Password and password string in connection string, then everything is back to OK.
    I see debug window reporting:...
  27. [RESOLVED] Why I can't connect to SQLITE db3 with Password?

    It's successful to connect and operate myDB.db3, but If myDB.db3 has password protected, I can't connect. What is wrong?



    SQLiteConnection sqliteConnection = new SQLiteConnection("Fail If...
  28. Re: System.InvalidCastException: System.Data.SQLite.SQLiteDataReader cast to byte[]

    Thank you. (byte())reader["ColumnName"] solve my problem.
  29. [RESOLVED] System.InvalidCastException: System.Data.SQLite.SQLiteDataReader cast to byte[]

    My Sqlite DB column ImageBlob is Image type, can be NULL. When the image is NULL, I get System.InvalidCastException. How to check whether it is NULL before doing the cast?
    if (reader!= DBNull.Value...
  30. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Remove your attachment, the screenshot is 10xxx Grid.
  31. Re: [RESOLVED] Replacement for StrConv(vbFromUnicode)

    For 2nd argument, try to use:
  32. Re: [RESOLVED] Replacement for StrConv(vbFromUnicode)

    StrConv Replacement? LCMapStringEx API is the core.
  33. Replies
    1
    Views
    480

    Re: [RESOLVED] ICSharpCode.TextEditor theme

    No clue.
    I just mark it resolved temporarily.
  34. Replies
    1
    Views
    480

    [RESOLVED] ICSharpCode.TextEditor theme

    I noticed there're some software using ICSharpCode.TextEditor with nice theme. How to apply such Dark theme?

    Thank you.
  35. Replies
    182
    Views
    18,198

    Re: Windows 11 coming soon

    I think SSD plays a bigger role instead of CPUs. Speed of I/O is the bottleneck in those days.
  36. Replies
    182
    Views
    18,198

    Re: Windows 11 coming soon

    On my VMware, I used 10+ minutes to complete the installation, very fast!
  37. Replies
    182
    Views
    18,198

    Re: Windows 11 coming soon

    VMware Workstation 16 Player supports many versions of Windows, They are not what I installed.
  38. Replies
    182
    Views
    18,198

    Re: Windows 11 coming soon

    OK, I got it. I should use the 'Windows 10" instead of the 'Windows 10 x64' or 'Other' options in VMware Workstation 16 Player.
  39. Replies
    182
    Views
    18,198

    Re: Windows 11 coming soon

    Thanks for the information.
    In case I miss something, Anyone on VBForums has done Win11's drivers installations on VMware?
  40. Replies
    182
    Views
    18,198

    Re: Windows 11 coming soon

    Since VMware can't install the bluetooth/ThumbDrive/Ethernet etc drives, I can't install VB6 for testing though I can get those installation file through share folders. I am sure I miss something...I...
Results 1 to 40 of 368
Page 1 of 10 1 2 3 4



Click Here to Expand Forum to Full Width