Sunday, January 2, 2011

عن حادثة الاسكندرية أحدثكم

السلام عليكم و رحمة الله 

أحزنني كثيرا ما حدث في كنيسة القديسين (مثنى قديس) في الاسكندرية - مصر و ما خلف من ضحايا مسلمين و اقباط و اتقدم لهم بخالص الاسى و التعازي.
و لكن ما أحزنني اكثر هو انقياد البعض خلف القلة المندسة التي تريد اشعال الفتن و اغفال الناس عن العدو الحقيقي.

لاوضح وجهة نظري اريد ان اسال
1- ان ما حدث شنيع بمعنى الكلمة و لا يقبله عقل و لا دين و لكن لماذا هذه الحملة التي الشرسة التي تؤكد على وحدة الوطن ووجود ايدي خفية تريد زعزعة امنه و استقراره ؟
لنوافقكم الرأي بان هناك ايدي خفية ... هل كانت هذه الايدي هي من اغرقت عبارة السلام و على متنها اكثر من الف مصري مسلم و قبطي 
و لنتذكر الصور سويا 


و لنتذكر ايضا اكبر كارثة في عهد مبارك 
و هي قطار الصعيد الذي راح ضحيته اكثر من ثلاثة الاف مصري اقول ايضا مسلم و قبطي 
و هاهي الصور 










و ياتي النظام اليوم ليخرج لنا بالاغاني و الاناشيد و اغضب و لا تخطئ ... لماذا؟
الأن هذا الحدث يكشف ان النظام ضعيف غير قادر على حماية الاقلية القبطية و بالتالي تتسلط الانظار عليه و ربما تطالب برقابة الانتخابات لضعفه 
ام لتبرئة صورته العالمية و العالمية فقط امام الخارج لانه طالما كان لا يابه بصورته الداخلية في اذهاننا جميعا
لقد اعتاد النظام الاستخفاف بعقولنا في اكثر من حادثة و من موضع و انسابها لمجنون او مختل عقلي او يترك الجاني حرا طليقا ممدا يده له بالمساعدة على الهرب 
ان المتهم الاول و الاخير في هذه الحادثة هو النظام الحالي عامة ووزارة الداخلية خاصة ان لم يكن بالتخطيط و التنفيذ لاغفال الناس عما حدث في الانتخابات - طبقا لنظرية المؤامرة - فبالاهمال و التكاسل 
لقد اصبحت الدولة بجميع اجهزتها تحرس مبارك و تحولت وزارة الداخلية من حماية المواطن و حقوقه لقمع اي محاولة لزعزعة امن و استقرار الحاكم .
هل اصبح بالامكان الدخول بسيارة مفخخة في مكان مثل هذا. هل أصبح امننا ضعيفا لهذا الحد 
هل كان انشغال وزارة الداخلية بتامين مباراة الاهلي و الزمالك اهم من تامينها ضد التفجير و التفخيخ.
أسد علي وفي الحروب نعامة *** ربداء تجفل من صفير الصافر
هكذا اصبح حال وزارة الداخلية تستأسد على المواطنين و تعجز عن مهامها الحقيقة 
ان العدو الحقيقي هو من اوصلنا لهذا الحال من بؤس و شقاء و معدلات فقر و امراض و خصخة و خلافه 
و اكثر من ذلك هو الاستخفاف الدائم بالشعب و كانه قطيع غنم يورث ليأتوا امام الناس جميعا بعد تداول الفضائيات و القنوات الاخبارية و الجميع تزوير الانتخابات و يؤكدوا على نزاهتها و ثقة الشعب في حكومة فشلت لاكثر من 28 عاما في توفير حياة كريمة للمواطن او احترام آدميته و عقله و حقوقه
لست ضد الحزن و الغضب من اجل ما حدث بل قد أكون أكثركم غضبا و لكن ما اريد أن نرى العدو الحقيقي و ان نرى الامور على حقيقتها

أتمنى ان تصلكم وجهة نظري 
شكرا.

Tuesday, December 28, 2010

CRM 4.0 Recycle Bin

CRM 4.0 doesn't support the undelete / restore function, once you delete the record, it marks it as deleted and delete it physically in the next sweep.

CRM supports Activate/ De-activate to cover this but I faced a requirements regarding this, having a recycle bin in CRM 4.0 for the deleted and still in the DB records,



so said why not, let's have it.



please find the first trial on code plex soon it is under this link: http://crmrecycle.codeplex.com/

Tuesday, December 21, 2010

CRM 2011 Launch


I have installed CRM 2011 beta and liked it very much with the new enhancements and features.

dying to see it realeased in January 20th, 2011



enjoy ;)

Sunday, November 7, 2010

Microsoft Outlook is not set as the default mail client?


Today I install CRM Outlook on my Vista(with Outlook 2007), it gives me a strange error:"Microsoft Outlook is not set as the default mail client. Please set Microsoft Outlook as the default mail client from Control Panel\Internet Options\Programs, and then re-run the check."

I'm sure the Outlook is my default mail client, just in case I reset it again. but the error still exist! I'm aware of CRM always query Registry to get information in such cases, so open the default application key: HKLM\SOFTWARE\Clients\Mail, the Default value is Windows Live Mail, so change it to Microsoft Outlook, the error gone!

Thanks Jim
 

Saturday, June 19, 2010

Starting a Workflow from an Event Receiver - SharePoint 2007

Out of the Box there are only a few options to start a (custom) workflow. E.g. when an item is created or changed. This means that there are a lot of situations that a workflow is fired where it is not needed (often a workflow only needs to be started if a field has a specific value). Therefore we can write an event receiver to time better when a workflow is started. Below you find the code to start a workflow from your event receiver.

[code:c#]

public override void ItemUpdated(SPItemEventProperties properties)

{

if(YourCondition)

{

SPList parentList = properties.ListItem.ParentList;

SPWorkflowAssociation associationTemplate =

parentList.WorkflowAssociations.GetAssociationByName("Workflow Name",

new CultureInfo

(Convert.ToInt32(parentList.ParentWeb.RegionalSettings.LocaleId)));

SPSite siteCollection = properties.ListItem.ParentList.ParentWeb.Site;

siteCollection.WorkflowManager.StartWorkflow(properties.ListItem,

associationTemplate, String.Empty);

}

}

[/code]

Tuesday, June 15, 2010

CRM 4.0 Network Resource Image Control

As the name suggest this is an on-premise / VPN solution so consider if you need this to work across the web / IFD. The idea is to utilize a simple network share together with VB 6.0 Common Control Open Dialog which can be summoned using JavaScript. The nice thing about the Dialog is that it enables you to see files as thumbnails, set the initial directory and return the selected image path into a text attribute. That’s pretty much what you need to make this work.





You can add an ISV toolbar button to pop the dialog but I find that this solution works hand in glove with the text image button post I wrote a while ago.
Here is what is did in a nut shell:
Create a Add a new text attribute. I used the pager attribute on the contact form for the sake of this example.
Add a new Fixed Field 1:1 section to the contact form. This is done so the IFRAME
that displays the image will occupy half the screen.


Then add a the image IFRAME and pointed it to a default blank.jpg image.


Arrange the form attributes as you like … here is what I did.



Set the path attribute to read-only so selection is possible only when using the dialog.
Add the following code to the contact on load event box.

And Finally create a network share anywhere on the server and set appropriate user permission.



That’s it … pretty simple ah … feel free to comment.