﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » ChildFormDialog unable to lookup my form</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 25 Jun 2026 03:51:46 GMT</lastBuildDate><ttl>20</ttl><item><title>ChildFormDialog unable to lookup my form</title><link>http://forum.strataframe.net/FindPost11077.aspx</link><description>Hi,&lt;br&gt;
I am facing problem that, ChildFormDialog unable to lookup my form class. I tried to change it namespace, class name, move it to another project, back to original project, still not help. It work if I use new statement.&lt;br&gt;
&lt;br&gt;
Also, I found that, if I put my class in another project (which is BO library project, but used for UI) when debugging GetTypeFromReferencedAssemblies(_ChildForm), it even can't see my assembly.&lt;br&gt;
&lt;br&gt;
ANy ideas?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Tue, 28 Aug 2007 09:05:32 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: ChildFormDialog unable to lookup my form</title><link>http://forum.strataframe.net/FindPost11146.aspx</link><description>When we have issues like this in the next sf version, we will change the designer's CodeDom so that it will use typeof(Namespace.Type) which compiles the type reference into the executable and the string typename will not be used.</description><pubDate>Tue, 28 Aug 2007 09:05:32 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: ChildFormDialog unable to lookup my form</title><link>http://forum.strataframe.net/FindPost11102.aspx</link><description>Hi,&lt;br&gt;
It works using AssemblyQualifiedName.&lt;br&gt;
&lt;br&gt;
May I know your plan to solve it in next SF version?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Mon, 27 Aug 2007 09:51:00 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: ChildFormDialog unable to lookup my form</title><link>http://forum.strataframe.net/FindPost11094.aspx</link><description>You can set the ChildForm property to the assembly qualified name of the type.&amp;nbsp; We generally only use the name of the type like this:&lt;/P&gt;&lt;P&gt;Namespace.FormTypeName&lt;/P&gt;&lt;P&gt;but if you change it to this:&lt;/P&gt;&lt;P&gt;Namespace.FormTypeName, AssemblyName, Version=X.0.0.0, Culture=neutral, PublicKeyToken=null&lt;/P&gt;&lt;P&gt;which is the assembly qualified name, then it will be able to find it.&amp;nbsp; You can get the assembly qualified name by typing this in the watch window while debugging:&lt;/P&gt;&lt;P&gt;typeof(YourFormType).AssemblyQualifiedName</description><pubDate>Mon, 27 Aug 2007 09:14:53 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>