Results 1 to 5 of 5

Thread: Open Project, Compiler Crashes

  1. #1

    Thread Starter
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860

    Open Project, Compiler Crashes

    I'm trying to move a project from my old laptop to my new laptop. But I'm running into a problem: whenever I open the project on my new laptop, it crashes!

    I can open other projects on my new laptop, including some copied from my old laptop. I can also open the project in question on my old laptop. So the problem must be some combination of things in the project, and the fact that it was moved.

    Any suggestions? I've found posts of people with similar problems, but no good answers.
    Don't pay attention to this signature, it's contradictory.

  2. #2
    PowerPoster keystone_paul's Avatar
    Join Date
    Nov 2008
    Location
    UK
    Posts
    3,327

    Re: Open Project, Compiler Crashes

    Can you be more specific - when you say it crashes do you mean that there is an exception raised by Visual Studio and it exits, or that the project fails to load but Visual Studio remains open.

    Presumably there is a message shown - if so what is the error message?

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Open Project, Compiler Crashes

    unfortunately it could be a number of things... first get rid of the suo file.... it holds what files you had open.... if you had something open in the designer, then the IDE will try to open it again... if it references something that doesn'texist on your new system, it could cause that problem.... so I'd start there....

    If that doesn't solve it, create a new project, then Add Existing Item from your old project into the new one, one item at a time....

    -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??? *

  4. #4

    Thread Starter
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860

    Re: Open Project, Compiler Crashes

    Quote Originally Posted by keystone_paul View Post
    Can you be more specific - when you say it crashes do you mean that there is an exception raised by Visual Studio and it exits, or that the project fails to load but Visual Studio remains open.

    Presumably there is a message shown - if so what is the error message?
    I open the project, and I quickly get a message "Microsoft (R) Visual Basic Compiler has stopped working", with the options to close, debug, or check for a solution (doesn't work). There's also a 'show problem details' widget, which puts up information that would only be useful to microsoft (eg. Exception Code e06d7363)

    Quote Originally Posted by techgnome View Post
    unfortunately it could be a number of things... first get rid of the suo file.... it holds what files you had open.... if you had something open in the designer, then the IDE will try to open it again... if it references something that doesn'texist on your new system, it could cause that problem.... so I'd start there....

    If that doesn't solve it, create a new project, then Add Existing Item from your old project into the new one, one item at a time....

    -tg
    The compiler crashes, not the IDE. I'd rather not manually add 100 files.
    Don't pay attention to this signature, it's contradictory.

  5. #5

    Thread Starter
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860

    Re: Open Project, Compiler Crashes

    I found the problem. VS team crashes for this snippet of code, but professional doesn't:

    Code:
    Public Class B(Of T)
        Protected Function P(ByVal arg As T) As Boolean
        End Function
    End Class
    Public Class C
        Inherits B(Of Integer)
        Private Sub New(ByVal arg As Integer)
            Dim d = Function() P(arg)
        End Sub
    End Class
    Don't pay attention to this signature, it's contradictory.

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