tag:blogger.com,1999:blog-83283332098733441292024-03-18T02:48:50.789-07:00How to Solve it @ WorkdayThis blog contains final solutions for the most common problems that appearing at a workday; While there are a lot of non tested solutions that wasted a lot of time or make you dispersion, here is the final tested solution. qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-8328333209873344129.post-23614057235567133312015-01-24T19:53:00.002-08:002015-01-24T19:53:30.041-08:00Solve: Error 0x80070057 on copying files (In Windows 8.1)<div dir="ltr" style="text-align: left;" trbidi="on">
<div>
<span style="font-family: '';"><u>When you try to copy file to your SDcard or External storage the following error message appeared:</u></span></div>
<div>
<i>"An unexpected error is keeping you from copying the file. If you continue to receive this error, you can use the error code to search for help with this problem."</i></div>
<div>
<br></div>
<div>
<b><u>Solution:</u></b></div>
<div>
<b>1.</b> Run Command Prompt as <b>Administrator. </b></div>
<div>
Type cmd -> Right Click -> choose Run as Administrator</div>
<div>
<br></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwcM0FBsviIDgbmKIift_ZS5lJQfYWYTaYY2_RxjGSj1r6KlblDEwh5THeZSD1P7SlXFwDPtAAI4bLrrTpjBNw9XegMwBbpYtKOaRXol6WR8TzEOpPr2tXFUNxRutb4ggBDrx4z9OXbk4/s1600/qursaan-copy-error-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwcM0FBsviIDgbmKIift_ZS5lJQfYWYTaYY2_RxjGSj1r6KlblDEwh5THeZSD1P7SlXFwDPtAAI4bLrrTpjBNw9XegMwBbpYtKOaRXol6WR8TzEOpPr2tXFUNxRutb4ggBDrx4z9OXbk4/s1600/qursaan-copy-error-1.png" height="200" width="173"></a></div>
<div>
<br></div>
<div>
</div></div><a href="http://qursaan-howto.blogspot.com/2015/01/solve-error-0x80070057-on-copying-files.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com19tag:blogger.com,1999:blog-8328333209873344129.post-3365135022987040322014-12-05T10:47:00.010-08:002022-11-10T17:29:11.889-08:00How to: Install Hadoop (as Single Node) on Ubuntu Step by Step<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoTitle">
<div class="MsoTitle">
How to Installing Hadoop Step by Step<o:p></o:p><br>
<br>
<iframe class="BLOG_video_class" allowfullscreen="" youtube-src-id="3UvR9nDsU7s" width="320" height="266" src="https://www.youtube.com/embed/3UvR9nDsU7s"></iframe>
</div>
<h1>
Environment<o:p></o:p></h1>
<div class="MsoNormal" style="text-indent: .5in;">
Ubuntu 14.04, Hadoop 2.6.0, OpenJDK
1.7<o:p></o:p><br>
<br></div>
<h1>
I. Installing JAVA JDK<o:p></o:p></h1>
<h2>
Login as root<o:p></o:p></h2>
<div style="border: solid windowtext 1.0pt; margin-left: .5in; margin-right: 0in; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div; padding: 1.0pt 4.0pt 1.0pt 4.0pt;">
<div class="MsoQuote" style="border: none; margin-left: 0in; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 1.0pt 4.0pt 1.0pt 4.0pt; padding: 0in;">
sudo –s<o:p></o:p></div>
</div>
<h2>
Install Jave Runtime<o:p></o:p></h2>
<div style="border: solid windowtext 1.0pt; margin-left: .5in; margin-right: 0in; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div; padding: 1.0pt 4.0pt 1.0pt 4.0pt;">
<div class="MsoQuote" style="border: none; margin-left: 0in; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 1.0pt 4.0pt 1.0pt 4.0pt; padding: 0in;">
sudo apt-get install
default-jre<o:p></o:p></div>
</div>
<h2>
Install Java JDK (OpenJDK v 1.7 or newer)<o:p></o:p></h2>
<div style="border: solid windowtext 1.0pt; margin-left: .5in; margin-right: 0in; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div; padding: 1.0pt 4.0pt 1.0pt 4.0pt;">
<div class="MsoQuote" style="border: none; margin-left: 0in; padding: 0in;">
sudo
apt-get update<o:p></o:p></div>
<div class="MsoQuote" style="border: none; margin-left: 0in; padding: 0in;">
sudo
apt-get install default-jdk<o:p></o:p></div>
</div>
<div class="MsoNormal">
Checking
Java verison<o:p></o:p></div>
<div style="border: solid windowtext 1.0pt; margin-left: .5in; margin-right: 0in; mso-border-alt: solid windowtext .5pt; mso-element: para-border-div; padding: 1.0pt 4.0pt 1.0pt 4.0pt;">
<div class="MsoQuote" style="border: none; margin-left: 0in; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 1.0pt 4.0pt 1.0pt 4.0pt; padding: 0in;">
Java --version</div>
</div>
<br>
<h1>
II. Install Secure Shell <o:p></o:p></h1>
<h2>
</h2></div></div><a href="http://qursaan-howto.blogspot.com/2014/12/how-to-install-hadoop-as-single-node-on.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com76tag:blogger.com,1999:blog-8328333209873344129.post-68185795588257675592014-12-04T11:57:00.000-08:002014-12-19T22:20:31.200-08:00How to: Fast way to Change/Modify the HOSTS file in Windows 8<div dir="ltr" style="text-align: left;" trbidi="on">
<u><b>To change or modify the HOSTS file in Windows 8, follow the following steps:</b></u><br>
<br>
<b>1.</b> <b>Go </b>to the hosts File direction "C:\Windows\System32\Drivers\etc" and<b> Open </b>the file Properties<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2kBYKm27Ch2CCi1Bw4bz-1yse93XNZFhOfTB1rhrwxKJip_NfIqEDDT6Ustx8RiSDzAjRJPuNso3ETe-yqpVJ5UoI2lYrm_CCF_cy2ibsZLzfTXvFJvPk9d9UGCTh-1oyT0kf-8dVz_4/s1600/host1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="File Location" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2kBYKm27Ch2CCi1Bw4bz-1yse93XNZFhOfTB1rhrwxKJip_NfIqEDDT6Ustx8RiSDzAjRJPuNso3ETe-yqpVJ5UoI2lYrm_CCF_cy2ibsZLzfTXvFJvPk9d9UGCTh-1oyT0kf-8dVz_4/s1600/host1.png" height="199" width="320"></a></div>
<br>
<br>
</div><a href="http://qursaan-howto.blogspot.com/2014/12/how-to-fast-way-to-changemodify-hosts.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com1tag:blogger.com,1999:blog-8328333209873344129.post-21727715652709195312014-11-15T14:02:00.001-08:002014-12-19T22:22:16.399-08:00Solve: The import android.support.v7 cannot be resolved<div dir="ltr" style="text-align: left;" trbidi="on">
<u><b>The import android.support.v7 cannot be resolved</b></u><br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTfsZtSQ-8SZLUJoqd0eAeeMWL7nX09Y2mR4MwWnfprGnFzSw2RjX8A6S_t7nStrbZ7hgz4Zeiy3VQRJ1hGuyWA1QiF-43Bznx8V8UZ-Bqn6_Qh9CfuDqS4FPxx-S3mHBEfmhd9IEfwN0/s1600/1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Error window" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTfsZtSQ-8SZLUJoqd0eAeeMWL7nX09Y2mR4MwWnfprGnFzSw2RjX8A6S_t7nStrbZ7hgz4Zeiy3VQRJ1hGuyWA1QiF-43Bznx8V8UZ-Bqn6_Qh9CfuDqS4FPxx-S3mHBEfmhd9IEfwN0/s1600/1.PNG"></a></div>
<u><br></u>
<u>Solution:</u><br>
Add Android Support Library "android-support-v7-appcompat.jar"<br>
Follow the following steps:<br>
<br>
</div><a href="http://qursaan-howto.blogspot.com/2014/11/solve-import-androidsupportv7-cannot-be.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com0tag:blogger.com,1999:blog-8328333209873344129.post-40143571021877831432014-07-29T19:35:00.000-07:002014-12-19T22:24:33.028-08:00Solve: Your project references the latest version of Entity Framework (for MySQL) in Visual Studio 2013<div dir="ltr" style="text-align: left;" trbidi="on">
<u><span style="font-family: '';">The error message while trying to </span>create a ADO.net Entity Data Model ( Entity Framework 6 ) for MySql Database in Microsoft Visual Studio 2013</u><br>
<br>
<div style="text-align: justify;">
<span style="background-color: white;">"<i>Your project references the latest version of Entity Framework; however, an Entity Framework database provider compatible with this version could not be found for your data connection. if you have already installed a have already installed a comptible provider, ensure you have rebuilt your project before performing this action. Otherwise, exit this wizard, install a compatible provider, and rebuid your project before performing this action.</i>"</span></div>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi15nyW5OBJaZ-xYbHVVsag6SeX28G23ODZ_HVI7bBK2gtdhcCTtj5evAhray7aiUwAxtWJcKP-W69z8BNAoMI3tAk5nSxu-eLNX667sUGIaHFm_SX3lQdUlMJtfMNmKvfLO0YLKBi2w-w/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi15nyW5OBJaZ-xYbHVVsag6SeX28G23ODZ_HVI7bBK2gtdhcCTtj5evAhray7aiUwAxtWJcKP-W69z8BNAoMI3tAk5nSxu-eLNX667sUGIaHFm_SX3lQdUlMJtfMNmKvfLO0YLKBi2w-w/s1600/1.png" height="286" width="320" alt="Error Window"></a></div>
<br>
<br>
<u style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"><b>Solution: </b></u><br>
</div><a href="http://qursaan-howto.blogspot.com/2014/07/solve-your-project-references-latest.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com147tag:blogger.com,1999:blog-8328333209873344129.post-67975616947156161252013-07-21T09:05:00.002-07:002013-07-22T01:46:23.232-07:00How to: Upload WebSite using FTP account<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>To upload your site using ftp account:</u></b><br>
1. Go to Hosting control panel and access your account<br>
2. From host control panel go to "FTP Account"<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZx94tHIFlcpIBKFo-GPlLbukFfztdofYT782ZOTYFfUGlqTgykhl5pKd_QmP34nSKe34i8HGr0FwuDhJiec1Yzk9NyMPVNDXLgpH4IxLPasR7YiMPX0yo0Fr1cSmOMYfqT-iGoqfb2q8/s1600/1.host-login.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZx94tHIFlcpIBKFo-GPlLbukFfztdofYT782ZOTYFfUGlqTgykhl5pKd_QmP34nSKe34i8HGr0FwuDhJiec1Yzk9NyMPVNDXLgpH4IxLPasR7YiMPX0yo0Fr1cSmOMYfqT-iGoqfb2q8/s400/1.host-login.png" width="400"></a></div>
<br>
3. Create new FTP account<br>
</div><a href="http://qursaan-howto.blogspot.com/2013/07/how-to-upload-website-using-ftp-account.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com1tag:blogger.com,1999:blog-8328333209873344129.post-83937225662819476342013-06-19T13:16:00.001-07:002013-06-19T13:17:38.173-07:00Solve: Unexpected error writing metadata to file 'App.exe' - Not enough storage is available to complete this operation<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: serif;"><u>If you get an error </u></span><br />
<span style="font-family: serif;"><b>"Unexpected error writing metadata to file 'C:\Projects.2012\obj\x86\Debug\QurSaan.exe' -- 'Not enough storage is available to complete this operation."</b></span><br />
after build your project under Visual Studio 2010.<br />
<br />
<u><b>Solution:</b></u><br />
1. Clean Solution<br />
2. Close Visual<span style="font-family: serif;"> </span><span style="font-family: serif;">Studio 2010.</span><br />
<span style="font-family: serif;">3. Delete all Files under </span><b style="font-family: serif;">C:\Projects.2012\obj\x86\Debug\</b><span style="font-family: serif;"> Directory.</span><br />
<div>
4. Start Visual Studio 2010 and Build Solution.</div>
</div>
<div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com7tag:blogger.com,1999:blog-8328333209873344129.post-48989550290048333242012-12-27T04:11:00.001-08:002014-11-15T14:05:23.648-08:00Solve: Error while displaying crystal report using visual studio 2010, 2012, 2013<div dir="ltr" style="text-align: left;" trbidi="on">
<u>The error message while trying to display crystal report using visual studio 2010</u><br>
System.IO.FileNotFoundException was unhandled<br>
<b>Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies.</b> The system cannot find the file specified.<br>
Source=mscorlib<br>
FileName=file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll<br>
FusionLog==== Pre-bind state information ===<br>
LOG: User = WKST04\GARYB<br>
LOG: Where-ref bind. Location = C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll<br>
LOG: Appbase = file:///D:/S_and_G/LMS_DotNet/LMS_Solution/LMS/bin/Debug/<br>
LOG: Initial PrivatePath = NULL<br>
Calling assembly : (Unknown).<br>
<br>
<u style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"><b>Solution: </b></u>
<br>
</div><a href="http://qursaan-howto.blogspot.com/2012/12/solve-error-while-displaying-crystal.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com16tag:blogger.com,1999:blog-8328333209873344129.post-89505825406323799132012-12-02T13:55:00.002-08:002012-12-27T04:09:09.702-08:00How to: Check if another instance of the application is already running<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;">how it is possible to check whether another instance of the program is running and if so stop the application before loading if there is an existing instance of it.</span><br />
<br />
<span style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"><u><b>Solution:</b></u></span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl7a6TN7m7NeIlUgWGYcc-quGawmqIcE758ILfA9VfL-dA9J6ESb7fCUZetPtN97G9qswxep6XPjBhq0eclQpK5WcCc-ErItWUBLmd1-PJmNW1SocrwT66URZ2g74NoAnzsGvJ-WANZWg/s1600/APP_RUNNING.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl7a6TN7m7NeIlUgWGYcc-quGawmqIcE758ILfA9VfL-dA9J6ESb7fCUZetPtN97G9qswxep6XPjBhq0eclQpK5WcCc-ErItWUBLmd1-PJmNW1SocrwT66URZ2g74NoAnzsGvJ-WANZWg/s1600/APP_RUNNING.PNG" /></a></div>
<br />
<span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"><span style="font-size: 14px; line-height: 18px;">write at your Main method the following code to quit the method which will kill the currently loading process instantly.</span></span><br />
<br />
<span style="background-color: white; color: blue; font-family: Consolas; font-size: 13px;">if</span><span style="background-color: white; font-family: Consolas; font-size: 13px;"> (System.Diagnostics.</span><span style="background-color: white; color: #2b91af; font-family: Consolas; font-size: 13px;">Process</span><span style="background-color: white; font-family: Consolas; font-size: 13px;">.GetProcessesByName(</span><br />
<span style="background-color: white; font-family: Consolas; font-size: 13px;"> </span><span style="background-color: white; font-family: Consolas; font-size: 13px;">System.IO.</span><span style="background-color: white; color: #2b91af; font-family: Consolas; font-size: 13px;">Path</span><span style="background-color: white; font-family: Consolas; font-size: 13px;">.GetFileNameWithoutExtension(</span><br />
<span style="background-color: white; font-family: Consolas; font-size: 13px;"> <span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: white; font-family: Consolas; font-size: 13px;">System.Reflection.</span><span style="background-color: white; color: #2b91af; font-family: Consolas; font-size: 13px;">Assembly</span><span style="background-color: white; font-family: Consolas; font-size: 13px;">.GetEntryAssembly().Location)).Length > 1)</span><br />
<span style="background-color: white; font-family: Consolas; font-size: 13px;"> </span><span style="background-color: white; font-family: Consolas; font-size: 13px;">{</span><br />
<span style="background-color: white; font-family: Consolas; font-size: 13px;"> <span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: white; color: #2b91af; font-family: Consolas; font-size: 13px;">MessageBox</span><span style="background-color: white; font-family: Consolas; font-size: 13px;">.Show(</span><span style="background-color: white; color: #a31515; font-family: Consolas; font-size: 13px;">"Application is already running"</span><span style="background-color: white; font-family: Consolas; font-size: 13px;">);</span><br />
<span style="background-color: white; font-family: Consolas; font-size: 13px;"> <span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: white; font-family: Consolas; font-size: 13px;">System.Diagnostics.</span><span style="background-color: white; color: #2b91af; font-family: Consolas; font-size: 13px;">Process</span><span style="background-color: white; font-family: Consolas; font-size: 13px;">.GetCurrentProcess().Kill();</span><br />
<span style="background-color: white; font-family: Consolas; font-size: 13px;"> </span><span style="background-color: white; font-family: Consolas; font-size: 13px;">} </span><br />
<code><span style="background-color: white; font-family: Consolas; font-size: 13px;"> </span></code></div>
<div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com0tag:blogger.com,1999:blog-8328333209873344129.post-81728619666094772662012-11-23T20:04:00.000-08:002012-11-23T20:06:37.197-08:00Solve: System.IndexOutOfRangeException on Fire Event DataGridView Rows<div dir="ltr" style="text-align: left;" trbidi="on">
<u>Fire any event on DataGridView may appear the following error:</u><br>
<br>
<blockquote class="tr_bq">
System.IndexOutOfRangeException: Index -1 does not have a value.<br>
at System.Windows.Forms.CurrencyManager.get_Item(Int32 index)<br>
at System.Windows.Forms.CurrencyManager.get_Current()<br>
at System.Windows.Forms.DataGridView.DataGridViewDataConnection.OnRowEnter(DataGridViewCellEventArgs e)<br>
at System.Windows.Forms.DataGridView.OnRowEnter(DataGridViewCell& dataGridViewCell, Int32 columnIndex, Int32 rowIndex, Boolean canCreateNewRow, Boolean validationFailureOccurred)<br>
at System.Windows.Forms.DataGridView.SetCurrentCellAddressCore(Int32 columnIndex, Int32 rowIndex, Boolean setAnchorCellAddress, Boolean validateCurrentCell, Boolean throughMouseClick)<br>
at System.Windows.Forms.DataGridView.OnCellMouseDown(HitTestInfo hti, Boolean isShiftDown, Boolean isControlDown)<br>
at System.Windows.Forms.DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e)<br>
at System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)<br>
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)<br>
at System.Windows.Forms.Control.WndProc(Message& m)<br>
at System.Windows.Forms.DataGridView.WndProc(Message& m)<br>
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)<br>
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)<br>
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</blockquote>
<br>
</div><a href="http://qursaan-howto.blogspot.com/2012/11/solve-systemindexoutofrangeexception-on.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com1tag:blogger.com,1999:blog-8328333209873344129.post-25675495077968661282012-08-06T14:20:00.001-07:002012-08-06T14:45:58.822-07:00Solve: HTTP Error 404.2 - Not Found<div dir="ltr" style="text-align: left;" trbidi="on">
The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server.<br>
<br>
Solution:<br>
<ul style="text-align: left;">
<li>Open the<b> IIS Manager</b> and navigate to the server level. </li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqANfKDkaqbELgBLCUvn9-FV7BkPQFr_UGU-keMkde6DMHXqy8gPyGuaO5r1QIBKr1O6REHh9aKANFVupgCxBte1S3WQOhFlpQhrkYaKcOhAOriwzrnBWvUNrL_CsS9bBvDMT1GqbLwo4/s1600/iis0.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqANfKDkaqbELgBLCUvn9-FV7BkPQFr_UGU-keMkde6DMHXqy8gPyGuaO5r1QIBKr1O6REHh9aKANFVupgCxBte1S3WQOhFlpQhrkYaKcOhAOriwzrnBWvUNrL_CsS9bBvDMT1GqbLwo4/s400/iis0.jpg" width="400"></a></div>
<br>
</div><a href="http://qursaan-howto.blogspot.com/2012/08/solve-http-error-4042-not-found.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com0tag:blogger.com,1999:blog-8328333209873344129.post-28162148483676172292012-08-06T14:17:00.000-07:002012-08-06T14:18:32.454-07:00Solve: HTTP Error 404.17 - Not Found<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
HTTP Error 404.17 - Not Found - Static File Handler<br />
<br />
<ol style="text-align: left;">
<li>Install .Net Framework4.0 on your IIS server. </li>
<li>run "aspnet_regiis -i" in "C:\Windows\Microsoft.NET\Framework\v4.0.21006"</li>
</ol>
<br /></div><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com0tag:blogger.com,1999:blog-8328333209873344129.post-59457187122118332792012-03-25T18:04:00.000-07:002012-03-25T18:04:09.860-07:00How to: Close Windows form while doing CreateHandle()<div dir="ltr" style="text-align: left;" trbidi="on">
<div>
The error Value Close() cannot be called while doing CreateHandle() usually happens when we try to close the form in the constructor or Load event.</div>
<div>
For example,</div>
<div>
<br></div>
<div>
the following code gives the error:</div>
<div>
<br></div>
<div>
<blockquote class="tr_bq">
<b>private void frmCustomer_Load(object sender, EventArgs e)<br>{<br><span class="Apple-tab-span" style="white-space: pre;"> </span>if (!Valid())<br><span class="Apple-tab-span" style="white-space: pre;"> </span>this.Close;<br>}</b></blockquote>
</div>
<div>
<br></div>
<div>
The Solution:</div>
<div>
<br>
</div></div><a href="http://qursaan-howto.blogspot.com/2012/03/how-to-close-windows-form-while-doing.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com2tag:blogger.com,1999:blog-8328333209873344129.post-63619716607874331452012-03-22T03:21:00.000-07:002014-10-16T05:41:47.037-07:00How To: Enable Hidden attribute in folder options<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
<b><u><span style="font-family: serif;">To enable to </span></u></b><b><u><span style="font-family: serif;">change folder/file hidden attribute in properties option again:</span></u></b> </div>
<br>
1. Goto command prompt<br>
<br>
<ul style="text-align: left;">
<li>Click start -> run</li>
<li>Type <b>cmd </b>and press enter</li>
</ul>
<br>
2. Change your working directory to driver letter of USB drive, for example type H:<br>
<br>
<ul style="text-align: left;">
<li>In the command window that opens type "<b>cd</b> <i>[drivename]</i>" and press enter</li>
<li>Type "<b>dir</b>" and press enter</li>
</ul>
<br>
3. Type the command "<b>attrib /s /d -s -h</b> <i>[file/folder name]</i>" and press enter or type<br>
<br>
Where,<br>
<b>-r</b> will clear the Read Only Attribute<br>
<b>-s</b> will clear the System file Attribute<br>
<b>-h</b> will clear the Hidden file Attribute<br>
<b>/s</b> will apply above command to all files in working directory<br>
<b>/d</b> will apply above command to all folders in working directory<br>
<b>[foldername] </b>is the name of the folder without the square brackets)
<br>
<br>
</div><a href="http://qursaan-howto.blogspot.com/2012/03/how-to-enable-hidden-attribute-in.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com9tag:blogger.com,1999:blog-8328333209873344129.post-45268416473712682932011-07-14T16:12:00.000-07:002011-08-15T15:51:42.811-07:00How to: Automatically Sort Start Menu Program AlphabeticallyWhenever you install an application, an entry thereof is added in the Start Menu and place the end of the list while the other entries are arranged alphabetically.<br />
<b><u>To Automatically Sort Windows XP Start menu program list alphabetically:</u></b><br />
<br />
1.<b> </b>Open the Registry <b>Click </b>on "start", "Run ..." then <b>type </b>"regedit" and click on "OK"<br />
<br />
2. <b>Go to</b> the key: KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder <br />
<br />
3. <b>Pull down</b> the key named "<b>MenuOrder</b>" <br />
<br />
4. <b>Delete </b>the key named "Start Menu (Classic Start Menu) and /or" Start Menu2 "(XP style Start Menu)<br />
<br />
5. <b>Deleting </b>this key will also eliminate its subkeys, but will have no impact.<br /><br />Note: changes will apply after relogon<div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com0tag:blogger.com,1999:blog-8328333209873344129.post-2844673562204965062011-05-01T17:29:00.000-07:002011-05-01T17:39:12.342-07:00How to: Reset the Visual Studio 2010 Environment Settings<b><u>To reset your Visual Studio settings:</u></b><br>
<br>
1. From the <b>Tools </b>menu, click <b>Import and Export Settings</b>.<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN6bBexIGdWc-RoTjtjQoxIdq4Tc78bO0aqJDdwHm-ig-uPm9rLKEoA9qnqFVXm_5tA2MwkPQj3EAiJS6L010sUdOM0rnWKEQw_MPVo_8AfFlUzWjsNcpFRLIxbsff2SWvUgZWzZclSNs/s1600/restvs1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN6bBexIGdWc-RoTjtjQoxIdq4Tc78bO0aqJDdwHm-ig-uPm9rLKEoA9qnqFVXm_5tA2MwkPQj3EAiJS6L010sUdOM0rnWKEQw_MPVo_8AfFlUzWjsNcpFRLIxbsff2SWvUgZWzZclSNs/s320/restvs1.png" width="228"></a></div><br>
<a href="http://qursaan-howto.blogspot.com/2011/05/how-to-reset-visual-studio-2010.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com3tag:blogger.com,1999:blog-8328333209873344129.post-72034915029758910802011-04-29T14:20:00.000-07:002013-05-12T13:15:14.213-07:00How to: Install Microsoft SQL Server 2008 Step by Step<div dir="ltr" style="text-align: left;" trbidi="on">
<u><b>The system requirements are as follow:</b></u><br>
<ul style="text-align: left;">
<li><b>32-bit systems</b>: Computer with Intel or compatible Pentium III 1 GHz or faster processor (2 GHz or faster is recommended)</li>
<li><b>64-bit systems: </b>Itanium processor or faster. 1 GHz or higher processor</li>
<li><b>Memory:</b> Minimum of 512 MB of RAM (2.048 GB recommended)</li>
<li><b>Storage:</b> At least 2.0 GB of available hard disk space</li>
<li><b>Supported Operating Systems:</b> Windows Server 2008 ; Windows Server 2003 Service Pack 2; Windows Server 2003 Small Business Server R2; Windows Vista; Windows XP Service Pack 2</li>
</ul>
<div>
<br></div>
1. Locate and double-click <b>Setup.exe</b> to begin the installation. The following message will appear on your screen:<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrTjrOPeVPlOpmUz3l4AZIEaRVnq0HqFpdWZ5bkWLJbfJGcFgg54uBZVQDANfWMn0A30OlG1_cU6N4oHD_UPSh9k6bhSA5E_sGN1OEG1gc6oGtOaA1QJ-KgmL75eeJfsWPQSM96ZImD38/s1600/SQL001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="87" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrTjrOPeVPlOpmUz3l4AZIEaRVnq0HqFpdWZ5bkWLJbfJGcFgg54uBZVQDANfWMn0A30OlG1_cU6N4oHD_UPSh9k6bhSA5E_sGN1OEG1gc6oGtOaA1QJ-KgmL75eeJfsWPQSM96ZImD38/s400/SQL001.png" width="400"></a></div>
<br>
</div><a href="http://qursaan-howto.blogspot.com/2011/04/how-to-install-microsoft-sql-server.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com3tag:blogger.com,1999:blog-8328333209873344129.post-25960546535577013972011-04-27T22:51:00.000-07:002014-12-04T08:52:36.744-08:00How to: Hide a User from the Welcome Screen in Windows XP<div dir="ltr" style="text-align: left;" trbidi="on">
To hide a user's account from the welcome screen in Windows XP:<br>
<br>
1. Open Registry Editor.<br>
2. In Registry Editor, navigate to the following registry key:<br>
<div class="wp_syntax" style="background-color: #f9f9f9; border-bottom-color: silver; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: silver; border-left-style: solid; border-left-width: 1px; border-right-color: silver; border-right-style: solid; border-right-width: 1px; border-top-color: silver; border-top-style: solid; border-top-width: 1px; color: #110000; margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: hidden; width: 600px;">
<div class="code" style="padding-bottom: 2px; padding-left: 4px; padding-right: 4px; padding-top: 2px; vertical-align: top;">
<pre class="reg" style="background-attachment: initial; background-clip: initial; background-color: #efefef; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; clear: none; color: black; float: none; font-family: monospace; font-size: 12px; font-weight: normal; line-height: 1.333; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: visible; overflow-y: visible; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; white-space: pre; width: auto;"><span style="color: maroon;">HKEY_LOCAL_MACHINE</span>\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList</pre>
</div>
</div>
3. Create the following entry: <i><span class="Apple-style-span" style="color: #274e13;">Username: REG_DWORD</span></i><br>
(Where Username is the username of the user you want to hide from the Welcome Screen).<br>
4. Assign a value of 0.<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9NhzdkxYsu32Wz4huNUTzdvfGwlJR82Aeg9Rj5Qjm74_XMazPZYhEsZeXlWkD7P3TbmvbmWzbRYZ9psuJL-0hQJfVVZwalhGj1ceMGBzYvWHtpOptrqoGMflxFu8QSZiohfPbiP8CO68/s1600/HidUsers.png" height="125" width="400"></div>
</div><a href="http://qursaan-howto.blogspot.com/2011/04/how-to-hide-user-from-welcome-screen-in.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com0tag:blogger.com,1999:blog-8328333209873344129.post-39335893712230299232011-04-27T13:14:00.000-07:002011-04-27T15:20:16.590-07:00How to: Remove the Blogger Banner<div dir="ltr" style="text-align: left;" trbidi="on"><b>How: </b><br>
To hide the Blogger Navbar :<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimPcgWEcsIBN5HCw3LrmK9pPYgeuKc_8myjiRxusf2GToiY83c_I98aBQ4X077_gEdkazybQgaS3rj0m5Zqa1haPJz4vzPduWd7X3Pk0JAelMTC2gy5qLd9cjEBZmu7wbjfaz3TClPeVw/s1600/blogger1.png"></div><br>
1- <b>Log in</b> to blogger<br>
<br>
2- On your <b>Dashboard</b>, select <b>Layout</b>. This will take you to the Template tab. Click <b>Edit HTML</b>.<br>
Under the Edit Template section you will see you blog's HTML.<br>
<br>
</div><a href="http://qursaan-howto.blogspot.com/2011/04/how-to-remove-blogger-banner.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com1tag:blogger.com,1999:blog-8328333209873344129.post-64735006920069000502011-04-16T04:47:00.000-07:002011-04-27T13:15:03.173-07:00How to: Disable Autoplay of Audio CDs and USB Drives<div dir="ltr" style="text-align: left;" trbidi="on"><b>Why:</b><br>
Almost of <b><span class="Apple-style-span" style="font-weight: normal;"> 'Autorun' Virus are infected your computer when you connected removable storage. So the best way to is to disable autoplay function, until you using a good a antivirus scanning or manually deleted autorun files.</span></b><br>
<b>How:</b><br>
1. To get to the configuration screen for this setting, go to<br>
Start Menu \ Run and type in: <i>gpedit.msc</i><br>
<br>
2. You will see the Group Policy window. You should select<br>
Administrative Templates \ System in the tree view:<br>
<br>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3hLBKKaXRDZmH_A3HB9qFcfi_N1ETCvC8pFHbJqmnvBTuZl-bRpBNJGAjimF5yMLx-tqoKrsghvrOz69JAWHn9oia1xf-lsl0QU1nHbUwVEpq8Dx0Af0Ss5d7zBpeM776xcBxCGC2to0/s1600/grouppol.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3hLBKKaXRDZmH_A3HB9qFcfi_N1ETCvC8pFHbJqmnvBTuZl-bRpBNJGAjimF5yMLx-tqoKrsghvrOz69JAWHn9oia1xf-lsl0QU1nHbUwVEpq8Dx0Af0Ss5d7zBpeM776xcBxCGC2to0/s1600/grouppol.png"></a></div><div class="separator" style="clear: both; text-align: left;"></div></div><a href="http://qursaan-howto.blogspot.com/2011/04/disable-autoplay-of-audio-cds-and-usb.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com0tag:blogger.com,1999:blog-8328333209873344129.post-64719746147928280082011-04-16T04:44:00.000-07:002011-04-27T13:15:28.271-07:00How to: Restore Missing Folders to the Group Policy Editor in Windows XP<div dir="ltr" style="text-align: left;" trbidi="on"><div style="text-align: left;">When you open the Group Policy Editor in Windows XP Professional, some of the categories under Administrative Templates may be missing. For example when you expand Administrative Templates, the System category may be missing. This article provides information on how to restore the missing folders to the Group Policy Editor.</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoU6QP9XZFznwrifgeubHV57EZbRNHKJKx9GNkxFZogrCJNoPBU0Rf9_gg-u5IdwSuqSTKfxHWum2pRIs7mVwev1mdyKnjfXGj6sbx9hTh_9HAD87VPbkh0IS0atMFKEGSZxq32hkCaGk/s1600/gpo-missing-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoU6QP9XZFznwrifgeubHV57EZbRNHKJKx9GNkxFZogrCJNoPBU0Rf9_gg-u5IdwSuqSTKfxHWum2pRIs7mVwev1mdyKnjfXGj6sbx9hTh_9HAD87VPbkh0IS0atMFKEGSZxq32hkCaGk/s1600/gpo-missing-1.png"></a></div><br>
</div><a href="http://qursaan-howto.blogspot.com/2011/04/restore-missing-folders-to-group-policy.html#more"></a><div class="blogger-post-footer">Mahmmoud Mahdi</div>qursaanhttp://www.blogger.com/profile/01704980674241220992noreply@blogger.com0