CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2013
    Posts
    3

    Unhappy Urgent help needed: Windows Form not properly updating

    Hi there,

    I'm having a PowerPoint add-in (not really worth mentioning details here) and one button is openening a Windows Forms form. Now I've had to change the fields of said form and something is going crazy from here.

    I've added another text field, changed an old text field to be single line instead of multi, moved a DateTimePIcker field to a new position and added some new labels to the form. The new text field and the label are shown on form. But everything that was on the form before still has old forms and positions (i.e. my old text field is still multiline). So my form doesn't seem to update the old (changed) controls.

    Is .NET or Office caching Windows Forms somewhere, because it looks exactly like this. Or am I missing something?

    As I'm in the middle of a work that needs to get finished today I would really appreciate if anyone could help me out here, even if you're not sure your possible solution could help.

    Regards,
    Thomas

  2. #2
    Join Date
    Aug 2013
    Posts
    3

    Re: Urgent help needed: Windows Form not properly updating

    Another thing: I've installed my addin on a different machine to check if some kind of caching is the problem. And even on a different machine it the same problem, so it seems the issue is during compilation of the form.

  3. #3
    Join Date
    Aug 2013
    Posts
    3

    Re: Urgent help needed: Windows Form not properly updating

    I'm answering myself now

    I didn't really find a solution, but a workaround:

    I've had to copy the existing controls, name them to a different name and deleted the old ones. That way at least I got my controls to where I wanted them to be.

    If anyone had a similar situation and knows the real cause, please update this thread nevertheless, because this problem might come up another time for me or a different forum reader.

    Regards,
    Thomas

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

Featured