can't resize VB controls manually-VBForums
Results 1 to 25 of 25

Thread: can't resize VB controls manually

  1. #1

    Thread Starter
    Addicted Member tcurrier's Avatar
    Join Date
    May 1999
    Location
    Northeastern Pa./USA
    Posts
    255

    can't resize VB controls manually

    I was going to reply to an earlier thread about this subject, but I can't seem to locate the original thread.

    It just started happening the other day that I am no longer able to manually resize any VB controls in my projects. I've had my new machine for a while now and had used the VB6 IDE with no problems.

    Now, I can only resize controls using the SHIFT + ARROW method. And no, the 'lock controls' option isn't set on the form.

    Anyone have any other ideas ? Thanks...
    VB6 Enterprise SP4

  2. #2
    VBaholic & Loving It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    GetWindowRect()
    Posts
    11,938

    Re: can't resize VB controls manually

    Here's that thread you were talking about. No solution posted in that thread.

    Edited. Out of curiosity. Double check the read/write permission properties of all your files related to your project. Are any of them read-only?
    Last edited by LaVolpe; Nov 3rd, 2010 at 03:48 PM.
    Insomnia is just a byproduct of, "It can't be done"

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum. Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts


    {Alpha Image Control} {Memory Leak FAQ} {GDI+ Classes/Samples} {Unicode Open/Save Dialog} {Icon Organizer/Extractor}
    {VBA Control Arrays} {XP/Vista Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    Addicted Member tcurrier's Avatar
    Join Date
    May 1999
    Location
    Northeastern Pa./USA
    Posts
    255

    Re: can't resize VB controls manually

    No, the files aren't marked as 'read only'.... It was mentioned in the thread that a reinstall didn't solve the problem, but I might go ahead and try that option anyway.
    VB6 Enterprise SP4

  4. #4
    VBaholic & Loving It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    GetWindowRect()
    Posts
    11,938

    Re: can't resize VB controls manually

    Quote Originally Posted by tcurrier View Post
    No, the files aren't marked as 'read only'.... It was mentioned in the thread that a reinstall didn't solve the problem, but I might go ahead and try that option anyway.
    I would if I were in your shoes. Ensure you elevate permissions if installing on Vista/Win7, definitely run as administrator or turn UAC off. You might want to give a quick forum search regarding VB6 installation and Vista or Win7.
    Insomnia is just a byproduct of, "It can't be done"

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum. Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts


    {Alpha Image Control} {Memory Leak FAQ} {GDI+ Classes/Samples} {Unicode Open/Save Dialog} {Icon Organizer/Extractor}
    {VBA Control Arrays} {XP/Vista Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  5. #5
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: can't resize VB controls manually

    I don't know if this applies to you but sometimes strange things occur in the VB IDE when its menus have been customized.

    If you have done any menu customizations try resetting them
    View menu -> Toolbars -> Customize...
    Toolbar tab -> Reset button

  6. #6
    VBaholic & Loving It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    GetWindowRect()
    Posts
    11,938

    Re: can't resize VB controls manually

    Merri or Marty, you removed your reply. Didn't catch who exactly it was -- ghoster!

    I think it was a great troubleshooting idea: Lock the controls, then unlock the controls to see if it is resolved (i.e, toggle the lock function). Maybe save changes between the toggling. But if this problem applies to all new projects too, then I doubt it will solve anything.
    Last edited by LaVolpe; Nov 6th, 2010 at 12:19 PM.
    Insomnia is just a byproduct of, "It can't be done"

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum. Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts


    {Alpha Image Control} {Memory Leak FAQ} {GDI+ Classes/Samples} {Unicode Open/Save Dialog} {Icon Organizer/Extractor}
    {VBA Control Arrays} {XP/Vista Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  7. #7
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    32,844

    Re: can't resize VB controls manually

    Quote Originally Posted by LaVolpe View Post
    Merri, you removed your reply. I think it was a great troubleshooting idea: Lock the controls, then unlock the controls to see if it is resolved (i.e, toggle the lock function). Maybe save changes between the toggling.
    You meant me I assume and I'm only Merri some of the time Anyhow I suggested that it might be the Lock Controls Toggle but then I reread the original post and saw that the poster said that that wasn't it.

  8. #8
    VBaholic & Loving It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    GetWindowRect()
    Posts
    11,938

    Re: can't resize VB controls manually

    Quote Originally Posted by MartinLiss View Post
    You meant me I assume and I'm only Merri some of the time Anyhow I suggested that it might be the Lock Controls Toggle but then I reread the original post and saw that the poster said that that wasn't it.
    Hence toggling from on to off is a good idea; whether it works or not is another question. The referenced thread in reply #2 didn't attempt that idea. And yes I mean't you. All you 2-syllable guys whose handles start with 'M' look the same to me
    Insomnia is just a byproduct of, "It can't be done"

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum. Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts


    {Alpha Image Control} {Memory Leak FAQ} {GDI+ Classes/Samples} {Unicode Open/Save Dialog} {Icon Organizer/Extractor}
    {VBA Control Arrays} {XP/Vista Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  9. #9

    Thread Starter
    Addicted Member tcurrier's Avatar
    Join Date
    May 1999
    Location
    Northeastern Pa./USA
    Posts
    255

    Re: can't resize VB controls manually

    Toggling 'lock controls' didn't work, and even a reinstall of VB6 didn't work....

    Out of ideas .... Guess I'll convert all my VB programs to Java ... LOL
    VB6 Enterprise SP4

  10. #10

  11. #11

    Thread Starter
    Addicted Member tcurrier's Avatar
    Join Date
    May 1999
    Location
    Northeastern Pa./USA
    Posts
    255

    Re: can't resize VB controls manually

    Can you edit the form?

    Yes

    If you add a new control to the form, is it locked too?

    Yes

    Is the project folder read-only?

    No

    When I grab the resize handle and drag it, a dotted line appears. When the
    mouse is released, the dotted line disappears, and no resizing is done.
    VB6 Enterprise SP4

  12. #12

  13. #13

    Thread Starter
    Addicted Member tcurrier's Avatar
    Join Date
    May 1999
    Location
    Northeastern Pa./USA
    Posts
    255

    Re: can't resize VB controls manually

    Just a form with a command button on it, which I can't resize ....

    I renamed the .VBP file to .TXT, since the upload dialog wouldn't allow me to upload a .VBP file...
    Attached Files Attached Files
    VB6 Enterprise SP4

  14. #14

    Thread Starter
    Addicted Member tcurrier's Avatar
    Join Date
    May 1999
    Location
    Northeastern Pa./USA
    Posts
    255

    Re: can't resize VB controls manually

    Here's the .FRM file... renamed from RESIZE_CONTROLS.FRM to RESIZE_CONTROLS_FORM.TXT
    Attached Files Attached Files
    VB6 Enterprise SP4

  15. #15

    Thread Starter
    Addicted Member tcurrier's Avatar
    Join Date
    May 1999
    Location
    Northeastern Pa./USA
    Posts
    255

    Re: can't resize VB controls manually

    Also, my OS is Windows XP ...
    VB6 Enterprise SP4

  16. #16
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    32,844

    Re: can't resize VB controls manually

    Unfortuneatly it works normally for me so I have no idea what's going on at your end.

    A couple of FYIs though:
    • Normally people create zip or rar files and attach them, and
    • You can have multiple attahments on a single post.

  17. #17

    Thread Starter
    Addicted Member tcurrier's Avatar
    Join Date
    May 1999
    Location
    Northeastern Pa./USA
    Posts
    255

    Re: can't resize VB controls manually

    Thanks.... Forgot about the .ZIP file option... The multiple post was due to the fact that I forgot to include the .FRM file in the first post
    VB6 Enterprise SP4

  18. #18
    Addicted Member
    Join Date
    Jul 2003
    Location
    Earth, I think!!
    Posts
    246

    Re: can't resize VB controls manually

    I got the same problem with the "lock" controls ... if any solution is present please.....inform us...

  19. #19
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,328

    Re: can't resize VB controls manually

    I think that this http://www.vbforums.com/showthread.php?t=628299 thread may give you pointers although the OP still hasn't (as far as I know) resolved the problem.

  20. #20
    Addicted Member
    Join Date
    Jul 2003
    Location
    Earth, I think!!
    Posts
    246

    Re: can't resize VB controls manually

    I'm using the shift + arrow method but this isn't a solution for sure...
    It's a really annoying problem ...

  21. #21
    New Member
    Join Date
    Dec 2010
    Posts
    2

    Re: can't resize VB controls manually

    Several of us at the company I work at have the same issue. The common "Thread" with these systems is that we have both Visual Basic 6 (SP6) loaded along with Visual Studio 2010. The problems started occuring right after loading Visual Stuido 2010. I have not tracked down the problem yet, but this might help eveyone on this post find a quick solution. I am betting it is something in the Windows Registry, but I am not 100% sure yet. Please let me know if anyone finds out what the issue is between Visual Stuido 2010 & Microsoft Visual Studio 6.0(SP6). Also, all of our systems are Windows XP SP3 with all updates applied.

  22. #22
    New Member
    Join Date
    Dec 2010
    Posts
    2

    Re: can't resize VB controls manually

    One other thought.... We also have Visual Studio 2008 loaded so we can convert the code from VB6 to the .NET Framework. Unfortunately, Microsoft dropped the conversion from VB6 in later versions of Microsoft Visual Studio and you must load 2008 to convert VB6 -> Visual Studio 2010. The problems did not start until Visual Studio 2010 was loaded....

  23. #23
    New Member
    Join Date
    Mar 2013
    Posts
    13

    Re: can't resize VB controls manually

    http://www.vbforums.com/showthread.p...=1#post4369085

    Quote Originally Posted by gowen View Post
    I verified that it is, indeed, Verdasys Digital Guardian causing the issue. I uninstalled the application and the sizing returned to the way it should. Going forward this will not be an issue because I can just uninstall it on any machines I'm coding VB Studio 6 (C,VB,ect it's all IDE). This issue is now resolved.

    Thanks

    PS: Installing breaks, uninstalling fixes. It seems that tcurrier also confirmed that he has Digital Guardian Agent (Verdasys) installed and continues to have the issue. My suggestion would be to get the uninstall key or force uninstall it without and continue to code up using VB6.

  24. #24
    Super Moderator Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,428

    Re: can't resize VB controls manually

    You do realize that this thread is 2.5 years old, right?
    Joacim Andersson
    If anyone's answer has helped you, please show your appreciation by rating that answer.
    I'd rather run ScriptBrix...
    Joacim's view on stuff.

    MVP

  25. #25
    New Member
    Join Date
    Mar 2013
    Posts
    13

    Re: can't resize VB controls manually

    Quote Originally Posted by Joacim Andersson View Post
    You do realize that this thread is 2.5 years old, right?
    Yes, this was referenced in the link posted. This is what I came across when doing a search and decided, like a good citizen, I'd post up the resolution for future patrons who may stumble on the same problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.