Results 1 to 6 of 6

Thread: [RESOLVED] Unattended project cannot be visible at runtime

  1. #1

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Resolved [RESOLVED] Unattended project cannot be visible at runtime

    Anyone ever come across this compile error before? I can't find documentation on it anywhere.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Unattended project cannot be visible at runtime

    Never, did it occur in your project? What did you do to raise such error and what type of project are you doing?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Re: Unattended project cannot be visible at runtime

    Quote Originally Posted by dee-u
    Never, did it occur in your project? What did you do to raise such error and what type of project are you doing?
    I completely forgot about this, but it is happening again.

    I am not getting the error, it is someone in my office. So I don't know exactly what they've been doing, but any changes in the code don't jump out as the problem.

    It is a DLL project.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Unattended project cannot be visible at runtime

    Could it be calling some activation of a form or something while the system is locked or going into hibernation?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Unattended project cannot be visible at runtime

    If the DLL contains a Form or User Controls, the Unattended Execution property cannot be set. If the Unattended Execution is set you cannot add a Form to your project.

    If however, you manually modify the VBP file using say NotePad and change the Unattend option (to 1) you will get this error the next time the project is compiled.

    Does your DLL contain user interface elements?
    What is the Value of the Unattend option in the VBP file?

  6. #6

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Re: Unattended project cannot be visible at runtime

    Quote Originally Posted by brucevde
    If the DLL contains a Form or User Controls, the Unattended Execution property cannot be set. If the Unattended Execution is set you cannot add a Form to your project.

    If however, you manually modify the VBP file using say NotePad and change the Unattend option (to 1) you will get this error the next time the project is compiled.

    Does your DLL contain user interface elements?
    What is the Value of the Unattend option in the VBP file?
    I went snooping and it seems that someone was screwing with the vbp outside of the IDE. So that was the problem.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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