<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Multi-form skin problems</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Multi-form skin problems]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 16 Apr 2026 21:59:08 +0000</pubDate>
  <lastBuildDate>Sun, 22 May 2011 20:37:44 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=18407</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Multi-form skin problems : thx all ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18407&amp;PID=64527&amp;title=multiform-skin-problems#64527</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6802">Rolland</a><br /><strong>Subject:</strong> 18407<br /><strong>Posted:</strong> 22 May 2011 at 8:37pm<br /><br />thx all]]>
   </description>
   <pubDate>Sun, 22 May 2011 20:37:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18407&amp;PID=64527&amp;title=multiform-skin-problems#64527</guid>
  </item> 
  <item>
   <title><![CDATA[Multi-form skin problems : Hi,  As Oleg says, you only need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18407&amp;PID=64520&amp;title=multiform-skin-problems#64520</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 18407<br /><strong>Posted:</strong> 21 May 2011 at 8:51am<br /><br />Hi,<br /><br />As Oleg says, you only need one instance of the SkinFramwork control in your application. Try using the following code in your first form that opens:<br /><br />    With SkinFramework<br />        .ExcludeModule "msado15.dll"<br />        .ExcludeModule "msdard.dll"<br />        .ExcludeModule "msjet40.dll"<br />        .ExcludeModule "msjetoledb40.dll"<br />        .ExcludeModule "msjiter40.dll"<br />        .ExcludeModule "msjint40.dll"<br />        .LoadSkin App.Path + "\Styles\Office2007.cjstyles", ""<br />        .ApplyWindow me.hWnd<br />        .ApplyOptions = SkinFramework.ApplyOptions Or xtpSkinApplyMetrics<br />    End With<br /><br />PS. The reason for the ExcludeModule codes is that I have experienced crashes with the SkinFramework control when working with Databases under certain circumstances. This resolves the issues I have had, although I do only need .ExcludeModule "msado15.dll".<br />]]>
   </description>
   <pubDate>Sat, 21 May 2011 08:51:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18407&amp;PID=64520&amp;title=multiform-skin-problems#64520</guid>
  </item> 
  <item>
   <title><![CDATA[Multi-form skin problems : Hi,Application should have only...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18407&amp;PID=64503&amp;title=multiform-skin-problems#64503</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18407<br /><strong>Posted:</strong> 20 May 2011 at 6:31am<br /><br /><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Hi,</span><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Application should have only 1 instance of SkinFramework that will skin all forms. just remove it from second form - it will be skinned automatically.<br></span></div>]]>
   </description>
   <pubDate>Fri, 20 May 2011 06:31:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18407&amp;PID=64503&amp;title=multiform-skin-problems#64503</guid>
  </item> 
  <item>
   <title><![CDATA[Multi-form skin problems : I designed two forms&#239;&#188;&#338;use v15.0.1  the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18407&amp;PID=64489&amp;title=multiform-skin-problems#64489</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6802">Rolland</a><br /><strong>Subject:</strong> 18407<br /><strong>Posted:</strong> 19 May 2011 at 9:17am<br /><br />I designed two forms，use v15.0.1<br /><br />the first form code：<br />-------------------------------------------<br />Private Sub Form_Load()<br />&nbsp;&nbsp;&nbsp;&nbsp;SkinFramework1.LoadSkin App.Path + "\Styles\Office2007.cjstyles", "NormalBlue.ini"<br />&nbsp;&nbsp;&nbsp;&nbsp;SkinFramework1.ApplyWindow Me.hWnd<br />&nbsp;&nbsp;&nbsp;&nbsp;SkinFramework1.ApplyOptions = SkinFramework1.ApplyOptions Or xtpSkinApplyMetrics<br />&nbsp;&nbsp;&nbsp;&nbsp;lbVer.Caption = "Version：beta 1.0"<br />&nbsp;&nbsp;&nbsp;&nbsp;'lbVer.ForeColor = vbWhite<br />End Sub<br /><br /><br />Private Sub PushButton2_Click()<br />&nbsp;&nbsp;&nbsp;&nbsp;frm1.Show<br />&nbsp;&nbsp;&nbsp;&nbsp;Me.Hide<br />End Sub<br />-----------------------------------------------------<br /><br />the second form code<br />-----------------------------------------------------<br />Private Sub Form_Load()<br />&nbsp;&nbsp;&nbsp;&nbsp;SkinFramework1.LoadSkin App.Path + "\Styles\Office2007.cjstyles", "NormalBlue.ini"<br />&nbsp;&nbsp;&nbsp;&nbsp;SkinFramework1.ApplyWindow Me.hWnd<br />&nbsp;&nbsp;&nbsp;&nbsp;SkinFramework1.ApplyOptions = SkinFramework1.ApplyOptions Or xtpSkinApplyMetrics<br />&nbsp;&nbsp;&nbsp;&nbsp;lbVer.Caption = "version：beta 1.0"<br />&nbsp;&nbsp;&nbsp;&nbsp;'lbVer.ForeColor = vbWhite<br />End Sub<br /><br /><br />Private Sub PushButton1_Click()<br />&nbsp;&nbsp;&nbsp;&nbsp;frmSys.Show<br />&nbsp;&nbsp;&nbsp;&nbsp;Me.Hide<br />End Sub<br /><br /><br />Private Sub Form_Unload(Cancel As Integer)<br />&nbsp;&nbsp;&nbsp;&nbsp;Unload Me<br />&nbsp;&nbsp;&nbsp;&nbsp;frmSys.Show<br />End Sub<br />-----------------------------------------------------<br /><br />My question is: When showing a second form, click Close, it is back to the first form, but the skin did not load the first form,why?<br /><br />I am very confused.]]>
   </description>
   <pubDate>Thu, 19 May 2011 09:17:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18407&amp;PID=64489&amp;title=multiform-skin-problems#64489</guid>
  </item> 
 </channel>
</rss>