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

Can't get the GUI to work. But why?

  • Thread starter Thread starter weischbier
  • Start date Start date
W

weischbier

Guest
Hi,

i really really tried hard on this but i cannot riddle it out.
I totally rewrote my whole CC and talked with truman and he tried to and got the same thing.
I don't know how to get this done...really. its frustrating.

i attach the project to this thread.if anybody can get the failure i would be really thankful.


Greetz

Weischbier
 
ok well first things first, when you name your porject dont put .........'s in the name, Mr.Bones causes problems when you have it make forums because it trys to put Mr.Bones as the namespace name, and its not correct. when you make your project if you name it, MrBones you wont have an issue later on and things will be easyer.

now number 2, dont go all crazy with your UI Keep it simple, no hiding where stuff is, and transparencys and that sort of crap, just do a normal window.

number 3, Honorbuddy can not load resources. it just cant so using pictures and music and things like that might compile fine visual studio but fail hard in honorbuddy.

Code:
[7:00:09 PM:192] Compiling G:\HB\CustomClasses\MrBones
[7:00:09 PM:209] System.ArgumentException: ResX file Type System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a cannot be located. Line 123, position 5. cannot be parsed. ---> System.Xml.XmlException: Type System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a cannot be located. Line 123, position 5. ---> System.TypeLoadException: Type System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a cannot be located.
   at System.Resources.ResXDataNode.GetValue(ITypeResolutionService typeResolver)
   at System.Resources.ResXResourceReader.ParseDataNode(XmlTextReader reader, Boolean isMetaData)
   at System.Resources.ResXResourceReader.ParseXml(XmlTextReader reader)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Resources.ResXResourceReader.ParseXml(XmlTextReader reader)
   at System.Resources.ResXResourceReader.EnsureResData()
   at System.Resources.ResXResourceReader.GetEnumerator()
   at ..(String path)
   at ..()
   at ..()
   at Styx.Loaders.DynamicLoader`1..ctor(String path, Boolean compileSource, Object[] constructorArgs)
   at Styx.Helpers.ClassCollection`1.CompileAndLoadFrom(String path, CompilerResults& results)
[/COLOR]

heres the fixed version, next time just keep it simple.

http://dl.dropbox.com/u/14766729/MrBones.zip
 
ok well first things first, when you name your porject dont put .........'s in the name, Mr.Bones causes problems when you have it make forums because it trys to put Mr.Bones as the namespace name, and its not correct. when you make your project if you name it, MrBones you wont have an issue later on and things will be easyer.

now number 2, dont go all crazy with your UI Keep it simple, no hiding where stuff is, and transparencys and that sort of crap, just do a normal window.

number 3, Honorbuddy can not load resources. it just cant so using pictures and music and things like that might compile fine visual studio but fail hard in honorbuddy.

Code:
[7:00:09 PM:192] Compiling G:\HB\CustomClasses\MrBones
[7:00:09 PM:209] System.ArgumentException: ResX file Type System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a cannot be located. Line 123, position 5. cannot be parsed. ---> System.Xml.XmlException: Type System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a cannot be located. Line 123, position 5. ---> System.TypeLoadException: Type System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a cannot be located.
   at System.Resources.ResXDataNode.GetValue(ITypeResolutionService typeResolver)
   at System.Resources.ResXResourceReader.ParseDataNode(XmlTextReader reader, Boolean isMetaData)
   at System.Resources.ResXResourceReader.ParseXml(XmlTextReader reader)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Resources.ResXResourceReader.ParseXml(XmlTextReader reader)
   at System.Resources.ResXResourceReader.EnsureResData()
   at System.Resources.ResXResourceReader.GetEnumerator()
   at ..(String path)
   at ..()
   at ..()
   at Styx.Loaders.DynamicLoader`1..ctor(String path, Boolean compileSource, Object[] constructorArgs)
   at Styx.Helpers.ClassCollection`1.CompileAndLoadFrom(String path, CompilerResults& results)
[/COLOR]

heres the fixed version, next time just keep it simple.

http://dl.dropbox.com/u/14766729/MrBones.zip



Thanks a lot. Its working now but doesn't save the settings.
It saves all what i set by Default but if i change anything nothing happen.


Greetz Weischbier
 
Back
Top