Results 1 to 3 of 3

Thread: testing user control problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    8

    Exclamation testing user control problem

    I designed a user control. I added an exe project. I closed the user control designer and then placed the usercontrol onto a blank form in the exe project. When I run the project, I get the following message:

    System error &H80004015(-2147467243). The class is configured to run as a security ID different than the caller.

    Any ideas as to what's going on?
    Please help. Thanks!

  2. #2
    Hyperactive Member SoftwareMaker's Avatar
    Join Date
    Mar 2001
    Location
    Elbonia with Dilbert and Wally
    Posts
    322
    Worked with UserControl for a long time and never came across such a problem...

    Did you set the Project2 as Start-Up and Form1 as the Start-Up form ? Debugging Tab of Project Properties have your UserControl as the startup component ?

    If this doesnt work, launch your usercontrol in the browser. Remove Project 2 and the form it contains. And just run your UserControl...the IE Browser should run with your embedded UserControl....I hope it works.
    William T
    Software Architect / Chief Software Developer
    Softwaremaker.Net Pte Ltd
    http://www.Softwaremaker.net

    *** Things are always the darkest before they go pitch black ***

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    8

    Thumbs up testing user control problem

    Thanks for your reply, William. The day before you reply, I had some major computer problems which forced me to reformat my hard drive and install everything back on my computer. I just tried the user control test again and didn't get any kind of error message, and was not able to recreate it by changing any of the settings on the projects. Hopefully I won't see that error again, it sounded more like a system problem than a VB problem. Thanks for your input.

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