<?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 : HELP Web browser &amp; Commandstate change</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : HELP Web browser &amp; Commandstate change]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 22:08:58 +0000</pubDate>
  <lastBuildDate>Mon, 02 Jun 2008 03:06: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=10867</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[HELP Web browser &amp; Commandstate change : Alright folks, I figured this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10867&amp;PID=36113&amp;title=help-web-browser-commandstate-change#36113</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 10867<br /><strong>Posted:</strong> 02 June 2008 at 3:06am<br /><br />Alright folks, I figured this one out by myself! Woohoo! The code I used is:<DIV>&nbsp;</DIV><DIV>Private Sub WebBrowser_CommandStateChange(ByVal Command As Long, ByVal Enable As Boolean)</DIV><DIV>&nbsp;</DIV><DIV>DoEvents: DoEvents: DoEvents<BR>&nbsp;&nbsp;&nbsp; If Enable = True And Command = 2 Then</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.CommandBars.FindControl(xtpControlButton, ID_BROWSER_BACK).Enabled = True<BR>&nbsp;&nbsp;&nbsp; ElseIf Enable = False And Command = 2 Then</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.CommandBars.FindControl(xtpControlButton, ID_BROWSER_BACK).Enabled = False</DIV><DIV>&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp; <BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks but no thanks. <img src="https://forum.codejock.com/smileys/smiley17.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Mon, 02 Jun 2008 03:06:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10867&amp;PID=36113&amp;title=help-web-browser-commandstate-change#36113</guid>
  </item> 
  <item>
   <title><![CDATA[HELP Web browser &amp; Commandstate change : Alright folks, I&amp;#039;m pretty...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10867&amp;PID=36105&amp;title=help-web-browser-commandstate-change#36105</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 10867<br /><strong>Posted:</strong> 02 June 2008 at 1:54am<br /><br /><P><FONT face="Verdana, Arial, Helvetica, sans-serif">Alright folks, I'm pretty sure I'm posting this in the right section.</P><DIV></DIV>Anywho, I'm in a tight spot. As mentioned in my last posts, I've been working on a tabbed web browser in vb6 that happens to be functioning quite nicely. <img src="https://forum.codejock.com/smileys/smiley17.gif" border="0"><DIV>&nbsp;</DIV><DIV>However, There's a problem. I cant seem to get my "Back" &amp; "Forward" buttons to enable and disable themselves. Now, I can do this with the normal Web browser control, or on a SDI form. But, my browser is MDI based, and my web browser control is on the child forms, while my "Toolbar" is on the MDI Parent.</DIV><DIV>&nbsp;</DIV><DIV>Now, I know this is supposed to be done in the WebBrowser_Commandstatechange() Event. But, I have NO IDEA what code to use here?</DIV><DIV>&nbsp;</DIV><DIV>Anyone have any ideas? Please?..anyone? <img src="https://forum.codejock.com/smileys/smiley19.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>I'm using version 12.0 of the suite controls. in Windows MCE 2005 SP3. (VB6)</DIV><DIV>&nbsp;</DIV><DIV>Thanks and reguards.</DIV></FONT>]]>
   </description>
   <pubDate>Mon, 02 Jun 2008 01:54:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10867&amp;PID=36105&amp;title=help-web-browser-commandstate-change#36105</guid>
  </item> 
 </channel>
</rss>