dcsimg

Search:

Type: Posts; User: Eduardo-

Page 1 of 13 1 2 3 4

Search: Search took 0.78 seconds.

  1. Replies
    21
    Views
    943

    Re: Display dpi scaling problem

    Yes, exactly.
  2. Replies
    21
    Views
    943

    Re: Display dpi scaling problem

    Exactly.
    I could not come to the forums the last days, but that was my idea.
    For now I still stay in my decision of not supporting not integers TwipsPerPixels, because anyway I think there is...
  3. Replies
    21
    Views
    943

    Re: Display dpi scaling problem

    You dilettante that are the master of the manifest files, is there a way to make a manifest that declares that the program is DPI aware for some DPI settings but not for other settings?

    It will...
  4. Replies
    21
    Views
    943

    Re: Display dpi scaling problem

    I suggest to forget about the TwipsPerPixel issue. That renders the current version of VB6 almost unusable.
    Yes, you can find workarounds, but that renders your code like not being a normal language...
  5. Replies
    21
    Views
    943

    Re: Display dpi scaling problem

    The VB6 runtime, in fact is fully DPI aware as long as you work in Twips.

    The are still some few things that demand some work on the developer side, mainly the scaling of images.



    Of course,...
  6. Replies
    21
    Views
    943

    Re: Display dpi scaling problem

    No. It is not changed by Windows.
    VB is the one that does the scaling automatically from the design time DPI to the run-time DPI.

    If the measures are in Twips, all right, now with the new PDI...
  7. Replies
    21
    Views
    943

    Re: Display dpi scaling problem

    The problem of the OP wasn't the size of images but the position and size of textboxes.
    It is true that VB automatically convert sizes and positions even if the ScaleMode of the container is in...
  8. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    About 160 bytes.

    But I already decided to go the OCX route. I'm seeing some other benefits (like that many people like to have a control on the form, something that they see and can "touch").
    ...
  9. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    What I learnt is that almost everything is possible (in some way), but some things are too difficult or has some drawbacks or are too cumbersome to do. So, I conclude that in principle it seems...
  10. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    Already answered to Krool in post #14
  11. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    Yes, of course. You are the one that suggested to write to the exe.

    I asked to add the data to the exe at compile time (not after), as VB6 normally does with OCX components.
  12. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    I know how to open a file (exe or whatever) and change binary data, but I would need to write to the exe at compile time, or otherwise immediately after the compilation finishes, that't the issue and...
  13. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    This has nothing to do with what I asked.
  14. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    Thanks guys. I think I'll go with the OCX option.
    I'll be away some days (still not sure) so perhaps I won't be able to respond quickly at the forum if there is any further answer.
    Thanks.
  15. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    The scenario is that it is a direct replacement of the VB6's printer object but that has print preview capability. Basically that's what it is.
    The demo will be fully functional but will print a...
  16. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    Look, I don't see that that program can be used with DLLs. Still, if it could do something, what it can do? I could do the same without another program if something could be possible.
  17. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    Restric functionality? No. I don't know what you mean.
    What I need is explained in the OP.
    I need a mechanism to license a DLL.
  18. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    Yes, the license would be exposed.
    The idea is that the developer keep the license information privately (hopefully) and doesn't share it with others.

    From the OP:



    I'm already almost...
  19. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    Hello Trick, and that can be done from the DLL at compile time? (and without having to ship other files along with the DLL)
  20. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    I don't see why it would cause an error since I'm not planning to use any resource.
    And even if that was the case, they would have to be intructed not to emove that data because that would remove...
  21. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    I have no idea whether they will sign the exe or not.
    Whatever I do it need to be at compile time (and that is before).
  22. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    I don't need to store information in the DLL, but in the exe.
  23. Replies
    32
    Views
    752

    Re: Licensing a DLL ActiveX

    To add more dependency files is to add problems. This should work without "problems" (of forgetting to add a file and having "why isn't it working?" support calls).

    The OCX files can add...
  24. Replies
    32
    Views
    752

    Licensing a DLL ActiveX

    I'll start by quoting a message from dilettante that he posted a time ago in another thread but this question is for everyone.



    Do you have an idea about how to do that?



    Without adding...
  25. Re: how can i set fonts in control without font property

    If you have the source code of the control much better and it should be simple to add the property.

    If not, the steps would be to convert the stdFont object to a LOGFONT structure, then use...
  26. Replies
    16
    Views
    544

    Re: Question about RightToLeft

    Thanks everyone. I'll mark the thread as resolved because I can work on it now. Still, if someone wants to add some information, is welcome.

    :thumb:
  27. Replies
    16
    Views
    544

    Re: Question about RightToLeft

    Thank you, that's useful. I fould also information here: Mirroring in Win32
  28. Replies
    16
    Views
    544

    Re: Question about RightToLeft

    I use DrawTextExW, but I'm not taking about what I do with the DC but how the DC have to be set-up for a client developer (since it is a component) to be used for RTL.
    I think that perhaps I have to...
  29. Replies
    16
    Views
    544

    Re: Question about RightToLeft

    Yes, I see there is no difference with Labels, even if I set the font to one that supports Hebrew, select the Hebrew alphabet in the font dialog and set the caption of the Label to an Hebrew word....
  30. Replies
    16
    Views
    544

    Re: Question about RightToLeft

    Bingo, that worked!
  31. Replies
    16
    Views
    544

    Re: Question about RightToLeft

    Thanks, one question answered.

    I think I'll have to experiment a lot, I don't find very precise information. All information that I found is mostly general.

    For example, another one: in the DC...
  32. Replies
    16
    Views
    544

    Re: Question about RightToLeft

    I don't think that that could have anything to do with RightToLeft working or not.
    Now I have professional, but I used to develop in VB6 enterprise in the past and RightToLeft never worked.

    What...
  33. Replies
    16
    Views
    544

    Re: Question about RightToLeft

    It never worked for me. In XP, Windows 2000, Windows 98.

    I have a computer with XP SP3 and tested again: I started a new project, added a Label, set the font of the Label to one that supports...
  34. Replies
    16
    Views
    544

    [RESOLVED] Question about RightToLeft

    I'm trying to understand how the RightToLeft property actually works.

    Specifically, I'm trying to understand this feature of the Printer object.

    What I understand so far is: that the text will...
  35. Replies
    21
    Views
    943

    Re: Display dpi scaling problem

    That must be causing the problem then.
  36. Replies
    21
    Views
    943

    Re: Display dpi scaling problem

    For this to happen you must have a manifest file for the exe declaring the program as DPI aware or an special setting in the compatibility tab of the properties of the exe in the end user machine.
    ...
  37. Re: Label hides behind other controls. ZOrder doesn't bring it to the front.

    If you don't mind that the labels won't be transparent any more, you can use a windowed label.
  38. Re: Get Distance from Bottom of Control to Bottom of Form

    Assuming all the ScaleMode's of the form and all nested containers are in Twips, you could use a function like this:


    Private Function GetDistanceToBottomOfForm(nControl As Control, nForm As...
  39. Re: [RESOLVED] Variable names: Variant vs Explicit-Class-Name

    The title of the thread is wrong: it is not about variable names but about variable types.
  40. Re: Variable names: Variant vs Explicit-Class-Name

    dreammanor, if speed is important, then use strong typing since it uses early binding. No doubt.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width