dcsimg

Search:

Type: Posts; User: JohnTurnbull

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: [RESOLVED] VB6 file written to disk under Windows 10 OS cannot be found.

    Having just come across this problem and seeing that dilitante was kind enough to point out the solution...

    "If your program had a proper manifest marking it as non-legacy then attempting this...
  2. Re: [RESOLVED] VB6 file written to disk under Windows 10 OS cannot be found.

    Having just come across this problem and seeing that dilitante was kind enough to point out the solution...

    "If your program had a proper manifest marking it as non-legacy then attempting this...
  3. Re: [RESOLVED] Simulating Win Logo Key with Sendinput

    FAB!
    Again many thanks
    John
  4. Re: Simulating Win Logo Key with Sendinput

    Thank you very much Chris!
  5. Re: Simulating Win Logo Key with Sendinput

    Thanks Chris. I know it can be done with Keybd_event and I will probably end up going back to it. I' would still prefer to get it working with SendInput, a, because, like you, I have a whole setup to...
  6. Re: Simulating Win Logo Key with Sendinput

    I think I may have gone about this the wrong way. I will re-phrase my question....

    Could someone provide me with VB6 code to simulate pressing the left windows logo key using SendInput?
  7. Re: Simulating Win Logo Key with Sendinput

    1. My bad - I have changed it.
    2. Obviously not as the code has been in use for almost 20 years!
  8. Re: Simulating Win Logo Key with Sendinput

    There are no permissions problems. All other keystrokes work. 91 (the left windows key) is the only one that doesn't
  9. Re: Simulating Win Logo Key with Sendinput

    There are no permissions problems. All other keystrokes work. 91 (the left windows key) is the only one that doesn't.
  10. [RESOLVED] Simulating Win Logo Key with Sendinput

    Hi,

    Trying to simulate the Windows logo key using Sendinput and getting nowhere! Any help appreciated....

    Before someone suggests sending Ctrl+Esc instead, that's no good to me. I need to send...
  11. Re: CommonControls (Replacement of the MS common controls)

    Ah!

    The older I get, the dumber I get!

    Thank you both.
  12. Re: CommonControls (Replacement of the MS common controls)

    Well I downloaded the latest version and still...

    xx = SendMessage(Text1.hWnd, EM_LINESCROLL, 0, 1)

    scrolls to the end, not just one line!

    There's no panic as I got round the problem by...
  13. Re: CommonControls (Replacement of the MS common controls)

    Thank you for your quick reply.
    I will download the latest version.
    .SrollToLine doesn't seve my purpose
  14. Handling EM_LINESCROLL

    Hi Krool,

    I have your TextboxW as Text1. When I call...

    xx = SendMessage(Text1.hWnd, EM_LINESCROLL, 0, 1)

    The textbox scrolls to the end, not just one line!

    I stepped through your code...
  15. Re: Find No of first line showing in textbox

    Many thanks!
  16. [RESOLVED] Find No of first line showing in textbox

    Hi All,

    In a multi - line text box which has scrolled. (i.e. the first line is not shown) Is there a way to find the number of the first line that does show?
  17. Re: CommonControls (Replacement of the MS common controls)

    Not using LB_SETTABSTOPS (= &H192)
    Using EM_SETTABSTOPS (= 203)
  18. Re: CommonControls (Replacement of the MS common controls)

    I added this sub to your ComCtlsDemo project....


    Sub SetTabStops(TB As Object)
    Dim TabStops() As Long
    Dim xx&, yy&
    Dim Ret As Long
    Dim Stops&
    '-----------------------
    On Error GoTo Bad
  19. Re: CommonControls (Replacement of the MS common controls)

    Just wondering. Does the latest version handle WM_ Settabstops for TextboxW ?
  20. Replies
    13
    Views
    2,740

    Re: How to properly clear the clipboard

    Hi

    Bit late but if anybody has the same problem and ends up here, the answer is that neither the VB nor API clearings work if they are called when, by chance, some other program has the clipboard...
  21. Replies
    1
    Views
    1,097

    Onedrive Executable Filenames

    Not really a VB question but people are so helpful here and asking in MS forums is like banging your head on a brick wall!

    There are two versions of onedrive.
    I have the version with filename...
  22. Re: How to find executable path given Process ID

    Thank you, thank you, thank you!
  23. [RESOLVED] How to find executable path given Process ID

    Hi,

    I need to find the path to a users Onedrive executable. Microsoft being Microsoft this can either be OneDrive.exe or GROOVE.EXE. I can figure out which it is and get its PID. Then I'm stuck!
    ...
  24. Re: What differences are known between IDE and compiled behaviour

    Problem solved!
    If you use SetProcessDpiAwareness& to 2 to do your own scalling, you must do it before you call EnumDisplayMonitors.

    Either way round works in the IDE but not compiled.

    Thank...
  25. Re: What differences are known between IDE and compiled behaviour

    Admin / non admin makes no difference. The only difference is between interpreted and compiled. Code is way to extensive. Sorry.
  26. [RESOLVED] What differences are known between IDE and compiled behaviour

    I have a program which runs perfectly in the IDE but not when compiled. I am therefore asking for any known differences in behaviour.

    I know about making a window “on top” works in form load when...
  27. How Pause and restart OneDrive synchronization?

    If anybody has done this from VB6, I would really appreciate the code!
  28. Replies
    2
    Views
    584

    Tell if onedrive is synchronized

    Anybody know a simple way to check if onedrive is synchronized?
  29. Re: [RESOLVED] Per-Monitor DPI Awareness & VB

    If I don't get a top left on a monitor I then go for the nearest as a second resort........



    Function GetMonNo&(Frm As Form)
    Dim xx&, yy&, RetVal&
    '---------
    RetVal = -1
    '--------Try top...
  30. Re: [RESOLVED] Per-Monitor DPI Awareness & VB

    Just thought I'd add my tuppence worth as I'm well through converting to per monitor...

    Instead of subclassing & looking for a WM_DPIChanged you can do a nicer job using a timer that checks to see...
  31. Re: How to use setprocessdpiawarenes in VB6

    Many thanks!
    I couldn't find that declaration anywhere.
  32. Re: How to use setprocessdpiawarenes in VB6

    Thank you for answering but you misread my question which was.....

    Does anyone know how to declare and use setprocessdpiawareNESS in VB6?
  33. [RESOLVED] How to use setprocessdpiawarenes in VB6

    Just upgraded my Windows 10 to build 10162 to find that setprocessdpiaware is no longer supported!

    Does anyone know how to declare and use setprocessdpiawareNESS in VB6?

    I want to use the...
  34. Re: [RESOLVED] Savepicture when dpi aware and dpi > 96

    Ta.

    Have a copy on me - Provided you're running at 96dpi - You'll like it!

    http://m8software.com/pvt11/spartan.htm
  35. Re: [RESOLVED] Savepicture when dpi aware and dpi > 96

    I allow users to choose their own font.
  36. Re: [RESOLVED] Savepicture when dpi aware and dpi > 96

    Yes, I know. Unfortunately, I already offer users the chance to scale up so I could hardly take it away from someone just because they bought a 4k monitor!
  37. Re: Savepicture when dpi aware and dpi > 96

    Cracked it!

    LaVolpe - Many thanks for your interest. The problem is solved. It's always the simplest mistakes that are hardest to find!

    It was simply that I had not resized the picturebox by...
  38. Re: Savepicture when dpi aware and dpi > 96

    Also, can you better describe what we are seeing in your screenshot. Looks like a form with a menu and a picturebox. Can't tell if the scrollbars are part of the picbox or from the picture assigned...
  39. Replies
    18
    Views
    6,394

    Re: Saving a BITMAP from memory to disk

    I know - It's still relevant!
  40. Re: Savepicture when dpi aware and dpi > 96

    What were the system DPI settings when your screenshots were taken?
    144 (150%)

    What operating system are you running?
    Windows 10 but same problem in 7 and 8.1

    Is your application declared DPI...
Results 1 to 40 of 150
Page 1 of 4 1 2 3 4



Featured


Click Here to Expand Forum to Full Width