Search:

Type: Posts; User: Eduardo-

Page 1 of 13 1 2 3 4

Search: Search took 0.57 seconds.

  1. Re: Scatter Chart Problem - Hinky Plot Display

    An alias?
  2. Replies
    16
    Views
    634

    Re: Gmail Authentication?

    I think you need Oauth 2.
    I posted a sample here but is is for Dropbox.

    Here to read about Oauth 2 with Google.
  3. Replies
    3
    Views
    163

    Re: win7 and win10 about dpi

    The problem here is that if you develop in one DPI setting and after that you load the same project in another DPI setting, VB scales automatically all the design time properties values (regarding...
  4. Thread: Frame

    by Eduardo-
    Replies
    11
    Views
    411

    Re: Frame

    A project is worth a thousand words
  5. Thread: Frame

    by Eduardo-
    Replies
    11
    Views
    411

    Re: Frame

    Set the TabIndex property of some other control to 0.
    The option button that gets selected must have TabIndex 0 now, and so it gets the focus and then it gets selected.
  6. Re: VB6 crash when AddIn are enabled on start

    Did you install SP6?
  7. Replies
    18
    Views
    563

    Re: After form load, Combo Box is highlighted

    What ComboBox control are you using? I tried to recreate the problem with an standard VB ComboBox but it worked fine.
  8. Re: Change the colors of the MSHFlexGrid Scrollbars

    The scroll bars are drawn with system colors, and there is no API that can change that.
    Only through subclassing you could be able to change the colors by making your own drawing.
    That is not easy...
  9. Re: (VB6) Replicate control interface or encapsulate control into UserControl

    Yes, sorry, I introduced that bug in the recent update. I was testing with that property and left it unintentionally.
    Thank for pointing it out.
    It is fixed now.
  10. Re: (VB6) Replicate control interface or encapsulate control into UserControl

    Ok, I simplified it, please download the new version.
    (it does not requite to manually write the ocx file any more)
  11. Replies
    8
    Views
    460

    Re: 3d Party Graphing Contrls

    Also take a look to Charts controls with GDI+
  12. Re: (VB6) Replicate control interface or encapsulate control into UserControl

    I see three options:
    1) Do what I said and download the latest version.
    2) Learn how to skip a line in the code.
    3) Forget about this utility.
  13. Re: DisplayResolution 2560 x 1440 gives run-time 6 overflow error program made with

    Humm, do not spend too much on a video card, instead perhaps you would prefer to change the whole computer. New processors support 4K with the buit-in video system.
  14. Re: DisplayResolution 2560 x 1440 gives run-time 6 overflow error program made with

    I have a 4K TV attached to the computer as a second monitor, and I do not see any problem to use it as a monitor other than, may be, it is too big, as other already mentioned.

    If there are...
  15. Re: (VB6) Replicate control interface or encapsulate control into UserControl

    Thanks shagratt!
  16. Re: DisplayResolution 2560 x 1440 gives run-time 6 overflow error program made with

    It must be some variables that you declared as Integer. Use Long type instead.

    I don't think that you can fake the resolution to something larger than the monitor that you actually have (at least...
  17. Re: (VB6) Replicate control interface or encapsulate control into UserControl

    It is a mystery why you are getting that error.
    I'm also using SP6 and no other update aside from it.
    I tested on Windows 10/64 bits and XP-SP3/32 bits with VB6-SP6 and I do not get the error.
    ...
  18. Re: VB6 command-line executable sending "result" code back to caller

    Yes, perhaps you would like to add a check to an InIDE function before calling it.
  19. Re: VB6 command-line executable sending "result" code back to caller

    Function GetProcExitCode(ByVal nProcessID As Long) As Long
    Dim h As Long
    Const PROCESS_QUERY_INFORMATION = 1024

    h = OpenProcess(PROCESS_QUERY_INFORMATION, 0, nProcessID)
    ...
  20. Re: Vb6: method or data member not found

    Option Explicit
    Public WithEvents winH As WinHttp.WinHttpRequest
    Private Sub Form_Load()
    Set winH = New WinHttp.WinHttpRequest
    end sub
  21. Re: Vb6: method or data member not found

    ....
  22. Re: (VB6) Replicate control interface or encapsulate control into UserControl

    That's strange, do you have SP6 installed?
    (in case you does) Do you have installed any other update after SP6?

    When you get the error, check the value of iMem.Name to see what property is...
  23. Re: (VB6) Replicate control interface or encapsulate control into UserControl

    Updated.
    Several bug fixes and improvements.



    Thank you!
  24. Re: create a activex used combox and move all methods and properties to this new cont

    I've posted a tool to do that.
  25. (VB6) Replicate control interface or encapsulate control into UserControl

    This a tool intended to ease the work of recreating the interface of a control.

    It creates a *.ctl file with all the basic code.

    It has two options:
    1) Encapsulate the control into the...
  26. Re: i need themed data combo box (manifest used)

    The question is: why do you want to use a datacombo instead of a normal combo?
  27. Replies
    27
    Views
    1,072

    Re: Like the *Friend* Keyword But ...

    I think the is no point in trying to hide a procedure in Office VBA since they are not exposed in a public library AFAIK.
  28. Replies
    27
    Views
    1,072

    Re: Like the *Friend* Keyword But ...

    Hiding a procedure only works for Public methods and they are hided for the outside (not displayed in Intelisense of client projects), then it can be used by components projects. These hidden methods...
  29. Replies
    27
    Views
    1,072

    Re: Like the *Friend* Keyword But ...

    Yes, Friend in a class module has the same scope as Public in a bas module. And?
  30. Replies
    27
    Views
    1,072

    Re: Like the *Friend* Keyword But ...

    I don't see the point guys, what's the final goal, to avoid suggestions at Intellisense? To avoid mistakes of using some class or class member that was intended to be used only by another part of the...
  31. Replies
    15
    Views
    726

    Re: Indirect calling of routines

    My opinion is that a transition to a more OO programming is slow. It is a way of thinking.
    You can start by replacing some UDT with classes. That won't change or improve the code much but you start...
  32. Replies
    15
    Views
    726

    Re: Indirect calling of routines

    When you learn using classes you move to another paradigm. You move to a more Object Oriented programming.
    It really opens doors to many things.
  33. Replies
    15
    Views
    726

    Re: Indirect calling of routines

    CallByName Me, "Edit35", VbMethod, "Hello", 111



    Public Sub Edit35(Param1 As String, Param2 As Long)
    MsgBox Param1 & vbCrLf & Param2
    End Sub
  34. Replies
    15
    Views
    726

    Re: Indirect calling of routines

    As I said in my previous post, it can be a class or a form (but not a bas module).

    Then, you don't need to add a class, just use the form instead if you already have the routines there.

    The...
  35. Replies
    15
    Views
    726

    Re: Indirect calling of routines

    One way is to make a main sub Edit with a parameter, and from there with a Select case call the routines.

    Another way is to place the routines in a Class module or form (not a bas module) and to...
  36. Re: Help with passing argument to function

    Yes, use Variant.
    Variant types can hold almost anything.


    Private Function MyFunction(nControlArray As Variant)
  37. Replies
    3
    Views
    357

    Re: characters VB6 with W10

    Sorry, the link is this, I also corrected the link in the other post.
  38. Replies
    7
    Views
    688

    Re: Need some help

    Ok, zip everything in a single file containing all the projects, then your friends will have to unzip it and run the main project that should be in the root folder, like this:

    Main.vbp...
  39. Replies
    7
    Views
    688

    Re: Need some help

    If the program is a vb6 project, you cannot "download". The word "download" is used when it is something on internet, on a web page.

    I understand that you have all the other projects zipped...
  40. Re: I opened chrome using shell, how can I close all instances of open Chrome using V

    One site that has the PSC projects and with a search function is this.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width