Search:

Type: Posts; User: Arnoutdv

Page 1 of 13 1 2 3 4

Search: Search took 0.84 seconds.

  1. Replies
    45
    Views
    38,467

    Re: ubound; subscript out of range

    Have a good look at the code.
    In the first line you set the max value of the loop to Ubound of TerminalID.
    In the next lines you are changing the size of the array and the content.
  2. Re: CommonControls (Replacement of the MS common controls)

    Stop polluting every thread with your transparent issues!
  3. Thread: TwinBasic

    by Arnoutdv
    Replies
    65
    Views
    6,349

    Re: TwinBasic

    Never had any problem with any version of W10 for developing VB6 applications.
    My customers also have a wide range of W10 version.
  4. Replies
    3
    Views
    105

    Re: Passing UDT to a form...

    ' Replace
    Public Function getPerson(ByRef lPerson As personStruct)
    ' With
    Friend Function getPerson(ByRef lPerson As personStruct)
  5. Replies
    36
    Views
    528

    Re: .txt files

    How big is the file?
    You mentioned that the file didnít need to be written back.



    How do you deal with the data in your application?
    Because you donít want anything it seems..
  6. Replies
    36
    Views
    528

    Re: .txt files

    ADODB is not a database.
    https://en.wikipedia.org/wiki/ActiveX_Data_Objects
  7. Replies
    36
    Views
    528

    Re: .txt files

    Did you check my post?

    Did you study the sample posted by wqweto?
    His sample can also read CSV files.
    And a reference to Microsoft ActiveX Data Object 2.8 Library, has nothing to do with Access...
  8. Replies
    36
    Views
    528

    Re: .txt files

    With a basic sort on text data the numeric field will not be sorted correct.
    It will be a text sort instead of a numeric sort.

    So for this sample I created an UDT with a numeric variable which...
  9. Replies
    36
    Views
    528

    Re: .txt files

    I assume there is a typo in the first line?
  10. Replies
    36
    Views
    528

    Re: .txt files

    What kind of delimiter is used for your text file?
    Does it need to be written back to disk?

    Can you show the first 10 records/lines of a sample file?
  11. Replies
    4
    Views
    117

    Re: Listbox control

    I think it's related to the "Sort a text file" topic.
  12. Re: RC5 Simplest way to copy table from ADODB to SQLite

    Then you have to assign the CreateSelectCommand to a variable/object.



    With MemDB.CreateSelectCommand("SELECT * FROM country WHERE some_bool = ? AND some_currency = ? AND some_datetime = ?")...
  13. Replies
    4
    Views
    117

    Re: Listbox control

    According to me it's 32K

    https://www.vbforums.com/showthread.php?829737-Listbox-maximum-limit-VERY-IMPORTANT-FOR-ME
  14. Replies
    36
    Views
    528

    Re: .txt files

    You can read the text file in an array and sort the the array.

    You can use ADO:
    http://www.vb-helper.com/howto_ado_load_csv.html

    What is your goal?
  15. Replies
    7
    Views
    202

    Re: MOD operator problems

    That's the problem with floating point number respresentation, calculation and the internal storage in 64 bits.


    ? 7 * 8333.33 - 58333.31
    1.81898940354586E-12
  16. Replies
    7
    Views
    202

    Re: MOD operator problems

    https://stackoverflow.com/questions/9505513/floating-point-modulo-operation


    The algorithm you want, to limit a floating point value between 0 and some modulus n:

    Double fmod(Double value,...
  17. Replies
    7
    Views
    202

    Re: MOD operator problems

    a=58333,31 b=8333,33
    Fix(a / b) -> 6
    b * 6 -> 49999,98
    a - (49999,98) -> 8333,33


    What's your actual question?
  18. Re: In a very large project, how to deal with thousands of interface classes?

    But in real life you would only include the libraries you need.
    Not one big huge library which contains all you will ever need, at least what you can think of right now.

    You would have a math...
  19. Re: Does anyone want to help me with my project

    Oh, it doesn't work for me because I'm not going to install the ShockWave player on my computer.

    But you shouldn't save the data in C:\, use the TEMP directory for it. You can get the location...
  20. Re: Does anyone want to help me with my project

    What is your question, aside from asking for help :-)
  21. Re: how to Draw rounded rectangle by vb6 GDI++?Draw a triangle

    Why not use a polygon?
  22. Re: In a very large project, how to deal with thousands of interface classes?

    Thousands of classes and interfaces?
    What kind of project is this?

    I would normally put classes which are related in a single DLL and in the main project only reference whatís needed.
    Why do you...
  23. Replies
    10
    Views
    254

    Re: [RESOLVED] MxFlexgrid cellbackcolor BLACK

    No, CellForeColor behaves the same, when set to 0 it uses the .ForeColor value


    Option Explicit

    Private Sub Form_Load()
    With MSFlexGrid1
    .Cols = 2
    .Rows = 2
    .TextMatrix(1, 1)...
  24. Replies
    10
    Views
    254

    Re: MxFlexgrid cellbackcolor BLACK

    I think the .CellBackColor = 0 by default, meaning using the .BackColor value
  25. Replies
    10
    Views
    254

    Re: MxFlexgrid cellbackcolor BLACK

    vbBlack or 0 never worked, you have to fake it using RGB(1, 1, 1) like you already did.
    As if the value 0 is meant as "not set at all"
  26. Replies
    15
    Views
    559

    Re: Distibute an EXE without OCX issues

    I have the same.
    I have created a setup package (MSI) for only the OCX and DLLs.
    The (updates of the) application is delivered as a ZIP archive and can be placed wherever the customers like.

    ...
  27. Replies
    40
    Views
    1,044

    Re: Very complicated but perhaps possible!

    Also outdated??

    Sorry, but I don't have clue why it doesn't work for newbie2

    *edit:
    I just tried it in DB Browser for SQLite Version 3.12.1 and it works fine for me too.

    File -> New...
  28. Replies
    40
    Views
    1,044

    Re: Very complicated but perhaps possible!

    Yes he's using RC5, but maybe an older release which predates the minimum SQLite version
    At least version 5.0.68 is needed:
  29. Replies
    11
    Views
    25,788

    Re: Picture Transparency

    This is 14 years old..
  30. Replies
    40
    Views
    1,044

    Re: Very complicated but perhaps possible!

    Which DB browser are you using?
    And which version.

    You are using vbRichClient donít you? Then you canít just download a new sqlite dll.
    Which version of vbRichClient are you using?

    Check the...
  31. Replies
    15
    Views
    559

    Re: Distibute an EXE without OCX issues

    An ActiveX needs to be registered on a computer before it can be used.
    Nowadays SxS is used often.
    Read this for a start:...
  32. Replies
    40
    Views
    1,044

    Re: Very complicated but perhaps possible!

    Oh yes it does:
    https://sqlite.org/windowfunctions.html
    https://www.sqltutorial.org/sql-window-functions/sql-row_number/

    Which version of sqlite do you use?
  33. Replies
    7
    Views
    278

    Re: Which Laptop is best to buy in India ?

    I would never go for a normal HDD, would always pick a SSD
    And also have 16GB instead of 8GB.

    But I can't say anything about the availability nor the market in India.
    I think your budget is the...
  34. Re: Treeview selecting the added node

    The .Add method returns the freshly added node, so you do get the reference.
  35. Re: Treeview selecting the added node

    Shouldn't it be something like this:


    TreeView_Dir_List.SelectedNode = TreeView_Dir_List.SelectedNode.Nodes.Add(OpenFileDialog.SafeFileNames(0))
  36. Replies
    40
    Views
    1,044

    Re: Very complicated but perhaps possible!

    You used the extended sample by szlamany, my SQL knowledge is limited to basic queries.
    I tend to solve more complex operations using code instead of queries.
  37. Re: Treeview selecting the added node

    // Sorry, I posted a VB6 solution, didn't see the topic is in VB.Net //

    2 methods:


    Option Explicit

    Private Sub Form_Load()
    With TreeView1
    .Nodes.Clear
  38. Replies
    40
    Views
    1,044

    Re: Very complicated but perhaps possible!

    The table name in the detailed sample is "trans"
    Your table is not called "trans" is it?
  39. Replies
    7
    Views
    280

    Re: Crossword Generator?

    Maybe this can give you an head start:
    https://stackoverflow.com/questions/943113/algorithm-to-generate-a-crossword
  40. Replies
    40
    Views
    1,044

    Re: Very complicated but perhaps possible!

    I don't have much time at the moment.
    I will later this day have a look at it
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width