Search:

Type: Posts; User: DaveDavis

Page 1 of 9 1 2 3 4

Search: Search took 0.27 seconds.

  1. Replies
    3
    Views
    112

    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.
  2. Replies
    3
    Views
    112

    [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" };

    ...
  3. 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
    ...
  4. 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.
  5. 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...
  6. [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...
  7. 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...
  8. 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...
  9. 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.
  10. Re: Why I can't connect to SQLITE db3 with Password?

    OK. I got right answer on stackoverflow.
  11. 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?
  12. 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?
  13. 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
  14. 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:...
  15. [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...
  16. Re: System.InvalidCastException: System.Data.SQLite.SQLiteDataReader cast to byte[]

    Thank you. (byte())reader["ColumnName"] solve my problem.
  17. [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...
  18. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

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

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

    StrConv Replacement? LCMapStringEx API is the core.
  21. Replies
    1
    Views
    433

    Re: [RESOLVED] ICSharpCode.TextEditor theme

    No clue.
    I just mark it resolved temporarily.
  22. Replies
    1
    Views
    433

    [RESOLVED] ICSharpCode.TextEditor theme

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

    Thank you.
  23. Replies
    182
    Views
    16,094

    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.
  24. Replies
    182
    Views
    16,094

    Re: Windows 11 coming soon

    On my VMware, I used 10+ minutes to complete the installation, very fast!
  25. Replies
    182
    Views
    16,094

    Re: Windows 11 coming soon

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

    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.
  27. Replies
    182
    Views
    16,094

    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?
  28. Replies
    182
    Views
    16,094

    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...
  29. Replies
    182
    Views
    16,094

    Re: Windows 11 coming soon

    I have installed win11 on VMware though VMware does't have win11 option yet. But installation is OK. How to install drivers (ethernet card etc)?
  30. Replies
    182
    Views
    16,094

    Re: Windows 11 coming soon

    I have downloaded "PC Health Check" app, it indicated my Acer TravelMate P214 can't support Win11 due to TPM 2.0 is disabled, then I go to BIOS, I see the TPM state is disable, but I can't move...
  31. Replies
    182
    Views
    16,094

    Re: Windows 11 coming soon

    turn on xxx for hardware security in BIOS to get through the test if "unsupported CPU hardware", I heard from someone.

    Edited: I go back of that web page, it called TPM state or fTPM in Advanced...
  32. Re: [VBA] Lambda Syntax - No script control or cheats! Happy for ports to VB6

    "x,y,x^2+y^2)^0.5" error repeats...@loquat
  33. Replies
    4
    Views
    524

    Re: What is this piece of code doing?

    There're many similar codes inside this dll. I extract a simple one for better understanding:



    [CompilerGenerated]
    internal sealed class Class150
    {
    public string string_0;

    ...
  34. Replies
    4
    Views
    524

    Re: What is this piece of code doing?

    It's being marked in [CompilerGenerated], means it was generated by Compiler. Actual code is to define a normal timer and raise a Tick event, right?
  35. Replies
    4
    Views
    524

    What is this piece of code doing?

    I am studying one of MS Office 2019's NET library called NETQuery.dll. There're few codes I don't understand what is the function of Class52 in Reflections.


    public Class52(Class52 class52_0)
    ...
  36. Replies
    5
    Views
    418

    Re: System.Data.SqlCe31 Nuget

    One more question, refer to my screenshot.
    I see there're few references on System.Data.SqlCe31,System.Data.SqlCe35 and System.Data.SQLLite,System.Data.SQLLite2, System.Data.SQLLite3 in one .NET...
  37. Replies
    5
    Views
    418

    Re: System.Data.SqlCe31 Nuget

    Thanks.
    Can I directly copy this System.Data.SqlCe31.dll to my folder then make a reference without installation?
  38. Replies
    5
    Views
    418

    System.Data.SqlCe31 Nuget

    I can't find the nuget for System.Data.SqlCe31. System.Data.SqlCe35 and System.Data.SqlServerCe both can install. Can you help me get this dll? Should I have to install old Microsoft SQL Server...
  39. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    This post by lizano diaz (ID: 5520898) gives the authorization code directly, which violates the authorís intellectual property rights. Admin, Please delete it asap.
  40. Replies
    11
    Views
    1,004

    Re: ITaskbarList No tlb?

    Clean now. Thanks.
Results 1 to 40 of 356
Page 1 of 9 1 2 3 4



Click Here to Expand Forum to Full Width