Results 1 to 2 of 2

Thread: Dont know this error !!!

Hybrid View

  1. #1

    Thread Starter
    Fanatic Member manhit45's Avatar
    Join Date
    May 2009
    Location
    Ha noi - Viet Nam
    Posts
    826

    Dont know this error !!!

    I have use Devcomponent tool for design.
    Last night i have copied controls and have edited some changes. And now
    ANY TIME I debug my program show :
    Code:
    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    The control DevComponents.DotNetBar.NavigationBar has thrown an unhandled exception in the designer and has been disabled.  
    
    
    
    Exception:
    
    The file D:\PROGRAM\RESTAURANT\HQ2\HQ\QLBH1.0\Mainform\Trangchu.vb cannot be modified in the designer while building or debugging.
    
    
    
    Stack trace:
    
       at DevComponents.DotNetBar.NavigationBarContainer.RecalcSize()
    
       at DevComponents.DotNetBar.NavigationBar.RecalcSize()
    
       at DevComponents.DotNetBar.NavigationBar.OnHandleCreated(EventArgs e)
    ---------------------------
    OK   
    ---------------------------
    Have you met that error ?

    I click OK and program still fine.
    But when i change the designer file then that msbox is shown.
    How can i fix it ?
    --***----------***-----

    If i help you please rate me.

    Working with Excel * Working with String * Working with Database * Working with array *

    K51 ĐH BÁCH KHOA HÀ NỘI - Khoa CNTT pro.

  2. #2
    Lively Member
    Join Date
    Jan 2008
    Posts
    67

    Re: Dont know this error !!!

    Quote Originally Posted by manhit45 View Post
    I have use Devcomponent tool for design.
    Last night i have copied controls and have edited some changes. And now
    ANY TIME I debug my program show :
    Code:
    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    The control DevComponents.DotNetBar.NavigationBar has thrown an unhandled exception in the designer and has been disabled.  
    
    
    
    Exception:
    
    The file D:\PROGRAM\RESTAURANT\HQ2\HQ\QLBH1.0\Mainform\Trangchu.vb cannot be modified in the designer while building or debugging.
    
    
    
    Stack trace:
    
       at DevComponents.DotNetBar.NavigationBarContainer.RecalcSize()
    
       at DevComponents.DotNetBar.NavigationBar.RecalcSize()
    
       at DevComponents.DotNetBar.NavigationBar.OnHandleCreated(EventArgs e)
    ---------------------------
    OK   
    ---------------------------
    Have you met that error ?

    I click OK and program still fine.
    But when i change the designer file then that msbox is shown.
    How can i fix it ?
    I could be completely wrong here, but I get similar behaviour if I try making changes in the designer and then try and run the application without saving. Try either saving the program first, and/or try and go to code view instead of form view and then run the program.

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