Search Results - VBForums

Search:

Type: Posts; User: 7edm

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: Windows 10

    by 7edm
    Replies
    6
    Views
    180

    Re: Windows 10

    That's VB7, sort of, it's not VB6, this is the VB6 Classic forum.



    well you are assigning a string to a numeric variable, but isn't this VB.NET? While that assignment would pass in VB6 as it...
  2. Thread: Self Delete?

    by 7edm
    Replies
    17
    Views
    466

    Re: Self Delete?

    Very well said, couldn't agree more. Worry has a bad impact on your health ;-)
  3. Thread: Windows 10

    by 7edm
    Replies
    6
    Views
    180

    Re: Windows 10

    You can improve your subject line to something like "Type mismatch errors in Windows 10" to increase the interest of your thread. Then you need to present some code demonstrating the problem you are...
  4. Re: [RESOLVED] Problem with dynamic resising on controls on a form.

    Ok, after changing to use GetClientRect API for the control resizing I can report there is still a small gap at the bottom opening up BUT much less than before and as an end user you probably wont...
  5. Re: [RESOLVED] Problem with dynamic resising on controls on a form.

    Hmm. Using the SetWindowPlacement call together with WM_SHOWWINDOW doesn't seem to work well as the function triggers a new message on each call, creating a loop of loading the window... can get...
  6. Re: [RESOLVED] Problem with dynamic resising on controls on a form.

    Ok I will test for that and see if it applies for my intended uses. I mean, I am really just interested when the form is initially loaded and shown by user action and I think that always is as...
  7. Re: [RESOLVED] Problem with dynamic resising on controls on a form.

    Ok several things to take in here... first, mParrentHasLoaded is set very last in the form_load event, used both here for WM_GETMINMAXINFO to strip out unnecessary processing, and in form resize...
  8. Re: [RESOLVED] Problem with dynamic resising on controls on a form.

    Ok I will try to make use of trapping WM_SHOWWINDOW, but would like to ask you for some further assistance with the subclassing and possibly if you understand more about my subclass routine (by Paul...
  9. Re: [RESOLVED] Problem with dynamic resising on controls on a form.

    Ok thanks, guess it's back to the drawing table once again... but that's no problem as long as we are having fun!
  10. Re: [RESOLVED] Problem with dynamic resising on controls on a form.

    Experiencing something really strange here, not exactly relation to this resize issue but regarding the sequencial order of firing form events. On my start up form, where I have tested the control so...
  11. Re: [RESOLVED] Problem with dynamic resising on controls on a form.

    So this also cover the situation you described above, the client rectangle changes without the actual form size changes, but form resize event fires?
  12. Re: [RESOLVED] Problem with dynamic resising on controls on a form.

    Please start your own topic, no one will answer you here. What you just did is called to hijack a topic and is not considered nice. No appols needed, just start a new topic.
  13. Re: [RESOLVED] Problem with dynamic resising on controls on a form.

    Thanks for all your points and I will examine them one by one, but to start with I was thinking of using the client rectangle, but how do I detect that it resizes? As you pointed out yourself, it can...
  14. Re: Problem with dynamic resising on controls on a form.

    Yes.
    [/QUOTE]

    Guess I'll have to live with that then.



    Yes there are room for improvements, I know. I just wanted to get it overall working first of all. I haven't had time to investigate...
  15. Re: Problem with dynamic resising on controls on a form.

    Ok I will halt pasting of code for now, in case it may not be needed... Well, proportional or stretching and it might be as you say. What I mean by proportional is in relation to original, width or...
  16. Re: Problem with dynamic resising on controls on a form.

    Second part, probably of 4


    Private Sub InitCtrlSizes()
    Dim sJson As String
    Dim ctrl As Control
    Dim sKey As String

    Set mCtlSizes = New_c.JSONObject
  17. Re: Problem with dynamic resising on controls on a form.

    Ok I thought it was clear from the code I posted, that it is relative to the original form size. On load the original width and height in pixels of the form is assigned to vars, together with...
  18. Replies
    54
    Views
    13,995

    Re: vb6 and Windows 10

    Did you upgrade your Win7 system with VB6 IDE present? In such case, what glitches are you experience?
  19. Replies
    54
    Views
    13,995

    Re: vb6 and Windows 10

    Maybe, still have to make up my mind about it but it feels a bit as if MS is throwing Metro after me. I have to fight with that every day on my Windows phone, doesn't really need it on my desk top. I...
  20. [RESOLVED] Problem with dynamic resising on controls on a form.

    I have been working on this resizing UC now for some time and it starts to shape up. One of the problems I still have to solve is with proportional resizing, the control can optionally resize...
  21. Replies
    54
    Views
    13,995

    Re: vb6 and Windows 10

    Have anyone successfully upgrade a Win7 system with a working VB6 IDE and can confirm it working after as well, incl. compiling etc.? I'm not ready to give up on my Win7 just yet and for now just...
  22. Replies
    2
    Views
    139

    Re: How to fix "error dll"

    Well first thing you need to do is to find out where in your code the error is triggered, e.g. by stepping through in debug mode. Press F8 to start stepping, and then look in the Debug menu to see...
  23. Replies
    14
    Views
    304

    Re: [RESOLVED] Backing Up VB6 Source Code and All

    If you go for Subversion and the TortoiseSVN Windows client, then there is a full free online book http://svnbook.red-bean.com/ and while you can host and run this all on your workstation, I would...
  24. Replies
    14
    Views
    304

    Re: Backing Up VB6 Source Code and All

    Not sure who or what you aim at, if any/thing/some, but I used have my own "home grown well thought out" backup copy system and while it may work for some... well, it takes some time and effort to...
  25. Replies
    14
    Views
    304

    Re: Backing Up VB6 Source Code and All

    Using a version control system is the way to go, making copies for folders etc. is for... well I don't want to insult anyone but, it's not very efficient and error prone.

    I personally use...
  26. Replies
    4
    Views
    150

    Re: Deathbycaptcha with VB6

    Why would you like to do that, are you writing web pages or web services in VB6? I have no intention to register on their site to see how the API looks but I doubt it's for VB6, but maybe soap,...
  27. Replies
    14
    Views
    592

    Re: Windows 7 compatibility mode

    Ok then I understand better, it wasn't clear to me from your initial post that you actually had a problem running in "normal" mode. Fine then, but unfortunately I have no solution to offer at this...
  28. Replies
    14
    Views
    592

    Re: Windows 7 compatibility mode

    Sorry, but I don't really see the point in this topic... If your program run without setting it in a compatibility mode, then you simply don't needed it. As I understand it, these modes are there in...
  29. Re: GetWindowRect and the 20 missing pixels

    I have just never thought of it as I have never had to interact with the form and sizing on such early stage before... Not a day without learning something new, even with VB6 after almost 20 years...
  30. Re: GetWindowRect and the 20 missing pixels

    Thanks for replying but I think you miss the point - I do want titlebar and borders to be included. I just used the GetSystemMetrics call to show that it's NOT due to the titlebar not being included,...
  31. Re: GetWindowRect and the 20 missing pixels

    Yep, that seems to be the issue. Interesting behaviour though, GetWindowRect sees the window but not its full dimension until it has resized once, meaning, when the window is first created at run...
  32. Re: GetWindowRect and the 20 missing pixels

    I think that will vary from system to system and that why the GetSystemMetrics(SM_CYCAPTION) API is there. like on my system it returns 22.




    Not sure where you got the above and below values...
  33. Thread: VB6 Obfuscator

    by 7edm
    Replies
    14
    Views
    489

    Re: VB6 Obfuscator

    Not really the same thing... and which version was it, recently? I haven't looked at it lately but I know their demo got cracked some years ago and that it was used to "protect" a trojan which caused...
  34. Thread: VB6 Obfuscator

    by 7edm
    Replies
    14
    Views
    489

    Re: VB6 Obfuscator

    Have you tried something like Themida or WinLicense fro Oreans? Cost some but I assume your program isn't free either as it get hacked...
  35. [RESOLVED] GetWindowRect and the 20 missing pixels

    Yes I know, that title almost sounds as a detective novel, but it's actually a VB6 problem, or a VB6 UC problem possibly.

    I've been working on a resizer UC since some time, when time allows, and I...
  36. Replies
    10
    Views
    444

    Re: Private vs. Public User Control?

    Yes, I figured that out, and unless (as you say) you don't need the form, Parent.Controls is better imo as you can dimension the iterate variable As Control, which doesn't work with ParentControls in...
  37. Replies
    10
    Views
    444

    Re: Private vs. Public User Control?

    Just want to improve on the information here for the topic. While ParentControls is a property available to the UC it doesn't seems to work as expected at design-time or by use of 'For Each ctrl In...
  38. Replies
    10
    Views
    444

    Re: Private vs. Public User Control?

    Ok thanks for letting me know, I though it would be possible but don't want to start adding subclassing before I got the basics working as it will be much harder to debug then.
  39. Replies
    10
    Views
    444

    Re: Private vs. Public User Control?

    jiize you are right, I never reflected on that as the docs kept talking about the extender all the time... I sure will take that shortcut instead - Thanks!
  40. Replies
    10
    Views
    444

    Re: Private vs. Public User Control?

    Yes that defeats my intent :-( So there is no way to detect if the form is resizing or has resized during design-time, not even using subclassing?
Results 1 to 40 of 98
Page 1 of 3 1 2 3



Featured


Click Here to Expand Forum to Full Width