Search:

Type: Posts; User: Arnoutdv

Page 1 of 13 1 2 3 4

Search: Search took 1.03 seconds.

  1. Replies
    2
    Views
    87

    Re: scrollbars not visible

    Due to a W10 update:
    https://www.vbforums.com/showthread.php?891391-RESOLVED-Blank-vertical-scroll-bar-after-Windows-10-update
  2. Replies
    25
    Views
    16,339

    Re: Pure VB6 TreeView Control

    If you had read the rest of the thread you would have seen that checkboxes are not implemented.

    The latest version can be found here:...
  3. Replies
    4
    Views
    142

    Re: Listview Question

    Have you checked the code I posted?



    Private Sub ListView1_ItemClick(ByVal Item As MSComctlLib.ListItem)
    Dim lSubItem As Long
    Text1(0).Text = Item.Text
    For lSubItem = 1 To 4
    ...
  4. Replies
    6
    Views
    212

    VS 2019 Re: Save on Access Database

    You can not store a MDB file in a resource file and access it without extracting it.

    Why not store the file in AppData folder?...
  5. Replies
    3
    Views
    120

    Re: display sheet in form

    Please provide more information.
  6. Replies
    7
    Views
    172

    VS 2019 Re: Defender is flagging my application

    An update of the virus database and maybe some newly added heuristics
  7. Replies
    7
    Views
    172

    VS 2019 Re: Defender is flagging my application

    You mean by "delete" to delete the virus/trojan from the the file?
    It's a false positive, so there is nothing to delete.
    The scanner doesn't really find a virus/trojan, but only some fingerprints...
  8. Replies
    4
    Views
    142

    Re: Listview Question

    Shouldn't be to hard should it?


    Option Explicit

    Private Sub Form_Load()
    Dim lvItem As ListItem
    Dim lRow As Long, lCol As Long

    With ListView1
  9. Re: CHECK if in dir are present 2 files, else msgobox

    So if it fails the file is not present..
  10. Replies
    13
    Views
    410

    Re: How much memory is taken up by an array?

    Valid point.
    Then using the given information you can quite simple do a sum on the size of the strings in the string array adding the the overhead to have quite a reasonable estimation. If you...
  11. Re: Check item in flexgrid with ADO field items

    In your loop your setting the current .Col after the compare statement.
    You also need to set the .Row property
    What is s_MySQL_Algemeen!velden?
    Is the same for every column?

    Better use the...
  12. Replies
    13
    Views
    410

    Re: How much memory is taken up by an array?

    Is there specific need to know exactly how much memory is in use by the arrays in your application?
    What is your goal?
  13. Replies
    13
    Views
    410

    Re: How much memory is taken up by an array?

    Try the Len() and LenB() methods and check the differences
  14. Re: Cannot debug 'Subscription out of range error'

    Ah clear, I'm not familiar with VBA specific functions and methods.

    But even then you can not concatenate variables with references.
    Or is this also possible in VBA?


    Dim r As Range
    ...
  15. Re: Cannot debug 'Subscription out of range error'

    It stores the range text specification in a variable.
    This should be a string variable, that's what inputbox returns
    Then you use the range specification in the Range object as a parameter

    Like...
  16. Re: Cannot debug 'Subscription out of range error'

    You first ask for a range, which is stored in r (a range variable)
    Then I think the code should be the following


    a(i, j) = aWb.Sheets("Sheet1").Range(r).Cells(j, 1)
  17. Re: Problem with ActiveX Controls (level: beginner; problem: very easy!!!)

    Maybe this:
    https://www.freetutes.com/learn-vb6-advanced/lesson13/index.html
  18. Re: Adjust Textbox size to Cursor(carat) Position

    You could use a Label control for this.
    Set the .AutoSize property to True
    Make sure it has the same font as your Text control.
    Assign the text to the .Caption property of the Label.
    Then check...
  19. Thread: Rotated text

    by Arnoutdv
    Replies
    33
    Views
    717

    Re: Rotated text

    Maybe this code sample is of any help to you:
    http://www.vb-helper.com/howto_center_rotated_text.html

    And another sample on VBForums with some explanations:...
  20. Re: Problem with ActiveX Controls (level: beginner; problem: very easy!!!)

    Start looking for tutorials about creating a usercontrol using VB6.
    https://www.dreamincode.net/forums/topic/134432-create-own-user-control-basic-steps/
  21. Replies
    13
    Views
    410

    Re: How much memory is taken up by an array?

    The value 0 takes also space, so yes
    For an array of strings the size is unknown until there are elements in the array.

    A long is 4 bytes, a dynamic string has a dynamic size.
  22. Replies
    9
    Views
    354

    Re: get data from html table

    But does it work??
    What do you expect from us?
  23. Replies
    9
    Views
    354

    Re: get data from html table

    What have you done so far?
  24. Replies
    2
    Views
    322

    Re: XML Class to read & write

    Menu option "Project" -> "References"
    Create a reference to "Microsoft XML, v6.0"



    Private Sub Command1_Click()
    Dim oXML As MSXML2.DOMDocument60
    Dim oNode As MSXML2.IXMLDOMElement
    Dim...
  25. Replies
    8
    Views
    225

    Re: Open file with specific application

    If the .jsx extension is not exclusively registered to be openend with Photoshop then I think you will need to search both Program Files folders for "Photoshop.exe"
  26. Replies
    12
    Views
    393

    Re: print list1 four columns

    This is air code, untested:


    Dim aLine() As String
    For i = 0 To List1.ListCount - 1
    List1.ListIndex = i
    ' The Text is delimited with a Tab
    aLine = Split(List1.Text, vbTab)
    ...
  27. Replies
    1
    Views
    85

    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.
  28. Thread: TwinBasic

    by Arnoutdv
    Replies
    125
    Views
    9,735

    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.
  29. Replies
    3
    Views
    190

    Re: Passing UDT to a form...

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

    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..
  31. Replies
    36
    Views
    849

    Re: .txt files

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

    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...
  33. Replies
    36
    Views
    849

    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...
  34. Replies
    36
    Views
    849

    Re: .txt files

    I assume there is a typo in the first line?
  35. Replies
    36
    Views
    849

    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?
  36. Replies
    4
    Views
    169

    Re: Listbox control

    I think it's related to the "Sort a text file" topic.
  37. 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 = ?")...
  38. Replies
    4
    Views
    169

    Re: Listbox control

    According to me it's 32K

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

    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?
  40. Replies
    7
    Views
    287

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



Click Here to Expand Forum to Full Width