Problems with controls Position

Hi I am new with VB Express. & for .NET Environment.

Please Leave this post if it is silly.

I tried to place three buttons in the form. I Placed it, compiled it and ran the form, and it worked properly.

After I tried adding another button in the form. I rearranged the buttons to a new location.

saved, compiled and when executed, the three was still on the old location , and the new button in the new position.

I tried re arranging the again and again . but still the three buttons were on the old location only and the new button in the new location.

I also tried to accomodate the new button with the three button itself. In the design time it looks OK. But when saved,compiled and executed, the new misaligns the other three buttons.

why this behaviour

Thx & Regards

Mohan




Answer this question

Problems with controls Position

  • knuckle05

    Hi mohanraj,

    refer to ReneeC on http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=227937&SiteID=1

    regarding your issue: are you still having the same problem look, try to give us a step by step scenario (without the download / upload ) so we can simulate it on our machines.



  • Gena

    i can understand your diff abt not being able to upload u r poject
    use --http://rapidshare.de/--
    upload u r project.zip... it will give a download link
    just paste that link here.. then anyone can dload u r project from that link using FREE download ( premium dload is a paid service .. and none of us will be needing it)

    as for u r problem.. i am sorry i cant help



  • Moses

    Hi,

    Is that files coming according to what i said.

    In that file , left the second language font that i used. forgotten sorry.

    If you want that also, then I will Send it.

    This is the same font made problems for which the discussion thread that I created ( Font problem )

    Thank You.



  • Rogier van de Roer

    Hi,

    Reply Please



  • ZhangHua

    i can understand your diff abt not being able to upload u r poject
    use http://rapidshare.de/
    upload u r project.zip... it will give a download link
    just paste that link here.. then anyone can dload u r project from that link using FREE download ( premium dload is a paid service .. and none of us will be needing it)

    as for u r problem.. i am sorry i cant help



  • Luca Giuffrida

    HI,

    Actually there is no piece of code to change the position.

    I fordwarded the files to some mail ids of microsoft. (Attached a rar file)

    The Form name of the problem file is(frmcustomers.vb)

    In that form there will be four buttons

    (cmdcancel1,cmdupdate1,cmdsave1,cmdclose1).

    Change the button names as

     cmdcancel,cmdupdate,cmdsave,cmdclose( because these were the old button names). you can see the buttons misplaced.

    Also check one by one changing the button names as said, you will see one by one moving to that old location.

    I have send you in the attachment itself the designtime image and runtime image.

     

    Sorry, found no way to communicate rather  than attaching the files. 

    Thx and Regards

    Mohan Raj K.

     

     

     



  • requiem001

    Hi,

    I want to let you know another thing. During form design . there was some power cut. is this caused damages . (but file has been recovered).



  • Dj. Benlahrech

    hi,

    Thank you

    I have added to this link. http://rapidshare.de/files/20106952/ColdStorage20.rar.html

    Please find it.

    Thank You



  • RA-SJD

    Hai,

    Today I observed the same kind of behaviour.

    I worked with same form today.

    I deleted that four buttons. and then saved,same steps....

    the Form appeared without the buttons.

    After that the I Placed four buttons there itself (buttons names are default button1,2 etc.,)

    compiled and saved. It worked Properly . ie., the buttons were placed where I placed.

    after that I changed with buttonnames with the old values (ie., button names of the old ones which I deleted the last four buttons.)

    compiled ,saved and executed.

    The buttons where not at the new place of the buttons where i placed, Instead and saw the buttons where at the old buttons placed.

    I think this is not silly.

    I think some of the properties of the form or the project not refreshed Properly.(I think.).

    Note:- I have not deleted the form and tried the buttons placing.

    Soon I will try for that also.

    And I will Clearly say the Reproducing Steps for this malfunction.

    Thankx and Regards

    Mohan Raj K.



  • prash123

    Hi Mohanraj,

    Please note that all people here are advised not to use their real email addresses, cos the forum content are for public use, and this to avoid spamming.

    so you can publish the code of the form instead and then we'll copy it.

    and referring to your question,  please provide step by step specific details so we can simulate the prob on our machines, cos such behavior of control displacement is really strange!!! :o

    mario

     



  • Grey Properjohn

    HI,

    I created new forms and controls. and tried moving they are working perfect.

    But still that abovesaid form making the problems as the same. I have not written any code to change position.

    could you give some email Id, so that I can send those forms to you people. or any upload path or attachments.

    thx & Regards,

    Mohan Raj K.



  • Tony_Rodriguez

    Hello,

    Reply Please

    Has the problem came   according to what I Said.

    Reply Please.

    can I know what wrong thing I made. to behave like this.

     



  • Jonathan Clark

    HI,

    Thank you. I have given the upload link. please find it

    http://rapidshare.de/files/20106952/ColdStorage20.rar.html



  • OBeckles

    I've recently installed the VS2005EE haven't seen this particular issue before. Have you tried to set the position of the fields via code
  • Problems with controls Position