Sunday, December 24, 2006

hnakol l7ma (we'll eat meat)

I DO HATE JAVA

Really, I can not express my hatred to JAVA....

I won't say my reasons... because they are a lot and a lot and who works in Streaming Server project knows how this language really really ugly. and who compares it with C# the most kind word to say is "Shut up". To develop this project I needed to open JDeveloper release 3 and NetBeans 5.5 damn both… no useful documentation… etc really ugly language if you see it’s strong lmlmlmaa it’s ok for you, but it’s more than ugly :@

Thanks Dr. Hossam you made me formally hate JAVA …

Tuesday, December 19, 2006

COM+ task and Microsoft bug

Yesterday, we (Hanaa and I) handed COM+ task, and got the full mark (ALL Thanks to ALLAH).

COM+ task was very easy to develop no need for any types of skills just know how to talk to database and have a soul to solve damn exceptions.

While working in this task, I solved a nice exception reported as a bug by Microsoft in Visual Studio .NET 2003, but they forgot to solve it in Visual Studio 2005 as we were working on Visual Studio 2005 :D

Bug is: Cannot copy assembly [Referenced Assembly] to file [Current Project Output Folder]\bin\Debug\Release\[Referenced Assembly].dll. The process cannot access the file because it is being used by another process.

You can say the solution is to kill your application process from task manager, I am sorry for saying you won’t find it there :D

Their solution is, to solve this bug you have to call Microsoft Technical Support and install a hotfix …

No, you do not need that at all…. all you need is to kill process called “dllhost” from your task manager…. sure you do not need to make that each time you compile your application, so in application close event call this function OnCloseDo();

private void OnCloseDo()
{
Process[] dllHostProcesses = Process.GetProcessesByName("dllhost");
foreach (Process p in dllHostProcesses)
p.Kill();
}

For more details about this bug http://support.microsoft.com/kb/887818

I am going to write an article about how to COM+ , After ALLAH willing ;)

Happy, fixing ;-)

Saturday, December 09, 2006

Writing to blog failed!!

Yaaaaaaaaaaaaaaah, It’s so far Thursday, November 09, 2006 it’s the date of the last post before this.

Really, not finding something to write is very difficult and the more difficult is to write about something all people see it was/is not like you see, i.e. Fayed Trip and because of this I swear I won’t trip again with my faculty or in another meaning with my class. So I can not write about that at the same time, Ahmed Essawy wrote about that in another way!!!
So, this post like (what others want, if you want me to write on specific thing comment what it is) or survey, I want to write about my class one one, i.e.

Name: xyz
Desc.:lmlmlaaa ( not more than 2 lines)

What’s your opinion, with explanation (in all cases, please)?