Saturday, November 15, 2014

Solve: The import android.support.v7 cannot be resolved

The import android.support.v7 cannot be resolved
Error window

Solution:
Add Android Support Library "android-support-v7-appcompat.jar"
Follow the following steps:

Tuesday, July 29, 2014

Solve: Your project references the latest version of Entity Framework (for MySQL) in Visual Studio 2013

The error message while trying to create a ADO.net Entity Data Model ( Entity Framework 6 ) for MySql Database in Microsoft Visual Studio 2013

"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."

Error Window


Solution: 

Sunday, July 21, 2013

How to: Upload WebSite using FTP account

To upload your site using ftp account:
1. Go to Hosting control panel and access your account
2.  From host control panel go to "FTP Account"


3. Create new FTP account

Wednesday, June 19, 2013

Solve: Unexpected error writing metadata to file 'App.exe' - Not enough storage is available to complete this operation

If you get an error 
"Unexpected error writing metadata to file 'C:\Projects.2012\obj\x86\Debug\QurSaan.exe' -- 'Not enough storage is available to complete this operation."
after build your project under Visual Studio 2010.

Solution:
1. Clean Solution
2. Close Visual Studio 2010.
3. Delete all Files under C:\Projects.2012\obj\x86\Debug\ Directory.
4. Start Visual Studio 2010 and Build Solution.

Thursday, December 27, 2012

Solve: Error while displaying crystal report using visual studio 2010, 2012, 2013

The error message while trying to display crystal report using visual studio 2010
System.IO.FileNotFoundException was unhandled
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. The system cannot find the file specified.
 Source=mscorlib
 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
 FusionLog==== Pre-bind state information ===
 LOG: User = WKST04\GARYB
 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
 LOG: Appbase = file:///D:/S_and_G/LMS_DotNet/LMS_Solution/LMS/bin/Debug/
 LOG: Initial PrivatePath = NULL
 Calling assembly : (Unknown).

Solution: 

Sunday, December 2, 2012

How to: Check if another instance of the application is already running

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.

Solution:


write at your Main method the following code to quit the method which will kill the currently loading process instantly.

if (System.Diagnostics.Process.GetProcessesByName(
 System.IO.Path.GetFileNameWithoutExtension(
  System.Reflection.Assembly.GetEntryAssembly().Location)).Length > 1)
 {
  MessageBox.Show("Application is already running");
  System.Diagnostics.Process.GetCurrentProcess().Kill();