W
wittmannstefan
I didn't have any problems with running MyXaml 1.00
(for Compact Framework) on my Pocket PC with MS Visual Studio 2003.
But since I have installed VS 2005 I tried this without success;
- although it works with a regular Windows-Application with any
MyXaml.dll-Version.
An error occurred: "NullReferenceException"
at
form = (Form)parser.LoadForm(doc, "TestForm", this, null);
XmlDocument doc = new XmlDocument();
//load a xml in myxaml-format
doc.Load(@"\JOE\myxaml\Test.xml");
MyXaml.Parser parser = new Parser();
parser.AddTarget(new Form1());
//parse MyXaml
form = (Form)parser.LoadForm(doc, "TestForm", this, null);
//show dynamically created form
form.Show();
My main question is:
Is there already a Compact Framework - Version of MyXaml for Visual
Studio 2005
/ Framework 2.0 ?
If not, is there a possible work-around ??
Further, I couldn't run setup.exe acc. the download of MyXaml 1.00
for .NET 2.0,
because the sub-version-number wasn't compatible with the
"regular"
Framework 2.0 (which took some hours to install - I don't think
it'd make a
difference anyway -does it ?)
(for Compact Framework) on my Pocket PC with MS Visual Studio 2003.
But since I have installed VS 2005 I tried this without success;
- although it works with a regular Windows-Application with any
MyXaml.dll-Version.
An error occurred: "NullReferenceException"
at
form = (Form)parser.LoadForm(doc, "TestForm", this, null);
XmlDocument doc = new XmlDocument();
//load a xml in myxaml-format
doc.Load(@"\JOE\myxaml\Test.xml");
MyXaml.Parser parser = new Parser();
parser.AddTarget(new Form1());
//parse MyXaml
form = (Form)parser.LoadForm(doc, "TestForm", this, null);
//show dynamically created form
form.Show();
My main question is:
Is there already a Compact Framework - Version of MyXaml for Visual
Studio 2005
/ Framework 2.0 ?
If not, is there a possible work-around ??
Further, I couldn't run setup.exe acc. the download of MyXaml 1.00
for .NET 2.0,
because the sub-version-number wasn't compatible with the
"regular"
Framework 2.0 (which took some hours to install - I don't think
it'd make a
difference anyway -does it ?)