Blank dialog resource after builds

This is a discussion on Blank dialog resource after builds within the C# Programming forums, part of the General Programming Boards category; Today I started working on a C# project after reading up a bit it. The language is fairly simple but ...

  1. #1
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,584

    Blank dialog resource after builds

    Today I started working on a C# project after reading up a bit it. The language is fairly simple but the resource editor in VS 2003 just um...well...sucks.

    At odd times after a successful build and run my dialog resource (the main dialog for the app) will have absolutely no controls. I can still view the code for it but the design view shows a blank dialog. After it does this I have no way of fixing it.

    I put a known good form file and a known bad one in Araxis merge and it showed that Visual Studio was removing the lines that set the size and color of controls. It's possible that the size is being set to 0 which would explain why I cannot see anything on my dialog. Why is Visual Studio altering the size of my controls in my source file after a build??? Also I put a thirdy party grid control inside of a groupbox and lost the ability to size the grid. Then I deleted the group box which then deleted the grid.....but the grid reference was still there even though the grid was nowhere to be found. There was no way to delete the previous grid so I made a new one and named it something different. Is Visual Studio 2003 .NET a total piece of crap or am I missing some major updates?

    Anyone know of some workarounds so I can actually get something done at work besides troubleshooting Microsoft errors.
    Last edited by VirtualAce; 11-09-2007 at 04:49 PM.

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,801
    Upgrade to 2005 . I mean they are already releasing 2008, which makes 2003 way old.

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,584
    Well that's not much help since I must have 2003 for now.

    I can get 2005 but I'll still have to do a dual install.

    EDIT:

    I got my hands on 2005 and it works fine. The resize problem is a bug in 2003.
    Last edited by VirtualAce; 11-14-2007 at 10:00 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 02-13-2008, 01:59 PM
  2. Reusing dialog procedure and resource file code
    By elad in forum Windows Programming
    Replies: 3
    Last Post: 12-23-2006, 08:45 AM
  3. make Child Dialog not Popup?
    By Zeusbwr in forum Windows Programming
    Replies: 5
    Last Post: 04-08-2005, 02:42 PM
  4. Dialog Buttons without resource files?
    By 7smurfs in forum Windows Programming
    Replies: 5
    Last Post: 07-18-2004, 08:13 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21