Hi Newsgroup, these are my first contacts with mono. Some users ask me to make my VB2008 (NET2) running under Mono. (it already runs under Wine but I feel Mono could be a better coice)
I have checked the project with MoMA and found 7 Issues which I could work around by using the methods depending on runtime. Now I get an Exeption while loading the mainform. I have a lot of listviews in the project which are to 95% in report mode and use 60% the Listview.Groups. The errormessage as follow (the Project do not contains "ListViewItemCount" - google show no results) Where I can find the rootcause for this exeption?: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.Serialization.SerializationException: No element named ListViewItemCount could be found. at System.Runtime.Serialization.SerializationInfo.GetValue (System.String name, System.Type type) [0x00000] at System.Runtime.Serialization.SerializationInfo.GetInt32 (System.String name) [0x00000] at System.Windows.Forms.ListViewGroup..ctor (System.Runtime.Serialization.SerializationInfo info, StreamingContext context) [0x00000] at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception stack trace --- at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] at System.Runtime.Serialization.ObjectRecord.LoadData (System.Runtime.Serialization.ObjectManager manager, ISurrogateSelector selector, StreamingContext context) [0x00000] at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00000] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader reader) [0x00000] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000] at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] at System.Resources.ResourceReader.ReadNonPredefinedValue (System.Type exp_type) [0x00000] at System.Resources.ResourceReader.ReadValueVer2 (Int32 type_index) [0x00000] at System.Resources.ResourceReader.LoadResourceValues (.ResourceCacheItem[] store) [0x00000] at System.Resources.ResourceReader+ResourceEnumerator.FillCache () [0x00000] at System.Resources.ResourceReader+ResourceEnumerator..ctor (System.Resources.ResourceReader readerToEnumerate) [0x00000] at System.Resources.ResourceReader.GetEnumerator () [0x00000] at System.Resources.ResourceSet.ReadResources () [0x00000] at System.Resources.ResourceSet.GetEnumerator () [0x00000] at System.ComponentModel.ComponentResourceManager.BuildResources (System.Globalization.CultureInfo culture, System.Collections.Hashtable resources) [0x00000] at System.ComponentModel.ComponentResourceManager.BuildResources (System.Globalization.CultureInfo culture, System.Collections.Hashtable resources) [0x00000] at System.ComponentModel.ComponentResourceManager.BuildResources (System.Globalization.CultureInfo culture, System.Collections.Hashtable resources) [0x00000] at System.ComponentModel.ComponentResourceManager.ApplyResources (System.Object value, System.String objectName, System.Globalization.CultureInfo culture) [0x00000] at System.ComponentModel.ComponentResourceManager.ApplyResources (System.Object value, System.String objectName) [0x00000] at microMon.ucClients.InitializeComponent () [0x00000] at (wrapper remoting-invoke-with-check) microMon.ucClients:InitializeComponent () at microMon.ucClients..ctor () [0x00000] at (wrapper remoting-invoke-with-check) microMon.ucClients:.ctor () at microMon.frm_Main.InitializeComponent () [0x00000] at (wrapper remoting-invoke-with-check) microMon.frm_Main:InitializeComponent () at microMon.frm_Main..ctor () [0x00000] at (wrapper remoting-invoke-with-check) microMon.frm_Main:.ctor () at microMon.mod_main.main () [0x00000] _______________________________________________ Mono-vb mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-vb
