CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: UserControl

  1. #1
    Join Date
    Aug 2001
    Posts
    5

    UserControl

    I have created a user control which is placed on many of the forms
    in the project.

    Sometimes the usercontrols is automatically removed from the forms.
    My project is into SourceSafe. So sometimes when i checkout the
    form the usercontrols automatically becomes visible on the form.

    I come to know this when i run that particular form.

    Sometimes it works out if i remove the project and come back,
    but this is a very rare case. Now i can't keep on checking out
    each and every form and keep on placing the controls on the form.
    Is there any proper solution for this problem.



  2. #2
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: UserControl

    When a control fails to load, the VB IDE creates a .LOG file which tells you which control failed to load.

    You will probably find that this failure is because the control in question is not registered correctly.

    HTH,
    Duncan

    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com
    Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

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