<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2340211342045503719</id><updated>2026-06-16T16:40:27.713+05:30</updated><category term="AITS"/><category term="Atmiya"/><category term="VC++"/><category term="Rajkot"/><category term="M.Sc (IT and CA)"/><category term="Bitmap"/><category term="Mohit"/><category term="Naimish"/><category term="SDi"/><category term="VC++ File Handling"/><category term="Visual C++"/><category term="cursor"/><category term="Active X"/><category term="Analog Clock"/><category term="Animate"/><category term="Assert"/><category term="CArchive"/><category term="CArchive::load"/><category term="CArchive::store"/><category term="CClientDC"/><category term="CFile"/><category term="CFontDialog"/><category term="CRgn"/><category term="CTime"/><category term="Center of Screen"/><category term="Change"/><category term="Change Shape"/><category term="Circle Shaped Dialog"/><category term="Class"/><category term="Close()"/><category term="Coding"/><category term="ColorDialog"/><category term="CreateEllipticRgn"/><category term="CreateFontIndirect"/><category term="CreateSolidBrush"/><category term="DAO"/><category term="Daya"/><category term="Delete"/><category term="Delete()"/><category term="DeleteObject()"/><category term="Dialog Box"/><category term="Digital Clock"/><category term="DoModal()"/><category term="Draw Lines"/><category term="Dynamic Radio Button"/><category term="Ellipse"/><category term="EnableWindow()"/><category term="Exam"/><category term="Exam - 2010"/><category term="Explain Function"/><category term="FILE HANDLING SIMPLE PROGRAMME"/><category term="FillRect"/><category term="FontDialog"/><category term="GetCurrentTime()"/><category term="GetDlgItem"/><category term="GetHour()"/><category term="GetMinute()"/><category term="GetSecond()"/><category term="Icon"/><category term="Insert"/><category term="Insert()"/><category term="IsIconic"/><category term="Jalpa"/><category term="Jugal"/><category term="LAB"/><category term="Link"/><category term="List"/><category term="ListBox"/><category term="MDI"/><category term="Menu"/><category term="MoveLast()"/><category term="MoveNext()"/><category term="MovePrev()"/><category term="ODBC"/><category term="OLEDB"/><category term="OLEDB CONNECTION"/><category term="OnFont()"/><category term="OnOk()"/><category term="Open()"/><category term="Practical"/><category term="Practical Assignment"/><category term="Practical List"/><category term="Practicla Exam Program"/><category term="Priyanka"/><category term="Program"/><category term="Program List"/><category term="Reading Data"/><category term="Reading File"/><category term="Rectangle"/><category term="RedrawWindow"/><category term="Scrollbar"/><category term="Seek"/><category term="Seek()"/><category term="SeekToBegin"/><category term="SelectObject"/><category term="Serialization"/><category term="Serialize"/><category term="SetBkMode"/><category term="SetData()"/><category term="SetWindowText()"/><category term="Sonal"/><category term="Student"/><category term="Syllabus"/><category term="System time"/><category term="Text Editor"/><category term="TextOut()"/><category term="Toolbar"/><category term="Types of Cursor"/><category term="University paper"/><category term="Update"/><category term="UpdateData"/><category term="UpdateWindow()"/><category term="User click"/><category term="Vc++ Question paper"/><category term="Virtual Key"/><category term="Write a Program"/><category term="Writing Data"/><category term="cursor in dlg"/><category term="m_pSet"/><category term="masuma"/><category term="modeRead"/><category term="nSBCode"/><title type='text'>Visual C++ (VC++) Code by Students of M.Sc (IT &amp;amp; CA), AITS,Rajkot</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Kapil Shukla</name><uri>http://www.blogger.com/profile/11745788051123511820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fWbPRNaY4uikBf1PbClqsYEpcbtwPArFH80o7IBRubvXPySd3XJyPqkFJ4z0N0OHYBAqxGCwSSNRfbYImzX98NIWMvOfar6Zi4LTGiwzVe1Wh2rxHAMkoOGtro3FYGU7a2L3dkfLolJ6Y17-978gWdLxrnU2omTjeCt5xhhmI4SWEdM/s1600/Kapil%20Shukla%20-%20Copy.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-4838569612169703372</id><published>2010-01-11T13:12:00.001+05:30</published><updated>2010-01-11T13:18:27.026+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Exam - 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Practicla Exam Program"/><title type='text'>Practical Exam Program</title><content type='html'>&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CKapil%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:&quot;&quot;;
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Times New Roman&quot;;
	mso-fareast-font-family:&quot;Times New Roman&quot;;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;  &lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;M.Sc (IT &amp;amp; CA)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Practical Exam Program&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;for&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Shri. M.N. Virani Science College, Rajkot&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;January - 2010&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CKapil%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:&quot;&quot;;
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Times New Roman&quot;;
	mso-fareast-font-family:&quot;Times New Roman&quot;;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;  &lt;br /&gt;
&lt;/div&gt;&lt;table align=&quot;left&quot; border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: medium none; margin-left: 6.75pt; margin-right: 6.75pt; width: 633px;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 20.05pt;&quot;&gt;   &lt;td style=&quot;border: 1pt solid windowtext; height: 20.05pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Date&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: windowtext windowtext windowtext -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; height: 20.05pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Time&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: windowtext windowtext windowtext -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; height: 20.05pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Subject&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 24.25pt;&quot;&gt;   &lt;td rowspan=&quot;2&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; height: 24.25pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;15-1-2010&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Friday&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 24.25pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;9:00 &amp;nbsp;A.M. to 10:30 A.M.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 24.25pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;P101 : OOP using VC++&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 21.1pt;&quot;&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 21.1pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;2:00&amp;nbsp; P.M. to 3:30 P.M.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 21.1pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;P102 : Web Technology Concepts&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 20.05pt;&quot;&gt;   &lt;td rowspan=&quot;2&quot; style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; height: 20.05pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;16-1-2010&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Saturday&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 20.05pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;9:00 &amp;nbsp;A.M. to 10:30 A.M.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 20.05pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;P103 : DBMS &amp;amp; Advanced Database Administration&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 24.25pt;&quot;&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 24.25pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;2:00&amp;nbsp; P.M. to 3:30 P.M.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 24.25pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;P104 : O.S &amp;amp; Network Management&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 36.4pt;&quot;&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; height: 36.4pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;21-1-2010&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Thursday&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 36.4pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;9:00 &amp;nbsp;A.M. Onwards&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 36.4pt; padding: 0in 5.4pt; width: 158.25pt;&quot; width=&quot;211&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;P105 : Project - I&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CKapil%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;
	mso-font-charset:2;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:0 268435456 0 0 -2147483648 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:&quot;&quot;;
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Times New Roman&quot;;
	mso-fareast-font-family:&quot;Times New Roman&quot;;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:864948330;
	mso-list-type:hybrid;
	mso-list-template-ids:-1807743186 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:21;
	mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;
	mso-fareast-font-family:&quot;Times New Roman&quot;;
	mso-bidi-font-family:&quot;Times New Roman&quot;;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--&gt;
&lt;/style&gt;  &lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-align: left; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Symbol; font-size: 14pt;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;*For more information Please refer College Notice board.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&amp;nbsp;  &lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/4838569612169703372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2010/01/practical-exam-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/4838569612169703372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/4838569612169703372'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2010/01/practical-exam-program.html' title='Practical Exam Program'/><author><name>Kapil Shukla</name><uri>http://www.blogger.com/profile/11745788051123511820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fWbPRNaY4uikBf1PbClqsYEpcbtwPArFH80o7IBRubvXPySd3XJyPqkFJ4z0N0OHYBAqxGCwSSNRfbYImzX98NIWMvOfar6Zi4LTGiwzVe1Wh2rxHAMkoOGtro3FYGU7a2L3dkfLolJ6Y17-978gWdLxrnU2omTjeCt5xhhmI4SWEdM/s1600/Kapil%20Shukla%20-%20Copy.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-8388218869384812154</id><published>2010-01-08T08:18:00.000+05:30</published><updated>2010-01-08T08:18:11.873+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="University paper"/><category scheme="http://www.blogger.com/atom/ns#" term="Vc++ Question paper"/><title type='text'>University VC++ Question Paper 2010</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbAC79XyVHMjUQlje8pw90ub-sHJe1Ke_SBsFKKN1jeamdB6ZFy1nxKpraWJ_A4Nwfz3m61Cy7DpU6sgjqyfQUc1NBfEBzl58lVoF2irdk5yqXo-qe3Dwm808DxiE5P962FWAmsJ-AZTJf/s1600-h/vc++1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbAC79XyVHMjUQlje8pw90ub-sHJe1Ke_SBsFKKN1jeamdB6ZFy1nxKpraWJ_A4Nwfz3m61Cy7DpU6sgjqyfQUc1NBfEBzl58lVoF2irdk5yqXo-qe3Dwm808DxiE5P962FWAmsJ-AZTJf/s640/vc++1.JPG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0KZOryFLVmkgY3WtkSFJxhrBcXsgt29k6HR11n6YxJMqwtN7aliycxtteNvd_gVwVLGd6jRzOiXcP5stK6kH-OckIzvs-l8N5QpmlNM5CJ5Z7XR_zPzqooNoVe_bMYu-WdHSZVphJYkJr/s1600-h/vc++2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0KZOryFLVmkgY3WtkSFJxhrBcXsgt29k6HR11n6YxJMqwtN7aliycxtteNvd_gVwVLGd6jRzOiXcP5stK6kH-OckIzvs-l8N5QpmlNM5CJ5Z7XR_zPzqooNoVe_bMYu-WdHSZVphJYkJr/s640/vc++2.JPG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/8388218869384812154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2010/01/university-vc-question-paper-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/8388218869384812154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/8388218869384812154'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2010/01/university-vc-question-paper-2010.html' title='University VC++ Question Paper 2010'/><author><name>Kapil Shukla</name><uri>http://www.blogger.com/profile/11745788051123511820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fWbPRNaY4uikBf1PbClqsYEpcbtwPArFH80o7IBRubvXPySd3XJyPqkFJ4z0N0OHYBAqxGCwSSNRfbYImzX98NIWMvOfar6Zi4LTGiwzVe1Wh2rxHAMkoOGtro3FYGU7a2L3dkfLolJ6Y17-978gWdLxrnU2omTjeCt5xhhmI4SWEdM/s1600/Kapil%20Shukla%20-%20Copy.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbAC79XyVHMjUQlje8pw90ub-sHJe1Ke_SBsFKKN1jeamdB6ZFy1nxKpraWJ_A4Nwfz3m61Cy7DpU6sgjqyfQUc1NBfEBzl58lVoF2irdk5yqXo-qe3Dwm808DxiE5P962FWAmsJ-AZTJf/s72-c/vc++1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-5527051955952666297</id><published>2009-12-04T11:26:00.007+05:30</published><updated>2009-12-04T11:34:40.382+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Jugal"/><title type='text'>Database Connection Using DAO in VC++</title><content type='html'>&lt;p style=&quot;color: rgb(255, 0, 0); font-weight: bold;&quot; class=&quot;MsoNormal&quot;&gt;File Name :: DAOConnView.cpp&lt;/p&gt;    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;&quot;&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;Coding ::&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;    &lt;p class=&quot;MsoNormal&quot;&gt;void CDAOConnView::OnMoveFirst() &lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;// TODO: Add your control notification handler code here&lt;/p&gt;    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;UpdateData();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;m_pSet-&gt;MoveFirst();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;UpdateData(FALSE);&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;}&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;void CDAOConnView::OnMovePrev() &lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;// TODO: Add your control notification handler code here&lt;span style=&quot;&quot;&gt;         &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;UpdateData();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;m_pSet-&gt;MovePrev();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;if(m_pSet-&gt;IsBOF() == TRUE)&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;                        &lt;/span&gt;MessageBox(&quot;First Record&quot;,&quot;Alert&quot;);&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;                        &lt;/span&gt;m_pSet-&gt;MoveFirst();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;}&lt;/p&gt;    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;UpdateData(FALSE);&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;}&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;void CDAOConnView::OnMoveNext() &lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;// TODO: Add your control notification handler code here&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;UpdateData();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;m_pSet-&gt;MoveNext();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;if(m_pSet-&gt;IsEOF() == TRUE)&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;                        &lt;/span&gt;MessageBox(&quot;Last Record&quot;,&quot;Alert&quot;&lt;span style=&quot;&quot;&gt;       &lt;/span&gt;);&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;                        &lt;/span&gt;m_pSet-&gt;MoveLast();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;}&lt;/p&gt;    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;UpdateData(FALSE);&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;}&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;void CDAOConnView::OnMoveLast() &lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;// TODO: Add your control notification handler code here&lt;/p&gt;&lt;span style=&quot;&quot;&gt;&lt;/span&gt; &lt;span style=&quot;&quot;&gt;           &lt;/span&gt;UpdateData();  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;m_pSet-&gt;MoveLast();&lt;/p&gt;    &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;span style=&quot;&quot;&gt;          &lt;/span&gt;UpdateData(FALSE);&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;}&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;void CDAOConnView::OnAdd() &lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;// TODO: Add your control notification handler code here&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;UpdateData();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;m_pSet-&gt;AddNew();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;UpdateData(FALSE);&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;}&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;void CDAOConnView::OnSave() &lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;// TODO: Add your control notification handler code here&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;UpdateData();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;m_pSet-&gt;Update();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;UpdateData(FALSE);&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;}&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;void CDAOConnView::OnUpdate() &lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;// TODO: Add your control notification handler code here&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-indent: 0.5in;&quot;&gt;m_pSet-&gt;Edit();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;}&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;void CDAOConnView::OnDelete() &lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;{&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;// TODO: Add your control notification handler code here&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;UpdateData();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;m_pSet-&gt;Delete();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;m_pSet-&gt;Requery();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;m_pSet-&gt;MoveNext();&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot;&gt;            &lt;/span&gt;UpdateData(FALSE);&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/5527051955952666297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/12/database-connection-using-dao-in-vc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/5527051955952666297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/5527051955952666297'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/12/database-connection-using-dao-in-vc.html' title='Database Connection Using DAO in VC++'/><author><name>Jugal</name><uri>http://www.blogger.com/profile/05509858085478428076</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-4rZ4KQ-Hcos/TiQS2aUEXjI/AAAAAAAAANA/bFpn4yGqG-s/s220/DSCN1754.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-64038244281774799</id><published>2009-12-04T11:13:00.001+05:30</published><updated>2009-12-04T11:20:31.955+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Delete()"/><category scheme="http://www.blogger.com/atom/ns#" term="Insert()"/><category scheme="http://www.blogger.com/atom/ns#" term="m_pSet"/><category scheme="http://www.blogger.com/atom/ns#" term="masuma"/><category scheme="http://www.blogger.com/atom/ns#" term="MoveLast()"/><category scheme="http://www.blogger.com/atom/ns#" term="MoveNext()"/><category scheme="http://www.blogger.com/atom/ns#" term="MovePrev()"/><category scheme="http://www.blogger.com/atom/ns#" term="OLEDB CONNECTION"/><category scheme="http://www.blogger.com/atom/ns#" term="SetData()"/><title type='text'>OLEDB CONNECTION IN VC++</title><content type='html'>COledb_connectView.h&lt;br /&gt;       public:&lt;br /&gt;           COledb_connectDoc* GetDocument();&lt;br /&gt;           bool flag;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;       COledb_connectView.cpp&lt;br /&gt;void COledb_connectView::OnInitialUpdate()&lt;br /&gt;{&lt;br /&gt;   m_pSet = &amp;amp;GetDocument()-&gt;m_oledb_connectSet;&lt;br /&gt;   {&lt;br /&gt;       CWaitCursor wait;&lt;br /&gt;       HRESULT hr = m_pSet-&gt;Open();&lt;br /&gt;       if (hr != S_OK)&lt;br /&gt;       {&lt;br /&gt;           AfxMessageBox(_T(&quot;Record set failed to open.&quot;), MB_OK);&lt;br /&gt;           // Disable the Next and Previous record commands,&lt;br /&gt;           // since attempting to change the current record without an&lt;br /&gt;           // open RecordSet will cause a crash.&lt;br /&gt;           m_bOnFirstRecord = TRUE;&lt;br /&gt;           m_bOnLastRecord = TRUE;&lt;br /&gt;       }              &lt;br /&gt;   }&lt;br /&gt;   m_rollno=m_pSet-&gt;m_rollno;&lt;br /&gt;   m_marks=m_pSet-&gt;m_marks;&lt;br /&gt;   COleDBRecordView::OnInitialUpdate();&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;void COledb_connectView::Onfirst()&lt;br /&gt;{&lt;br /&gt;   // TODO: Add your control notification handler code here&lt;br /&gt;   UpdateData();&lt;br /&gt;   m_pSet-&gt;MoveFirst();&lt;br /&gt;   m_rollno=m_pSet-&gt;m_rollno;&lt;br /&gt;   m_marks=m_pSet-&gt;m_marks;&lt;br /&gt;     &lt;br /&gt;   UpdateData(false);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void COledb_connectView::Onlast()&lt;br /&gt;{&lt;br /&gt;   // TODO: Add your control notification handler code here&lt;br /&gt;   UpdateData();&lt;br /&gt;   m_pSet-&gt;MoveLast();&lt;br /&gt;   m_rollno=m_pSet-&gt;m_rollno;&lt;br /&gt;   m_marks=m_pSet-&gt;m_marks;&lt;br /&gt;   UpdateData(false);&lt;br /&gt;     &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void COledb_connectView::Oninsert()&lt;br /&gt;{&lt;br /&gt;   // TODO: Add your control notification handler code here&lt;br /&gt;   UpdateData();&lt;br /&gt;   m_rollno=0;&lt;br /&gt;   m_marks=0;&lt;br /&gt;   UpdateData(false);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void COledb_connectView::Onsave()&lt;br /&gt;{&lt;br /&gt;   // TODO: Add your control notification handler code here&lt;br /&gt;   UpdateData();&lt;br /&gt;   m_pSet-&gt;m_rollno=m_rollno;&lt;br /&gt;   m_pSet-&gt;m_marks=m_marks;&lt;br /&gt;   if(flag==true)//if flag is true then update operation will perform&lt;br /&gt;   {&lt;br /&gt;&lt;br /&gt;   m_pSet-&gt;SetData();&lt;br /&gt;   }&lt;br /&gt;   else //if flag is true then INSERT operation will perform&lt;br /&gt;   {&lt;br /&gt;   m_pSet-&gt;Insert();&lt;br /&gt;   }&lt;br /&gt;   flag=false;&lt;br /&gt;&lt;br /&gt;   UpdateData(false);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void COledb_connectView::Onnext()&lt;br /&gt;{&lt;br /&gt;   // TODO: Add your control notification handler code here&lt;br /&gt;   UpdateData();&lt;br /&gt;   m_pSet-&gt;MoveNext();&lt;br /&gt;   m_rollno=m_pSet-&gt;m_rollno;&lt;br /&gt;   m_marks=m_pSet-&gt;m_marks;&lt;br /&gt;     &lt;br /&gt;   UpdateData(false);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void COledb_connectView::Onprevious()&lt;br /&gt;{&lt;br /&gt;   // TODO: Add your control notification handler code here&lt;br /&gt;   UpdateData();&lt;br /&gt;   m_pSet-&gt;MovePrev();&lt;br /&gt;   m_rollno=m_pSet-&gt;m_rollno;&lt;br /&gt;   m_marks=m_pSet-&gt;m_marks;&lt;br /&gt;     &lt;br /&gt;   UpdateData(false);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void COledb_connectView::Onupdate()&lt;br /&gt;{&lt;br /&gt;   // TODO: Add your control notification handler code here&lt;br /&gt;   UpdateData();&lt;br /&gt;   m_pSet-&gt;m_rollno=m_rollno;&lt;br /&gt;   m_pSet-&gt;m_marks=m_marks;&lt;br /&gt;   m_pSet-&gt;Update();&lt;br /&gt;   flag=true;&lt;br /&gt;   UpdateData(false);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void COledb_connectView::Ondelete()&lt;br /&gt;{&lt;br /&gt;   // TODO: Add your control notification handler code here&lt;br /&gt;   UpdateData();&lt;br /&gt;   m_pSet-&gt;Delete();&lt;br /&gt;   m_pSet-&gt;MoveFirst();&lt;br /&gt;&lt;br /&gt;   m_rollno=m_pSet-&gt;m_rollno;&lt;br /&gt;   m_marks=m_pSet-&gt;m_marks;&lt;br /&gt;   UpdateData(false);&lt;br /&gt;&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/64038244281774799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/12/coledbconnectview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/64038244281774799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/64038244281774799'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/12/coledbconnectview.html' title='OLEDB CONNECTION IN VC++'/><author><name>MASUM</name><uri>http://www.blogger.com/profile/12948523270483895004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-2009497114334949133</id><published>2009-12-03T18:52:00.003+05:30</published><updated>2009-12-04T11:40:07.156+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active X"/><category scheme="http://www.blogger.com/atom/ns#" term="Bitmap"/><category scheme="http://www.blogger.com/atom/ns#" term="Change Shape"/><category scheme="http://www.blogger.com/atom/ns#" term="ColorDialog"/><category scheme="http://www.blogger.com/atom/ns#" term="cursor"/><category scheme="http://www.blogger.com/atom/ns#" term="DAO"/><category scheme="http://www.blogger.com/atom/ns#" term="Delete"/><category scheme="http://www.blogger.com/atom/ns#" term="FontDialog"/><category scheme="http://www.blogger.com/atom/ns#" term="Icon"/><category scheme="http://www.blogger.com/atom/ns#" term="Insert"/><category scheme="http://www.blogger.com/atom/ns#" term="MDI"/><category scheme="http://www.blogger.com/atom/ns#" term="Menu"/><category scheme="http://www.blogger.com/atom/ns#" term="ODBC"/><category scheme="http://www.blogger.com/atom/ns#" term="OLEDB"/><category scheme="http://www.blogger.com/atom/ns#" term="Practical Assignment"/><category scheme="http://www.blogger.com/atom/ns#" term="Seek()"/><category scheme="http://www.blogger.com/atom/ns#" term="Serialization"/><category scheme="http://www.blogger.com/atom/ns#" term="Toolbar"/><category scheme="http://www.blogger.com/atom/ns#" term="Update"/><title type='text'>Practical Assignment</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;M.Sc (IT &amp;amp; CA) Sem – I&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Object Oriented Programming using Visual C++&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Practical &lt;/span&gt;List - II&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;(1)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;style&gt;&lt;br /&gt;&lt;!--&lt;br /&gt; /* Style Definitions */&lt;br /&gt; p.MsoNormal, li.MsoNormal, div.MsoNormal&lt;br /&gt;	{mso-style-parent:&quot;&quot;;&lt;br /&gt;	margin:0in;&lt;br /&gt;	margin-bottom:.0001pt;&lt;br /&gt;	mso-pagination:widow-orphan;&lt;br /&gt;	font-size:12.0pt;&lt;br /&gt;	font-family:&quot;Times New Roman&quot;;&lt;br /&gt;	mso-fareast-font-family:&quot;Times New Roman&quot;;}&lt;br /&gt;@page Section1&lt;br /&gt;	{size:8.5in 11.0in;&lt;br /&gt;	margin:1.0in 1.25in 1.0in 1.25in;&lt;br /&gt;	mso-header-margin:.5in;&lt;br /&gt;	mso-footer-margin:.5in;&lt;br /&gt;	mso-paper-source:0;}&lt;br /&gt;div.Section1&lt;br /&gt;	{page:Section1;}&lt;br /&gt; /* List Definitions */&lt;br /&gt; @list l0&lt;br /&gt;	{mso-list-id:1864249090;&lt;br /&gt;	mso-list-type:hybrid;&lt;br /&gt;	mso-list-template-ids:-1828815510 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}&lt;br /&gt;@list l0:level1&lt;br /&gt;	{mso-level-tab-stop:.5in;&lt;br /&gt;	mso-level-number-position:left;&lt;br /&gt;	text-indent:-.25in;}&lt;br /&gt;ol&lt;br /&gt;	{margin-bottom:0in;}&lt;br /&gt;ul&lt;br /&gt;	{margin-bottom:0in;}&lt;br /&gt;--&gt;&lt;br /&gt;&lt;/style&gt;&lt;span style=&quot;font-size: small;&quot;&gt; Develop GDI application Using Menu and Toolbar to Change Shape and Color.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;(2)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;style&gt;&lt;br /&gt;&lt;!--&lt;br /&gt; /* Style Definitions */&lt;br /&gt; p.MsoNormal, li.MsoNormal, div.MsoNormal&lt;br /&gt;	{mso-style-parent:&quot;&quot;;&lt;br /&gt;	margin:0in;&lt;br /&gt;	margin-bottom:.0001pt;&lt;br /&gt;	mso-pagination:widow-orphan;&lt;br /&gt;	font-size:12.0pt;&lt;br /&gt;	font-family:&quot;Times New Roman&quot;;&lt;br /&gt;	mso-fareast-font-family:&quot;Times New Roman&quot;;}&lt;br /&gt;@page Section1&lt;br /&gt;	{size:8.5in 11.0in;&lt;br /&gt;	margin:1.0in 1.25in 1.0in 1.25in;&lt;br /&gt;	mso-header-margin:.5in;&lt;br /&gt;	mso-footer-margin:.5in;&lt;br /&gt;	mso-paper-source:0;}&lt;br /&gt;div.Section1&lt;br /&gt;	{page:Section1;}&lt;br /&gt; /* List Definitions */&lt;br /&gt; @list l0&lt;br /&gt;	{mso-list-id:1864249090;&lt;br /&gt;	mso-list-type:hybrid;&lt;br /&gt;	mso-list-template-ids:-1828815510 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}&lt;br /&gt;@list l0:level1&lt;br /&gt;	{mso-level-tab-stop:.5in;&lt;br /&gt;	mso-level-number-position:left;&lt;br /&gt;	text-indent:-.25in;}&lt;br /&gt;ol&lt;br /&gt;	{margin-bottom:0in;}&lt;br /&gt;ul&lt;br /&gt;	{margin-bottom:0in;}&lt;br /&gt;--&gt;&lt;br /&gt;&lt;/style&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Write      application for the GDI that use the ColorDialog and FontDialog. &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt; &lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;(3)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;style&gt;&lt;br /&gt;&lt;!--&lt;br /&gt; /* Style Definitions */&lt;br /&gt; p.MsoNormal, li.MsoNormal, div.MsoNormal&lt;br /&gt;	{mso-style-parent:&quot;&quot;;&lt;br /&gt;	margin:0in;&lt;br /&gt;	margin-bottom:.0001pt;&lt;br /&gt;	mso-pagination:widow-orphan;&lt;br /&gt;	font-size:12.0pt;&lt;br /&gt;	font-family:&quot;Times New Roman&quot;;&lt;br /&gt;	mso-fareast-font-family:&quot;Times New Roman&quot;;}&lt;br /&gt;@page Section1&lt;br /&gt;	{size:8.5in 11.0in;&lt;br /&gt;	margin:1.0in 1.25in 1.0in 1.25in;&lt;br /&gt;	mso-header-margin:.5in;&lt;br /&gt;	mso-footer-margin:.5in;&lt;br /&gt;	mso-paper-source:0;}&lt;br /&gt;div.Section1&lt;br /&gt;	{page:Section1;}&lt;br /&gt; /* List Definitions */&lt;br /&gt; @list l0&lt;br /&gt;	{mso-list-id:1864249090;&lt;br /&gt;	mso-list-type:hybrid;&lt;br /&gt;	mso-list-template-ids:-1828815510 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}&lt;br /&gt;@list l0:level1&lt;br /&gt;	{mso-level-tab-stop:.5in;&lt;br /&gt;	mso-level-number-position:left;&lt;br /&gt;	text-indent:-.25in;}&lt;br /&gt;ol&lt;br /&gt;	{margin-bottom:0in;}&lt;br /&gt;ul&lt;br /&gt;	{margin-bottom:0in;}&lt;br /&gt;--&gt;&lt;br /&gt;&lt;/style&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Write      application for the GDI that use the Bitmap,Icon and Cursor.  &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;(4)&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;style&gt;&lt;br /&gt;&lt;!--&lt;br /&gt; /* Style Definitions */&lt;br /&gt; p.MsoNormal, li.MsoNormal, div.MsoNormal&lt;br /&gt;	{mso-style-parent:&quot;&quot;;&lt;br /&gt;	margin:0in;&lt;br /&gt;	margin-bottom:.0001pt;&lt;br /&gt;	mso-pagination:widow-orphan;&lt;br /&gt;	font-size:12.0pt;&lt;br /&gt;	font-family:&quot;Times New Roman&quot;;&lt;br /&gt;	mso-fareast-font-family:&quot;Times New Roman&quot;;}&lt;br /&gt;@page Section1&lt;br /&gt;	{size:8.5in 11.0in;&lt;br /&gt;	margin:1.0in 1.25in 1.0in 1.25in;&lt;br /&gt;	mso-header-margin:.5in;&lt;br /&gt;	mso-footer-margin:.5in;&lt;br /&gt;	mso-paper-source:0;}&lt;br /&gt;div.Section1&lt;br /&gt;	{page:Section1;}&lt;br /&gt; /* List Definitions */&lt;br /&gt; @list l0&lt;br /&gt;	{mso-list-id:1864249090;&lt;br /&gt;	mso-list-type:hybrid;&lt;br /&gt;	mso-list-template-ids:-1828815510 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}&lt;br /&gt;@list l0:level1&lt;br /&gt;	{mso-level-tab-stop:.5in;&lt;br /&gt;	mso-level-number-position:left;&lt;br /&gt;	text-indent:-.25in;}&lt;br /&gt;ol&lt;br /&gt;	{margin-bottom:0in;}&lt;br /&gt;ul&lt;br /&gt;	{margin-bottom:0in;}&lt;br /&gt;--&gt;&lt;br /&gt;&lt;/style&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Write      dialog based application that Write and Read data using the Seek() function.  &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;(5)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;style&gt;&lt;br /&gt;&lt;!--&lt;br /&gt; /* Style Definitions */&lt;br /&gt; p.MsoNormal, li.MsoNormal, div.MsoNormal&lt;br /&gt;	{mso-style-parent:&quot;&quot;;&lt;br /&gt;	margin:0in;&lt;br /&gt;	margin-bottom:.0001pt;&lt;br /&gt;	mso-pagination:widow-orphan;&lt;br /&gt;	font-size:12.0pt;&lt;br /&gt;	font-family:&quot;Times New Roman&quot;;&lt;br /&gt;	mso-fareast-font-family:&quot;Times New Roman&quot;;}&lt;br /&gt;@page Section1&lt;br /&gt;	{size:8.5in 11.0in;&lt;br /&gt;	margin:1.0in 1.25in 1.0in 1.25in;&lt;br /&gt;	mso-header-margin:.5in;&lt;br /&gt;	mso-footer-margin:.5in;&lt;br /&gt;	mso-paper-source:0;}&lt;br /&gt;div.Section1&lt;br /&gt;	{page:Section1;}&lt;br /&gt; /* List Definitions */&lt;br /&gt; @list l0&lt;br /&gt;	{mso-list-id:1864249090;&lt;br /&gt;	mso-list-type:hybrid;&lt;br /&gt;	mso-list-template-ids:-1828815510 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}&lt;br /&gt;@list l0:level1&lt;br /&gt;	{mso-level-tab-stop:.5in;&lt;br /&gt;	mso-level-number-position:left;&lt;br /&gt;	text-indent:-.25in;}&lt;br /&gt;ol&lt;br /&gt;	{margin-bottom:0in;}&lt;br /&gt;ul&lt;br /&gt;	{margin-bottom:0in;}&lt;br /&gt;--&gt;&lt;br /&gt;&lt;/style&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Write      application that show the FileStatus with Exception Handling.  &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;(6)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;style&gt;&lt;br /&gt;&lt;!--&lt;br /&gt; /* Style Definitions */&lt;br /&gt; p.MsoNormal, li.MsoNormal, div.MsoNormal&lt;br /&gt;	{mso-style-parent:&quot;&quot;;&lt;br /&gt;	margin:0in;&lt;br /&gt;	margin-bottom:.0001pt;&lt;br /&gt;	mso-pagination:widow-orphan;&lt;br /&gt;	font-size:12.0pt;&lt;br /&gt;	font-family:&quot;Times New Roman&quot;;&lt;br /&gt;	mso-fareast-font-family:&quot;Times New Roman&quot;;}&lt;br /&gt;@page Section1&lt;br /&gt;	{size:8.5in 11.0in;&lt;br /&gt;	margin:1.0in 1.25in 1.0in 1.25in;&lt;br /&gt;	mso-header-margin:.5in;&lt;br /&gt;	mso-footer-margin:.5in;&lt;br /&gt;	mso-paper-source:0;}&lt;br /&gt;div.Section1&lt;br /&gt;	{page:Section1;}&lt;br /&gt;--&gt;&lt;br /&gt;&lt;/style&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Write application that implement Serialization&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;(7)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Develop a simple MDI application.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;(8)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Develop simple Web Browser using CHtmlView&lt;/span&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;(9)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Develop application which can perform Insert, Update, Delete, Search using ODBC.&lt;/span&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt; &lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;(10)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Develop application which can perform Insert, Update, Delete, Search using DAO.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt; &lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;(11)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Develop application which can perform Insert, Update, Delete, Search using OLEDB.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;(12)&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&amp;nbsp;Develop Simple Active-X program.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;b&gt;Submission Date&amp;nbsp; &lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;b&gt;For Theory and Practical Assignment&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;b&gt;On or Before&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;b&gt;26 - 12 - 2009 , Saturday&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/2009497114334949133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/12/practical-assignment-ii.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/2009497114334949133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/2009497114334949133'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/12/practical-assignment-ii.html' title='Practical Assignment'/><author><name>Kapil Shukla</name><uri>http://www.blogger.com/profile/11745788051123511820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fWbPRNaY4uikBf1PbClqsYEpcbtwPArFH80o7IBRubvXPySd3XJyPqkFJ4z0N0OHYBAqxGCwSSNRfbYImzX98NIWMvOfar6Zi4LTGiwzVe1Wh2rxHAMkoOGtro3FYGU7a2L3dkfLolJ6Y17-978gWdLxrnU2omTjeCt5xhhmI4SWEdM/s1600/Kapil%20Shukla%20-%20Copy.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-4446180048454490262</id><published>2009-11-30T14:57:00.010+05:30</published><updated>2009-12-03T19:07:56.501+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Circle Shaped Dialog"/><category scheme="http://www.blogger.com/atom/ns#" term="CreateEllipticRgn"/><category scheme="http://www.blogger.com/atom/ns#" term="CreateSolidBrush"/><category scheme="http://www.blogger.com/atom/ns#" term="CRgn"/><category scheme="http://www.blogger.com/atom/ns#" term="Dialog Box"/><category scheme="http://www.blogger.com/atom/ns#" term="IsIconic"/><category scheme="http://www.blogger.com/atom/ns#" term="SetBkMode"/><category scheme="http://www.blogger.com/atom/ns#" term="Sonal"/><title type='text'>Dialog Box in The Shape of Circle</title><content type='html'>&lt;a href=&quot;http://3.bp.blogspot.com/_NRi1oGqCQP0/SxOUrTBEGmI/AAAAAAAAABw/Qe7OE5VVAbw/s1600/img1.bmp&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5409831048962120290&quot; src=&quot;http://3.bp.blogspot.com/_NRi1oGqCQP0/SxOUrTBEGmI/AAAAAAAAABw/Qe7OE5VVAbw/s320/img1.bmp&quot; style=&quot;cursor: pointer; float: left; height: 196px; margin: 0pt 10px 10px 0pt; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;BOOL CSonal2Dlg::OnInitDialog()&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;{&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;CDialog::OnInitDialog();&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;o:p _moz-userdefined=&quot;&quot;&gt; &lt;/o:p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;// TODO: Add extra initialization here&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;CDialog::OnInitDialog();&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;CRect rect;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;CRgn hc;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;GetWindowRect(&amp;amp;rect);&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;hc.CreateEllipticRgn(0,0,rect.right,rect.bottom);&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;SetWindowRgn(hc,true);&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;return TRUE;  // return TRUE  unless you set the focus to a control&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;o:p _moz-userdefined=&quot;&quot;&gt; &lt;/o:p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;void CSonal2Dlg::OnPaint() &lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;{&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;if (IsIconic())&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;{&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-indent: 0.5in;&quot;&gt;…………&lt;br /&gt;
………....&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;else&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;{&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;CPaintDC pDC(this);&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;CRect rect;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;GetClientRect(&amp;amp;rect);&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;CBrush mybrush;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;mybrush.CreateSolidBrush(RGB(255,128,192));&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;CBrush *oldbrush=pDC.SelectObject(&amp;amp;mybrush);&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;pDC.FillRect(&amp;amp;rect,&amp;amp;mybrush);&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;pDC.SelectObject(oldbrush);&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;pDC.SetBkMode(TRANSPARENT);&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;CDialog::OnPaint();&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;}&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/4446180048454490262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/dialog-box-in-shape-of-circle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/4446180048454490262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/4446180048454490262'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/dialog-box-in-shape-of-circle.html' title='Dialog Box in The Shape of Circle'/><author><name>sonal</name><uri>http://www.blogger.com/profile/13888205396993181005</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_NRi1oGqCQP0/SxOUrTBEGmI/AAAAAAAAABw/Qe7OE5VVAbw/s72-c/img1.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-8074181795448239848</id><published>2009-11-27T10:37:00.000+05:30</published><updated>2009-11-27T10:37:02.959+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AITS"/><category scheme="http://www.blogger.com/atom/ns#" term="Center of Screen"/><category scheme="http://www.blogger.com/atom/ns#" term="SDi"/><category scheme="http://www.blogger.com/atom/ns#" term="User click"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual C++"/><title type='text'>Draw a Triangle</title><content type='html'>&lt;b&gt;FileName &lt;/b&gt;: &lt;b&gt;TriangleView.h&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
class CTriangleView : public CView&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;...&lt;br /&gt;
&amp;nbsp;CPoint tr[3],ct;&lt;br /&gt;
&amp;nbsp;int rad;&lt;br /&gt;
&amp;nbsp;double rd;&lt;br /&gt;
&amp;nbsp;CRect rc;&lt;br /&gt;
...&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;FileName &lt;/b&gt;: &lt;b&gt;TriangleView.cpp &lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;#include &quot;math.h&quot;&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
CTriangleView::CTriangleView()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO: add construction code here&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; rd=0.0174532935;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void CTriangleView::OnDraw(CDC* pDC)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; CTriangleDoc* pDoc = GetDocument();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ASSERT_VALID(pDoc);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO: add draw code for native data here&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int i=0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; GetClientRect (rc);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ct.x = (rc.left + rc.right )/2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ct.y = (rc.top + rc.bottom )/2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; rad=ct.x/2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; while(i&amp;lt;3)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; tr[i].x = ct.x + rad * sin(i*120*rd);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; tr[i].y = ct.y - rad * cos(i*120*rd);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; i++;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;Polygon (tr,3);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void CTriangleView::OnLButtonDown(UINT nFlags, CPoint point) &lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO: Add your message handler code here and/or call default&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int i=0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; CClientDC *pDC = new CClientDC (this);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ct.x = point.x;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ct.y = point.y;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; rad=20;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; while(i&amp;lt;3)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; tr[i].x = ct.x + rad * sin(i*120*rd);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; tr[i].y = ct.y - rad * cos(i*120*rd);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; i++;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;Polygon (tr,3);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; CView::OnLButtonDown(nFlags, point);&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/8074181795448239848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/draw-triangle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/8074181795448239848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/8074181795448239848'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/draw-triangle.html' title='Draw a Triangle'/><author><name>Kapil Shukla</name><uri>http://www.blogger.com/profile/11745788051123511820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fWbPRNaY4uikBf1PbClqsYEpcbtwPArFH80o7IBRubvXPySd3XJyPqkFJ4z0N0OHYBAqxGCwSSNRfbYImzX98NIWMvOfar6Zi4LTGiwzVe1Wh2rxHAMkoOGtro3FYGU7a2L3dkfLolJ6Y17-978gWdLxrnU2omTjeCt5xhhmI4SWEdM/s1600/Kapil%20Shukla%20-%20Copy.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-7257310211220449401</id><published>2009-11-21T11:24:00.004+05:30</published><updated>2009-12-03T19:07:32.472+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Change"/><category scheme="http://www.blogger.com/atom/ns#" term="cursor"/><category scheme="http://www.blogger.com/atom/ns#" term="cursor in dlg"/><category scheme="http://www.blogger.com/atom/ns#" term="Naimish"/><category scheme="http://www.blogger.com/atom/ns#" term="Types of Cursor"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++"/><title type='text'>How to Change Cursor in VC++? Different Type of Cursor</title><content type='html'>*.header&lt;br /&gt;
&lt;br /&gt;
public:&lt;br /&gt;
bool c1,c2,c3,c4;&lt;br /&gt;
&lt;br /&gt;
*.cpp&lt;br /&gt;
&lt;br /&gt;
void CCursor1View::OnMouseMove(UINT nFlags, CPoint point) &lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
if(c1)&lt;br /&gt;
{&lt;br /&gt;
::SetCursor (::LoadCursor (NULL,IDC_CROSS));&lt;br /&gt;
}&lt;br /&gt;
else if(c2)&lt;br /&gt;
{&lt;br /&gt;
::SetCursor(::LoadCursor (NULL,IDC_APPSTARTING));&lt;br /&gt;
}&lt;br /&gt;
else if(c3)&lt;br /&gt;
{&lt;br /&gt;
::SetCursor (::LoadCursor (NULL,IDC_HELP));&lt;br /&gt;
}&lt;br /&gt;
else if(c4)&lt;br /&gt;
{&lt;br /&gt;
::SetCursor (::LoadCursor (NULL,IDC_WAIT));&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
void CCursor1View::OnMouseeventCross() &lt;br /&gt;
{&lt;br /&gt;
// TODO: Add your command handler code here&lt;br /&gt;
&lt;br /&gt;
c1=true;&lt;br /&gt;
c2=false;&lt;br /&gt;
c3=false;&lt;br /&gt;
c4=false;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void CCursor1View::OnMouseeventAppstarting() &lt;br /&gt;
{&lt;br /&gt;
// TODO: Add your command handler code here&lt;br /&gt;
c1=false;&lt;br /&gt;
c2=true;&lt;br /&gt;
c3=false;&lt;br /&gt;
c4=false;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void CCursor1View::OnMouseeventHelp() &lt;br /&gt;
{&lt;br /&gt;
// TODO: Add your command handler code here&lt;br /&gt;
c1=false;&lt;br /&gt;
c2=false;&lt;br /&gt;
c3=true;&lt;br /&gt;
c4=false;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void CCursor1View::OnMouseeventWait() &lt;br /&gt;
{&lt;br /&gt;
// TODO: Add your command handler code here&lt;br /&gt;
c1=false;&lt;br /&gt;
c2=false;&lt;br /&gt;
c3=false;&lt;br /&gt;
c4=true;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
you can also select this cursor:&lt;br /&gt;
&lt;br /&gt;
1.IDC_APPSTARTING &lt;br /&gt;
2.IDC_ARROW&lt;br /&gt;
3.IDC_CROSS&lt;br /&gt;
4.IDC_HAND &lt;br /&gt;
5.IDC_HELP &lt;br /&gt;
6.IDC_ICON &lt;br /&gt;
7.IDC_NO &lt;br /&gt;
8.IDC_SIZE&lt;br /&gt;
9.IDC_SIZEALL&lt;br /&gt;
10.IDC_SIZENESW&lt;br /&gt;
11.IDC_SIZENS &lt;br /&gt;
12.IDC_SIZENWSE&lt;br /&gt;
13.IDC_SIZEWE&lt;br /&gt;
14.IDC_UPARROW &lt;br /&gt;
15.IDC_WAIT</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/7257310211220449401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/cursor-change.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/7257310211220449401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/7257310211220449401'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/cursor-change.html' title='How to Change Cursor in VC++? Different Type of Cursor'/><author><name>Naimish Ravrani</name><uri>http://www.blogger.com/profile/02221679529155124203</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://3.bp.blogspot.com/_9skePuvjVUg/SvJYLk6EVqI/AAAAAAAAAAU/PxAAqcS8V5U/S220/NAIMISH+o.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-7332389441288731561</id><published>2009-11-21T11:05:00.005+05:30</published><updated>2009-12-03T19:09:55.922+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CArchive"/><category scheme="http://www.blogger.com/atom/ns#" term="CArchive::load"/><category scheme="http://www.blogger.com/atom/ns#" term="CArchive::store"/><category scheme="http://www.blogger.com/atom/ns#" term="CFile"/><category scheme="http://www.blogger.com/atom/ns#" term="Naimish"/><category scheme="http://www.blogger.com/atom/ns#" term="Serialize"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++ File Handling"/><title type='text'>Serialize : File Handling using CArchive</title><content type='html'>--write into file-- &lt;br /&gt;
*.cpp &lt;br /&gt;
&lt;br /&gt;
void CDLGSerializeDlg::OnWRITE() &lt;br /&gt;
{ &lt;br /&gt;
// TODO: Add your control notification handler code here &lt;br /&gt;
CFile cf; &lt;br /&gt;
UpdateData(); &lt;br /&gt;
cf.Open(&quot;D:\\test.txt&quot;,CFile::modeCreate|CFile::modeWrite); &lt;br /&gt;
CArchive ar(&amp;amp;cf,CArchive::store); &lt;br /&gt;
Serialize(ar); &lt;br /&gt;
//ar.WriteString(m_ftxt); &lt;br /&gt;
m_ftxt=&quot;&quot;; &lt;br /&gt;
ar.Flush(); &lt;br /&gt;
cf.Close(); &lt;br /&gt;
UpdateData(FALSE); &lt;br /&gt;
&lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
--read-- &lt;br /&gt;
&lt;br /&gt;
void CDLGSerializeDlg::OnREAD() &lt;br /&gt;
{ &lt;br /&gt;
// TODO: Add your control notification handler code here &lt;br /&gt;
CFile cf; &lt;br /&gt;
//char data[50]; &lt;br /&gt;
UpdateData(); &lt;br /&gt;
cf.Open(&quot;D:\\test.txt&quot;,CFile::modeRead); &lt;br /&gt;
CArchive ar(&amp;amp;cf,CArchive::load); &lt;br /&gt;
Serialize(ar); &lt;br /&gt;
/* &lt;br /&gt;
ar.Read(data,cf.GetLength()); &lt;br /&gt;
for(unsigned int i=0;i&lt;cf.getlength();i=i+1) (ar.isstoring())=&quot;&quot; --searillize=&quot;&quot; _moz-userdefined=&quot;&quot; ar)=&quot;&quot; ar.flush();=&quot;&quot; ar=&quot;&quot; cdlgserializedlg::serialize(carchive&amp;amp;=&quot;&quot; cf.close();=&quot;&quot; code=&quot;&quot; if=&quot;&quot; m_ftxt+=&quot;data[i];&quot; storing=&quot;&quot; updatedata(false);=&quot;&quot; void=&quot;&quot; {=&quot;&quot; }*=&quot;&quot; }=&quot;&quot;&gt;&amp;lt;&amp;lt; m_ftxt; }  else  {    // loading code   ar &amp;gt;&amp;gt; m_ftxt; &lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/cf.getlength();i=i+1)&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/7332389441288731561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/searilize-read.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/7332389441288731561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/7332389441288731561'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/searilize-read.html' title='Serialize : File Handling using CArchive'/><author><name>Naimish Ravrani</name><uri>http://www.blogger.com/profile/02221679529155124203</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://3.bp.blogspot.com/_9skePuvjVUg/SvJYLk6EVqI/AAAAAAAAAAU/PxAAqcS8V5U/S220/NAIMISH+o.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-8761424700256619281</id><published>2009-11-20T10:39:00.000+05:30</published><updated>2009-11-20T10:39:54.110+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AITS"/><category scheme="http://www.blogger.com/atom/ns#" term="Analog Clock"/><category scheme="http://www.blogger.com/atom/ns#" term="Atmiya"/><category scheme="http://www.blogger.com/atom/ns#" term="Digital Clock"/><category scheme="http://www.blogger.com/atom/ns#" term="Ellipse"/><category scheme="http://www.blogger.com/atom/ns#" term="UpdateWindow()"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual C++"/><title type='text'>VC++ Code For Drawing Analog and Digital Clock</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIe_w2K6l37M8sqz6LK1iXJilcKPX0u6T1dc2gSyyFuYHyKhkEhRmKW5RZeL2awBk2gE12yo6HlnwdeiDlQDKfjKNBMh9H0xRIVu_VAfBs9YLtqJP7wSNtS1Mhf61xt_JfMda6fG1077cM/s1600/Clock.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIe_w2K6l37M8sqz6LK1iXJilcKPX0u6T1dc2gSyyFuYHyKhkEhRmKW5RZeL2awBk2gE12yo6HlnwdeiDlQDKfjKNBMh9H0xRIVu_VAfBs9YLtqJP7wSNtS1Mhf61xt_JfMda6fG1077cM/s640/Clock.bmp&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
//CGDIClockView.h&lt;br /&gt;
class CGDIClockView : public CView&lt;br /&gt;
{&lt;br /&gt;
...&lt;br /&gt;
// Attributes&lt;br /&gt;
public:&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; CString str;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool start;&lt;br /&gt;
&amp;nbsp;...&lt;br /&gt;
}; &lt;br /&gt;
&lt;br /&gt;
// CGDIClockView.cpp&lt;br /&gt;
&amp;nbsp;CGDIClockView::CGDIClockView()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// TODO: add construction code here&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;start=false;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void CGDIClockView::OnStart() &lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO: Add your command handler code here&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; start = true;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int x=125,y=125;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int a=125,b=50;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int r=75;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; long int i=0,m=0,s=0,h=0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int j=12;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; double dtor=0.0174532935;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; CClientDC *pDC = new CClientDC (this);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; CPen cp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.CreatePen(2,1,RGB(255,0,255));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;SelectObject(&amp;amp;cp);&lt;br /&gt;
//Draw Clock&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
while(start)&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.DeleteObject();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.CreatePen(PS_SOLID,1,RGB(0,0,0));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;SelectObject(&amp;amp;cp);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //Code for Drawing Circle with Number 1 to 12&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;Ellipse (10,10,240,240);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; while(i&amp;lt;360)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; a = x - x * sin(i*dtor);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; b = y - y * cos(i*dtor);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Format(&quot;%d&quot;,j);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;TextOut(a-3,b-3,str);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; j--;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; i=i+30;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //Code for Drawing Second Hand&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.DeleteObject();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.CreatePen(1,2,RGB(255,0,0));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;SelectObject(&amp;amp;cp);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; a = 125 + 110 * sin(s*dtor);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; b = 125 - 110 * cos(s*dtor);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;MoveTo(a,b);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;LineTo(x,y);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; //Code for Drawing Minute Hand&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.DeleteObject();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.CreatePen(1,2,RGB(0,255,255));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;SelectObject(&amp;amp;cp);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; a = 125 + 90 * sin(m*dtor);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b = 125 - 90 * cos(m*dtor);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;MoveTo(a,b);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;LineTo(x,y);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //Code for Drawing Hour Hand&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.DeleteObject();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; cp.CreatePen(1,3,RGB(255,255,0));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;SelectObject(&amp;amp;cp);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; a = 125 + 70 * sin(h*dtor);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b = 125 - 70 * cos(h*dtor);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;MoveTo(a,b);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;LineTo(x,y);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; s=s+6;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; str.Format(&quot;Hour : %ld Min : %ld Second : %ld&quot;,((s/6)/3600)%24,((s/6)/60)%60,(s/6)%60);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;TextOut (20,300,&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;,50);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pDC-&amp;gt;TextOut (20,300,str);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Sleep(500);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //Code for Incrementing Value of Minute and Hour as per value of Seconds&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(s%360==0 &amp;amp;&amp;amp; s&amp;gt;0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; m=m+6;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; if(m%72==0 &amp;amp;&amp;amp; m&amp;gt;0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; h=h+6;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; //Code for Reseting All Values after 24 Hours&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(s==86400)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; s=0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Sleep(500);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateWindow();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void CGDIClockView::OnStop() &lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO: Add your command handler code here&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; start=false;&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/8761424700256619281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/vc-code-for-drawing-analog-and-digital.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/8761424700256619281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/8761424700256619281'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/vc-code-for-drawing-analog-and-digital.html' title='VC++ Code For Drawing Analog and Digital Clock'/><author><name>Kapil Shukla</name><uri>http://www.blogger.com/profile/11745788051123511820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fWbPRNaY4uikBf1PbClqsYEpcbtwPArFH80o7IBRubvXPySd3XJyPqkFJ4z0N0OHYBAqxGCwSSNRfbYImzX98NIWMvOfar6Zi4LTGiwzVe1Wh2rxHAMkoOGtro3FYGU7a2L3dkfLolJ6Y17-978gWdLxrnU2omTjeCt5xhhmI4SWEdM/s1600/Kapil%20Shukla%20-%20Copy.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIe_w2K6l37M8sqz6LK1iXJilcKPX0u6T1dc2gSyyFuYHyKhkEhRmKW5RZeL2awBk2gE12yo6HlnwdeiDlQDKfjKNBMh9H0xRIVu_VAfBs9YLtqJP7wSNtS1Mhf61xt_JfMda6fG1077cM/s72-c/Clock.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-6491422906760647641</id><published>2009-11-18T10:53:00.002+05:30</published><updated>2009-12-03T19:10:55.282+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mohit"/><category scheme="http://www.blogger.com/atom/ns#" term="Reading File"/><category scheme="http://www.blogger.com/atom/ns#" term="Seek"/><category scheme="http://www.blogger.com/atom/ns#" term="SeekToBegin"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++ File Handling"/><title type='text'>VC++ File Handling : Reading File from Particular Position Using Seek( ) Function</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCVfEhJ_4dLIqO01vejNGbX-mllxNF5SrKHXFXZfJLpTeJDlvWmg5aYqjlbpgG3H6W93-cAGGZUTKtPixVAb3K4VTgU5zmJ5mNKGoXl-bgyaEV-KF-y_iOoyTLYbFPepkE4x0wJvWRHqh-/s1600/im2.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5405320462483229762&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCVfEhJ_4dLIqO01vejNGbX-mllxNF5SrKHXFXZfJLpTeJDlvWmg5aYqjlbpgG3H6W93-cAGGZUTKtPixVAb3K4VTgU5zmJ5mNKGoXl-bgyaEV-KF-y_iOoyTLYbFPepkE4x0wJvWRHqh-/s320/im2.jpg&quot; style=&quot;display: block; height: 238px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;void CFile1Dlg::OnWrite() &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;{ &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;// TODO: Add extra validation here &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;UpdateData();&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;CFile cf; &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;char ch[100]; &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;cf.Open(&quot;d://aits.txt&quot;,CFile::modeCreateCFile::modeWrite);&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;strcpy(ch,m_edit1); &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;cf.Write(ch,m_edit1.GetLength()); &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;cf.Close(); &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;m_edit1=&quot;&quot;;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;UpdateData(FALSE);&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;}&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;void CFile1Dlg::OnRead() &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;{ &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;// TODO: Add your control notification handler code here &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;UpdateData(); &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;if(m_pos1==0) &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;{ &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;MessageBox(&quot;please enter position other wise start reading from begining of file&quot;);&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;} &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;pos=m_pos1;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;CFile cf; &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;char ch[100]; &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;cf.Open(&quot;d://aits.txt&quot;,CFile::modeRead); &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;cf.SeekToBegin(); &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;cf.Seek(pos,CFile::begin); &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;cf.Read(ch,cf.GetLength());&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;m_edit1=&quot;&quot;; &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;for(unsigned int i=0;i&lt;cf.getlength()-pos;i++) _moz-userdefined=&quot;&quot;&gt;&lt;br /&gt;
&lt;/cf.getlength()-pos;i++)&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;{ &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;m_edit1+=ch[i]; &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;} &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;cf.Close();&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;UpdateData(FALSE);&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;}&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/6491422906760647641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/file-handling-read-file-from-particuler.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/6491422906760647641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/6491422906760647641'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/file-handling-read-file-from-particuler.html' title='VC++ File Handling : Reading File from Particular Position Using Seek( ) Function'/><author><name>Mohit</name><uri>http://www.blogger.com/profile/00704166294154247538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCVfEhJ_4dLIqO01vejNGbX-mllxNF5SrKHXFXZfJLpTeJDlvWmg5aYqjlbpgG3H6W93-cAGGZUTKtPixVAb3K4VTgU5zmJ5mNKGoXl-bgyaEV-KF-y_iOoyTLYbFPepkE4x0wJvWRHqh-/s72-c/im2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-2488618314372185732</id><published>2009-11-18T10:27:00.001+05:30</published><updated>2009-12-03T19:11:39.948+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Close()"/><category scheme="http://www.blogger.com/atom/ns#" term="FILE HANDLING SIMPLE PROGRAMME"/><category scheme="http://www.blogger.com/atom/ns#" term="modeRead"/><category scheme="http://www.blogger.com/atom/ns#" term="Mohit"/><category scheme="http://www.blogger.com/atom/ns#" term="Open()"/><category scheme="http://www.blogger.com/atom/ns#" term="Reading Data"/><category scheme="http://www.blogger.com/atom/ns#" term="Writing Data"/><title type='text'>VC++ File Handling :  Code  for Reading And Writing Data from File.</title><content type='html'>&lt;div align=&quot;left&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL87BOLTjFEyDqGsDGVH94PaRgA417DfdJhcBWRTaXNFQ6uoZWq8jqJu3mDcMllBrg82xJTixUJjo05EBpeCY-ne1y4za43thFD7USxStq4t2ZuJO_J9IvdYKi-ClQsYIahlxHUQtTQG8z/s1600/image1.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5405306599703995154&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL87BOLTjFEyDqGsDGVH94PaRgA417DfdJhcBWRTaXNFQ6uoZWq8jqJu3mDcMllBrg82xJTixUJjo05EBpeCY-ne1y4za43thFD7USxStq4t2ZuJO_J9IvdYKi-ClQsYIahlxHUQtTQG8z/s320/image1.jpg&quot; style=&quot;display: block; height: 238px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
void CFile1Dlg::OnWrite()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;// TODO: Add extra validation here&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;UpdateData(); &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;CFile cf; &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;char ch[100]; &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;cf.Open(&quot;d://aits.txt&quot;,CFile::modeCreateCFile::modeWrite); &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;strcpy(ch,m_edit1); &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;cf.Write(ch,m_edit1.GetLength()); &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;cf.Close(); m_edit1=&quot;&quot;; &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;UpdateData(FALSE); &lt;br /&gt;
&lt;/div&gt;}&lt;br /&gt;
void CFile1Dlg::OnRead()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;// TODO: Add your control notification handler code here &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;CFile cf; &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;char ch[100];&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;UpdateData(); &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;cf.Open(&quot;d://aits.txt&quot;,CFile::modeRead);&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;cf.Read(ch,cf.GetLength()); &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;for(unsigned int i=0;i&lt;cf.getlength();i++) _moz-userdefined=&quot;&quot;&gt;&lt;br /&gt;
{ &lt;/cf.getlength();i++)&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;m_edit1+=ch[i];&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;} &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;cf.Close();&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;UpdateData(FALSE); &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;} &lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/2488618314372185732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/file-handling-read-and-write.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/2488618314372185732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/2488618314372185732'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/file-handling-read-and-write.html' title='VC++ File Handling :  Code  for Reading And Writing Data from File.'/><author><name>Mohit</name><uri>http://www.blogger.com/profile/00704166294154247538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL87BOLTjFEyDqGsDGVH94PaRgA417DfdJhcBWRTaXNFQ6uoZWq8jqJu3mDcMllBrg82xJTixUJjo05EBpeCY-ne1y4za43thFD7USxStq4t2ZuJO_J9IvdYKi-ClQsYIahlxHUQtTQG8z/s72-c/image1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-8378291155049034827</id><published>2009-11-17T11:07:00.000+05:30</published><updated>2009-11-17T11:10:22.564+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Atmiya"/><category scheme="http://www.blogger.com/atom/ns#" term="Coding"/><category scheme="http://www.blogger.com/atom/ns#" term="Exam"/><category scheme="http://www.blogger.com/atom/ns#" term="M.Sc (IT and CA)"/><category scheme="http://www.blogger.com/atom/ns#" term="OnOk()"/><category scheme="http://www.blogger.com/atom/ns#" term="Rajkot"/><category scheme="http://www.blogger.com/atom/ns#" term="UpdateData"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++"/><category scheme="http://www.blogger.com/atom/ns#" term="Write a Program"/><title type='text'>How to Write a Program in Exam?</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;(1) Program or Question Title.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;(2)Design&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO_5shV-_4w-5xq50Nq7xLDo63lIguTaRRJwuO8LoUlj6iHkq4bD05E6dV9_53qiAF_1B3wkZGVrqKjYcMwzg1klOeibsORZkxEt0C09KkHKGx4HV3XyeJFFM5pYtgVxCtIARqAjCMzvJI/s1600/FormDesign.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO_5shV-_4w-5xq50Nq7xLDo63lIguTaRRJwuO8LoUlj6iHkq4bD05E6dV9_53qiAF_1B3wkZGVrqKjYcMwzg1klOeibsORZkxEt0C09KkHKGx4HV3XyeJFFM5pYtgVxCtIARqAjCMzvJI/s320/FormDesign.bmp&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;(3) Control Information.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; height=&quot;230&quot; style=&quot;border-collapse: collapse; border: medium none; width: 421px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 81.15pt;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Control Type&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: windowtext windowtext windowtext -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 85.15pt;&quot; valign=&quot;top&quot; width=&quot;114&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Control Name / ID&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: windowtext windowtext windowtext -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 85.8pt;&quot; valign=&quot;top&quot; width=&quot;114&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Member Variable Name&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: windowtext windowtext windowtext -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Variable Type&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: windowtext windowtext windowtext -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 88.6pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Validation / Extra Info.&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 81.15pt;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;EditBox&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 85.15pt;&quot; valign=&quot;top&quot; width=&quot;114&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;IDC_EDIT1&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 85.8pt;&quot; valign=&quot;top&quot; width=&quot;114&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;m_op1&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;int&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.6pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;value in[0,100]&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 81.15pt;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;EditBox&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 85.15pt;&quot; valign=&quot;top&quot; width=&quot;114&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;IDC_EDIT2&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 85.8pt;&quot; valign=&quot;top&quot; width=&quot;114&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;m_op2&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;int&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.6pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;value in[0,100]&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 81.15pt;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;EditBox&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 85.15pt;&quot; valign=&quot;top&quot; width=&quot;114&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;IDC_EDIT3&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 85.8pt;&quot; valign=&quot;top&quot; width=&quot;114&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;m_ans&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;int&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.6pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;value in[0,200]&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 81.15pt;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Button&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 85.15pt;&quot; valign=&quot;top&quot; width=&quot;114&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;IDOK&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 85.8pt;&quot; valign=&quot;top&quot; width=&quot;114&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.6pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 81.15pt;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Button&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 85.15pt;&quot; valign=&quot;top&quot; width=&quot;114&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;IDCANCEL&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 85.8pt;&quot; valign=&quot;top&quot; width=&quot;114&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.6pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;(4) Coding.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Filename : TempDlg.cpp&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;…&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;…&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;void CTempDlg::OnOK() &lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;{&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateData();&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_ans=m_op1+m_op2;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateData(FALSE);&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;…&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;* If you have done any initialization write with file and function/class structure.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;** Always write the function signature in Code.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/8378291155049034827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/how-to-write-program-in-exam.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/8378291155049034827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/8378291155049034827'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/how-to-write-program-in-exam.html' title='How to Write a Program in Exam?'/><author><name>Kapil Shukla</name><uri>http://www.blogger.com/profile/11745788051123511820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fWbPRNaY4uikBf1PbClqsYEpcbtwPArFH80o7IBRubvXPySd3XJyPqkFJ4z0N0OHYBAqxGCwSSNRfbYImzX98NIWMvOfar6Zi4LTGiwzVe1Wh2rxHAMkoOGtro3FYGU7a2L3dkfLolJ6Y17-978gWdLxrnU2omTjeCt5xhhmI4SWEdM/s1600/Kapil%20Shukla%20-%20Copy.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO_5shV-_4w-5xq50Nq7xLDo63lIguTaRRJwuO8LoUlj6iHkq4bD05E6dV9_53qiAF_1B3wkZGVrqKjYcMwzg1klOeibsORZkxEt0C09KkHKGx4HV3XyeJFFM5pYtgVxCtIARqAjCMzvJI/s72-c/FormDesign.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-4593592062453460842</id><published>2009-11-16T10:30:00.000+05:30</published><updated>2009-11-16T10:32:22.363+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AITS"/><category scheme="http://www.blogger.com/atom/ns#" term="Atmiya"/><category scheme="http://www.blogger.com/atom/ns#" term="Link"/><category scheme="http://www.blogger.com/atom/ns#" term="M.Sc (IT and CA)"/><category scheme="http://www.blogger.com/atom/ns#" term="Practical List"/><category scheme="http://www.blogger.com/atom/ns#" term="Program List"/><category scheme="http://www.blogger.com/atom/ns#" term="Rajkot"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++"/><title type='text'>VC++ (Visual C++) Program List for Submission</title><content type='html'>&amp;nbsp;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;M.Sc (IT &amp;amp; CA) Sem – I&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Object Oriented Programming using Visual C++&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;List of Practical &lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;---------------------------------------------------------------------------------- &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;font-weight: bold; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt;(1)&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Create Dialog based Application with command button and MessageBox () (Use all Parameters) to print the message with no of clicks whenever user clicks&lt;span&gt;  &lt;/span&gt;on command button.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;font-weight: bold; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt;(2)&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Develop Calculator using Dialog.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;  &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Hint:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt; 1 Edit Box, 4 Radio Buttons, &lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;  &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span&gt;                 &lt;/span&gt;Error Message like Divide by 0 Error, &lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;          &lt;span lang=&quot;EN-GB&quot;&gt;&lt;span&gt;      &lt;/span&gt;Use Appropriate Controls.&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 100%; font-weight: bold;&quot;&gt;(3)&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Create Dialog based Application as shown below with use of &lt;b&gt;ListBox&lt;/b&gt; (3a) and &lt;b&gt;ComboBox&lt;/b&gt;.(3b)&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot; spt=&quot;75&quot; preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot; stroked=&quot;f&quot;&gt;  &lt;v:stroke joinstyle=&quot;miter&quot;&gt;  &lt;v:formulas&gt;   &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;   &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;   &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;   &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;   &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;   &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;   &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;   &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; connecttype=&quot;rect&quot;&gt;  &lt;o:lock ext=&quot;edit&quot; aspectratio=&quot;t&quot;&gt; &lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; style=&quot;&#39;width:307.5pt;&quot; ole=&quot;&quot;&gt;  &lt;v:imagedata src=&quot;file:///C:\DOCUME~1\Kapil\LOCALS~1\Temp\msohtml1\01\clip_image001.png&quot; title=&quot;&quot;&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:oleobject type=&quot;Embed&quot; progid=&quot;PBrush&quot; shapeid=&quot;_x0000_i1025&quot; drawaspect=&quot;Content&quot; objectid=&quot;_1317895204&quot;&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixQ53nlP8rFAilkW49otEjUB5EM2wN29L_JlcnrMOSpTvYHWtWEc-Ya31fKGes7tVeiDHFEWJ3lAMrV3HS6PPe9XCvt66PmL8zOmsDoxUb6mwdsa3RiBjSRvjj9AbJU6p__k5DONTLoqc/s1600-h/1.bmp&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5396067741906136786&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixQ53nlP8rFAilkW49otEjUB5EM2wN29L_JlcnrMOSpTvYHWtWEc-Ya31fKGes7tVeiDHFEWJ3lAMrV3HS6PPe9XCvt66PmL8zOmsDoxUb6mwdsa3RiBjSRvjj9AbJU6p__k5DONTLoqc/s320/1.bmp&quot; style=&quot;cursor: pointer; display: block; height: 265px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(4)&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;/div&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Create Dialog based Applications with two EditBox to show use of different String function and Show final answer in MessageBox.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Hint:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt; 2 EditBox, Radio Buttons (Min 5), CheckBox (Min 5)&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span&gt;      &lt;/span&gt;Create all Controls through Coding.&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(5)&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;/div&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Create Dialog based Applications with multiple Dialog Box to Show functionality of ProgressBar and Slider.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Hint:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt; 3 DialogBox , &lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span&gt;                &lt;/span&gt;1-&amp;gt; Create and Send Message (Slider)&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span&gt;               &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;2-&amp;gt; Show the Status of Message (Progress Bar)&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span&gt;                &lt;/span&gt;3-&amp;gt; Read Message&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;* If Possible Implement Vice-Versa and Use Animation.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;
&lt;/span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(6)&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;/div&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Create Dialog based Application with Multiple Dialog box.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikfjPMtS3eRp6ediMJS5XyDOH8GbxpgUry0EOyTE90RR9N4hVV2aL2yF_UMiR2RN7-bMQ24m5qLRqPSHcDONrS664zgSUId6tWQjwRC-L6kSpYe9yOe41I5qSXK0KzyQNzcq9hzIwZPqQ/s1600-h/2.bmp&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5396068238364639474&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikfjPMtS3eRp6ediMJS5XyDOH8GbxpgUry0EOyTE90RR9N4hVV2aL2yF_UMiR2RN7-bMQ24m5qLRqPSHcDONrS664zgSUId6tWQjwRC-L6kSpYe9yOe41I5qSXK0KzyQNzcq9hzIwZPqQ/s320/2.bmp&quot; style=&quot;cursor: pointer; display: block; height: 298px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt; &lt;br /&gt;
&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Create Dynamic Static Box in 1&lt;sup&gt;st&lt;/sup&gt; Dialog with following values.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span&gt; &lt;/span&gt;* Position where user press Left Button.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span&gt; &lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;* Caption = Text in EditBox of 2&lt;sup&gt;nd&lt;/sup&gt; Dialog Box.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(7)&lt;/span&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Write a program to draw a line using three different mouse events.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Hint:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-GB&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;1-&amp;gt; LBUTTONDOWN&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;2-&amp;gt; LBUTTONUP&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;3-&amp;gt; MOUSEMOVE&lt;/span&gt; &lt;br /&gt;
&lt;/span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(8)&lt;/span&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Write a program to draw a circle, a polygon&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;and a rectangle in the client area. Create your own pen and brush. Each shape should be drawn with different pen and brush.&lt;/span&gt; &lt;br /&gt;
&lt;/span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(9)&lt;/span&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;o:smarttagtype _moz-userdefined=&quot;&quot; name=&quot;address&quot; namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot;&gt;&lt;/o:smarttagtype&gt;&lt;o:smarttagtype _moz-userdefined=&quot;&quot; name=&quot;Street&quot; namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot;&gt;&lt;/o:smarttagtype&gt;&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if !mso]&gt;&lt;img src=&quot;http://www.blogger.com/img/object_element.gif&quot; class=&quot;BLOGGER-object-element tr_noresize tr_placeholder&quot; id=&quot;BLOGGER_object_1&quot; /&gt; &lt;style&gt; st1\:*{behavior:url(#ieooui) } &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Write a program to &lt;st1:street _moz-userdefined=&quot;&quot; st=&quot;on&quot;&gt;&lt;st1:address _moz-userdefined=&quot;&quot; st=&quot;on&quot;&gt;Animate Circle&lt;/st1:address&gt;&lt;/st1:street&gt;.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Hint:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-GB&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;* Circle should be Moved from one Point to Another.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;* While Moving towards another Point its size should &lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;be Changed.&lt;/span&gt; &lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(10)&lt;/span&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Write a program to Make Simple Text Editor.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot;&gt;Hint:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-GB&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt; * Use Virtual Key.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;* User Can Enter and Edit Text.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;Submission Date : 15-Nov-2009&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/4593592062453460842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/vc-visual-c-program-list-for-submission.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/4593592062453460842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/4593592062453460842'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/vc-visual-c-program-list-for-submission.html' title='VC++ (Visual C++) Program List for Submission'/><author><name>Kapil Shukla</name><uri>http://www.blogger.com/profile/11745788051123511820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fWbPRNaY4uikBf1PbClqsYEpcbtwPArFH80o7IBRubvXPySd3XJyPqkFJ4z0N0OHYBAqxGCwSSNRfbYImzX98NIWMvOfar6Zi4LTGiwzVe1Wh2rxHAMkoOGtro3FYGU7a2L3dkfLolJ6Y17-978gWdLxrnU2omTjeCt5xhhmI4SWEdM/s1600/Kapil%20Shukla%20-%20Copy.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixQ53nlP8rFAilkW49otEjUB5EM2wN29L_JlcnrMOSpTvYHWtWEc-Ya31fKGes7tVeiDHFEWJ3lAMrV3HS6PPe9XCvt66PmL8zOmsDoxUb6mwdsa3RiBjSRvjj9AbJU6p__k5DONTLoqc/s72-c/1.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-1831069860285036940</id><published>2009-11-16T10:16:00.000+05:30</published><updated>2009-11-16T10:16:34.714+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AITS"/><category scheme="http://www.blogger.com/atom/ns#" term="Atmiya"/><category scheme="http://www.blogger.com/atom/ns#" term="Class"/><category scheme="http://www.blogger.com/atom/ns#" term="LAB"/><category scheme="http://www.blogger.com/atom/ns#" term="List"/><category scheme="http://www.blogger.com/atom/ns#" term="M.Sc (IT and CA)"/><category scheme="http://www.blogger.com/atom/ns#" term="Practical"/><category scheme="http://www.blogger.com/atom/ns#" term="Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Rajkot"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++"/><title type='text'>VC++ Practical List - Done in Class and LAB</title><content type='html'>&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;List of Practical For LAB&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(1) TAKE TWO EDITBOX ENTER VALUE IN IT AND PRINT THE ADDITION OF THE VALUE IN THIRD EDITBOX BY CLICK ON BUTTON.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(2) WRITE A PROGRAM TO ENABLE &amp;amp; DISABLE EDIT BOX.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(3) WRITE A PROGRAM TO CREATE TWO EDIT BOX DYNAMICALLY &amp;amp; THEN SWAP THE VALUE OF EDIT BOX WHEN CLICK ON BUTTON.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(4) WRITE A PROGRAM TO SWAP THE VALUE OF STATICBOX &amp;amp; EDITBOX.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(5) STRING MANIPULATION ON SELECTION OF RADIO BUTTON&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;- CHANGE INTO UPPER CASE&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;- CHANGE INTO LOWER CASE&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;- REVERSE THE STRING&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;- CALCULATE CHARACTER IN STRING&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;- MAKE STRING IN PROPER CASE&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(6) WRITE A PROGRAM TO DEVELOP SIMPLE CALCULATOR.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(7) WRITE A PROGRAM TO SPLIT THE SENTENCE ENTER IN TEXTBOX TO LIST BOX&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;HINT : TEXT BOX: &quot;THIS IS MY BOOK&quot;&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;LIST BOX:&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;THIS&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;IS&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MY&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;BOOK&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(8) TAKE TWO LIST BOX AND TRANSFER VALUES ONE LISTBOX TO ANOTHER LISTBOX ONE BY ONE AND ALL AT ONCE WHEN USER CLICKS TWO DIFFERENT BUTTONS RESPECTIVELY.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(Develop Same Application Using COMBOBOX Also)&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(9) WRITE A PROGRAM TO IMPLEMENT SCROLLBAR AND PRINT THE POSITION OF SCROLLBAR IN NON CLIENT AREA. (TITLE BAR OF DIALOG)&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(10) MAKE AN APPLICATION OF SALES DETAIL WHICH CONTAIN FOLLOWING DETAIL.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;- ITEM NAME&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;- ITEM PRICE&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;- QUANTITY&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;- TOTAL AMOUNT.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(11) MAKE YOUR OWN FUCTION AND MAP IT WITH ANY WINDOWS OR CONTROL EVENT USING MESSAGE MAP.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(12) PRINT CURRENT CURSOR POSITION INTO EDITBOX AND ON TITLEBAR.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(13) PRINT TEXT FROM EDITBOX WHERE USER CLICK ON SCREEN.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(14) Create Dialog based Applications with multiple Dialog Box to Show functionality of ProgressBar and Slider.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;Hint:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt; 3 - DIALOGBOX, &lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;1-&amp;gt; Create and Send Message (Slider)&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;2-&amp;gt; Show the Status of Message (Progress Bar)&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;3-&amp;gt; Read Message&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(15) DRAW LINE USING ALL MOUSE EVENTS.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;(1) BUTTONDOWN AND BUTTONUP&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;(2) MOUSEMOVE&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(16) Write a program to &lt;/span&gt;&lt;st1:street _moz-userdefined=&quot;&quot;&gt;&lt;st1:address _moz-userdefined=&quot;&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;draw   a circle&lt;/span&gt;&lt;/st1:address&gt;&lt;/st1:street&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;, a polygon and a rectangle in the client area. Create your own pen and brush. Each shape should be drawn with different pen and brush.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(17) Write a program to Animate Circle OR Rectangle.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;Hint:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt; * Circle should be Moved from one Point to Another.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;* While Moving towards another Point its size AND COLOR &lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;should be Changed.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(18) Write a program to &lt;/span&gt;&lt;st1:street _moz-userdefined=&quot;&quot;&gt;&lt;st1:address _moz-userdefined=&quot;&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;draw   a circle&lt;/span&gt;&lt;/st1:address&gt;&lt;/st1:street&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;, a polygon and a rectangle in the client area. Shape should be selected from Menu or Toolbar.(Create New Menu and Buttons in Toolbar) &lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(19) Write a program to change font using font Dialog.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;text-transform: uppercase;&quot;&gt;(20) Write a Program to Change Color of Text, Pen and Brush using Color Dialog.&lt;o:p _moz-userdefined=&quot;&quot;&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/1831069860285036940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/vc-practical-list-done-in-class-and-lab.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/1831069860285036940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/1831069860285036940'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/vc-practical-list-done-in-class-and-lab.html' title='VC++ Practical List - Done in Class and LAB'/><author><name>Kapil Shukla</name><uri>http://www.blogger.com/profile/11745788051123511820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fWbPRNaY4uikBf1PbClqsYEpcbtwPArFH80o7IBRubvXPySd3XJyPqkFJ4z0N0OHYBAqxGCwSSNRfbYImzX98NIWMvOfar6Zi4LTGiwzVe1Wh2rxHAMkoOGtro3FYGU7a2L3dkfLolJ6Y17-978gWdLxrnU2omTjeCt5xhhmI4SWEdM/s1600/Kapil%20Shukla%20-%20Copy.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-5624411573100670337</id><published>2009-11-14T11:42:00.000+05:30</published><updated>2009-11-14T11:42:24.613+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AITS"/><category scheme="http://www.blogger.com/atom/ns#" term="Atmiya"/><category scheme="http://www.blogger.com/atom/ns#" term="M.Sc (IT and CA)"/><category scheme="http://www.blogger.com/atom/ns#" term="Rajkot"/><category scheme="http://www.blogger.com/atom/ns#" term="Syllabus"/><title type='text'>VC++ (Visual C++) Syllabus , AITS (Atmiya Institute) , Rajkot</title><content type='html'>&lt;b&gt;Paper - 101 Object Oriented Programming using Visual C++&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Introduction to OOP&lt;/li&gt;
&lt;li&gt;Basic OOP Concepts &amp;amp; Applications&lt;/li&gt;
&lt;li&gt;Introduction of VC++&lt;/li&gt;
&lt;li&gt;Controls usages in Application&lt;/li&gt;
&lt;li&gt;Mouse and Keyboard integration&lt;/li&gt;
&lt;li&gt;Dialog based Application&lt;/li&gt;
&lt;li&gt;Message Handling Mechanism&lt;/li&gt;
&lt;li&gt;Multiple Dialog Handling&lt;/li&gt;
&lt;li&gt;Documents, Views, and the Single Document Interface&lt;/li&gt;
&lt;li&gt;Scroll Views, HTML Views, and Other View Types&lt;/li&gt;
&lt;li&gt;Menu Environment&lt;/li&gt;
&lt;li&gt;Text and Fonts handling&lt;/li&gt;
&lt;li&gt;Incorporating Graphics, Drawing and Bitmaps&lt;/li&gt;
&lt;li&gt;Device Contexts and GDI Objects&lt;/li&gt;
&lt;li&gt;Single Document Interface Application&lt;/li&gt;
&lt;li&gt;Multiple Documents and Multiple Views&lt;/li&gt;
&lt;li&gt;CArchive and CFile classes&lt;/li&gt;
&lt;li&gt;Database handling using ODBC&lt;/li&gt;
&lt;li&gt;Database handling using DAO&lt;/li&gt;
&lt;li&gt;Database handling using OLEDB&lt;/li&gt;
&lt;li&gt;Error Detection and Exception Handling&lt;/li&gt;
&lt;li&gt;Toolbars, Status Bars, and Rebars&lt;/li&gt;
&lt;li&gt;Serialization&lt;/li&gt;
&lt;li&gt;Creating DLLs (COM) using ATL &amp;amp; App Wizard&lt;/li&gt;
&lt;li&gt;ActiveX Controls integration in VC++ application&lt;/li&gt;
&lt;li&gt;Creating ActiveX controls&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;b&gt;Reference Books:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Mastering VC++, BPB Publication&lt;br /&gt;
Practical VC++, PHI Publication&lt;br /&gt;
VC++ Unleashed, Techmedia Publication&lt;br /&gt;
Programming VC++, Microsoftpress Publication</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/5624411573100670337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/vc-visual-c-syllabus-aits-atmiya.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/5624411573100670337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/5624411573100670337'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/vc-visual-c-syllabus-aits-atmiya.html' title='VC++ (Visual C++) Syllabus , AITS (Atmiya Institute) , Rajkot'/><author><name>Kapil Shukla</name><uri>http://www.blogger.com/profile/11745788051123511820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fWbPRNaY4uikBf1PbClqsYEpcbtwPArFH80o7IBRubvXPySd3XJyPqkFJ4z0N0OHYBAqxGCwSSNRfbYImzX98NIWMvOfar6Zi4LTGiwzVe1Wh2rxHAMkoOGtro3FYGU7a2L3dkfLolJ6Y17-978gWdLxrnU2omTjeCt5xhhmI4SWEdM/s1600/Kapil%20Shukla%20-%20Copy.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-7627691510397035342</id><published>2009-11-12T16:44:00.001+05:30</published><updated>2009-12-03T19:13:20.301+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AITS"/><category scheme="http://www.blogger.com/atom/ns#" term="Animate"/><category scheme="http://www.blogger.com/atom/ns#" term="Atmiya"/><category scheme="http://www.blogger.com/atom/ns#" term="Daya"/><category scheme="http://www.blogger.com/atom/ns#" term="Rajkot"/><category scheme="http://www.blogger.com/atom/ns#" term="Rectangle"/><category scheme="http://www.blogger.com/atom/ns#" term="Student"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++"/><title type='text'>Create Animated Rectangle in VC++</title><content type='html'>filename:animateView.cpp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
global variable:&lt;br /&gt;
&lt;br /&gt;
int i=10,j=100;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
void CAnimateView::OnLButtonDown(UINT nFlags, CPoint point)&lt;br /&gt;
{&lt;br /&gt;
// TODO: Add your message handler code here and/or call default&lt;br /&gt;
&lt;br /&gt;
CClientDC *pdc=new CClientDC(this);&lt;br /&gt;
&lt;br /&gt;
while(i&amp;lt;300) { RedrawWindow();  CBrush br; br.CreateSolidBrush(RGB(i*3,0,j*6)); pdc-&amp;gt;SelectObject(&amp;amp;br);&lt;br /&gt;
pdc-&amp;gt;Rectangle(i,i,j,j);&lt;br /&gt;
i=i+5;&lt;br /&gt;
j=j+5;&lt;br /&gt;
Sleep(100);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CView::OnLButtonDown(nFlags, point);&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/7627691510397035342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/create-animate-for-rectangle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/7627691510397035342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/7627691510397035342'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/create-animate-for-rectangle.html' title='Create Animated Rectangle in VC++'/><author><name>daya</name><uri>http://www.blogger.com/profile/15592285659636635530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-6671354289895713443</id><published>2009-11-12T15:08:00.000+05:30</published><updated>2009-11-14T10:27:43.367+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AITS"/><category scheme="http://www.blogger.com/atom/ns#" term="Assert"/><category scheme="http://www.blogger.com/atom/ns#" term="Atmiya"/><category scheme="http://www.blogger.com/atom/ns#" term="Bitmap"/><category scheme="http://www.blogger.com/atom/ns#" term="FillRect"/><category scheme="http://www.blogger.com/atom/ns#" term="M.Sc (IT and CA)"/><category scheme="http://www.blogger.com/atom/ns#" term="Rajkot"/><category scheme="http://www.blogger.com/atom/ns#" term="SDi"/><title type='text'>How to Use Bitmap in SDI? ( VC++)</title><content type='html'>void CBitmapView::OnDraw(CDC* pDC)&lt;br /&gt;
{&lt;br /&gt;
CBitmapDoc* pDoc = GetDocument();&lt;br /&gt;
ASSERT_VALID(pDoc);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CBitmap bm;&lt;br /&gt;
CRect rc;&lt;br /&gt;
CBrush br;&lt;br /&gt;
bm.LoadBitmap(IDB_BITMAP1);&lt;br /&gt;
br.CreatePatternBrush(&amp;amp;bm);&lt;br /&gt;
GetClientRect(&amp;amp;rc);&lt;br /&gt;
//rc.bottom=100;&lt;br /&gt;
//rc.top=50;&lt;br /&gt;
//rc.left=50;&lt;br /&gt;
//rc.right=100;&lt;br /&gt;
pDC-&amp;gt;FillRect(rc,&amp;amp;br);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// TODO: add draw code for native data here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
void CBitmapView::OnLButtonDown(UINT nFlags, CPoint point)&lt;br /&gt;
{&lt;br /&gt;
// TODO: Add your message handler code here and/or call default&lt;br /&gt;
CClientDC * Bms=new CClientDC(this);&lt;br /&gt;
if(point.x &amp;gt;= i &amp;amp;&amp;amp; point.x &amp;lt;=j &amp;amp;&amp;amp; point.y &amp;gt;=i &amp;amp;&amp;amp; point.y &amp;lt;= j) { RedrawWindow(); CBrush br1; br1.CreateSolidBrush(RGB(100,100,50)); CRect rc1(i,i,j,j);  Bms-&amp;gt;FillRect(rc1,&amp;amp;br1);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
CView::OnLButtonDown(nFlags, point);&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/6671354289895713443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/how-to-use-bitmap-in-sdi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/6671354289895713443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/6671354289895713443'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/how-to-use-bitmap-in-sdi.html' title='How to Use Bitmap in SDI? ( VC++)'/><author><name>Bansi</name><uri>http://www.blogger.com/profile/11359863268176823470</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-5852098516887109774</id><published>2009-11-11T11:21:00.001+05:30</published><updated>2009-11-14T10:28:44.250+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AITS"/><category scheme="http://www.blogger.com/atom/ns#" term="Atmiya"/><category scheme="http://www.blogger.com/atom/ns#" term="M.Sc (IT and CA)"/><category scheme="http://www.blogger.com/atom/ns#" term="nSBCode"/><category scheme="http://www.blogger.com/atom/ns#" term="Rajkot"/><category scheme="http://www.blogger.com/atom/ns#" term="Scrollbar"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++"/><title type='text'>nSBCode value for ScrollBar Control</title><content type='html'>&lt;b&gt;SB_UP&lt;/b&gt; -- Scroll far to up.&lt;br /&gt;
&lt;b&gt;SB_DOWN&lt;/b&gt; -- Scroll far to down.&lt;br /&gt;
&lt;b&gt;SB_LINEUP&lt;/b&gt; -- Scroll to Upper side.&lt;br /&gt;
&lt;b&gt;SB_LINEDOWN&lt;/b&gt; -- scroll to down side.&lt;br /&gt;
&lt;b&gt;SB_LEFT&lt;/b&gt; -- Scroll far to left.&lt;br /&gt;
&lt;b&gt;SB_RIGHT&lt;/b&gt; -- Scroll far to right.&lt;br /&gt;
&lt;b&gt;SB_ENDSCROLL&lt;/b&gt; -- End scroll.&lt;br /&gt;
&lt;b&gt;SB_LINELEFT &lt;/b&gt;-- Scroll left.&lt;br /&gt;
&lt;b&gt;SB_LINERIGHT&lt;/b&gt; -- Scroll right.&lt;br /&gt;
&lt;b&gt;SB_PAGELEFT&lt;/b&gt; -- Scroll one page left.&lt;br /&gt;
&lt;b&gt;SB_PAGERIGHT&lt;/b&gt; -- Scroll one page right&lt;br /&gt;
&lt;b&gt;SB_THUMBTRACK&lt;/b&gt; --&lt;br /&gt;
Drag scroll box to specified position.&lt;br /&gt;
nPos is the position that the scroll box has been dragged to.&lt;br /&gt;
&lt;b&gt;SB_THUMBPOSITION&lt;/b&gt; --&lt;br /&gt;
Scroll to absolute position. nPos is the position of the&lt;br /&gt;
scroll box at the end of the drag operation.&lt;br /&gt;
&lt;pre&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/5852098516887109774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/nsbcode-value-for-scrollbar-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/5852098516887109774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/5852098516887109774'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/nsbcode-value-for-scrollbar-control.html' title='nSBCode value for ScrollBar Control'/><author><name>Kapil Shukla</name><uri>http://www.blogger.com/profile/11745788051123511820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fWbPRNaY4uikBf1PbClqsYEpcbtwPArFH80o7IBRubvXPySd3XJyPqkFJ4z0N0OHYBAqxGCwSSNRfbYImzX98NIWMvOfar6Zi4LTGiwzVe1Wh2rxHAMkoOGtro3FYGU7a2L3dkfLolJ6Y17-978gWdLxrnU2omTjeCt5xhhmI4SWEdM/s1600/Kapil%20Shukla%20-%20Copy.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-8457835704544031382</id><published>2009-11-09T16:52:00.000+05:30</published><updated>2009-11-14T10:31:17.245+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AITS"/><category scheme="http://www.blogger.com/atom/ns#" term="Atmiya"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamic Radio Button"/><category scheme="http://www.blogger.com/atom/ns#" term="M.Sc (IT and CA)"/><category scheme="http://www.blogger.com/atom/ns#" term="Priyanka"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++"/><title type='text'>Create RunTime EditBox,Radio Buttons &amp; Check Box</title><content type='html'>BOOL CMy4_EdRdCkDlg::OnInitDialog()&lt;br /&gt;
{&lt;br /&gt;
CEdit *ed=new CEdit;&lt;br /&gt;
CEdit *ed1=new CEdit;&lt;br /&gt;
&lt;br /&gt;
ed-&amp;gt;Create(ES_MULTILINE|WS_CHILD|WS_VISIBLE&lt;br /&gt;
|WS_TABSTOP|WS_BORDER,CRect(30,30,130,70),this,1);&lt;br /&gt;
&lt;br /&gt;
ed1-&amp;gt;Create(ES_MULTILINE|WS_CHILD|WS_VISIBLE&lt;br /&gt;
|WS_TABSTOP|WS_BORDER,CRect(150,30,270,70),this,2);&lt;br /&gt;
&lt;br /&gt;
CButton *ck1=new CButton;&lt;br /&gt;
CButton *ck2=new CButton;&lt;br /&gt;
CButton *ck3=new CButton;&lt;br /&gt;
CButton *ck4=new CButton;&lt;br /&gt;
CButton *ck5=new CButton;&lt;br /&gt;
&lt;br /&gt;
ck1-&amp;gt;Create(&quot;Check1&quot;,WS_CHILD|WS_VISIBLE&lt;br /&gt;
|BS_AUTOCHECKBOX,CRect(30,80,150,110),this,21);&lt;br /&gt;
&lt;br /&gt;
ck2-&amp;gt;Create(&quot;Check2&quot;,WS_CHILD|WS_VISIBLE&lt;br /&gt;
|BS_AUTOCHECKBOX,CRect(30,110,150,140),this,22);&lt;br /&gt;
&lt;br /&gt;
ck3-&amp;gt;Create(&quot;Check3&quot;,WS_CHILD|WS_VISIBLE&lt;br /&gt;
|BS_AUTOCHECKBOX,CRect(30,140,150,170),this,23);&lt;br /&gt;
&lt;br /&gt;
ck4-&amp;gt;Create(&quot;Check4&quot;,WS_CHILD|WS_VISIBLE&lt;br /&gt;
|BS_AUTOCHECKBOX,CRect(30,170,150,200),this,24);&lt;br /&gt;
&lt;br /&gt;
ck5-&amp;gt;Create(&quot;Check5&quot;,WS_CHILD|WS_VISIBLE&lt;br /&gt;
|BS_AUTOCHECKBOX,CRect(30,200,150,230),this,25);&lt;br /&gt;
&lt;br /&gt;
CButton *rd1=new CButton;&lt;br /&gt;
CButton *rd2=new CButton;&lt;br /&gt;
CButton *rd3=new CButton;&lt;br /&gt;
CButton *rd4=new CButton;&lt;br /&gt;
CButton *rd5=new CButton;&lt;br /&gt;
&lt;br /&gt;
rd1-&amp;gt;Create(&quot;Redio1&quot;,WS_CHILD|WS_VISIBLE|WS_GROUP&lt;br /&gt;
|WS_TABSTOP|BS_AUTORADIOBUTTON,CRect(150,80,270,110),this,11);&lt;br /&gt;
&lt;br /&gt;
rd2-&amp;gt;Create(&quot;Redio2&quot;,WS_CHILD|WS_VISIBLE|WS_TABSTOP&lt;br /&gt;
|BS_AUTORADIOBUTTON,CRect(150,110,270,140),this,11);&lt;br /&gt;
&lt;br /&gt;
rd3-&amp;gt;Create(&quot;Redio3&quot;,WS_CHILD|WS_VISIBLE|WS_TABSTOP&lt;br /&gt;
|BS_AUTORADIOBUTTON,CRect(150,140,270,170),this,11);&lt;br /&gt;
&lt;br /&gt;
rd4-&amp;gt;Create(&quot;Redio4&quot;,WS_CHILD|WS_VISIBLE|WS_TABSTOP&lt;br /&gt;
|BS_AUTORADIOBUTTON,CRect(150,170,270,200),this,11);&lt;br /&gt;
&lt;br /&gt;
rd5-&amp;gt;Create(&quot;Redio5&quot;,WS_CHILD|WS_VISIBLE|WS_TABSTOP&lt;br /&gt;
|BS_AUTORADIOBUTTON,CRect(150,200,270,230),this,11);&lt;br /&gt;
&lt;br /&gt;
return TRUE;  // return TRUE  unless you set the focus to a control&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/8457835704544031382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/create-runtime-editboxradio-buttons.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/8457835704544031382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/8457835704544031382'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/create-runtime-editboxradio-buttons.html' title='Create RunTime EditBox,Radio Buttons &amp; Check Box'/><author><name>Priyanka</name><uri>http://www.blogger.com/profile/08061242591261533113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkvd7wUyYiIKHySPhYWjS7PNaGzfsXGDcTZD1yDcOcCnrllrHSVMKDYGAQSDEQNBa-R3of8CxwZJFBrmnr-QmtiSTNsJo7REcapETNI3j25STC2ZPLkEPK394MzYjS0A/s220/PA110010.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-489595713142281149</id><published>2009-11-09T11:29:00.000+05:30</published><updated>2009-11-09T11:32:09.614+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ListBox"/><title type='text'>List Box with Fully Validation</title><content type='html'>//on ltor means left to right&lt;br /&gt;//on alltor means all data of left to right&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;void CLISTBOXDlg::Onltor() &lt;br /&gt;{&lt;br /&gt;	// TODO: Add your control notification handler code here&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;	UpdateData(TRUE);&lt;br /&gt;	int i1;&lt;br /&gt;	i1=m_list1.GetCount();&lt;br /&gt;&lt;br /&gt;	/*	int ii;&lt;br /&gt;	ii=m_list1.GetCount();&lt;br /&gt;&lt;br /&gt;	int a=m_list1.GetCurSel();*/&lt;br /&gt;&lt;br /&gt;	if(i1==0)&lt;br /&gt;	{	&lt;br /&gt;		MessageBox(&quot;no more item &quot;);&lt;br /&gt;		&lt;br /&gt;	}&lt;br /&gt;	else if(m_list1.GetCurSel()==-1)&lt;br /&gt;	{&lt;br /&gt;		MessageBox(&quot;first select value&quot;);&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;	&lt;br /&gt;	else&lt;br /&gt;	{&lt;br /&gt;	CString	str;&lt;br /&gt;	m_list1.GetText(m_list1.GetCurSel(),str);&lt;br /&gt;	&lt;br /&gt;	m_list2.AddString(str);&lt;br /&gt;	m_list1.DeleteString(m_list1.GetCurSel());&lt;br /&gt;&lt;br /&gt;	int i;&lt;br /&gt;		i=m_list1.GetCount();&lt;br /&gt;	m_pos=i;&lt;br /&gt;	}&lt;br /&gt;	&lt;br /&gt;	UpdateData(FALSE);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CLISTBOXDlg::Onalltor() &lt;br /&gt;{&lt;br /&gt;	// TODO: Add your control notification handler code here&lt;br /&gt;	UpdateData(TRUE);&lt;br /&gt;	CString str;&lt;br /&gt;	int i1,j;&lt;br /&gt;	i1=m_list1.GetCount();&lt;br /&gt;	for(j=0;j&lt;i1;j++)&lt;br /&gt;	{&lt;br /&gt;		m_list1.GetText(0,str);&lt;br /&gt;		m_list2.AddString(str);&lt;br /&gt;		m_list1.DeleteString(0);&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;	int i;&lt;br /&gt;		i=m_list1.GetCount();&lt;br /&gt;	m_pos=i;&lt;br /&gt;	UpdateData(FALSE);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CLISTBOXDlg::Onrtol() &lt;br /&gt;{&lt;br /&gt;	// TODO: Add your control notification handler code here&lt;br /&gt;	UpdateData(TRUE);&lt;br /&gt;&lt;br /&gt;	int i1;&lt;br /&gt;	i1=m_list2.GetCount();&lt;br /&gt;&lt;br /&gt;		int ii;&lt;br /&gt;	ii=m_list2.GetCount();&lt;br /&gt;&lt;br /&gt;	int a=m_list2.GetCurSel();&lt;br /&gt;&lt;br /&gt;	if(i1==0)&lt;br /&gt;	{	&lt;br /&gt;		MessageBox(&quot;no more item &quot;);&lt;br /&gt;		&lt;br /&gt;	}&lt;br /&gt;	else if(m_list2.GetCurSel()==-1)&lt;br /&gt;	{&lt;br /&gt;		MessageBox(&quot;first select value&quot;);&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;	&lt;br /&gt;	else&lt;br /&gt;	{&lt;br /&gt;	CString	str;&lt;br /&gt;	m_list2.GetText(m_list2.GetCurSel(),str);&lt;br /&gt;	&lt;br /&gt;	m_list1.AddString(str);&lt;br /&gt;	m_list2.DeleteString(m_list2.GetCurSel());&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;		int i;&lt;br /&gt;		i=m_list1.GetCount();&lt;br /&gt;	m_pos=i;&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;	UpdateData(FALSE);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CLISTBOXDlg::Onalltol() &lt;br /&gt;{&lt;br /&gt;	// TODO: Add your control notification handler code here&lt;br /&gt;	UpdateData(TRUE);&lt;br /&gt;		CString str;&lt;br /&gt;	int i1,j;&lt;br /&gt;	i1=m_list2.GetCount();&lt;br /&gt;	for(j=0;j&lt;i1;j++)&lt;br /&gt;	{&lt;br /&gt;		m_list2.GetText(0,str);&lt;br /&gt;		m_list1.AddString(str);&lt;br /&gt;		m_list2.DeleteString(0);&lt;br /&gt;	}&lt;br /&gt;	int i;&lt;br /&gt;		i=m_list1.GetCount();&lt;br /&gt;	m_pos=i;&lt;br /&gt;	UpdateData(FALSE);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CLISTBOXDlg::Oninsert() &lt;br /&gt;{&lt;br /&gt;	// TODO: Add your control notification handler code here&lt;br /&gt;	UpdateData(TRUE);&lt;br /&gt;	&lt;br /&gt;	int len;&lt;br /&gt;	len=m_val.GetLength();&lt;br /&gt;&lt;br /&gt;	if(len==0)&lt;br /&gt;	{&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;		MessageBox(&quot;insert item&quot;);&lt;br /&gt;&lt;br /&gt;	}&lt;br /&gt;	else&lt;br /&gt;	{&lt;br /&gt;			m_list1.InsertString(m_pos,m_val);&lt;br /&gt;	m_val=&quot; &quot;;&lt;br /&gt;	int i;&lt;br /&gt;	i=m_list1.GetCount();&lt;br /&gt;	m_pos=i;&lt;br /&gt;	}&lt;br /&gt;	UpdateData(FALSE);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void CLISTBOXDlg::Ondelete() &lt;br /&gt;{&lt;br /&gt;	// TODO: Add your control notification handler code here&lt;br /&gt;&lt;br /&gt;	UpdateData(TRUE);&lt;br /&gt;	&lt;br /&gt;&lt;br /&gt;	&lt;br /&gt;		int ii,iii;&lt;br /&gt;	ii=m_list1.GetCount();&lt;br /&gt;	iii=m_list2.GetCount();&lt;br /&gt;&lt;br /&gt;	if(ii==0)  //|| iii==0&lt;br /&gt;	{&lt;br /&gt;		MessageBox(&quot;you can not delete b/c no more item&quot;);&lt;br /&gt;	}&lt;br /&gt;	else if(m_list1.GetCurSel()==-1 )  //|| m_list2.GetCurSel()==-1&lt;br /&gt;	{&lt;br /&gt;		MessageBox(&quot;first select value&quot;);&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;	&lt;br /&gt;	else&lt;br /&gt;	{&lt;br /&gt;	m_list1.DeleteString(m_list1.GetCurSel());&lt;br /&gt;	int i;&lt;br /&gt;		i=m_list1.GetCount();&lt;br /&gt;	m_pos=i;&lt;br /&gt;	}&lt;br /&gt;	UpdateData(FALSE);&lt;br /&gt;}&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/489595713142281149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/list-box-with-fully-validation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/489595713142281149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/489595713142281149'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/list-box-with-fully-validation.html' title='List Box with Fully Validation'/><author><name>Mohit</name><uri>http://www.blogger.com/profile/00704166294154247538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-4224267408970246694</id><published>2009-11-09T11:23:00.000+05:30</published><updated>2009-11-09T11:27:04.853+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Draw Lines"/><title type='text'>Draw a line in every movement of mouse with different color</title><content type='html'>void CSdi1View::OnLButtonDown(UINT nFlags, CPoint point) &lt;br /&gt;{&lt;br /&gt; // TODO: Add your message handler code here and/or call default&lt;br /&gt;  count+=1;&lt;br /&gt;&lt;br /&gt;  start.x=point.x;&lt;br /&gt;  start.y=point.y;&lt;br /&gt;  if(count%5==0)&lt;br /&gt;  {&lt;br /&gt;         i=0;&lt;br /&gt;   j=255;&lt;br /&gt;   k=0;&lt;br /&gt;   newb.DeleteObject();&lt;br /&gt;   newb.CreatePen(PS_SOLID,1,RGB(i,j,k));&lt;br /&gt;  }&lt;br /&gt;  else if(count%3==0)&lt;br /&gt;  {&lt;br /&gt;   i=255;&lt;br /&gt;   j=0;&lt;br /&gt;   k=0;&lt;br /&gt;   newb.DeleteObject();&lt;br /&gt;   newb.CreatePen(PS_SOLID,1,RGB(i,j,k));&lt;br /&gt;  }&lt;br /&gt;  else if(count%2==0)&lt;br /&gt;  {&lt;br /&gt;            i=0;&lt;br /&gt;   j=0;&lt;br /&gt;   k=255;&lt;br /&gt;   newb.DeleteObject();&lt;br /&gt;   newb.CreatePen(PS_SOLID,1,RGB(i,j,k));&lt;br /&gt;  }&lt;br /&gt; CView::OnLButtonDown(nFlags, point);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;void CSdi1View::OnMouseMove(UINT nFlags, CPoint point) &lt;br /&gt;{&lt;br /&gt; // TODO: Add your message handler code here and/or call default&lt;br /&gt;  end.x=point.x;&lt;br /&gt; end.y=point.y;&lt;br /&gt;&lt;br /&gt; CClientDC * pcd=new CClientDC(this);&lt;br /&gt; pcd-&gt;MoveTo(start.x,start.y);&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; pcd-&gt;SelectObject(&amp;newb);&lt;br /&gt;&lt;br /&gt; pcd-&gt;LineTo(end.x,end.y);&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; CView::OnMouseMove(nFlags, point);&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/4224267408970246694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/draw-line-in-every-movement-of-mouse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/4224267408970246694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/4224267408970246694'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/draw-line-in-every-movement-of-mouse.html' title='Draw a line in every movement of mouse with different color'/><author><name>Mohit</name><uri>http://www.blogger.com/profile/00704166294154247538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-3574953894952871571</id><published>2009-11-09T11:18:00.000+05:30</published><updated>2009-11-09T11:20:45.711+05:30</updated><title type='text'>Line Draw Program Using MouseMove Event With CPen Class</title><content type='html'>&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;void CTryView::OnMouseMove(UINT nFlags, CPoint point) &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;{&lt;/span&gt;&lt;br /&gt;    //RedrawWindow();&lt;br /&gt;    // TODO: Add your message handler code here and/or call default&lt;br /&gt;&lt;br /&gt;    CClientDC *pDC = new CClientDC(this);&lt;br /&gt;&lt;br /&gt;    CPen p1;&lt;br /&gt;    if(m_i&lt;100)&lt;br /&gt;    {&lt;br /&gt;&lt;br /&gt;        p1.CreatePen(PS_SOLID,2,RGB(255,235,65));&lt;br /&gt;        pDC-&gt;SelectObject(&amp;amp;p1);&lt;br /&gt;&lt;br /&gt;        pDC-&gt;MoveTo(m_start);&lt;br /&gt;        pDC-&gt;LineTo(point);&lt;br /&gt;        m_start=point;&lt;br /&gt;    }&lt;br /&gt;    else if(m_i&lt;200)&lt;br /&gt;    {&lt;br /&gt;&lt;br /&gt;        p1.CreatePen(PS_SOLID,2,RGB(100,230,82));&lt;br /&gt;        pDC-&gt;SelectObject(&amp;amp;p1);&lt;br /&gt;&lt;br /&gt;        pDC-&gt;MoveTo(m_start);&lt;br /&gt;        pDC-&gt;LineTo(point);&lt;br /&gt;        m_start=point;&lt;br /&gt;    }&lt;br /&gt;    else if(m_i&lt;300)&lt;br /&gt;    {&lt;br /&gt;   &lt;br /&gt;        p1.CreatePen(PS_SOLID,2,RGB(50,130,182));&lt;br /&gt;        pDC-&gt;SelectObject(&amp;amp;p1);&lt;br /&gt;&lt;br /&gt;        pDC-&gt;MoveTo(m_start);&lt;br /&gt;        pDC-&gt;LineTo(point);&lt;br /&gt;        m_start=point;&lt;br /&gt;    }&lt;br /&gt;    else if(m_i&lt;400)&lt;br /&gt;    {&lt;br /&gt;   &lt;br /&gt;        p1.CreatePen(PS_SOLID,2,RGB(255,0,0));&lt;br /&gt;        pDC-&gt;SelectObject(&amp;amp;p1);&lt;br /&gt;&lt;br /&gt;        pDC-&gt;MoveTo(m_start);&lt;br /&gt;        pDC-&gt;LineTo(point);&lt;br /&gt;        m_start=point;&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;       &lt;br /&gt;        p1.CreatePen(PS_SOLID,2,RGB(10,30,242));&lt;br /&gt;        pDC-&gt;SelectObject(&amp;amp;p1);&lt;br /&gt;&lt;br /&gt;        pDC-&gt;MoveTo(m_start);&lt;br /&gt;        pDC-&gt;LineTo(point);&lt;br /&gt;        m_start=point;&lt;br /&gt;   &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;    if(m_i==0)&lt;br /&gt;    {&lt;br /&gt;        m_start=point;&lt;br /&gt;    }&lt;br /&gt;    if(m_i==400)&lt;br /&gt;    {&lt;br /&gt;        m_i=0;&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;        pDC-&gt;MoveTo(m_start);&lt;br /&gt;        pDC-&gt;LineTo(point);&lt;br /&gt;        m_start=point;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    m_i++;&lt;br /&gt;   &lt;br /&gt;    CView::OnMouseMove(nFlags, point);&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;}&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/3574953894952871571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/line-draw-program-using-mousemove-event.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/3574953894952871571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/3574953894952871571'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/line-draw-program-using-mousemove-event.html' title='Line Draw Program Using MouseMove Event With CPen Class'/><author><name>Jugal</name><uri>http://www.blogger.com/profile/05509858085478428076</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/-4rZ4KQ-Hcos/TiQS2aUEXjI/AAAAAAAAANA/bFpn4yGqG-s/s220/DSCN1754.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-9079547965491189869</id><published>2009-11-09T11:03:00.000+05:30</published><updated>2009-11-09T11:05:55.622+05:30</updated><title type='text'>Moving ball around screen</title><content type='html'>void CDrawCPRView::OnLButtonDblClk(UINT nFlags, CPoint point)&lt;br /&gt;{&lt;br /&gt;   // TODO: Add your message handler code here and/or call default&lt;br /&gt; &lt;br /&gt;   CClientDC *cr = new CClientDC(this);&lt;br /&gt; &lt;br /&gt;   CPen pn1;&lt;br /&gt;&lt;br /&gt;   pn1.CreatePen(PS_SOLID,2,RGB(255,0,0));&lt;br /&gt;&lt;br /&gt;   cr-&gt;SelectObject(pn1);&lt;br /&gt;&lt;br /&gt;   CBrush br1(RGB(255,0,0));&lt;br /&gt;&lt;br /&gt;   cr-&gt;SelectObject(br1);&lt;br /&gt;&lt;br /&gt;   //RedrawWindow();&lt;br /&gt;     &lt;br /&gt;   while(1)&lt;br /&gt;       {&lt;br /&gt;     &lt;br /&gt;       CRect rc;&lt;br /&gt;       GetClientRect(rc);&lt;br /&gt;       int x1=0,y1=0,a=0,b=0;&lt;br /&gt;         &lt;br /&gt;           while(1)&lt;br /&gt;           {&lt;br /&gt;               if(a==0 &amp;amp;&amp;amp; b==0)&lt;br /&gt;               {&lt;br /&gt;                   x1+=5;&lt;br /&gt;                   y1+=5;&lt;br /&gt;               }&lt;br /&gt;&lt;br /&gt;               if(a==0 &amp;amp;&amp;amp;  b==1)&lt;br /&gt;               {&lt;br /&gt;                   x1+=5;&lt;br /&gt;                   y1-=5;&lt;br /&gt;               }&lt;br /&gt;&lt;br /&gt;               if(a==1 &amp;amp;&amp;amp; b==0)&lt;br /&gt;               {&lt;br /&gt;                   x1-=5;&lt;br /&gt;                   y1+=5;&lt;br /&gt;               }&lt;br /&gt;             &lt;br /&gt;               if(a==1 &amp;amp;&amp;amp; b==1)&lt;br /&gt;               {&lt;br /&gt;                   x1-=5;&lt;br /&gt;                   y1-=5;&lt;br /&gt;               }&lt;br /&gt;&lt;br /&gt;               if(x1 &lt; a=&quot;0;&quot; b=&quot;0;&quot;&gt; rc.right-2)&lt;br /&gt;               {&lt;br /&gt;                   a=1;&lt;br /&gt;               }&lt;br /&gt;               else if(y1 &gt; rc.bottom-2)&lt;br /&gt;               {&lt;br /&gt;                   b=1;&lt;br /&gt;               }&lt;br /&gt;&lt;br /&gt;           RedrawWindow();&lt;br /&gt;           cr-&gt;Ellipse(x1,y1,x1+10,y1+10);&lt;br /&gt;           Sleep(20);&lt;br /&gt;           }&lt;br /&gt;             &lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;   CView::OnLButtonDblClk(nFlags, point);&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/9079547965491189869/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/moving-ball-around-screen.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/9079547965491189869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/9079547965491189869'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/moving-ball-around-screen.html' title='Moving ball around screen'/><author><name>Sanjay</name><uri>http://www.blogger.com/profile/04774542412925203050</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggT_b2x6a4d8ZGIWnauZDx5DMFwCOtG5icMucB8CiZLPLeCFx2vKmtk9UzAOqSvZu1tAZSpclHNGJ2_qCf33ASeDZtkjR0CPk_vG5sLd2VPR0QZkzBIVQsUozFkwg6ZA/s220/images.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2340211342045503719.post-5983168264987502172</id><published>2009-11-07T11:12:00.000+05:30</published><updated>2009-11-07T11:28:50.980+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AITS"/><category scheme="http://www.blogger.com/atom/ns#" term="Atmiya"/><category scheme="http://www.blogger.com/atom/ns#" term="Explain Function"/><category scheme="http://www.blogger.com/atom/ns#" term="M.Sc (IT and CA)"/><category scheme="http://www.blogger.com/atom/ns#" term="Rajkot"/><category scheme="http://www.blogger.com/atom/ns#" term="VC++"/><title type='text'>List of Function in VC++, Explain with Example</title><content type='html'>&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;b&gt;GetClientRect&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;CloseWindow&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetDlgItem&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;EnableWindow&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Invalidate&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;RedrawWindow&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetWindowText&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;SetWindowText&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetScrollPos&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetScrollRange&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;SetScrollPos&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;SetScrollRange&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;SetTimer&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;MessageBox&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetCurSel&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetLBText&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetLBTextLen&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;AddString&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;DeleteString&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;InsertString&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;ResetContent&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetCount&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetText&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetTextLen&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;UpdateData&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;MoveTo&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;LineTo&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Rectangle&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Ellipse&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;DoModal&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;atoi&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;IsEmpty&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Empty&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetAt&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;SetAt&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;MakeLower&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;MakeUpper&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;MakeReverse&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Remove&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Format&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Insert&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Delete&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Find&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;ReverseFind&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt; SetRange&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetRange&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GetPos&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;SetPos&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;OffsetPos&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;SetStep&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;StepIt&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;b&gt;Explain All Function in Brief. Write Explanation in Notebook.&lt;br /&gt;
&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://vcprogramcode.blogspot.com/feeds/5983168264987502172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/list-of-function-in-vc-explain-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/5983168264987502172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2340211342045503719/posts/default/5983168264987502172'/><link rel='alternate' type='text/html' href='http://vcprogramcode.blogspot.com/2009/11/list-of-function-in-vc-explain-with.html' title='List of Function in VC++, Explain with Example'/><author><name>Kapil Shukla</name><uri>http://www.blogger.com/profile/11745788051123511820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8fWbPRNaY4uikBf1PbClqsYEpcbtwPArFH80o7IBRubvXPySd3XJyPqkFJ4z0N0OHYBAqxGCwSSNRfbYImzX98NIWMvOfar6Zi4LTGiwzVe1Wh2rxHAMkoOGtro3FYGU7a2L3dkfLolJ6Y17-978gWdLxrnU2omTjeCt5xhhmI4SWEdM/s1600/Kapil%20Shukla%20-%20Copy.JPG'/></author><thr:total>0</thr:total></entry></feed>