Search:

Type: Posts; User: Arnoutdv

Page 1 of 13 1 2 3 4

Search: Search took 0.27 seconds.

  1. Re: How do I change my string permute class so that it handles strings longer than 1

    Maybe you can use something like the SoundEx algorithm:
    https://en.wikipedia.org/wiki/Soundex

    Sample:
    https://stackoverflow.com/questions/1607690/finding-similar-sounding-text-in-vba
  2. Replies
    2
    Views
    175

    Re: 3D surface/grid from picturebox

    Do you have a 3d chart component?
    If so the picture can be used as a height map.
    The x,y coordinates are the same as the picture.
    The whiteness can be used as the height
  3. Re: Any DataGrid user control support right to left and alternative row color?

    The vbFlexGrid by Krool supports owner drawing and it comes with source code.
    You can find in the codebank
  4. Re: Show black screen or hide forms when screen recorder softwares detected

    You can search the forum for getting a list of active processes.
    I donít know whether itís possible to disallow a screen grabber to get a screenshot from your application only
  5. Replies
    104
    Views
    4,912

    Re: VB6 Web Site/App Server

    And if a product is abandoned then the future is also not clear.
    See the multiple threads about commercial components which are not maintained/updated anymore.

    Especially for freeware, enjoy it...
  6. Replies
    104
    Views
    4,912

    Re: VB6 Web Site/App Server

    If you use multiple commercial controls, which are not open source and are not maintained anymore.
    Are they future proof? As long as the OS and development platform supports them.
    Is open source...
  7. Re: Show black screen or hide forms when screen recorder softwares detected

    Users can also take a screenshot using their phone camera, so just know thatís always possible to capture sensitive information
  8. Re: VB6 Add Excel sheet to workbook if sheet doesn't exist already

    How do you rename the sheets?
    You can address them by the index.



    Do While oWB.Sheets.Count < 3
    oWB.Sheets.Add
    Loop

    For i = 1 To 3
  9. Replies
    2
    Views
    162

    Re: Shape object properties

    Not that I'm aware off
    There is a Shape alternative by Eduardo- in the CodeBank. It also supports more shape styles....
  10. Re: VB6 Add Excel sheet to workbook if sheet doesn't exist already

    The Workbook has a property .Sheets.Count this can be used to check how many worksheets you have to add.
  11. Re: I am getting either the Errors in ListView1_Click Event

    One option is to use Excel Automation, as you already tried

    The other option is to treat the Excel as if it's a ZIP file.
    Extract the "xl\workbook.xml" to memory and parse the XML....
  12. Replies
    4
    Views
    232

    Re: Printing in Doc

    Can you explain DOS?
    Is it the command shell running on Windows or is it really a computer running DOS as it's main OS?
  13. Replies
    11
    Views
    401

    Re: max size of binary files to split

    Just out of curiosity, what kind of data of 50MB do you store in your database?
  14. Replies
    11
    Views
    401

    Re: max size of binary files to split

    Then again the StrConv creates a string double the size of the byte array.
    And storing >100MB strings in a memo field, why??
  15. Replies
    11
    Views
    421

    Re: Adding VB6 OCX to VB.Net Windows form

    Are you referring to the components like vsFlexGrid 6 and vsReport 6?

    When VideoSoft was bought/changed to ComponentOne they have released major updates v7 and v8 (latest update in 2005)
    For most...
  16. Re: I am getting either the Errors in ListView1_Click Event

    Do you only want the names of the sheets in an Excel file?

    An XLSX file is just an ordinary ZIP file with a folder structure and a bunch of XML files.
    If you rename a .XLSX file to .ZIP then use...
  17. Replies
    20
    Views
    484

    Re: Nested Collection Iterations

    My, in the meanwhile, quite old code for a hierarchical tree structure.
    Nothing fancy, does it's job ;-)

    The Tree class

    ...
  18. Re: Creating subset Collection of objects

    This what always used without thinking about it.
    I only ever have collections which have the same datatype.
    Most often with a mother Class and child Classes
  19. Re: Win10/11: How to position a form to the left edge of the desktop?

    See this recent thread about the exact same topic:
    https://www.vbforums.com/showthread.php?894352-RESOLVED-Position-form-at-the-top-left-corner-of-the-screen-in-Windows-10
  20. Re: Creating subset Collection of objects

    To my knowledge you can add anything to a collection and they don't have to be of the same type for a single collection.
    So you can add some primitives and then add a collection to the collection....
  21. Re: I want to disable the action of ctrl + alt + del ??

    What kind of tool are you making?
    Did you read the links about kiosk mode in Windows?
  22. Replies
    9
    Views
    352

    Re: pdf with button

    I hope you get this working.
    Maybe next time also mention the components you use!
  23. Re: how to write in excel file of sql query result

    You are still not giving much information.

    Which database are you talking about?
    Do you actually need to create it from a stored procedure or can you also do it with an additional program...
  24. Re: I want to disable the action of ctrl + alt + del ??

    I don't whether it is still possible to do from within a VB6 application, back in the days of W95/98 it was possible.
    Nowadays Windows has an option for this called Kiosk mode:...
  25. Replies
    9
    Views
    352

    Re: pdf with button

    Do you use a PDF printer driver? Or do you generate the PDF yourself?
  26. Replies
    10
    Views
    264

    Re: numerical analysis

    I meant the function isn't part of VB6 itself.
    And someone else wrote it already for you

    It would be nice if you named the source, which is QBasic listing from a book:...
  27. Replies
    9
    Views
    352

    Re: pdf with button

    Is this somehow related to VB6 programming?


    Adding buttons to a PDF:
    https://www.google.com/search?q=add+action+button+to+a+pdf
  28. Replies
    11
    Views
    401

    Re: max size of binary files to split

    If the files are really binary files then don't use strings to store them, but use byte arrays.
    A string is a unicode representation of data, 2 bytes per 'character' . A byte array has just a single...
  29. Replies
    10
    Views
    264

    Re: numerical analysis

    There is no function to do this. You need to write something yourself or find an external library.

    There is an older thread with some references to eigenvectors...
  30. Re: setting RecordsetClone.RecordCount in a form in code

    If it's an illegal reference then this won't work.
    I think you have to rely on error trapping
  31. Re: Out of Memory error while loading Multiple Instance of a Form

    But there are just so many GDI resources an application can use.



    I don't know what the limit is, but in a MDI project I used this:


    Private Const MAXGDIOBJECTS = 8500 ' 85% max

    Private...
  32. Re: Out of Memory error while loading Multiple Instance of a Form

    Why do you want to load a new form on every tick of the Timer?
    You can't have hundreds of forms open at the same time.



    Option Explicit

    Private Sub Command1_Click()
    If Timer1.Enabled =...
  33. Replies
    2
    Views
    196

    Re: How to make an ICS file

    An ICS file is just simple text file.
    The file can contain multiple events, each starting and ending with
    BEGIN:VEVENT
    END:VEVENT

    DTSTAMP: is the date time created YYYYMMDDTHHMMSS
    DTSTART:...
  34. Replies
    3
    Views
    208

    Re: insert value in html combobox and click

    Then ask for a datafeed instead of page grabbing
  35. Replies
    3
    Views
    208

    Re: insert value in html combobox and click

    Have you contacted them whether you are allowed to get this data?
    It all looks like data on a person level, don't think you should be allowed to just scrape it.
  36. Re: Can't see mapped network drives from VB6

    Jup, I use the same fix/registry setting on my company laptop for years:
    https://docs.microsoft.com/en-us/troubleshoot/windows-client/networking/mapped-drives-not-available-from-elevated-command
  37. Replies
    6
    Views
    370

    Re: Fixed Length of a string

    You can use the Format function for this


    s = Format("AA","!@@@@")
    Debug.Print s, Len(s)
  38. Re: I want to ask the user to login only English text ??

    Then place a label above the textbox with it's caption "Only English allowed"
    But you already asked the same question in a previous thread.
  39. Replies
    6
    Views
    270

    Re: user choose option

    Yes, it's a scripting language. It doesn't do User Interfaces.

    https://stackoverflow.com/questions/923503/how-to-create-options-dialog-with-vbscript
  40. Replies
    6
    Views
    270

    Re: user choose option

    Then your question belongs in the "ASP, VB-Script" sub forum.
    https://www.vbforums.com/forumdisplay.php?4-ASP-VB-Script

    I really don't know how to show a user interface using VBScript.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width