Search:

Type: Posts; User: rjsnipe

Search: Search took 0.02 seconds.

  1. Replies
    32
    Views
    5,344

    Re: Fix the TwipsPerPixel rounding?

    Can you enlighten me on what problems you get. I agree its a case of when, but I'm not sure i've actually seen a vb6 app on a high dpi device.
  2. Replies
    13
    Views
    2,703

    Re: Out of Memory Error - Make - CommandButtonW

    I should have had it installed, but for some reason it was not. Its one of the first things I do when installing a fresh dev machine, install VB6 and SP6!

    It was fun morning trying to reinstall...
  3. Replies
    13
    Views
    2,703

    Re: Out of Memory Error - Make - CommandButtonW

    Ok so its my environment then. I have not explicitly referenced vbcc17 in references, and its not a project group either. mine looks like this.

    179898

    179899

    Thanks you for taking the time...
  4. Replies
    13
    Views
    2,703

    Re: Out of Memory Error - Make - CommandButtonW

    Here is the project with as much noise taken out. Just comment out the If Not Initialised Then Exit Sub in the resize event, or don't and see that its not even called a second time (nothing is moved...
  5. Replies
    13
    Views
    2,703

    Re: Out of Memory Error - Make - CommandButtonW

    Ok I hear you. Thanks

    I generate most of the button controls at runtime, and I also lay them out in the resize event. This is an experiment in a layout that will fit large or smaller screen sizes....
  6. Re: VBCCR17SideBySideAndVisualStyles failed to start side-by-side incorrect

    To the best of my knowledge you will only get errors with versions of dependent assemblies, not the version of the assembly or exe itself.
  7. Re: VBCCR17SideBySideAndVisualStyles failed to start side-by-side incorrect

    I appreciate what you are saying about the manifest, and have my own hand written ones, however I was just following the guide
    ...
  8. Replies
    13
    Views
    2,703

    Re: Out of Memory Error - Make - CommandButtonW

    ok great. I will have a go at that thanks.

    Any inkling to why it would out of memory though, only when using the W variant of the button?
  9. Re: VBCCR17SideBySideAndVisualStyles failed to start side-by-side incorrect

    I am using the .res file, not a projectname.manifest file, or i would be able to diagnose it myself.

    My understanding is you add that to the project and it builds it into the exe
  10. Replies
    13
    Views
    2,703

    Out of Memory Error - Make - CommandButtonW

    I was having a play with the common controls, and CommandButtonW for its foreground color. It runs fine it debug but when building the project it hits the Load cmdItem(Index) in either of the user...
  11. VBCCR17SideBySideAndVisualStyles failed to start side-by-side incorrect

    I am having a play with the ocx version of Krool's common controls replacement

    I have the OCX registered, I have followed the guide created by MountainMan

    I have made a basic project, added a...
  12. Re: Vb6: elapsed time + time in label1.caption (new problem)

    Change the Timer Function to


    Private Function LongToTimeSpan(Diff As Long) As TimeSpan
    Dim Time As New TimeSpan
    Time.Days = Int(Diff / DayInSeconds)
    Diff = Diff Mod DayInSeconds
    ...
  13. Re: Vb6: elapsed time + time in label1.caption (new problem)

    I'd use ticks instead, storing your own value will 'drift'

    I've not plumbed in the saving to file, but all you need to do is save the starting ticks, which you can do on Startup rather than...
  14. Re: Vb6: elapsed time + time in label1.caption (new problem)

    does it return on startup, or when the hour is say meant to change to 14:00 from 13:00 and instead stays at 13:00?
  15. Re: Is there anyone who have been used a Control in vb6 like DataGridview which in .N

    If it is acceptable to have it in a separate form, you can load the form via Com interop. I've not embedded a .Net control in vb6 but I know it can be done. Can find the link if its useful
  16. Re: Checkbox - Graphical. Remove Checked Highlight

    Hi thanks dilettante, some interesting stuff in there I will have a play. In this app the whole button is colored, just like in the example images, the layout and approximate size is almost...
  17. Re: Checkbox - Graphical. Remove Checked Highlight

    VB6.

    I think I have managed to get it to a level where the occurrence of the visual 'defect' is low enough that it is passable, with a DoEvents, and I'm using the click event instead (although not...
  18. Replies
    229
    Views
    41,379

    Re: Should i learn VB6?

    I'm with Niya, C# you can use Xamarin and target android, ios, and desktop at the same time (not sure if desktop part of that is out of preview yet but its workable)
    Only learn vb6 if you really...
  19. Re: Checkbox - Graphical. Remove Checked Highlight

    The application has always let you set some of the button colors, but it did not try to set the foreground.

    The web portal has had an overhaul and an assumption was made that foreground could be...
  20. Re: Checkbox - Graphical. Remove Checked Highlight

    comment out the mouseup event and what do you see?

    Does it look like the first image in my post?

    Look at button 3, the way the text is barely readable and covered in a crosshash overlay, that...
  21. Re: Checkbox - Graphical. Remove Checked Highlight

    Nothing in the click event just MouseUP

    Private Sub CheckButton_MouseUp(Index As Integer, Button As Integer, Shift As Integer, x As Single, Y As Single)
    CheckButton(Index).Value = False
    End...
  22. Re: Checkbox - Graphical. Remove Checked Highlight

    Thanks for taking the time to solve my problem.

    The picturebox method is using a picturebox to .Print the text, then Set Button.Picture = Picture.Image. The problem then becomes the positioning...
  23. Re: Checkbox - Graphical. Remove Checked Highlight

    Here is a demo of the issue as I experience it

    179852
  24. [RESOLVED] Checkbox - Graphical. Remove Checked Highlight

    I am using a CheckBox as a Button so I can set the ForeColor. I have tried using the PictureBox method I found on this forum, but that has its own issues. It does not handle word wrapping any where...
  25. Re: Visual artifacts using borderless forms after Windows 10 update

    I have tried getting support from microsoft. Going via their main website i had a callback and got bounced via a few call centers. The general responses where VB6 is not supported anymore. In the end...
  26. Re: Visual artifacts using borderless forms after Windows 10 update

    Hi,

    Apologies for the rouge .exe here it is again without it.

    I have checked the updates and it happens with

    Cumulative Update for Windows 10 Version 1607 for x64-based Systems (KB3213986)....
  27. Re: Visual artifacts using borderless forms after Windows 10 update

    Thank you for checking.

    144203

    144201

    For reference here is what i get. It seems like the window is having some transparency where it shouldn't.

    Both myself and some colleges all get the...
  28. Re: Visual artifacts using borderless forms after Windows 10 update

    Attached sample project
  29. Re: Visual artifacts using borderless forms after Windows 10 update

    https://drive.google.com/file/d/0BxHDL8dpyK1ibTRKQ3FXLWRWVHM/view?usp=sharing

    That is a test project, where i have removed everything but some buttons which show the issue. Thanks
  30. Visual artifacts using borderless forms after Windows 10 update

    Hi,

    I have look all over for anything like this and have come up with nothing.

    Our companies EPoS software is written in VB6.

    After a certain windows 10 update KB3206632 i think, we have...
Results 1 to 30 of 30



Click Here to Expand Forum to Full Width