.comment-link {margin-left:.6em;}

.code

.. Hello Earthling .. \o/ :)

Where are the Merge Modules for Crystal Reports?
Tuesday, June 23, 2009

Long time ago in a galaxy far far away, crystalreports were acquired by something called businessobjects! And some time back BO got acquired by SAP. If you now search for some stuff related to crystal reports and you get links to the businessobjects' website and you try to open them, you are going to be redirected to some page of sap's website. And SAP's website is awefully intimidating (atleast for me). Their search sucks! There crystalreports page is not at all developer-friendly. And the experience gets more frustrating if your internet speed is fluctuating.

So anyway, the thing is that after a long time I have returned to doing some .net development, as its progressing I had to do some crystal reports development also. Now I wanted to deploy the crystal reports to the server where my website is deployed. I'm using Visual Studio 2005 & the crystal reports that comes with it. So in it the cr version is "10.2.3600.0". Just before declaring that both bing and google sucks at searches (its not there fault I guess?), sap's cr forums revealed this page which is *the* page for finding out various deployment scenerios. As it turned out, the setup package that I wanted to create, it was already there on my hard drive installed/placed along visual studio 2005, in the form of file named "CRRedist2005_x86.msi". This file is also mentioned on the link I mentioned earlier. I hope that page helps you too in your cr deployments!


Killing All IE Processes
Wednesday, June 03, 2009

During asp.net development its possible that a lot of internet explorer's processes are left running, which you can see from the task manager. This happens when you are starting and closing the browser many times for testing your web application. Some scenerios keep the browsing open and the browser process doesnt shutdown when you close the browser to go back to the debug mode of visual studio (mayeb due to some javascript scripting activities, I noticed because I write a lot of javascript). And I dont restart my computer for days, I only put it to sleep when I am not working on it, so the IE processes just keep on piling up. So sooner or later I have to goto the task manager and kill them all which takes time. So I wrote a little c# code to do this for me, I hope this helps someone else too:

using System;
using System.Collections.Generic;
using System.Text;

using System.Diagnostics;


namespace killIE
{
  class Program
  {
    static void Main(string[] args)
    {
      if (args.Length > 0)
      {
        if (args[0].ToLower() == "/l" || args[0].ToLower() == "-l")
          new Program(). listprocesses();
        else if (args[0].ToLower() == "/k" || args[0].ToLower() == "-k")
        {
          string goodbyemessage = "Quiting. Have a good day.";
          Console.WriteLine("finding all IE processes ...");
          Process[] ieprocesses = Process.GetProcessesByName("iexplore");
          Console.WriteLine("processes found {0}", ieprocesses.Length);
          if (ieprocesses.Length == 0)
          {
            Console.WriteLine("no one to kill. {0}", goodbyemessage);
            return;

          }
          Console.WriteLine("killing them all ...");
          foreach (Process ieproc in ieprocesses)
          {
            Console.WriteLine("killing {0} ..", ieproc.Id);
            ieproc.Kill();
          }

          Console.WriteLine(goodbyemessage);

        }
      }

    }
    void listprocesses()
    {
      Process[] ieprocesses = Process.GetProcessesByName("iexplore");
      foreach (Process p in ieprocesses)
      {
        Console.WriteLine(p.Id);

      }

    }
  }
}

You can pass /l for the list of IE processes and /k to kill all of them.






Blogs:

MSDN Blogs
Joel Pobar
Don Syme

Friends:
Adeel
Aqeel
#Fahad
Haroon
Omer
Muhammad Ali
Lahore Food Blog

Links:
Rotor
CodeGuru
Mozilla
OpenSourceNokia
Tech Blog

Languages:
IronPython
F#

Archives

June 2004   July 2004   August 2004   September 2004   October 2004   November 2004   December 2004   February 2005   April 2005   June 2005   July 2005   September 2005   October 2005   November 2005   June 2007   December 2007   January 2008   March 2008   April 2008   June 2008   October 2008   February 2009   May 2009   June 2009   July 2009   August 2009   March 2011   June 2011   July 2011   September 2011   October 2011   November 2011   December 2012   May 2013   October 2013   May 2014   March 2015   July 2015   August 2015   December 2015   March 2016   July 2016   October 2016   November 2016  

This page is powered by Blogger. Isn't yours?