Saturday, August 31, 2013

Could not load file or assembly 'file:///C:\Program Files\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.

changing in app.config
 
from:
 
<!--<startup>
  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>-->
 
to:
 
<startup useLegacyV2RuntimeActivationPolicy="true">
 
    <supportedRuntime version="v4.0"/>
 
  </startup>

Friday, August 23, 2013

Change mdi parant back color in C#

Here is the code :- 
------------------

Copy and paste this code in form load event.

  foreach (Control c in this.Controls)
            {
                if( c is MdiClient)
                c.BackColor = Color.Red;
            }

Friday, August 9, 2013

How to develop crystal report in windows form c#

how to develop crystal report in window form c#.
here is the link.

http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-stepbystep.htm