none
The visual basic development environment cannot provide multiple instances of a single use class RRS feed

  • Question

  • hi

    I went through all article but still I am not able to get rid of the error. when I launch my desktop application it thrown below mentioned error. "The visual basic development environment cannot provide multiple instances of a single use class. Consult the documentation for restrictions on debugging single -use objects" The desktop application calls a VB6 exe.

    Thursday, May 17, 2018 5:52 PM

All replies

  • How, by telephone? There is no way that you can use the keyword "call" to call an exe.

    Success
    Cor


    Thursday, May 17, 2018 5:59 PM
  • This forum is for VB.NET, use the following forum for VB6 questions.

    http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Thursday, May 17, 2018 6:02 PM
  • buzz off Cor Lighthert
    Thursday, May 17, 2018 6:12 PM
  • Are you using a .Net application to call the VB6 application?

    If so, the exception message would indicate that the error is coming from the VB6 executable.


    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

    Thursday, May 17, 2018 6:30 PM
  • As Karen indicated, VB 6 questions are off-topic here and need to be posted in another forum.

    In addition, I would also like to politely ask that you to close out your threads in the future by marking those posts that are most helpful to your questions. You may find that people are more inclined to provide assistance if you give them credit for their answers and less inclined when you simply abandon them.


    Paul ~~~~ Microsoft MVP (Visual Basic)

    Thursday, May 17, 2018 7:10 PM
  • Including a snip of the offending code makes it easier for people to assist you.

    Friday, May 18, 2018 5:08 AM