Sunday, April 17, 2016

Ta hãy xin cho được lòng khó khăn.

Mỗi lần đọc kinh Mân Côi, đến mầu nhiệm thứ ba mùa Vui: “Đức Bà sinh Đức Chúa Giêsu nơi hang đá. Ta hãy xin cho được lòng khó khăn”, tôi thường đọc khác đi.

Đức Bà sinh Đức Chúa Giêsu nơi hang đá. Ta hãy xin cho được lòng khó nghèo”. “Khó khăn” khác với “Khó nghèo”.

“Khó khăn” có nghĩa là ta khó chịu với người chung quanh, không dễ dãi với những yêu cầu tầm thường đơn giản, liên hệ với người khác. Trong liên hệ đời sống hàng ngày với người chung quanh, ta không chấp nhận người khác, đòi hỏi người khác phải như thế này, thế kia. Ta luôn luôn nói "không" với mọi việc. Cha mẹ nhờ rửa chén, ta không làm, nhăn nhó. Anh chị em mượn vật dụng, ta không cho mượn vì ta không thích.

“Khó nghèo” là mình sống đơn sơ, không đòi hỏi, biết chấp nhận những gì mang đang có. Chấp nhận những “khó khăn” đến với chúng ta trong cuộc sống.

Phúc cho ai có tâm hồn nghèo khó, vì Nước Trời là của họ” (Mt 5:3)

Sunday, March 13, 2016

How to disable Adobe Flash in FireFox, Google Chrome, Safari and Internet Explorer

Adobe Flash is a nice product and essential tool to surf the web. However, it have big security issues recently. Many security experts recommend not install it. I cannot get rid of Adobe Flash since sometime I need it. So, I make a change to browser to enable them on demand.

Firefox: Type "about:addons" on address bar or Ctrl-Shift-A to manage Add-ons and set "Shockwave Flash to "Ask to Activate"

Google Chrome: Type "chrome://plugins/" on address bar



Safari: Go to References -> Security -> Click on "Plug-in Settings..." next to "Internet Plug-in" check box.

Internet Explorer: Internet Options -> Program -> "Manage Add-on" button


Monday, February 8, 2016

“Chúa ở cùng anh chị em - The Lord be with you”

Đầu năm khai bút, mượn lời chào, lời mời gọi lúc bắt đầu Thánh Lễ, Phúc Âm và kinh Tiền Tụng để nói lên lời chúc của mình đến với mọi người nhân dịp đầu năm.

Tại sao vậy?

Vì khi Thiên Chúa ở cùng chúng ta, chúng ta có hạnh phúc, bình an, sức khoẻ. Từ bình an, hạnh phúc,và sức khoẻ, dẫn đến thành công, tiền bạc, địa vị, ... nói chung là tất cả.

Nhưng Yavê ở với Yuse, và ông thật là người đắc thời. Ông được ở trong nhà người Aicập chủ. 3 Chủ ông nghiệm thấy là có Yavê ở với ông, và mọi sự ông tra tay làm, Yavê đều cho được việc. 4 Yuse được nghĩa với chủ, và được hầu hạ trực tiếp bên chủ. Chủ đã đặt ông làm quản gia nhà mình và có gì thì nhất nhất đều trao phó tay ông. 5 Từ lúc chủ đặt ông làm quản gia nhà chủ, trên tất cả những gì chủ có, thì Yavê đã chúc lành cho nhà người Aicập, vì Yuse, và phúc lành của Yavê đã đến cho tất cả những gì người ấy có, trong nhà cũng như ngoài đồng.” (Khởi Nguyên, 39:2-5, bản dịch của linh mục Nguyễn Thế Thuấn, dcct)

Samuel đã lớn lên và Yavê ở với ông. Người không để rơi xuống đất một lời nào Người đã phán với ông.” (1 Samuel, 3:19, bản dịch của linh mục Nguyễn Thế Thuấn, dcct)

Và Saul sợ Đavit, vì Yavê ở với Đavit và đã rời khỏi Saul.” (1 Samuel, 18:12)

Và Đavit đã thành công mỗi khi xuất chinh, vì có Yavê ở với ông.” (1 Samuel, 18:14)

Cho nên Yavê đã ở với ông: ông đã thành công trong mọi sự ông tra tay làm; ” (2 Các Vua 18:7)

Các tổ phụ, vì ghen tương, đã bán Yuse sang Ai Cập. Và Thiên Chúa đã ở với ông,  và đã kéo ông khỏi mọi nỗi gian truân, và cho ông được sủng mộ và khôn ngoan trước mặt Pharaô vua Ai Cập; và nhà vua đã đặt ông làm tể tướng trên Ai Cập, cùng cả triều đình nhà vua.” (Công Vụ Các Tông Đồ 7:9-10)

Sunday, January 31, 2016

New Year - Old Resolution

Instead of making a new resolution for this new year, I keep continue my own resolutions from the past few years.
  1. Practice what Pope Francis's advice:  Take care my spiritual life, my family and myself. (2015)
  2. Slow down. Why hurry? (2014)
  3. Keep It Simple. Keep It Short (2012)

Thursday, December 31, 2015

My Notes on Microsoft Access

How to open Microsoft Access file in design mode?
Double-clicking the .mdb file while holding the shift key

How to show Navigation Pane?
Press F11
or
File -> Options -> Current Database -> Check the check box "Display Navigation Pane"

How to show these tabs: Create, External data, and Database Tools?
File -> Options -> Current Database -> Check the check box 'Allow Full Menus' in 'Ribbon and Toolbar Options' area

How to show the item menu when right click on it on Navigation Pane?
File -> Option -> Current Database ->  Check both "Allow Default Shortcut Menus" and "Allow Built-in Toolbars"

How to change the View?
On Ribbon select the Home tab and View
or
click View on Quick Access toolbar

How to switch between codes and form?
Press ALT F11

Link table manager:
Use file DSN file
http://office.microsoft.com/en-us/access-help/use-the-upsizing-wizard-HP005273009.aspx

How do I view the SQL for EXISTING queries and edit it in Access?
http://www.gcflearnfree.org/access2013
http://office.microsoft.com/en-us/access-help/introduction-to-queries-HA102749599.aspx
http://office.microsoft.com/en-us/access-help/view-modify-or-copy-a-query-s-sql-statement-mdb-HP005188056.aspx

How to create new file DSN?
Control Panel -> System and Security -> Administrative Tools -> Data Sources (ODBC)
Select "File DSN" and click on "Add" button
Select "SQL Server" on "Create New Data Source" and click "Finish" button
Continue to specify SQL Server and database to connect

Office 2013 developer training (Module 21)
http://dev.office.com/training

Unable to view hidden objects in Microsoft Access 2007
http://answers.microsoft.com/en-us/office/forum/office_2007-access/unable-to-view-hidden-objects-in-microsoft-access/

How to toggle between tabs in Access

http://answers.microsoft.com/en-us/office/forum/office_2007-access/how-to-toggle-between-tabs-in-access/c955f3e0-4ad0-46ca-bbfd-0a0713537c42
Ctrl+F6 will switch between all open tabs (or windows) in the database, regardless of type.

How to view documents in tab
Change Document Windows Option to "Tab Documents" using File -> Privacy Options

Sub-Forms and Sub-Reports

http://www.functionx.com/access/topics/sfsr.htm

Sunday, November 8, 2015

Visual Basic 6 on Windows 8

In case you need to support and maintain Visual Basic 6 application on Windows 7, Windows 8, ...:
  1. Open command windows as administrator 
  2. Create a zero byte file called MSJAVA.DLL in C:\Windows. (Note: This trick does not work with Windows 10. Need to copy a real copy MSJAVA.DLL to C:\Windows\SysWOW64). Read more: http://www.fortypoundhead.com/showcontent.asp?artid=23993 
  3. "robocopy \WindowsXP\System32 \Windows\System32 java* " (These files from Windows XP system)
  4. "robocopy \WindowsXP\System32 \Windows\System32 msjava*"  
  5. Run setup as administrator from the VB6 or Visual Studio 6 installation media 
  6. On compatibility, select "Run program without help" 
  7. Enter product key and hit next until option list. Choose CUSTOM. 
  8. Do NOT select Data Access (Otherwise you cannot install Visual Studio 6 SP 6 later).
  9. The install will go straight through and will request a restart of windows 
  10. After a restart, start your Visual Basic and confirm all works well, advised to set the program to run in administrative mode so it can write to areas of the registry 
  11. Close it down and install the Visual Studio 6 Service Pack 6 components by right click on SetupSP6.exe to run as administrator) 
  12. Once installed, restart VB6 and check the help about box to confirm you see SP6 installed 

Source: 
http://www.fortypoundhead.com/showcontent.asp?artid=23993 http://blogs.msdn.com/b/pareshj/archive/2013/07/16/visual-basic-6-on-windows-8.aspx

Other readings:
VB6: David Platt’s Inside Pitch 
http://blogs.msdn.com/b/msdnmagazine/archive/2014/06/05/10531518.aspx 

Bring back Classic Visual Basic, an improved version of VB6 
http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3440221-bring-back-classic-visual-basic-an-improved-versi 

Support Statement for Visual Basic 6.0 on Windows Vista, Windows Server 2008, Windows 7, Windows 8 and Windows 8.1
Update: November 2012
http://msdn.microsoft.com/en-us/vstudio/ms788708 

The Silent Majority: Why Visual Basic 6 Still Thrives 
http://msdn.microsoft.com/en-us/magazine/jj133828.aspx 

Installing Visual Basic/Studio 6 on Windows 10
http://blog.danbrust.net/2015/09/14/installing-visual-basic-studio-6-on-windows-10/

Sunday, October 25, 2015

Month of the Holy Rosary

October is the month of the Holy Rosary. I learn how to say a Rosary from my Grandmother when I lived with her. We used to say a Rosary in our family every night or before the Mass at the Church. When I was young, I thought it was a long time to say a Rosary. But it's actually took only 15 minutes. There was a time I did not say a Rosary. I thought saying a Rosary was out of fashion. Reading Bible is a good way.

Later, in my life, everytime I felt desperate, or worry, or sad, or helpless, or anxious I said a Rosary. The first benefit I received immediately is a peace. Both of reading Bible and saying Rosary helped me calm and gave me a hope.

The Rosary has accompanied me in moments of joy and in moments of difficulty. To it I have entrusted any number of concerns; in it I have always found comfort.” (St. John Paul II, Rosarium Virginis Mariae, http://w2.vatican.va/content/john-paul-ii/en/apost_letters/2002/documents/hf_jp-ii_apl_20021016_rosarium-virginis-mariae.html