<?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 : SOLVED: Rebuild old application</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : SOLVED: Rebuild old application]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 23:16:21 +0000</pubDate>
  <lastBuildDate>Mon, 15 Sep 2008 06:08:40 +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=11986</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[SOLVED: Rebuild old application : Hi,    After several days of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=41005&amp;title=solved-rebuild-old-application#41005</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11986<br /><strong>Posted:</strong> 15 September 2008 at 6:08am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV><DIV>After several days of trying and a lot annoying things came to my attention, there's a light at the end of the tunnel <img src="https://forum.codejock.com/smileys/smiley4.gif" border="0">&nbsp;I'm glad it turned out OK for me.&nbsp;There are a few things that could be improved but what the heck, I have what I want and this time I only added new version of SkinFrameWork to my project. Let this be a lesson for all of us... communicate is best solution to all problems&nbsp;<img src="http://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><strong>If someone wants the same forget all issues and just add V12.1.0 SkinFrameWork control</strong></DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot CJ <img src="http://forum.codejock.com/smileys/smiley32.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Mon, 15 Sep 2008 06:08:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=41005&amp;title=solved-rebuild-old-application#41005</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Rebuild old application : Hi,  Aaron, just don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40524&amp;title=solved-rebuild-old-application#40524</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11986<br /><strong>Posted:</strong> 28 August 2008 at 1:31am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Aaron, just don't use such trick. Create menu and context menu with code. </DIV>]]>
   </description>
   <pubDate>Thu, 28 Aug 2008 01:31:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40524&amp;title=solved-rebuild-old-application#40524</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Rebuild old application : It&amp;#039;s possible that the crash...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40513&amp;title=solved-rebuild-old-application#40513</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11986<br /><strong>Posted:</strong> 27 August 2008 at 6:49pm<br /><br />It's possible that the crash happens with 12.0.1 and not 12.0.2 (I forgot to update my signature after I upgraded to 12.0.2)...]]>
   </description>
   <pubDate>Wed, 27 Aug 2008 18:49:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40513&amp;title=solved-rebuild-old-application#40513</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Rebuild old application :   jpbro wrote:Hi Aaron,If you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40510&amp;title=solved-rebuild-old-application#40510</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11986<br /><strong>Posted:</strong> 27 August 2008 at 4:49pm<br /><br /><FONT size=2><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />Hi Aaron,<BR><BR>If you are desperate for a workaround for the issue in your sample, here's an ugly one:<BR></FONT><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT size=2>&#091;...&#093;<BR><BR></td></tr></table> </FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT size=2>Hi Jason,</FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT size=2>Thanks for reply. I have tried to do that also but in some way this didn't work for me. </FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT size=2>I just added it&nbsp;in my original project and it crashed. In the test project it works. I will check this again in the morning and maybe I can use this and in the meantime CJ can find a fix for this.</FONT></DIV><DIV><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT size=2>Thanks</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;</FONT></DIV>]]>
   </description>
   <pubDate>Wed, 27 Aug 2008 16:49:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40510&amp;title=solved-rebuild-old-application#40510</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Rebuild old application : Hi Aaron,If you are desperate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40505&amp;title=solved-rebuild-old-application#40505</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11986<br /><strong>Posted:</strong> 27 August 2008 at 2:05pm<br /><br />Hi Aaron,<br><br>If you are desperate for a workaround for the issue in your sample, here's an ugly one:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Option Explicit<br><br>Private mblnMenusReady As Boolean<br><br>Private Sub Form_Activate()<br>&nbsp;&nbsp; If Not mblnMenusReady Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.CommandBars.ActiveMenuBar.Controls(1).Execute<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.CommandBars.ActiveMenuBar.Controls(1).CommandBar.Controls(1).Execute<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mblnMenusReady = True<br>&nbsp;&nbsp; End If<br>End Sub<br></pre></td></tr></table><br><br>The in your first menu item (the one that will be clicked when the form is activated), add this code at the start of the Click event sub:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp; If Not mblnMenusReady Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Sub<br>&nbsp;&nbsp; End If<br></pre></td></tr></table><br><br>Basically, the code shows &amp; clicks the first menu item (which gets ignored by the Click event the first time). Seems to work, but you will get an ugly flicker of the menu when the form first appears. While not a great solution, it could be useful as a (hopefully very) temporary workaround.<br><br>]]>
   </description>
   <pubDate>Wed, 27 Aug 2008 14:05:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40505&amp;title=solved-rebuild-old-application#40505</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Rebuild old application : hi aaron,yeah long time no see.i...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40500&amp;title=solved-rebuild-old-application#40500</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1038">younicke</a><br /><strong>Subject:</strong> 11986<br /><strong>Posted:</strong> 27 August 2008 at 11:59am<br /><br />hi aaron,<br><br>yeah long time no see.<br><br>i have tried the attached sample and honestly i cant figure out why it is acting that way. i have never tried however using the native vb menu in conjunction with the cj commandbars. if it is not a lot of work for you then i would suggest you rewrite you whole menu using the cj commands. again, however, i dont think you would do that, would you? :)<br>]]>
   </description>
   <pubDate>Wed, 27 Aug 2008 11:59:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40500&amp;title=solved-rebuild-old-application#40500</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Rebuild old application : Hi Oleg,   I will show you how...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40483&amp;title=solved-rebuild-old-application#40483</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11986<br /><strong>Posted:</strong> 27 August 2008 at 8:38am<br /><br />Hi Oleg, <DIV>&nbsp;</DIV><DIV>I will show you how reproduce 2 &amp; 3</DIV><DIV>&nbsp;</DIV><DIV>I spent about a day to figure out what is going wrong but I found it. I don't know WHY it happens but you are the one who can / must&nbsp;solve this. </DIV><DIV>&nbsp;</DIV><DIV>Here it is:</DIV><DIV>&nbsp;</DIV><DIV><a href="https://forum.codejock.com/uploads/20080827_083345_VBMenu.zip" target="_blank">uploads/20080827_083345_VBMenu.zip</A></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>At this point I accept any workarounds or whatever you can think of to solve these problems.</DIV><DIV>&nbsp;</DIV><DIV>btw what about issue 1. What style do I have to set?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 27 Aug 2008 08:38:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40483&amp;title=solved-rebuild-old-application#40483</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Rebuild old application : Hi,  2, 3. I very recommend...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40479&amp;title=solved-rebuild-old-application#40479</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11986<br /><strong>Posted:</strong> 27 August 2008 at 8:28am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>2, 3. I very recommend you create CommandBar in code to prevent such things. :-( Will I'm testing it but not sure how reproduce 3.</DIV>]]>
   </description>
   <pubDate>Wed, 27 Aug 2008 08:28:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40479&amp;title=solved-rebuild-old-application#40479</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Rebuild old application : Hello,  1. Yes, it depends on...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40465&amp;title=solved-rebuild-old-application#40465</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11986<br /><strong>Posted:</strong> 27 August 2008 at 5:51am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>1. Yes, it depends on style.</DIV><DIV>&nbsp;</DIV><DIV>2. SkinFramework now doesn't support standard Menus. We working with this feature for 12.1 release. Please try beta when it will be available.</DIV>]]>
   </description>
   <pubDate>Wed, 27 Aug 2008 05:51:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40465&amp;title=solved-rebuild-old-application#40465</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Rebuild old application : Hi,   I&amp;#039;m trying to rebuild...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40459&amp;title=solved-rebuild-old-application#40459</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11986<br /><strong>Posted:</strong> 27 August 2008 at 4:55am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I'm trying to rebuild an old VB application. I added SkinFrameWork, DockingPanes and CommandBars to it. I didn't want to change code just to have more visual effects <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><OL><LI>First I added SkinFramework, well... I did get most of the controls skinned but the VB textboxes don't "listen" to what SF is telling them. (As I was writing this, I tried with another theme and saw that also VB Textboxes get skinned, so I think I need to look into the style itself <img src="https://forum.codejock.com/smileys/smiley36.gif" border="0">)&nbsp;&nbsp;One down and two to go... <LI>I thought why not use commandbars, VB menu is a little out of time, right? So added commandbars to every form. Now it began to look like a real application, well at least for the menu, <strong>let's not talk about the toolbars, you have to build them from scratch. </strong>The menu looks nice but&nbsp;controlling the menuitems is another thing. Because I said "A" I had to say "B" so added Update event for every menubar. I said I don't <strong>change</strong> any code so took the easy way...&nbsp;This way I don't have to think, I only had to run my&nbsp;app and look at the menu item&nbsp;captions.&nbsp;Controlling the menu items has been done already in entire application. So, I added for every item in menu (for example): <UL><LI>Case "Edit" <UL><LI>Control.Enabled = mnuEdit.Enabled (is ID of VB menu)</LI></UL><LI>Case "View" <UL><LI>Control.checked = mnuView.Checked</LI></UL><LI>And so on... Lots of work but at least it's working as before.</LI></UL><LI>My first intention to "upgrade" my old app was to use DockingPanes because I was using an older control for resizing and wasn't able to close or hide "panes". I used it in the main window with all kinds of (child)windows which can be used for several things. So, I added DockingPanes... Create panes, attach panes blah,blah,blah OK, that works also. Only adding code to&nbsp;accomplish what you want, <strong>still not changing any of the original code. </strong></LI></OL><DIV>&nbsp;</DIV><P>Testing the application, we don't want any bugs in it, right? I found&nbsp;issues which I can't solve.</P><UL><OL><LI>I have a few forms which can be shown on top of all windows(like Windows Task Manager) I use API call SetWindowPos to set the form to front and have no problems when selecting another form.&nbsp;If I show them <strong>now</strong> (with DockingPanes) I can't select another pane, menu or whatever&nbsp;in the main form.&nbsp;But now&nbsp;it looks like <strong>DockingPane&nbsp;is in control...</strong> I wanted to solve this to&nbsp;create a pane&nbsp;for this <strong>form</strong> as well but VB doesn't allow you to set the .BorderStyle&nbsp;= None when you have a VB menu. <LI>Popupmenu items don't fire click event&nbsp;(of original VB menu click event handler) <strong>Only after a&nbsp;menu&nbsp;item is selected once in the mainmenu (Commandbars)</strong> the popupmenu items will fire click events. <LI>Commandbars will convert VB menu automatically and sometimes you click on the caption icon (where normally the system menu would show) the VB menu shows. How to get rid of this ??? <img src="https://forum.codejock.com/uploads/20080827_065655_VBMenuIssue.bmp" border="0"></LI></OL></UL><P>&nbsp;&nbsp;&nbsp; </P><P>Maybe there are more... I don't know. PLEASE let me know if there are more problems to expect. </P><DIV></DIV><DIV>I hope I can solve this as well, I got this far and want it to finish it now...</DIV><DIV>&nbsp;</DIV><DIV>Thank you</DIV>]]>
   </description>
   <pubDate>Wed, 27 Aug 2008 04:55:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11986&amp;PID=40459&amp;title=solved-rebuild-old-application#40459</guid>
  </item> 
 </channel>
</rss>