Application Development. Business Solutions. Computers. Consulting. Cybersecurity. Information Technology. Software. Technology
Friday, September 6, 2013
Using ODBC 32-bit on 64-bit Operating System
What wrong? It took me couple hours to figure out. Microsoft Access 2007 may not work with other 64-bit driver or program yet. Installed MySQL ODBC 32-bit solve the problem.
On Windows 8.1, there are two ODBC Administrors under Control Panel – Administrative Tools. One for ODBC Datasources 32-bit and one for ODBC Datasources 64-bit. On Windows Server 2008 R2, there is only one reference to ODBC Administrator. This is 64-bit. Where is 32-bit? To add or manage DSN for ODBC 32-bit, you need to call program odbcad32.exe in C:\Windows\SysWOW64\
Hope this help.
Thursday, August 22, 2013
How to access Wamp Server running on Windows 2008 from other computer?
Step 1: Update httpd.conf to add this line
Allow from 192.168.1.0/255.255.255.0 # for LAN
#or
Allow from all # for any computer in the world
Remember to restart Apache server after change the httpd.conf
Step 2: Check Windows Firewall.
- Is the port 80 open?
- Is the Apache Web Server (\wamp\bin\apache\Apache2.4.4\bin\httpd.exe allow to receive the request from other?
Saturday, August 17, 2013
WAMP
WAMP stands for Microsoft Windows operating system, Apache web server, MySQL database, and PHP general-purpose scripting language for server side Web development. Among WAMP server packages, I like WampServer since it easy to instal, have latest version from Apache, MySQL and PHP and it's free. Before you install the WampServer, you need to make sure your computer have:
- Microsoft Visual C++ 2010 run-time. Without Microsoft Visual C++ 2010 run-time, you will see the error message "vcr100.dll missing" when install.
- Microsoft .NET Framework 3.5.1. This fixed the problem 'aestan tray menu has stopped' when you start the WampServer
To install Microsoft Visual C++ 2010 Redistributable Package (x64) ( http://www.microsoft.com/en-us/download/details.aspx?id=14632 )
On Windows 2008R2 server, make sure .NET Framework 3.5.1 enable. It disable by default. ( http://social.technet.microsoft.com/Forums/windowsserver/en-US/ac1bf719-0a88-4b5d-be98-395f2623e805/what-version-of-net-framework-comes-with-windows-2008-r2 )
Friday, July 12, 2013
Failed to load libGL.so
Install 'Free Implementation of the OpenGL API-GLX development files' (libgl1-mesa-dev) package from Ubuntu Software Center
or type this command at terminal
sudo apt-get install libgl1-mesa-dev
Credit: http://learnedstuffs.wordpress.com/2012/07/17/fixing-ubuntu-error-failed-to-load-libgl-so/
Tuesday, July 9, 2013
C# Questions and Answers – Part 3
An anonymous class is a class that does not have a name. An anonymous class created by using the new keyword and and a pair of brace defining the fields and values.
How to prevent a calculation overflowed in C#?
Use checked keyword. For example: checked (operand1 + operand2); checked and unchecked keyworks are for integer arithmetic such as int and long
What is a partial class?
When we split a number of methods, fields, and constructors of a class into many files, we can use partial keyword.
Previous posts:
C# Questions and Answers
C# Questions and Answers – Part 2
C# Questions and Answers – Part 3
Sunday, June 30, 2013
Install Windows 8.1 Preview on VirtualBox
“Your PC need to restart, Please hold down the power button Error Code : 0x000000C4”.
Here is a solution I found at https://www.virtualbox.org/ticket/10792:
Open terminal windows and execute this command:
VBoxManage setextradata [vmname] VBoxInternal/CPUM/CMPXCHG16B 1
where [vmname] is your Windows 8.1 virtual machine name.
Here is my screenshot: Install Visual Studio 2013 Preview on Windows 8.1 Preview
Update on July 10: You need to the Oracle VirtualBox 4.2.16 or later to install VirtualBox Addition in order to make the full screen, shared folder and other features.
Monday, June 24, 2013
Notes on MVC Music Part 7 Tutorial
‘CompareAttribute’ is an ambiguous reference between ‘System.ComponentModel.DataAnnotations.CompareAttribute’ and ‘System.Web.Mvc.CompareAttribute’
Here is the solution:
Remove the reference using System.Web.Mvc;
from MvcMusicStore\Models\AccountModels.cs
How to Install Keka on macOS
Download latest version from https://www.keka.io/en/ Copy the MD5 hash value from Keka website to compare later (MD5: 8729f9d08d10293fa1ee65...
-
Extract from https://support.apple.com/en-vn/guide/mac-help/mchlp1406/mac for reference: On your Mac, choose Apple menu > System Settin...
-
Download new version at https://www.libreoffice.org/download/download-libreoffice/ Click the info link ( https://download.documentfoundation...
-
Download latest version from https://www.keka.io/en/ Copy the MD5 hash value from Keka website to compare later (MD5: 8729f9d08d10293fa1ee65...

