<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Prashant</title>
	<atom:link href="http://prashant.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://prashant.wordpress.com</link>
	<description>The Pacific...</description>
	<lastBuildDate>Tue, 25 Aug 2009 05:54:54 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='prashant.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/fc234b694d205c29fa90a51f9c612565?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Prashant</title>
		<link>http://prashant.wordpress.com</link>
	</image>
			<item>
		<title>C# .Net website not opening on Remote machine.</title>
		<link>http://prashant.wordpress.com/2009/08/21/c-net-website-not-opening-on-remote-machine/</link>
		<comments>http://prashant.wordpress.com/2009/08/21/c-net-website-not-opening-on-remote-machine/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 09:16:37 +0000</pubDate>
		<dc:creator>prashant</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://prashant.wordpress.com/?p=23</guid>
		<description><![CDATA[Prashant Vanarase.
August 21, 2009
Dear Friends,
Recently I encountered very common problem and surprisingly enough didn’t found solution on Google search, so I just thought of sharing my experience with you.
C# .Net First web site problem.
Environment:
Windows XP (SP2)
VS2008
I created my first website using C# .net and published the same. When I tried to access the same from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=23&subd=prashant&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Prashant Vanarase.<br />
August 21, 2009</p>
<p>Dear Friends,</p>
<p>Recently I encountered very common problem and surprisingly enough didn’t found solution on Google search, so I just thought of sharing my experience with you.</p>
<p>C# .Net First web site problem.</p>
<p><strong>Environment:</strong></p>
<p>Windows XP (SP2)<br />
VS2008</p>
<p>I created my first website using C# .net and published the same. When I tried to access the same from my local machine using following links it worked perfectly.</p>
<p><a href="http://mymachine/FusionChart/default.aspx">http://MyMachine/FusionChart/default.aspx</a><br />
<a href="http://localhost/FusionChart/default.aspx">http://localhost/FusionChart/default.aspx</a></p>
<p><strong>Problem:</strong></p>
<p>But when I tried to access my website on another remote machine on intranet using <a href="http://mymachine/FusionChart/default.aspx">http://MyMachine/FusionChart/default.aspx</a> it unable to open my website’s default.aspx</p>
<p>After long browsing I got error message “404: Page not found”</p>
<p>I tried almost everything like</p>
<p>-          Directory permissions<br />
-          IIS settings<br />
-          Port settings</p>
<p>But still not able to resolve the issue.</p>
<p style="text-align:left;"><strong>Solution:</strong></p>
<p style="text-align:left;">Finally I tried following steps and everything worked perfectly</p>
<p style="text-align:left;">Click Start, click Run, type ncpa.cpl in the Open box, and then click OK.</p>
<p style="text-align:left;">Right-click the network connection that you want to configure, and then click Properties.</p>
<p style="text-align:left;">Click the Advanced tab, and then click Settings.</p>
<p style="text-align:left;">Click the Advanced tab.</p>
<p style="text-align:left;">Click Settings for the network connection.</p>
<p style="text-align:left;">Use one of the following methods, depending on your situation:</p>
<ol style="text-align:left;">
<li>If IIS is configured to use port 80, click to select the Web Server (HTTP) check box. Verify that the name or the IP address is displayed correctly in the Service Settings dialog box, click OK, and then click OK again.</li>
<li>If IIS is configured to use a different port, click Add. In the Service Settings dialog box, specify the settings and the port number that you want, click OK, and then click OK again.</li>
</ol>
<p style="text-align:left;">Click OK.</p>
<p style="text-align:left;">
<p style="text-align:left;">Thanks to:</p>
<ol style="text-align:left;">
<li>Ms. Gauri Vaidya</li>
<li style="text-align:left;">Mrs. Madhuri Gokhale</li>
</ol>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prashant.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prashant.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prashant.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prashant.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prashant.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prashant.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prashant.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prashant.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prashant.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prashant.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=23&subd=prashant&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prashant.wordpress.com/2009/08/21/c-net-website-not-opening-on-remote-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5058ee931ac026e9d66745dc699c161b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">prashant</media:title>
		</media:content>
	</item>
		<item>
		<title>How to disable Windows Desktop Search explorer integration?</title>
		<link>http://prashant.wordpress.com/2008/05/23/how-to-disable-windows-desktop-search-explorer-integration/</link>
		<comments>http://prashant.wordpress.com/2008/05/23/how-to-disable-windows-desktop-search-explorer-integration/#comments</comments>
		<pubDate>Fri, 23 May 2008 11:32:18 +0000</pubDate>
		<dc:creator>prashant</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://prashant.wordpress.com/?p=22</guid>
		<description><![CDATA[In RegEdit, go to HKEY_CURRENT_USER\Software\Microsoft\Windows Desktop Search\DS and set &#8220;ShowStartSearchBand&#8221; to 0, and you&#8217;ll get the default search behavior back.
And while you&#8217;re at it and poking around in the registry, you might as well go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex and set FilterFilesWithUnknownExtensions to DWORD with the value of &#8220;1&#8243; in order to enable full-text searching of files (like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=22&subd=prashant&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In RegEdit, go to HKEY_CURRENT_USER\Software\Microsoft\Windows Desktop Search\DS and set &#8220;ShowStartSearchBand&#8221; to 0, and you&#8217;ll get the default search behavior back.</p>
<p>And while you&#8217;re at it and poking around in the registry, you might as well go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex and set FilterFilesWithUnknownExtensions to DWORD with the value of &#8220;1&#8243; in order to enable full-text searching of files (like code!) that Explorer by default skips over.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/prashant.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/prashant.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prashant.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prashant.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prashant.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prashant.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prashant.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prashant.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prashant.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prashant.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prashant.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prashant.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=22&subd=prashant&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prashant.wordpress.com/2008/05/23/how-to-disable-windows-desktop-search-explorer-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5058ee931ac026e9d66745dc699c161b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">prashant</media:title>
		</media:content>
	</item>
		<item>
		<title>Update your legacy MFC apps in .NET</title>
		<link>http://prashant.wordpress.com/2006/07/17/update-your-legacy-mfc-apps-in-net/</link>
		<comments>http://prashant.wordpress.com/2006/07/17/update-your-legacy-mfc-apps-in-net/#comments</comments>
		<pubDate>Mon, 17 Jul 2006 09:50:55 +0000</pubDate>
		<dc:creator>prashant</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">https://prashant.wordpress.com/2006/07/17/update-your-legacy-mfc-apps-in-net/</guid>
		<description><![CDATA[http://www.ddj.com/dept/windows/184416740
August 06, 2002
Using Managed Code from MFC

Chris Sells
Update your legacy MFC apps in .NET without rewiting your older code by using Managed C++. Managed C++ allows existing C++ code to bring in and expose managed types that are compatible with .NET.
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=15&subd=prashant&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="Bspace4"><em><a href="http://www.ddj.com/dept/windows/184416740">http://www.ddj.com/dept/windows/184416740</a></em></p>
<p class="Bspace4"><em>August 06, 2002</em></p>
<h5>Using Managed Code from MFC</h5>
<h2></h2>
<p class="Bspace15"><em>Chris Sells</em></p>
<p class="Bspace15">Update your legacy MFC apps in .NET without rewiting your older code by using Managed C++. Managed C++ allows existing C++ code to bring in and expose managed types that are compatible with .NET.</p>
<p><!--If you prefer to receive .Net Newsletter in text format, please click the unsubscribe link below. You will be taken to the Windows Developer newsletter sign up page where you can sign up for this newsletter in text format. <a href="${unsub_link}">Unsubscribe</a>&#8211;>I received the following e-mail recently:</p>
<p>&#8220;I&#8217;ve been searching the Net and documentation for how to use a WinForms control from an MFC app. So far, nothing. Is it possible? We have a big old MFC-based doc/view app, and need to add some significant new functionality. I&#8217;d like to write new code in .NET but can&#8217;t afford to rewrite the whole UI.&#8221;</p>
<p>As more people move to .NET, they’re going to want to write more and more of their code as managed to take advantage of the productivity gains of that style of programming. However, as much as they might like to, these same people are not often going to want to move their existing code. One popular scenario pointed out here is the need to use .NET code from an existing MFC application. This scenario is supported directly by the variant of C++ supplied by Microsoft in Visual Studio .NET called “Managed C++” (sometimes also called the “Managed Extensions to C++”).</p>
<p>The goal with MC++ is to allow existing C++ code to bring in and expose managed types; i.e., types compatible with .NET. To do this, you need to follow several steps:</p>
<ol>
<li>If you haven’t already, load your MFC project into VS.NET and let the environment port your project settings into its new format.</li>
<li>In the Solution Explorer, right click on your MFC project and choose Properties.</li>
<li>On the General page, set the Use Managed Extensions option to True, which will compile your application with the /clr switch. This is the magic that will let you consume and implement managed types. In fact, on your next compile, your MFC application will be managed code (except where it can’t be for backwards compatibility purposes).</li>
<li>Before pressing OK to close your project Property Pages, navigate to the Configuration Properties&gt;C/C++&gt;General page and set the Debug information Format to Program Database (/Zi). Unfortunately, .NET does not yet support Edit &amp; Continue.</li>
<li>Also, navigate to Configuration Properties&gt;C/C++&gt;Code Generation and set Enable Minimum Rebuild to No. This setting is incompatible with the /clr switch.</li>
<li>Finally, on the same page, change Basic Runtime Checks to Default. The /RTC1 switch (stack frame checking and uninitialized variable checking) is also incompatible with the /clr switch.</li>
<li>Finally, you can press OK and build your project and run it.</li>
</ol>
<p>In complicated projects, you may have some other compiler errors to deal with, but once you’ve got those under control, you can now run your application. It should look and act identically. The only difference is that it’s managed instead of unmanaged. However, none of the types are managed, for example, the classes that make up your application, which is why you still write your code in the exact same way. The only noticeable difference is that you can now pull in managed types. For example, to show the managed MessageBox, do the following:</p>
<ol>
<li>Somewhere in your code, such as in your CWinApp’s OnAppAbout message, type the following code:
<pre>System::Windows::Forms::MessageBox::Show(S"Ain't .NET cool?");</pre>
</li>
<li>To make this code work, at the top of the file with this code, add the following lines to bring in the managed WinForms library (where MessageBox lives) and to turn off the MessageBox macro:
<pre>#using &lt;System.Windows.Forms.dll&gt; #undef MessageBox</pre>
</li>
<li>Compile and run, invoking your code to show the message box.</li>
<li>Bask in the magic of IJW (It Just Works) that the VC++ compiler team needed to perform to get all of your unmanaged types to work in managed code with managed types.:</li>
</ol>
<p>Of course, that’s not even the tip of what Managed C++ can do. For the full story, I recommend “<a href="http://click.wd-mag.email-publisher.com/maaas3iaaS2aYaaaaaac/">Visual Studio .NET: Managed Extensions Bring .NET CLR Support to C++</a>,” <i>MSDN Magazine</i>, July 2001.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/prashant.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/prashant.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prashant.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prashant.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prashant.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prashant.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prashant.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prashant.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prashant.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prashant.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prashant.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prashant.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=15&subd=prashant&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prashant.wordpress.com/2006/07/17/update-your-legacy-mfc-apps-in-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5058ee931ac026e9d66745dc699c161b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">prashant</media:title>
		</media:content>
	</item>
		<item>
		<title>CListBox with the Horizontal Scroll Bar.</title>
		<link>http://prashant.wordpress.com/2006/06/23/clistbox-with-the-horizontal-scroll-bar/</link>
		<comments>http://prashant.wordpress.com/2006/06/23/clistbox-with-the-horizontal-scroll-bar/#comments</comments>
		<pubDate>Fri, 23 Jun 2006 09:22:26 +0000</pubDate>
		<dc:creator>prashant</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">https://prashant.wordpress.com/2006/06/23/clistbox-with-the-horizontal-scroll-bar/</guid>
		<description><![CDATA[COURTESY : www.codeguru.com
LINK               &#160;&#160;&#160; &#160;&#160;&#160;&#160; : http://www.codeguru.com/cpp/controls/listbox/article.php/c4759/
For information purpose only.
Environment: Visual Studio, VC++ 6.0, MFC, W9x/Me, W2k, XP.


Overview
CListBox: This is a wrapper class for the ListBox control, and it&#39;s used in almost every application. There is a little &#34;gotcha&#34; to this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=14&subd=prashant&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>COURTESY : www.codeguru.com</p>
<p>LINK               &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; : http://www.codeguru.com/cpp/controls/listbox/article.php/c4759/</p>
<p>For information purpose only.</p>
<p><u>Environment:</u> Visual Studio, VC++ 6.0, MFC, W9x/Me, W2k, XP.</p>
<p><img src="http://static.flickr.com/36/173147541_e469ba04b2_m.jpg" alt="Horizontal scroll bar demo" height="238" width="240" /></p>
<h3></h3>
<p>Overview</p>
<p><a title="more" name="more"></a>CListBox: This is a wrapper class for the ListBox control, and it&#39;s used in almost every application. There is a little &quot;gotcha&quot; to this class: The horizontal scroll bar doesn&#39;t work. Okay, I created it with the WS_HSCROLL flag set, the scroll bar is visible, and strings that I&#39;m adding to the box are obviously longer then the box&#39;s horizontal extent, but I&#39;m unable to scroll. What&#39;s wrong?</p>
<p><a title="more" name="more"></a>My theory is that the guy who originally implemented that control had way too much Greek mythology in his childhood. Villainous Procrustes and his bed where he had to cut off travelers&#39; legs if they didn&#39;t fit in had a huge impact on the poor guy. If something is too long, chop it off. Well, whatever the reason is, the control simply ignores the fact that the strings are longer then it can show. How can we fix it?</p>
<p><a title="more" name="more"></a>Well, first, we have to catch all messages sent to the control that affect the box&#39;s content, hence the strings that it has (behind such functions as AddString() or ResetContent(), is SendMessage() with LB_ADDSTRING and LB_RESETCONTENT respectively). There are five messages of that type (at least that&#39;s the number I&#39;ve come with. There may be more; I&#39;m not sure.). Once they are identified, they can be caught and modified the same way as the others:</p>
<ul>
<li><a title="more" name="more"></a>LB_ADDSTRING</li>
<li><a title="more" name="more"></a>LB_INSERTSTRING</li>
<li><a title="more" name="more"></a>LB_DELETESTRING</li>
<li><a title="more" name="more"></a>LB_DIR</li>
<li><a title="more" name="more"></a>LB_RESETCONTENT</li>
</ul>
<p><a title="more" name="more"></a>After the control is subclassed, we can catch any message that is sent to it through the control&#39;s message map:</p>
<pre><a title="more" name="more"></a>...
BEGIN_MESSAGE_MAP(CHScrollListBox, CListBox)
  //{{AFX_MSG_MAP(CHScrollListBox)
  // NOTE - the ClassWizard will add and remove mapping macros here.
  //}}AFX_MSG_MAP
  ON_MESSAGE(LB_ADDSTRING, OnAddString)
  ON_MESSAGE(LB_INSERTSTRING, OnInsertString)
  ON_MESSAGE(LB_DELETESTRING, OnDeleteString)
  ON_MESSAGE(LB_DIR, OnDir)
  ON_MESSAGE(LB_RESETCONTENT, OnResetContent)
END_MESSAGE_MAP()
...</pre>
<p><a title="more" name="more"></a>When we catch the message (for example, LB_ADDSTRING), we are going to call default processing first, and, if the returned code is okay (most of these messages return some kind of a completion indicator), call our functions, either SetNewHExtent() or ResetHExtent(), that will bring the horizontal extent member of ListBox (this is the parameter that affects the horizontal scroll bar, if the bar is present) in sync with the longest string that it contains:</p>
<pre><a title="more" name="more"></a>...
////////////////////////////////////////////////////////////////
// OnAddString: wParam - none, lParam - string, returns - int
////////////////////////////////////////////////////////////////
LRESULT CHScrollListBox::OnAddString(WPARAM wParam, LPARAM lParam)
{
  LRESULT lResult = Default();
  if (!((lResult == LB_ERR) || (lResult == LB_ERRSPACE)))
    SetNewHExtent((LPCTSTR) lParam);
  return lResult;
}
...</pre>
<p><a title="more" name="more"></a>SetNewHExtent() in turn will calculate in pixels the length of the supplied string in the given device context (GetTextLen()) and set a new horizontal extent for the control. The extent can be set through CListBox::SetHorizontalExtent(extent) and we do it only if it&#39;s bigger then the current extent:</p>
<pre><a title="more" name="more"></a>...
////////////////////////////////////////////////////////////////
void CHScrollListBox::SetNewHExtent(LPCTSTR lpszNewString)
{
  int iExt = GetTextLen(lpszNewString);
  if (iExt &gt; GetHorizontalExtent())
    SetHorizontalExtent(iExt);
}
...</pre>
<p><a title="more" name="more"></a>Let&#39;s take a look at what GetTextLen() does:</p>
<pre><a title="more" name="more"></a>...
int CHScrollListBox::GetTextLen(LPCTSTR lpszText)
{
  ASSERT(AfxIsValidString(lpszText));

CDC *pDC = GetDC();
  ASSERT(pDC);

CSize size;
  CFont* pOldFont = pDC-&gt;SelectObject(GetFont());
  if ((GetStyle() &amp; LBS_USETABSTOPS) == 0)
  {
    size = pDC-&gt;GetTextExtent(lpszText, (int) _tcslen(lpszText));
    size.cx += 3;
  }
  else
  {
    // Expand tabs as well
    size = pDC-&gt;GetTabbedTextExtent(lpszText, (int)
          _tcslen(lpszText), 0, NULL);
    size.cx += 2;
  }
  pDC-&gt;SelectObject(pOldFont);
  ReleaseDC(pDC);

return size.cx;
}
...</pre>
<p><a title="more" name="more"></a>The first call is a sanity check with AfxIsValidString(). Then we get the control&#39;s DC through GetDC() and select the control&#39;s font in the context. After that, we look at the styles. If LBS_USETABSTOPS is set, we call GetTabbedTextExtent(); otherwise, it&#39;s GetTextExtent(), which returns the number of pixels that the specified string will occupy on the screen in a horizontal direction when drawn in that device context. I add a few more pixels here, just to make sure the string looks symmetrical when displayed, because the box has a margin on the left. That&#39;s it.</p>
<p><a title="more" name="more"></a>In calls OnDeleteString() and OnDir(), I use the function named ResetHExtent(). Because I do not know what string has the next longest extent from the one I&#39;m deleting and since OnDir() will reset the content and fill it in with directory or file names, I&#39;m simply going through the whole list, looking for the longest string the list has and setting its extent.</p>
<p><a title="more" name="more"></a>CHScrollListBox should only be used with a single column, non-ownerdrawn list box. There are a couple of ASSERTs in PreSubclassWindow() to alert you in case you are setting the flags, which the box does not know how to handle. A typical propsheet for the box will look something like the picture below:</p>
<p><img src="http://static.flickr.com/37/173147542_f68f29deb5_m.jpg" alt="Horizontal scroll properties" height="87" width="240" /></p>
<p>If you don&#39;t need the box to display tabs, uncheck <i>Use Tabstops</i>. The main flags for CHScrollListBox to function properly  are <i>Horizontal Scroll, Selection-&gt;Single, Owner Draw-&gt;No</i>.</p>
<h3>Usage</h3>
<p>Okay, how one can utilize CHScrollListBox class? Here are some steps to take, sort of manual labor, that will get you there:</p>
<ol>
<li>In the resource editor, create a dialog template that will host a listbox control.</li>
<li>Set properties of the list box according to the picture above (at least, Horizontal Scroll, Selection, and Owner Draw should match).</li>
<li>In the header file of your dialog&#39;s class, associated with the template, add:
<pre>#include &quot;HScrollListBox.h&quot;</pre>
</li>
<li>Define a member variable of CHScrollListBox, like so:
<pre>CHScrollListBox m_listBox;</pre>
</li>
<li>In the implementation file, in DoDataExchange() function, add a line:
<pre>DDX_Control(pDX, IDC_YOUR_LISTBOX_CTRL_ID, m_listBox);</pre>
<p>This call in turn calls SubclassDlgItem(), which does the trick of routing all messages destined to the control to our message map.</li>
</ol>
<p>Of course, <i>IDC_YOUR_LISTBOX_CTRL_ID</i> and <i>m_listBox</i> are orbitrary names; you should use your own instead.</p>
<p><img src="///C:/DOCUME%7E1/prashant/LOCALS%7E1/Temp/moz-screenshot.jpg" /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/prashant.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/prashant.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prashant.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prashant.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prashant.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prashant.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prashant.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prashant.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prashant.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prashant.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prashant.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prashant.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=14&subd=prashant&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prashant.wordpress.com/2006/06/23/clistbox-with-the-horizontal-scroll-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5058ee931ac026e9d66745dc699c161b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">prashant</media:title>
		</media:content>

		<media:content url="http://static.flickr.com/36/173147541_e469ba04b2_m.jpg" medium="image">
			<media:title type="html">Horizontal scroll bar demo</media:title>
		</media:content>

		<media:content url="http://static.flickr.com/37/173147542_f68f29deb5_m.jpg" medium="image">
			<media:title type="html">Horizontal scroll properties</media:title>
		</media:content>

		<media:content url="/DOCUME%7E1/prashant/LOCALS%7E1/Temp/moz-screenshot.jpg" medium="image" />
	</item>
		<item>
		<title>How to change Default Debugger?</title>
		<link>http://prashant.wordpress.com/2006/05/05/how-to-change-default-debugger/</link>
		<comments>http://prashant.wordpress.com/2006/05/05/how-to-change-default-debugger/#comments</comments>
		<pubDate>Fri, 05 May 2006 10:51:26 +0000</pubDate>
		<dc:creator>prashant</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">https://prashant.wordpress.com/2006/05/05/how-to-change-default-debugger/</guid>
		<description><![CDATA[Suppose you have Microsoft Visual Studio 6.0 installed on tour machine &#38; afterwards you had installed .Net. In this case .Net becomes your default debugger.&#160;You can&#160;change the default debugger back to Microsoft Visual Studio 6.0 using following steps
Edit Following Registry key :-
&#160;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug
&#34;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\msdev.exe&#34; -p %ld -e %ld &#34;
     [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=13&subd=prashant&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Suppose you have Microsoft Visual Studio 6.0 installed on tour machine &amp; afterwards you had installed .Net. In this case .Net becomes your default debugger.&nbsp;You can&nbsp;change the default debugger back to Microsoft Visual Studio 6.0 using following steps</p>
<p>Edit Following Registry key :-</p>
<p>&nbsp;<font size="2" face="Arial"><strong>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug</strong></font></p>
<p><font size="2" face="Arial"><strong>&quot;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\msdev.exe&quot; -p %ld -e %ld &quot;</strong></font></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/prashant.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/prashant.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prashant.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prashant.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prashant.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prashant.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prashant.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prashant.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prashant.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prashant.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prashant.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prashant.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=13&subd=prashant&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prashant.wordpress.com/2006/05/05/how-to-change-default-debugger/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5058ee931ac026e9d66745dc699c161b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">prashant</media:title>
		</media:content>
	</item>
		<item>
		<title>Resizing Edit control</title>
		<link>http://prashant.wordpress.com/2006/04/27/resizing-edit-control/</link>
		<comments>http://prashant.wordpress.com/2006/04/27/resizing-edit-control/#comments</comments>
		<pubDate>Thu, 27 Apr 2006 11:16:34 +0000</pubDate>
		<dc:creator>prashant</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">https://prashant.wordpress.com/2006/04/27/resizing-edit-control/</guid>
		<description><![CDATA[Here is an example of How to resize Edit control :
CRect rect;
((CEdit*)GetDlgItem(IDC_EDIT))-&#62;GetClientRect(rect);          ((CEdit*)GetDlgItem(IDC_EDIT))-&#62;MoveWindow(rect.left +  20,rect.top + 34 ,rect.Width() &#8211; 170,20);
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=12&subd=prashant&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is an example of How to resize Edit control :</p>
<p>CRect rect;<br />
((CEdit*)GetDlgItem(IDC_EDIT))-&gt;GetClientRect(rect);          ((CEdit*)GetDlgItem(IDC_EDIT))-&gt;MoveWindow(rect.left +  20,rect.top + 34 ,rect.Width() &#8211; 170,20);</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/prashant.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/prashant.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prashant.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prashant.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prashant.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prashant.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prashant.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prashant.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prashant.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prashant.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prashant.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prashant.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=12&subd=prashant&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prashant.wordpress.com/2006/04/27/resizing-edit-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5058ee931ac026e9d66745dc699c161b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">prashant</media:title>
		</media:content>
	</item>
		<item>
		<title>MFC :How to mark EOF while writing text file?</title>
		<link>http://prashant.wordpress.com/2006/04/04/mfc-how-to-mark-eof-while-writing-text-file/</link>
		<comments>http://prashant.wordpress.com/2006/04/04/mfc-how-to-mark-eof-while-writing-text-file/#comments</comments>
		<pubDate>Tue, 04 Apr 2006 11:26:01 +0000</pubDate>
		<dc:creator>prashant</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">https://prashant.wordpress.com/2006/04/04/mfc-how-to-mark-eof-while-writing-text-file/</guid>
		<description><![CDATA[CstdioFile File;
::SetEndOfFile((HANDLE)File.m_hFile);
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=11&subd=prashant&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>CstdioFile File;</p>
<p>::SetEndOfFile((HANDLE)File.m_hFile);</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/prashant.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/prashant.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prashant.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prashant.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prashant.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prashant.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prashant.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prashant.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prashant.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prashant.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prashant.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prashant.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=11&subd=prashant&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prashant.wordpress.com/2006/04/04/mfc-how-to-mark-eof-while-writing-text-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5058ee931ac026e9d66745dc699c161b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">prashant</media:title>
		</media:content>
	</item>
		<item>
		<title>Unicode file VSS Check in problem.</title>
		<link>http://prashant.wordpress.com/2006/03/20/unicode-file-vss-check-in-problem/</link>
		<comments>http://prashant.wordpress.com/2006/03/20/unicode-file-vss-check-in-problem/#comments</comments>
		<pubDate>Mon, 20 Mar 2006 12:14:41 +0000</pubDate>
		<dc:creator>prashant</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">https://prashant.wordpress.com/2006/03/20/unicode-file-vss-check-in-problem/</guid>
		<description><![CDATA[If we check in Unicode file on VSS &#38; again check out the same file, then &#8216;\n&#8217; in the file got replaced with &#8216;\r\n&#8217;
Reason :
In unicode every lines ends with 000D 000A
SourceSafe completed the \r\n  sequences to: 0D 0A 00 0D 0A 00
Which in Unicode means: 0A0D 0D00 000A.
Solution :
This happens because Sourcesafe does [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=10&subd=prashant&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If we check in Unicode file on VSS &amp; again check out the same file, then &#8216;\n&#8217; in the file got replaced with &#8216;\r\n&#8217;</p>
<p><b>Reason :</b></p>
<p>In unicode every lines ends with 000D 000A<br />
SourceSafe completed the \r\n  sequences to: 0D 0A 00 0D 0A 00<br />
Which in Unicode means: 0A0D 0D00 000A.</p>
<p><b>Solution :</b><br />
This happens because Sourcesafe does not<br />
handle Unicode. If we do not treat  UNICODE files as binaries, the behavior<br />
is unpredictable since VSS will  attempt to treat as ASCII. Under properties<br />
set file <b>type in VSS to binary</b>  will be the resolution to this issue.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/prashant.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/prashant.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prashant.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prashant.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prashant.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prashant.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prashant.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prashant.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prashant.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prashant.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prashant.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prashant.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=10&subd=prashant&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prashant.wordpress.com/2006/03/20/unicode-file-vss-check-in-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5058ee931ac026e9d66745dc699c161b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">prashant</media:title>
		</media:content>
	</item>
		<item>
		<title>Problem : Displaying Tooltip.</title>
		<link>http://prashant.wordpress.com/2006/03/20/problem-displaying-tooltip/</link>
		<comments>http://prashant.wordpress.com/2006/03/20/problem-displaying-tooltip/#comments</comments>
		<pubDate>Mon, 20 Mar 2006 12:08:31 +0000</pubDate>
		<dc:creator>prashant</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">https://prashant.wordpress.com/2006/03/20/problem-displaying-tooltip/</guid>
		<description><![CDATA[Recently while switching code from VC++ 6.0 to .NET, we have faced few problems
1) Displaying tooltip : Tooltip window was created but we are unable to display the same.
Solution :-
Just add following chunk of code into your header file.
#define WINVER  0&#215;0400
#define _WIN32_WINDOWS 0&#215;0400
#define _WIN32_WINNT  0&#215;0400
#define _WIN32_IE 0&#215;0500
       [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=9&subd=prashant&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recently while switching code from VC++ 6.0 to .NET, we have faced few problems</p>
<p>1) Displaying tooltip : Tooltip window was created but we are unable to display the same.</p>
<p>Solution :-</p>
<p>Just add following chunk of code into your header file.<br />
<font size="2" face="Arial"><b><font size="3" face="Courier New">#define WINVER  0&#215;0400<br />
#define _WIN32_WINDOWS 0&#215;0400<br />
#define _WIN32_WINNT  0&#215;0400<br />
#define _WIN32_IE 0&#215;0500</font></b></font></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/prashant.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/prashant.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prashant.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prashant.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prashant.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prashant.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prashant.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prashant.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prashant.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prashant.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prashant.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prashant.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=9&subd=prashant&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prashant.wordpress.com/2006/03/20/problem-displaying-tooltip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5058ee931ac026e9d66745dc699c161b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">prashant</media:title>
		</media:content>
	</item>
		<item>
		<title>Unrecognized database format Error.</title>
		<link>http://prashant.wordpress.com/2006/03/20/unrecognized-database-format-error/</link>
		<comments>http://prashant.wordpress.com/2006/03/20/unrecognized-database-format-error/#comments</comments>
		<pubDate>Mon, 20 Mar 2006 12:01:55 +0000</pubDate>
		<dc:creator>prashant</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">https://prashant.wordpress.com/2006/03/20/unrecognized-database-format-error/</guid>
		<description><![CDATA[Forcefully convert the version, if we moved to Access2000 from 97.
Otherwise while opening database file you will get following error : Unrecognized database format
AfxGetModuleState()-&#62;m_dwVersion = 0&#215;0601;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=7&subd=prashant&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Forcefully convert the version, if we moved to Access2000 from 97.<br />
Otherwise while opening database file you will get following error : Unrecognized database format</p>
<p><b>AfxGetModuleState()-&gt;m_dwVersion = 0&#215;0601;</b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/prashant.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/prashant.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prashant.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prashant.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prashant.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prashant.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prashant.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prashant.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prashant.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prashant.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prashant.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prashant.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prashant.wordpress.com&blog=35178&post=7&subd=prashant&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prashant.wordpress.com/2006/03/20/unrecognized-database-format-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5058ee931ac026e9d66745dc699c161b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">prashant</media:title>
		</media:content>
	</item>
	</channel>
</rss>