Search:

Type: Posts; User: SomeYguy

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. General questions about implementing undo/redo using the Command Pattern approach

    Hi everyone!

    I'm working to implement undo/redo functionality - about 5 levels - into a simple vector graphics program which I wrote a few years ago.

    My application draws simple shapes and...
  2. Re: How to display the hidden "About" information in the VB6 IDE?

    Thats it! Thanks :)
  3. [RESOLVED] How to display the hidden "About" information in the VB6 IDE?

    Hi everyone!

    I seem to remember a way in the VB6 IDE to display a hidden "About" dialog under help/about which would then display an extended dialog showing information about the VB6 development...
  4. Replies
    7
    Views
    7,374

    Re: Help with ShowScrollBar API

    January 2022: Proof that old threads can still be relevant - This may not have helped the OP back in 2006 but it sure helped to solve one of my problems today :).
  5. Re: [RESOLVED] VB6: Question - best alternative to a settings.ini file?

    I use a binary file along with an app specific UDT for the data. It also has built-in file validation via writing/reading a small header in the file, so if the file is missing, empty or corrupt then...
  6. Re: SetWorldTransform - TextOut apis ... 3D text Rotation ?

    Sorry, it does not :(.
  7. Re: SetWorldTransform - TextOut apis ... 3D text Rotation ?

    Fairly easy to do with GDI+ paths:

    183300

    Attached is a small demo project
    Look inside of the "DrawPathShape" subroutine for the meat of the code.
  8. Replies
    35
    Views
    12,306

    Re: Does VB6 work in Windows 11? YES

    Interesting. I don't yet have Windows 11 but I would think that the VB6 IDE stores its settings in the registry perhaps? If so then I'm not sure why it wouild change with Win 11......
  9. Re: Getting the ball rolling. Which VB6 projects are you working on?

    Roger that and understood. I just wanted to make sure that there isn't a massively better way and that my software won't bomb during the next planet alignment on the 4th Sunday at the full moon or...
  10. Re: Getting the ball rolling. Which VB6 projects are you working on?

    I'm using UDTs in a few of my programs from over the years with no ill effects.....Should I not be using them?
  11. Replies
    18
    Views
    1,819

    Re: Migrate VB6 to .NET

    Ha, far easier to decompile a .NET program than a VB6 program. But there may be security concerns in VB6 with third-party components etc....
  12. Replies
    26
    Views
    2,446

    Re: Copy Protection Ideas

    Check out ActiveLock. Does exactly what you need. ActiveLock is written in VB and was a commercial product at one time, but has been free & open source for some time now. It is available on GitHub.
    ...
  13. Re: [RESOLVED] Can VB simulate all pointer operations in C language?

    Unfortunate of course but true :(.
  14. Re: [RESOLVED] Can VB simulate all pointer operations in C language?

    So given the extra versatility and capabilities shown above, then why oh why oh why did Microsoft ever abandon VB6???
  15. Re: [RESOLVED] Point rotation with reference to zero?

    Resolved. Thanks folks for help & advice :).

    I was doing everything right per suggestions here. The problem persisted but the fix turned out to be simple.

    My program uses the mouse for...
  16. Re: Point rotation with reference to zero?

    Could very well be and I'll modify accordingly. I actually did create a much smaller, separate test project to help work this out and am doing some of the testing there.

    I originally wrote the...
  17. Re: Point rotation with reference to zero?

    Okay, now I understand. Don't know why I didn't get it because I had to write something similar for a horizontal flipping function awhile back.

    Here is the whole sub, modified so as not to alter...
  18. Re: Point rotation with reference to zero?

    Thanks OB1, no need to be condescending. Sometimes even a very experienced coder may not see the forest for the trees. I'll get it working eventually I'm sure.....
  19. Re: Point rotation with reference to zero?

    Well gosh guys, I'm just not getting it :(. I understand the concept which Passel presented, and this is what I would like to do i.e. leave the origin points unmodified, and return them in a new...
  20. Re: Point rotation with reference to zero?

    Exactly right and I think that i'm going to try to modify my code accordingly. Not exactly sure how to leave the original points unmodified but I'm off to experiment :).

    Thanks for help guys.
  21. Replies
    28
    Views
    3,578

    Re: Injecting a VB6 dll and manipulating the UI

    Exactly.
  22. Re: Point rotation with reference to zero?

    Oops, such is true. Here is how it is called in my application, rotating (4) points of a GDI+ path:


    '- Convert bounding path points to pointf structures
    For i = 0 To 3
    rtPts(i).X =...
  23. [RESOLVED] Point rotation with reference to zero?

    Hi all, hope you had a good weekend :). I should be able to do this but for some reason not wrapping my mind around it. The following code rotates a given point around an origin, usually the center....
  24. Re: Can VB simulate all pointer operations in C language?

    I'm not sure if VB6 can simulate C or c++ style pointer operations or not but as far as creating compact & efficient apps, VB6 is actually very good for this in its own right. Over the years, I've...
  25. Re: Can you Comment out an Entire Block of Code in VB6?

    You can also add it to the popup menu in the IDE (very handy) by following instructions here
  26. Replies
    35
    Views
    12,306

    Re: Does VB6 work in Windows 11? YES

    Yup, I got that.
  27. Replies
    35
    Views
    12,306

    Re: Does VB6 work in Windows 11? YES

    Sad but true I'm afraid. I've gone to great lengths to write every one of my programs to be as self contained and dependency free as possible in order to (hopefully) minimize potential future OS...
  28. Replies
    35
    Views
    12,306

    Re: Does VB6 work in Windows 11? YES

    I'm not really concerned if the IDE doesn't function, I can use a previous Windows version for development. More concerned that the compiled exe and support files run without issue.....
  29. Re: VB6 Office ribbon Activex Control,ribbon Ocx

    Download links there are inoperative.....
  30. Re: Getting the ball rolling. Which VB6 projects are you working on?

    It really isn't a product per se because it will be freeware as in no charge, no money, nada. I haven't released it yet because I don't feel that it is ready, and I haven't had time to work on it for...
  31. Replies
    2
    Views
    1,070

    Re: Path Rotation with GDI+

    Thank you Leandro, glad it helps :). I absolutely love your chart controls btw. They are perfect for my needs and will save me much time.....
  32. Re: Getting the ball rolling. Which VB6 projects are you working on?

    I do plan to finish but no timetable right now. I was forced to sell the radio (an FT-991A) which I was using to help write this. Written mostly on an HP/Compaq 7900 machine running Windows 7, and...
  33. Re: Getting the ball rolling. Which VB6 projects are you working on?

    This is an application which I wrote some time ago for CAT (Computer Aided Transceiver) control for Amateur Radio use. It was written specifically for use with the Yaesu FT-891 & FT-991 transceivers....
  34. Replies
    2
    Views
    1,070

    Path Rotation with GDI+

    Illustrates how to rotate a GDI+ path around a center axis. Uses a simple transformation matrix. Useful for certain drawing applications. I originally wrote this for use with certain elements of a...
  35. Replies
    0
    Views
    840

    Freehand drawing with GDI+

    Illustrates how to perform freehand drawing within a GDI+ path. I needed this capability in an application some time ago but was only able to find one example which used GDI+, but it was done there...
  36. Replies
    229
    Views
    24,658

    Re: Should i learn VB6?

    Calm down. Its just some people's opinion.
  37. Replies
    229
    Views
    24,658

    Re: Should i learn VB6?

    Many years ago, I did mask layering in VB6 and it worked very well. As I recall it used a collection of 32-bit transparent DIB sections along with drawing etc using GDI+ paths and some pixel banging....
  38. Replies
    229
    Views
    24,658

    Re: Should i learn VB6?

    There are valid reasons to complain about the abandonment of VB6. In its heyday, VB6 was much more popular than all other languages combined. A whole industry - i.e. third party components, add-ins,...
  39. Replies
    229
    Views
    24,658

    Re: Should i learn VB6?

    It will certainly become true if MS Windows no longer supports the VB6 runtime at some future point.....
  40. Replies
    229
    Views
    24,658

    Re: Should i learn VB6?

    Understood and perhaps even true but I just don't think that this is an appropriate place for it. This is, afterall, a "Visual Basic 6 and earlier" forum. People who come here are generally either...
Results 1 to 40 of 93
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width