<?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 : SkinFramework VB6 and .NET</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : SkinFramework VB6 and .NET]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 09 Jun 2026 12:02:19 +0000</pubDate>
  <lastBuildDate>Tue, 19 Jul 2011 08:52:08 +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=18476</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[SkinFramework VB6 and .NET : Maybe reapply the skin after closing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18476&amp;PID=65354&amp;title=skinframework-vb6-and-net#65354</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6226">Willowmaster</a><br /><strong>Subject:</strong> 18476<br /><strong>Posted:</strong> 19 July 2011 at 8:52am<br /><br />Maybe reapply the skin after closing event&nbsp;of the .net form?<DIV>&nbsp;</DIV><DIV><FONT color=#cc3300>Update:</FONT> I didn't&nbsp;see your comment&nbsp;about the flickering.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 19 Jul 2011 08:52:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18476&amp;PID=65354&amp;title=skinframework-vb6-and-net#65354</guid>
  </item> 
  <item>
   <title><![CDATA[SkinFramework VB6 and .NET : Problem that application should...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18476&amp;PID=65351&amp;title=skinframework-vb6-and-net#65351</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18476<br /><strong>Posted:</strong> 19 July 2011 at 7:40am<br /><br />Problem that application should have single Skinframework in whole process. - you created 2 in Vb6 and in .NET.]]>
   </description>
   <pubDate>Tue, 19 Jul 2011 07:40:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18476&amp;PID=65351&amp;title=skinframework-vb6-and-net#65351</guid>
  </item> 
  <item>
   <title><![CDATA[SkinFramework VB6 and .NET :   This is the source code in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18476&amp;PID=65347&amp;title=skinframework-vb6-and-net#65347</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2575">Jean</a><br /><strong>Subject:</strong> 18476<br /><strong>Posted:</strong> 19 July 2011 at 4:05am<br /><br />This is the source code in the example:<br><br>VB6<br><table width="99%"><tr><td><pre class="BBcode">Private Sub Command2_Click()<br>&nbsp;&nbsp; 'Load and apply skin<br>&nbsp;&nbsp; SkinFramework1.ApplyWindow Me.hWnd<br>&nbsp;&nbsp; SkinFramework1.ApplyOptions = xtpSkinApplyColors Or xtpSkinApplyFrame Or xtpSkinApplyMetrics Or xtpSkinApplyMenus<br>&nbsp;&nbsp; SkinFramework1.LoadSkin App.Path &amp; "\Vista.cjstyles", "NormalBlack.ini"<br>End Sub<br><br>Private Sub Command1_Click()<br>&nbsp;&nbsp; 'Show .NET-Form<br>&nbsp;&nbsp; Dim s As Object<br>&nbsp;&nbsp; Set s = CreateObject("SkinTest.SkinFramework")<br>&nbsp;&nbsp; Call s.FormShow<br>End Sub</pre></td></tr></table><br>C#<br><table width="99%"><tr><td><pre class="BBcode">using System;<br>using System.Collections.Generic;<br>using System.ComponentModel;<br>using System.Data;<br>using System.Drawing;<br>using System.Linq;<br>using System.Text;<br>using System.Windows.Forms;<br><br>using AxXtremeSkinFramework;<br><br>namespace SkinTest<br>{<br>&nbsp;&nbsp;&nbsp; public partial class SkinnedForm : Form<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public AxSkinFramework _SkinFramework;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public SkinnedForm()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _SkinFramework = new AxSkinFramework();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ((System.ComponentModel.ISupportInitialize)(_SkinFramework)).BeginInit();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.Controls.Add(_SkinFramework);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ((System.ComponentModel.ISupportInitialize)(_SkinFramework)).EndInit();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; InitializeComponent();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protected override void OnVisibleChanged(EventArgs e)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; base.OnVisibleChanged(e);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (this.Visible)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _SkinFramework.ApplyWindow(this.Handle.ToInt32());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.BackColor = _SkinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>}</pre></td></tr></table><br><br>Why does vb6 loose the skin after closing the .NET Form?<br>Thanks for reading. <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" alt="Wink" title="Wink" /><br>]]>
   </description>
   <pubDate>Tue, 19 Jul 2011 04:05:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18476&amp;PID=65347&amp;title=skinframework-vb6-and-net#65347</guid>
  </item> 
  <item>
   <title><![CDATA[SkinFramework VB6 and .NET :    Our application is written...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18476&amp;PID=64674&amp;title=skinframework-vb6-and-net#64674</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2575">Jean</a><br /><strong>Subject:</strong> 18476<br /><strong>Posted:</strong> 31 May 2011 at 9:07am<br /><br />Our application is written in VB6. TheSkinFramework works there perfect.<br>But now, we have .NET components, that we like to skin with the same style VB6 has.<br><br>I attached a small sample: <a href="uploads/2575/SkinTest.zip" target="_blank">uploads/2575/SkinTest.zip</a><br>Inside you'' find:<br>1.)&nbsp; C# solution with a class library. Inside is a class and a WinForm.<br>2.)&nbsp; VB6 project with the "MainForm". Here I start "SkinFramwork-Master".<br><br>This is the VB6-App: Everything looks fine, style is applied after button click.<br><img src="uploads/2575/SkinTest1.bmp" height="240" width="320" border="0" /><br><br>Now on the second button click the .NET form appears:<br><img src="uploads/2575/SkinTest2.bmp" height="230" width="441" border="0" /><br>The .Net form has the style too. <b>Without setting SkinFile + SkinIniName in .NET</b>!<br>Somehow the SkinFramework in .NET knows the settings from VB6.<br><br>But now, if I close the .NET form, the VB6-App looses it's style:<br><img src="uploads/2575/SkinTest3.bmp" height="240" width="320" border="0" /><br><img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /><br><br>I could reset the skin on the VB6-Form, but that would cause flickering.<br>I'm shure I'm doing something wrong, but what? <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" alt="C&#111;nfused" title="C&#111;nfused" /><br>]]>
   </description>
   <pubDate>Tue, 31 May 2011 09:07:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18476&amp;PID=64674&amp;title=skinframework-vb6-and-net#64674</guid>
  </item> 
 </channel>
</rss>