Search:

Type: Posts; User: Eduardo-

Page 1 of 13 1 2 3 4

Search: Search took 0.34 seconds.

  1. Replies
    4
    Views
    50

    Re: EXCLUDE control from a looping

    If TIPO <> "CDARRIVO" And TIPO <> "CTIPALLOGGIATO" Then
  2. Re: How to Get the Guid, CLSID, of a Control on a Form in Code by vb6

    Add a reference to Typelib Information


    Dim iTLB As InterfaceInfo
    Dim o As Object
    Dim s As String

    Set o = CreateObject("Excel.Application")
    Set iTLB =...
  3. Replies
    208
    Views
    20,334

    Re: https://www.radbasic.dev/

    It used to be, it is said like 6,000,000 people using VB6.
    Now thanks to all the auto-destructive campaign made by MS, and negative people that willingly or unwilling are helping them to vilify VB6,...
  4. Replies
    208
    Views
    20,334

    Re: https://www.radbasic.dev/

    Ahh, then you were talking about your fantasies.
  5. Replies
    208
    Views
    20,334

    Re: https://www.radbasic.dev/

    Where is Olaf's new compiler?
  6. Replies
    27
    Views
    359

    Re: (VB6) Component Documenter

    Ok, attached is a version that can export to JSON, see if you can do anything with it.
    It uses dilettante's JsonBag.
  7. Replies
    27
    Views
    359

    Re: (VB6) Component Documenter

    What do you want to do with the JSON xiaoyao, concrete?
    I could add the JSON export option with some hours work I think, but I still don't see for what.

    It could even work in batch mode, where...
  8. Replies
    27
    Views
    359

    Re: (VB6) Component Documenter

    Yes, I have thought about that after considering xiaoyiao's proposal of exporting to JSON.
    That could be useful to import the data into a third party reporting tool.
    But the point is that the...
  9. Replies
    27
    Views
    359

    Re: (VB6) Component Documenter

    That would be some other tool. This one is only to document.
    But you could write it. The only thing in common would be the use of TLBINF32.DLL.



    I don't think that translating the members and...
  10. Replies
    27
    Views
    359

    Re: (VB6) Component Documenter

    I think I saw it some time ago, I thought it was some modified version of vbAccelerator's ActiveX Documenter (was I wrong?).

    vbAccelerator's program didn't allow to add any further explanation,...
  11. Re: How to change a VB6 Control Type (Designer view) to another type.

    If you upload a project to GitHub using GitHub Desktop program, copy this file on the root of the project (or course, unzipped).
  12. Re: How to change a VB6 Control Type (Designer view) to another type.

    I guess if you open the files, replace vbLF with vbCrLf and then to ensure that you didn't replace them wrongly by replacing again vbCr & vbCrLf with vbCrLf and write the resulting file, the issue...
  13. Re: How to change a VB6 Control Type (Designer view) to another type.

    VB already replaced the Treeview control with a Picturebox, it uses a Picturebox as a generic control to replace controls that doesn't know, after a "could not load" message.

    So you'll have to use...
  14. Replies
    16
    Views
    257

    Re: Combining method for math

    Want some code?


    Dim n1 As Long
    Dim n2 As Long
    Dim n3 As Long

    For n1 = 1 To 10
  15. Replies
    16
    Views
    257

    Re: Combining method for math

    But if it is some kind of homework (from the school?) we would not be doing any good giving it already cooked. You won't learn anything.

    Define three variables and make three for/next for each...
  16. Replies
    27
    Views
    359

    Re: (VB6) Component Documenter

    I don't think that JSON makes sense here since the output formats needed are to be read by humans, not to store or to transmit information.
    I have considered to output to markdown for making...
  17. Re: Visual Basic 4.0 (FACE RECOGNITION) for Windows 3.11

    I realize that it is a hobby for you, and hobbies are passions that don't have to make sense to others.

    But it would be an important contribution if someone comes with code to do face recognition...
  18. Replies
    27
    Views
    359

    Re: (VB6) Component Documenter

    Reserved
  19. Replies
    27
    Views
    359

    (VB6) Component Documenter

    This is a tool to help document ActiveX components.

    181332

    You can import the information from the OCX or DLL file, and if you added the description of each member in the IDE, that will be...
  20. Re: (VB6) SSTabEx: SSTab replacement. Themed and with new features

    Update released:

    2021-05-06 Updated documentation
    2021-04-07 Added property AutoTabHeight.
    2021-04-07 The automatic tab width when Style is set to ssStyleTabStrip or when the control is themed...
  21. Re: Visual Basic 4.0 (FACE RECOGNITION) for Windows 3.11

    And even more incredible if that runs on an XT.

    PS: to find an XT working today would be incredible by itself.
  22. Replies
    16
    Views
    257

    Re: Combining method for math

    What about the order?

    1+2+6 would be considered the same than 2+1+6 or different?
  23. Replies
    13
    Views
    354

    Re: Problems with combo boxes

    Yes, I see. Please check if this one code works better:


    Private Sub Combo1_Click()
    If Combo1.Text = "-" Then
    Select Case Val(Combo1.Tag)
    Case Combo1.ListIndex - 1
    ...
  24. Replies
    13
    Views
    354

    Re: Problems with combo boxes

    The Combo control is very limited in that regard.

    About not allowing to select those items, you can roll back the user action:


    Private Sub Combo1_Click()
    If Combo1.Text = "-" Then
    ...
  25. Replies
    11
    Views
    327

    Re: VB6 Base58 encoding

    It is working for me.
  26. Re: [RESOLVED] Replace the Windos notepad with mine

    Here it is: https://github.com/Planet-Source-Code/tom-moran-iq-notepad-update-11-oct-2007__1-68906

    It is easy to find:
    search in google: planet source code

    The second result goes to...
  27. Replies
    13
    Views
    354

    Re: Problems with combo boxes

    Now it works like this: if the right side of the list exceeds the limit of the primary monitor, it aligns the list to the right of the combo control.

    It will work fine in 99% of cases, because who...
  28. Replies
    18
    Views
    342

    Re: Very Nice,Transparent user control by vb6

    Or:


    Private Declare Function GetDpiForWindow Lib "user32" (ByVal hWnd As Long) As Long

    Private Sub Form_Load()
    MsgBox 100 * GetDpiForWindow(Me.hWnd) / 96 & "%"
    End Sub

    This one...
  29. Replies
    18
    Views
    342

    Re: Very Nice,Transparent user control by vb6

    Private Declare Function GetDeviceCaps Lib "gdi32" (ByVal hDC As Long, ByVal nIndex As Long) As Long
    Private Declare Function GetDC Lib "user32.dll" (ByVal hWnd As Long) As Long
    Private Declare...
  30. Thread: TwinBasic

    by Eduardo-
    Replies
    147
    Views
    12,728

    Re: TwinBasic

    Thanks.
  31. Replies
    208
    Views
    20,334

    Re: https://www.radbasic.dev/

    I realize too, that none of my components would run on Linux or Mac, since they all use Windows APIs, even if COM is simulated.

    And that will probably apply to most other components too.
  32. Replies
    208
    Views
    20,334

    Re: https://www.radbasic.dev/

    The issue of supporting COM along with the goal of being cross-platform is the subject that I understand less of RB (and tB).

    It is not clear to me whether RB is COM based, not COM based, but he...
  33. Re: is it legal to use vb6 enterprise free in 2021 ?

    Yes, no problem, I apologize too.
  34. Re: [VBDOS] Visual Basic For MSDOS Max power of this

    I think you will have more possibilities to imitate old Windows appearance with VB6 than with an older VB version. Or at least use VB3. But people here will be able to help more with VB6 anyway, and...
  35. Replies
    1
    Views
    167

    Re: [vb6] mimic windows 3.11 gui project

    Yes, use an ListView with Appearance set to flat and BorderStyle set to none.
  36. Re: Change “Open For Binary Access” with Private Types to something with Unicode supp

    Sorry, I didn't read your other post with perfect attention, I thought you were only saving the content of a property bag in a normal way.
    Why don't you save everything in the property bag and load...
  37. Re: Change “Open For Binary Access” with Private Types to something with Unicode supp

    Here is code for saving a file with Unicode file name. The sample is for saving text, but can be changed to save a byte array. The API is CreateFileW.
  38. Replies
    9
    Views
    251

    Re: Export text to a web page

    it seems that that doesn't work when the web page is local: https://stackoverflow.com/questions/48940888/using-ie-document-getelementbyid-to-auto-fill-webforms
  39. Replies
    13
    Views
    354

    Re: Problems with combo boxes

    Yes, attached is the sample.
    I added code to do it only when it exceeds the screen width, but for doing it with secondary monitors it would require some adaptation.
  40. Replies
    4
    Views
    229

    Re: Textbox Control

    Change "Ctl.Enabled = False" to "Ctl.Enabled = True"

    But if they are in an array you can do it another way:


    Dim c As Long

    For c = txtSum.LBound To txtSum.UBound
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width