Results 1 to 5 of 5

Thread: Error while openening form in designmode, pressing F5 opens form

  1. #1

    Thread Starter
    New Member waitcursor's Avatar
    Join Date
    May 2007
    Posts
    12

    Error while openening form in designmode, pressing F5 opens form

    Hi all,

    Whenever I want to reopen a project that I didn't worked on for several month and want to view my form in design mode I receive following error.

    Warning1 Method not found: 'Void System.Windows.Forms.Design.ParentControlDesigner.WndProc(System.Windows.Forms.Message ByRef)'. 0 0


    at System.Reflection.CustomAttribute._CreateCaObject(Void* pModule, Void* pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
    at System.Reflection.CustomAttribute.CreateCaObject(Module module, RuntimeMethodHandle ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)
    at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes)
    at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
    at System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit)
    at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetAttributes(Type type)
    at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData.GetAttributes()
    at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel .ICustomTypeDescriptor.GetAttributes()
    at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel .ICustomTypeDescriptor.GetAttributes()
    at System.ComponentModel.TypeDescriptor.GetAttributes(Type componentType)
    at System.ComponentModel.Design.Serialization.DesignerSerializationManager.GetSerializer(Type objectType, Type serializerType)
    at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design .Serialization.IDesignerSerializationManager.GetSerializer(Type objectType, Type serializerType)
    at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.FillStatementTable(IDesignerSeriali zationManager manager, IDictionary table, Dictionary`2 names, CodeStatementCollection statements, String className)
    at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationM anager manager, CodeTypeDeclaration declaration)
    at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationM anager manager)
    at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSer ializationManager serializationManager)
    at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Micr osoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)

    I used this project in VB2005 express, but also in VB2008. Can somebody help me with this?

    regards and thanks.

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

    Re: Error while openening form in designmode, pressing F5 opens form

    >>>I used this project in VB2005 express, but also in VB2008. Can somebody help me with this?
    Umm.... where did you get this error, in 2005 or in 2008?
    By any chance is this error being reported by VB2005? Did you open the form in VB2008 prior to this error showing?

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

  3. #3

    Thread Starter
    New Member waitcursor's Avatar
    Join Date
    May 2007
    Posts
    12

    Re: Error while openening form in designmode, pressing F5 opens form

    Sorry I wasn't clear enough, I started the project 1 year ago in VB2005 express, later worked on it in VB2008, now restarted it directly in VB2008.

    A backup of this project was started in VB2005, the one that has never seen VB2008 but still same message on both IDE's.

    regards and thanks again.

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

    Re: Error while openening form in designmode, pressing F5 opens form

    Ok, that eliminates that possibility. I wanted to make sure I understood where the error was comming from - there was a change in the files from 2005 to 2008... so once it's opened in 2008, it cant' be opened in 2005 (it can, but might result in some sleepless nights and a bucket of tums).

    OK, so that's not the problem here. Has anythign else changed? Specifically, have you re-built your computer? OR unstalled a component library or something? Are you having problems with any other forms (same project, as well as in other projects).

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

  5. #5

    Thread Starter
    New Member waitcursor's Avatar
    Join Date
    May 2007
    Posts
    12

    Re: Error while openening form in designmode, pressing F5 opens form

    Well I was just checkin this and it seems that I cannot add a specific dll anymore, it doesn't come with an error but it doesn't load the file either.

    The DLL that my project needs is called "eyefinder.dll" version 1.0.3.0

    Eyefinder non-commercial (for distribution only with free software)
    Tim Dawson - http://www.divil.co.uk/net/

    But why I don't know, It used to work.

    regards and I can say enough thanks for helping me.

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