الأحد، 2 أغسطس 2015

How to add arabic language in my android applicaiton

Hi all
this code will Set Locale programatically in Android studio:


Locale locale = new Locale("ru");
Locale.setDefault(locale);
Configuration config = new Configuration();
config.locale = locale;
getBaseContext().getResources().updateConfiguration(config,
      getBaseContext().getResources().getDisplayMetrics());

And the available languages is:
  1. English, US (en_US)                   1.1
  2. German, Germany (de_DE)        1.1
  3. Chinese, PRC (zh_CN)              1.5
  4. Chinese, Taiwan (zh_TW)          1.5
  5. Czech, Czech Republic (cs_CZ) 1.5
  6. Dutch, Belgium (nl_BE)              1.5
  7. Dutch, Netherlands (nl_NL)        1.5
  8. English, Australia (en_AU)          1.5
  9. English, Britain (en_GB)              1.5
  10. English, Canada (en_CA)           1.5
  11. English, New Zealand (en_NZ)   1.5
  12. English, Singapore(en_SG)         1.5
  13. French, Belgium (fr_BE)             1.5
  14. French, Canada (fr_CA)             1.5
  15. French, France (fr_FR)               1.5
  16. French, Switzerland (fr_CH)       1.5
  17. German, Austria (de_AT)           1.5
  18. German, Liechtenstein (de_LI)    1.5
  19. German, Switzerland (de_CH)    1.5
  20. Italian, Italy (it_IT)                      1.5
  21. Italian, Switzerland (it_CH)         1.5
  22. Japanese (ja_JP)                        1.5
  23. Korean (ko_KR)                        1.5
  24. Polish (pl_PL)                            1.5
  25. Russian (ru_RU)                         1.5
  26. Spanish (es_ES)                         1.5
  27. Arabic, Egypt (ar_EG)                2.3
  28. Arabic, Israel (ar_IL)                  2.3
  29. Bulgarian, Bulgaria (bg_BG)       2.3
  30. Catalan, Spain (ca_ES)               2.3
  31. Croatian, Croatia (hr_HR)          2.3
  32. Danish, Denmark(da_DK)          2.3
  33. English, India (en_IN)                 2.3
  34. English, Ireland (en_IE)               2.3
  35. English, Zimbabwe (en_ZA)        2.3
  36. Finnish, Finland (fi_FI)                2.3
  37. Greek, Greece (el_GR)              2.3
  38. Hebrew, Israel (iw_IL)*             2.3
  39. Hindi, India (hi_IN)                    2.3
  40. Hungarian, Hungary (hu_HU)      2.3
  41. Indonesian, Indonesia (in_ID)*   2.3
  42. Latvian, Latvia (lv_LV)               2.3
  43. Lithuanian, Lithuania (lt_LT)        2.3
  44. Norwegian-Bokmol, Norway(nb_NO) 2.3
  45. Portuguese, Brazil (pt_BR)         2.3
  46. Portuguese, Portugal (pt_PT)      2.3
  47. Romanian, Romania (ro_RO)      2.3
  48. Serbian (sr_RS)                          2.3
  49. Slovak, Slovakia (sk_SK)          2.3
  50. Slovenian, Slovenia (sl_SI)          2.3
  51. Spanish, US (es_US)                  2.3
  52. Swedish, Sweden (sv_SE)          2.3
  53. Tagalog, Philippines (tl_PH)        2.3
  54. Thai, Thailand (th_TH)                2.3
  55. Turkish, Turkey (tr_TR)              2.3
  56. Ukrainian, Ukraine (uk_UA)       2.3
  57. Vietnamese, Vietnam (vi_VN)    2.3


GOOD LUCK ;)

الخميس، 30 يوليو 2015

How to Extract URL from Hyperlink in Excel

Microsoft Excel has a built in function called HYPERLINK() which allows you to convert a link location (URL) and friendly name (anchor text) into a hyperlinked cell that you can click on to open the link in a web browser window. However, Excel does not have a default function that allows you to do the reverse of that—to extract the URL from a hyperlinked cell. In order to do this, we need to get our hands dirty with some VBA (Visual Basic for Applications) code. Don’t worry, it isn’t too complicated.
  1. Hold down Alt + F11 Key to Open the Microsoft Visual Basic for Applications window
  2. Go to Insert -> Module
  3. Paste the following into the Module Window:
    Function GetURL(pWorkRng As Range) As String
    GetURL = pWorkRng.Hyperlinks(1).Address
    End Function
  4. Now use the function GetURL(A1) to extract the URL from the hyperlinked cell.

Good Luck ;)

 

الثلاثاء، 28 يوليو 2015

الاثنين، 27 يوليو 2015

الدرس (3) - دورة بناء الانظمة البرمجية وتطبيقات قواعد البيانات باستخدام Visual Studio

بسم الله الرحمن الرحيم


دورة بناء الانظمة البرمجية وتطبيقات قواعد البيانات باستخدام

2012 Visual Studio


رابط الدرس:

الجزء الاول:


الجزء الثاني:


Syllabus:

Introduction to Programming
Visual Studio 2012 Intro. To programming
Four Stages in a program
Read Input
Validate Input
Process Input
Output Result
When Developing a program in the real world, there are 6 steps
1) Analyze the problem
2) Plan a solution
3) Design an interface
4) Write the code
5) Test and debug
6) Document the program
Developing a User-Interface 
Developing a Visual Basic & C# Program
Programming Layer Model
New Project
Parts of the IDE:
Menu Bar – Has menus such as:  File, Edit, View, Window, Project, Data, and Debug.
Toolbar – Holds buttons that perform common controls.
Document Window – Currently holding the Form Window.
Form Window – What your VB program will look like when you open it.
Properties Window – Used to change how objects look and react.
Solution Explorer – Shows files associated with the program.
Toolbox – Contains controls to put on your form.
The Windows Form

الدرس (2) - دورة بناء الانظمة البرمجية وتطبيقات قواعد البيانات باستخدام Visual Studio

بسم الله الرحمن الرحيم


دورة بناء الانظمة البرمجية وتطبيقات قواعد البيانات باستخدام

2012 Visual Studio


رابط الدرس:



Syllabus:

Introduction to .NET Framework
What Is .NET
Framework, Languages, And Tools
ASP.NET
Web Forms
Web Services
Common Language Runtime
Languages provided by MS
VB, C++, C#, J#, JScript
Third-parties are building
APL, COBOL, Pascal, Eiffel, Haskell, ML, Oberon, Perl, Python, Scheme, Smalltalk…
ASP.NET Web Forms
ASP.NET Web Services
Visual Studio.NET

الأربعاء، 24 يونيو 2015

الدرس (1) - دورة بناء الانظمة البرمجية وتطبيقات قواعد البيانات باستخدام Visual Studio

بسم الله الرحمن الرحيم


دورة بناء الانظمة البرمجية وتطبيقات قواعد البيانات باستخدام

2012 Visual Studio


رابط الدرس:

 

Syllabus:

Introduction To SQL Server Versions & SQL Server Installation
Top Reasons to Choose SQL Server
High performance and scalability
Increased availability
Improved security
Top Reasons to Choose SQL Server
Immediate recoverability
Reliable distributed data and transactions
Server-based processing
The Future
SQL Server Versions
SQL Server 2012 Primary Editions
SQL Server 2012 Breadth Editions
مميزات إصدارات SQL Server
SQL Server 2012 Recommended Hardware Specifications
SQL Server 2012 Minimum Software Requirements
Before Installation SQL Server 2012
SQL Server Instances
Service Accounts
Installation of SQL Server 2012
After Installation SQL Server 2012

مقدمة - دورة بناء الانظمة البرمجية وتطبيقات قواعد البيانات باستخدام Visual Studio


بسم الله الرحمن الرحيم


دورة بناء الانظمة البرمجية وتطبيقات قواعد البيانات باستخدام

2012 Visual Studio


استكمالا للدورة السابقة "دورة تحليل وتصميم وبناء أنظمة قواعد البيانات باستخدام SQL Server" اقمت دورة اخرى خاصة ببناء الانظمة البرمجية وتطبيقات قواعد البيانات باستخدام Visual Studio لذلك اتمنى متابعتها على قناتي مع تمنايتي لكم بالموفقية.