Visual Studio keeps shutting down while trying to open Window Forms?-VBForums
Results 1 to 7 of 7

Thread: Visual Studio keeps shutting down while trying to open Window Forms?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    4,633

    Visual Studio keeps shutting down while trying to open Window Forms?

    I'm running VS 2015 Enterprise edition. I have several Windows Forms and Report Files that when I get the below error. It does this repeatedly and I have know idea what is causing it. See attached image.
    Attached Images Attached Images  
    Blake

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    97,370

    Re: Visual Studio keeps shutting down while trying to open Window Forms?

    It could any number of things. I don't know but I would expect that VS would - or at least could - write to a log file when something like that happens. If it was me, I'd try to find out if that is indeed the case and, if it is, check out the contents of that log file.

    Trying to open the same project and items on another machine might not be a bad idea either. If the same thing doesn't happen elsewhere then a repair of VS is probably in order and, if that doesn't help, a reinstall might be required. If this is due to a corrupt file somewhere then finding the culprit can be all but impossible unless it's something that Microsoft have investigated previously.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    4,633

    Re: Visual Studio keeps shutting down while trying to open Window Forms?

    Thanks JMC...I'll try looking for a log file.
    Blake

  4. #4
    Fanatic Member
    Join Date
    Dec 2014
    Location
    VB6 dinosaur land
    Posts
    755

    Re: Visual Studio keeps shutting down while trying to open Window Forms?

    It wasn't clear if these several forms and reports were in one project or not. If so, I'd assume a file in just that project is corrupt. Otherwise, I'd do as jmc.

  5. #5
    PowerPoster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,012

    Re: Visual Studio keeps shutting down while trying to open Window Forms?

    Did you look at the output clicking on the debug button? Just curious.
    Please remember next time...elections matter!

  6. #6
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    31,350

    Re: Visual Studio keeps shutting down while trying to open Window Forms?

    When I run into these cases, I open, or try to, the designer.vb file, sometimes it's a bad reference or some errant code in there that causes the crash. - I see now that this is on a report file... so I'm not sure there is a .designer.vb file that corresponds with reports.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  7. #7

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    4,633

    Re: Visual Studio keeps shutting down while trying to open Window Forms?

    It's definitely a mystery to me...I'm just not sure how to go about debugging it. I will take a look at the .designer file.
    Blake

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.