Results 1 to 4 of 4

Thread: custom usercontrol which has another custom usercontrol inside

  1. #1

    Thread Starter
    Addicted Member BlueRose's Avatar
    Join Date
    Jan 2002
    Location
    ISTANBUL
    Posts
    245

    custom usercontrol which has another custom usercontrol inside

    Hi friends,

    I have strange problem on my custom control.

    I made a custom usercontrol which has another custom usercontrol inside, i am using this control on a form and it is working very well.

    But when i transfer this form with its custom controls to another project, it is giving errors. And could not find second custom controls on my first custom controls.

    Why is it giving this error?

    Any idea?
    You can do while you think that you can do

    If you think my answer solve your question, please rate it.

  2. #2
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: custom usercontrol which has another custom usercontrol inside

    Did you add first the UserControl that is within the other UserControl? If you didn't, try adding like that. Also make sure you have all the possible references and other required files before adding the UserControls.

    The actual error message would've been nice to see.

  3. #3

    Thread Starter
    Addicted Member BlueRose's Avatar
    Join Date
    Jan 2002
    Location
    ISTANBUL
    Posts
    245

    Re: custom usercontrol which has another custom usercontrol inside

    not almostly that you think.

    first user control i used is seperatly written, second one is also seperatly written i am adding one inside another just as normal control selected from toolbox.

    error given is not very important only it is reporting that control could not find.
    You can do while you think that you can do

    If you think my answer solve your question, please rate it.

  4. #4

    Thread Starter
    Addicted Member BlueRose's Avatar
    Join Date
    Jan 2002
    Location
    ISTANBUL
    Posts
    245

    Re: custom usercontrol which has another custom usercontrol inside

    NO ANY IDEA

    it must be an easy way transfer an usercontrol with its other pieces

    after transferring the main usercontrol it is giving below error log.

    Line 70: Class hcSebeke.Selector of control slcLekeTip was not a loaded control class.
    Line 89: Class hcSebeke.hcLabel of control hcLabel1 was not a loaded control class.
    Line 119: Class hcSebeke.Selector of control slcLekeSayı was not a loaded control class.
    Line 269: Class hcSebeke.hcLabel of control hcLabel2 was not a loaded control class.
    Line 325: Class hcSebeke.hcLabel of control lblLekeSayısı was not a loaded control class.
    Line 346: Class hcSebeke.hcLabel of control lblGrupAdet was not a loaded control class.
    Line 367: Class hcSebeke.hcLabel of control lblRölatifSayı was not a loaded control class.
    Line 451: Class hcSebeke.hcLabel of control lblEnlem was not a loaded control class.
    Line 463: Class hcSebeke.hcLabel of control lblBoylam was not a loaded control class.
    Line 497: Class hcSebeke.PlaceMark of control pmLeke was not a loaded control class.
    Line 76: The property name _ExtentX in slcLekeTip is invalid.
    Line 77: The property name _ExtentY in slcLekeTip is invalid.
    Line 86: The property name ucFont in slcLekeTip is invalid.
    Line 87: The property name ucText in slcLekeTip is invalid.
    Line 95: The property name _ExtentX in hcLabel1 is invalid.
    Line 96: The property name _ExtentY in hcLabel1 is invalid.
    Line 97: The property name Caption in hcLabel1 is invalid.
    Line 98: The property name CaptionColor in hcLabel1 is invalid.
    Line 107: The property name CaptionFont in hcLabel1 is invalid.
    Line 108: The property name Text in hcLabel1 is invalid.
    Line 125: The property name _ExtentX in slcLekeSayı is invalid.
    Line 126: The property name _ExtentY in slcLekeSayı is invalid.
    Line 135: The property name ucFont in slcLekeSayı is invalid.
    Line 136: The property name ucSelect in slcLekeSayı is invalid.
    Line 137: The property name ucText in slcLekeSayı is invalid.
    Line 275: The property name _ExtentX in hcLabel2 is invalid.
    Line 276: The property name _ExtentY in hcLabel2 is invalid.
    Line 277: The property name Caption in hcLabel2 is invalid.
    Line 278: The property name CaptionColor in hcLabel2 is invalid.
    Line 287: The property name CaptionFont in hcLabel2 is invalid.
    Line 288: The property name Text in hcLabel2 is invalid.
    Line 331: The property name _ExtentX in lblLekeSayısı is invalid.
    Line 332: The property name _ExtentY in lblLekeSayısı is invalid.
    Line 333: The property name Caption in lblLekeSayısı is invalid.
    Line 342: The property name CaptionFont in lblLekeSayısı is invalid.
    Line 343: The property name Text in lblLekeSayısı is invalid.
    Line 344: The property name TextAlign in lblLekeSayısı is invalid.
    Line 352: The property name _ExtentX in lblGrupAdet is invalid.
    Line 353: The property name _ExtentY in lblGrupAdet is invalid.
    Line 354: The property name Caption in lblGrupAdet is invalid.
    Line 363: The property name CaptionFont in lblGrupAdet is invalid.
    Line 364: The property name Text in lblGrupAdet is invalid.
    Line 365: The property name TextAlign in lblGrupAdet is invalid.
    Line 373: The property name _ExtentX in lblRölatifSayı is invalid.
    Line 374: The property name _ExtentY in lblRölatifSayı is invalid.
    Line 375: The property name Caption in lblRölatifSayı is invalid.
    Line 376: The property name CaptionColor in lblRölatifSayı is invalid.
    Line 385: The property name CaptionFont in lblRölatifSayı is invalid.
    Line 386: The property name Text in lblRölatifSayı is invalid.
    Line 387: The property name TextColor in lblRölatifSayı is invalid.
    Line 388: The property name TextAlign in lblRölatifSayı is invalid.
    Line 457: The property name _ExtentX in lblEnlem is invalid.
    Line 458: The property name _ExtentY in lblEnlem is invalid.
    Line 459: The property name Caption in lblEnlem is invalid.
    Line 460: The property name Text in lblEnlem is invalid.
    Line 461: The property name TextSymbol in lblEnlem is invalid.
    Line 469: The property name _ExtentX in lblBoylam is invalid.
    Line 470: The property name _ExtentY in lblBoylam is invalid.
    Line 471: The property name Caption in lblBoylam is invalid.
    Line 472: The property name Text in lblBoylam is invalid.
    Line 473: The property name TextSymbol in lblBoylam is invalid.
    Line 504: The property name _ExtentX in pmLeke is invalid.
    Line 505: The property name _ExtentY in pmLeke is invalid.
    Line 506: The property name ucEnabled in pmLeke is invalid.
    Line 507: The property name txtColor in pmLeke is invalid.
    Line 508: The property name ucFore in pmLeke is invalid.
    How can i solve this?
    You can do while you think that you can do

    If you think my answer solve your question, please rate it.

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