What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

openFileDialog not working

x11r6

New Member
Joined
Jan 15, 2010
Messages
354
Reaction score
7
[solved]openFileDialog not working

Hi, i'm developing myself a plugin, and i'm now trying to have it open an OpenFileDialog window without success. As soon as i add
Code:
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
to my code, the plugin stops loading and i get this error message into the HB's debug log:
Code:
[02:13:55:428] System.ArgumentException: Impossibile analizzare il file ResX Impossibile trovare il tipo System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a nei dati alla riga 120, posizione 4. Riga 122, posizione 5.. ---> System.Xml.XmlException: Impossibile trovare il tipo System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a nei dati alla riga 120, posizione 4. Riga 122, posizione 5. ---> System.TypeLoadException: Impossibile trovare il tipo System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a nei dati alla riga 120, posizione 4. ---> System.Xml.XmlException: Impossibile trovare il tipo System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a nei dati alla riga 120, posizione 4. Riga 120, posizione 4.
   --- Fine dell'analisi dello stack dell'eccezione interna ---
   in System.Resources.ResXDataNode.GenerateObjectFromDataNodeInfo(DataNodeInfo dataNodeInfo, ITypeResolutionService typeResolver)
   in System.Resources.ResXDataNode.GetValue(ITypeResolutionService typeResolver)
   in System.Resources.ResXResourceReader.ParseDataNode(XmlTextReader reader, Boolean isMetaData)
   in System.Resources.ResXResourceReader.ParseXml(XmlTextReader reader)
   --- Fine dell'analisi dello stack dell'eccezione interna ---
   --- Fine dell'analisi dello stack dell'eccezione interna ---
   in System.Resources.ResXResourceReader.ParseXml(XmlTextReader reader)
   in System.Resources.ResXResourceReader.EnsureResData()
   in System.Resources.ResXResourceReader.GetEnumerator()
   in (Object )
   in #DH.#EH.#UFc(String path)
   in #DH.#EH.#VFc()
   in #DH.#EH.#YFc()
   in Styx.Loaders.DynamicLoader`1..ctor(String path, Boolean compileSource, Object[] constructorArgs)
   in Styx.Helpers.ClassCollection`1.CompileAndLoadFrom(String path, CompilerResults& results)

any clue? thanks :)
 
Last edited:
For unknown reasons, HB seems not to like what's written into the RESX file (can someone explain me what's this RESX file btw?). I just deleted every reference to

System.Drawing.Point
from the RESX file, and now everything works as wanted :)
</pre>
 
Back
Top