Results 1 to 4 of 4

Thread: Application Settings Form Size not giving expected results

  1. #1

    Thread Starter
    Fanatic Member LITHIA's Avatar
    Join Date
    Dec 2002
    Location
    UK, England
    Posts
    575

    Application Settings Form Size not giving expected results

    Hi,

    I'm using Visual Studio 2005 and I have set up the application settings to bind the form's size property to the config file.

    I'm just wondering if anyone else is experiencing this problem, so I know it's a bug in Visual Studio 2005 and not my app.

    1) When I minimize my program and then unminimize it, the size of the window goes to 0, 0. I have no idea why it is doing this.

    2) When I maximize and then restore the form, it doesn't restore to its previous size when I maximized it. I seems to stay at its maximized size, but just moves so it's overlapping off the side of the screen.

    I have no clue why my program seems to be doing this, so I'm guessing it may be a problem in Visual Studio. If it is, I'll submit a bug report to Microsoft explaining. If it isn't... well, I think I'll still submit a bug report to Microsoft and see if they can help me if someone else on here can't give any assistance.

    Thanks!

  2. #2
    Fanatic Member uniquegodwin's Avatar
    Join Date
    Jul 2005
    Location
    Chennai,India
    Posts
    694

    Re: Application Settings Form Size not giving expected results

    Can u tell me what is the use of binding the form property to the config file?
    Godwin

    Help someone else with what someone helped you!

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Application Settings Form Size not giving expected results

    I'm not sure of the use either, but here's what I think is going on. It sounds like it's bound to automaticaly save the values to the config file.... So, what it sounds like is happening is that you maximize it, so it's height & width changes to new values, which are then saved to the config file. The data is being saved AFTER the change, not before. So it's not saving the old values.

    Tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4

    Thread Starter
    Fanatic Member LITHIA's Avatar
    Join Date
    Dec 2002
    Location
    UK, England
    Posts
    575

    Re: Application Settings Form Size not giving expected results

    So I guess it's a problem with the Application Settings. I just tried remaking it, and I still get the problem.

    I've also noticed it seems to not retain the setting on the properties either. It keeps going back to (None), even though the setting is still assigned to it.

    I'll report it now. Thanks.

    Edit: Reported. Check it out here http://lab.msdn.microsoft.com/produc...a-e9ecb2011733
    Last edited by LITHIA; Aug 7th, 2005 at 01:21 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width