dcsimg

Search:

Type: Posts; User: Eduardo-

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Re: [RESOLVED] Screen Capture of the active window

    Try with wiaFormatJPEG.
  2. Re: Usercontrol Identifying the Hosted vbProject Name

    Hello, what do you exactly need to identify, the form or the project/program?
  3. Re: Is there an alternative to WM_DRAWCLIPBOARD for catching Cut,Copy and Paste ?

    I saw that there are three methods listed there:



    I didn't test anyone, but all three are useless?
  4. Re: Is there an alternative to WM_DRAWCLIPBOARD for catching Cut,Copy and Paste ?

    Monitoring Clipboard Contents
  5. Re: How do I get a screenshot of an entire Form, not just what is visible in the wind

    That is probably the way to do it.



    That is also my guess of how this works.
  6. Replies
    11
    Views
    296

    Re: How to create a Form at run-time

    Yes.
  7. Replies
    11
    Views
    296

    Re: How to create a Form at run-time

    Yes, but it is not code to create new forms out of nothing.
    That can't be done in VB6 (*).

    PS: (*) Of course, i mean normally. Everything could be possible by changing the way VB6 works by means...
  8. Replies
    11
    Views
    296

    Re: How to create a Form at run-time

    "to create a Form at run-time" in VB6 can mean different things.

    It can mean to instantiate an existing (already designed) form.
    Or it could mean to create a window from scratch via API.
    Or...
  9. Replies
    11
    Views
    296

    Re: How to create a Form at run-time

    do you mean to use .NET?
  10. Replies
    11
    Views
    296

    Re: How to create a Form at run-time

    We are very curious people. I would like to know "for some reason".
  11. Re: Add KeyDown event for pure API TextBoxW (no Subclassing)

    Add to the UserControl code:


    Private WithEvents mForm As Form
    Public Event KeyDown(KeyCode As Integer, Shift As Integer)

    Private Sub UserControl_InitProperties()
    On Error Resume Next
    ...
  12. Re: Add KeyDown event for pure API TextBoxW (no Subclassing)

    But the KeyPreview of the form does work.
  13. Re: How do I get a screenshot of an entire Form, not just what is visible in the wind

    What I said: VB6 forms don't do that (they are not scrollable).
    We don't know what you are using.
  14. Re: How do I get a screenshot of an entire Form, not just what is visible in the wind

    Unless you made something special, the standard VB6 Forms don't have the client area bigger than the form itself. Only the MDI parent forms can do that (normally).

    Perhaps if you could post a...
  15. Re: How to get the "User-Agent" when sending data with WinHttp.WinHttpRequest?

    Why do you need that? If you need to identify the Windows version accurately, then you don't want the User Agent string that comes from the WebBrowser control, because it will be stuck in Windows 8....
  16. Replies
    22
    Views
    1,663

    Re: Get Handle of Parent of a User Control

    Hello, this is another option that can work with nested UserControls:


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

    Private Function GetFormHwnd() As Long
    ...
  17. Replies
    25
    Views
    692

    Re: Text Search Ideas?

    It seems to me that you don't want to develop a very sophisticated search system, and that you have it already done and working.
    But since you are asking for ideas, I just wanted to add to the pool...
  18. Replies
    25
    Views
    692

    Re: Text Search Ideas?

    Or get the plain text and use InStr and InStrRev.
  19. Replies
    25
    Views
    692

    Re: Text Search Ideas?

    I agree with LaVolpe, you need to decompose the search string.

    Also ... when you have several words or elements in the search string, is it important that they be close to each other?
    Because if...
  20. Re: [RESOLVED] FYI: StdFont scaling for DPI awareness

    ....
  21. Replies
    3
    Views
    261

    Re: Passing arguments in vb6.0 ?

    The questions are: this need to work only when truyen.exe is not running, or also when it is already running? Do you allow/want multiple instances of truyen.exe to run?

    Command function reference.
  22. Re: [RESOLVED] FYI: StdFont scaling for DPI awareness

    OK, that was my original question.
  23. Replies
    13
    Views
    465

    Re: Showing a label on a picture

    That what we were saying: that there are no more objects that have ScaleMode/ScaleTop/Left/Width/Height properties and Scale, ScaleX/Y methods.
    In fact, as a control, the only one is PictureBox.
  24. Re: [RESOLVED] FYI: StdFont scaling for DPI awareness

    Yes? Handling MouseMove/Down/Up's X and Y parameters without the need of a correction factor (*), and being able to use the built-in ScaleX/Y functions of the controls? If you have hacks for those I...
  25. Replies
    13
    Views
    465

    Re: Showing a label on a picture

    Yes, you are right. I was thinking about screen objects that can be control containers, but yes.
  26. Replies
    13
    Views
    465

    Re: Showing a label on a picture

    It is not only the SStab control that doesn't implement Scale properties, but also the Frame control. In fact, the only container control that implements Scale that I'm aware is the Picturebox. The...
  27. Re: [RESOLVED] FYI: StdFont scaling for DPI awareness

    According to what you describe, my test was a case to not expect the best result, because it was from a lower DPI to a higher one, and the relation from 120 to 288 DPI (125% to 300%) was not an...
  28. Re: [RESOLVED] FYI: StdFont scaling for DPI awareness

    What do you think of the automatic scaling (when a form is dragged across monitors) that Windows itself performs when the programs are manifested as DPI aware but not as DPI aware per monitor?
    In...
  29. Re: [RESOLVED] FYI: StdFont scaling for DPI awareness

    Lavolpe, what issue are you trying to address? 1) the multiple monitors DPI awareness, 2) the small font missize that happens when VB6 automatically handles the fonts sizes on each DPI, 3) something...
  30. Replies
    13
    Views
    465

    Re: Showing a label on a picture

    PictureBoxes are containers. Height and Width refer to the dimention of the control (the PictureBox) in its container. The values depend on the ScaleMode setting of the PictureBox's container....
  31. Replies
    212
    Views
    20,782

    Re: [vb6] Project Scanner

    After I changed the comments to:


    ' code...
    ' code...

    '_SOME_COMMENT_1
    Private Sub NameOfSub()
    Static sVariable As Boolean ' Static variable that caused the run time error
  32. Replies
    212
    Views
    20,782

    Re: [vb6] Project Scanner

    LaVolpe, in the case of the Static variable, the scan process was silently aborted because of a runtime error. The scanner didn't work at all until I traced the issue to that procedure and made that...
  33. Replies
    212
    Views
    20,782

    Re: [vb6] Project Scanner

    Yes... I had forgot to select the Sub Main in the project properties (it is a component).
    Now that I fixed that, it disappeared from the zombie report.
    The scanner is working fine in that regard,...
  34. Replies
    212
    Views
    20,782

    Re: [vb6] Project Scanner

    Update. I found the cause. I was experiencing other anomalies and the cause are some commented lines that end with _ (underscores).

    It seems that the scanner intrerprets all lines finished with...
  35. Replies
    212
    Views
    20,782

    Re: [vb6] Project Scanner

    Hello LaVolpe, I found a bug in the pvScanProcedures procedure of clsPrjFile. It raises an error in the line:


    sToken = Mid$(sLine, iPos + 1, lFlags - iPos - 1)

    because lFlags is 0.

    I...
  36. Replies
    11
    Views
    543

    Re: P-Code vs Native vs Crashing

    Note that VBReFormer only can get the GUI, not the code.
  37. Replies
    11
    Views
    329

    Re: Random Number

    May be or may be not. Not always. It depends on what type of randomness you need in the program.
    (Sometimes you prefer "random" but repeated each program run.)
  38. Re: FYI: StdFont scaling for DPI awareness

    It has been discussed many time I think, but SStab is much better than TabStrip in serveral ways.
  39. Replies
    11
    Views
    329

    Re: Random Number

    Rnd




    Rnd + 2
  40. Replies
    3
    Views
    208

    Re: Reviving an old Out Plugin -

    Sorry, I've read your first post too fast and overlooked the error message.

    Try running the VB6 IDE with administrator rights (right click on the VB6 icon and select: run as administrator).
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width