Google Book Search in C#: A step by step walk-through tutorial
Several years earlier, I wrote a python script to perform ISBN book search: given the isbn number, the python script simply dumps the books title, publisher and author information, which are then used...
View ArticleUniy3D: How to implement scrolled UI with texts
Unity3D 4.6+ comes with the new UI system that makes implementation of scrolled texts a piece of cake. This article explains, step-by-step, how to make such scrolled effects. Add an UI Image by...
View ArticleGoogle Search in C#: A step by step walk-through tutorial
In previous post, the implementation of Google book search in C# is discussed. In this post, the similar approach is used to implement Google Custom Search in C#. Download the source project at Github...
View ArticleUnity3D: how to implement Tabbed UI
Unity3D does not ship with the tabbed UI, however, we can cheat to implement this! The key ideas include: To use Toggle control To make Toggle control look like a tab control The following code...
View ArticleUnity3D: put 3D objects above GUI surface
The default rendering results for GUI objects such as GUI textures, buttons, labels etc. are that they are overlaied above 3D views. To do the opposite, for instance, make 3D view overlaied upon...
View ArticleUnity3D: rotate 3D models around the center with mouse
In Unity3D, you can use mouse to rotate 3D models with trivial code: However when you run the above code, you might find that rotation center (pivot, or anchor point) is usually located at one of the...
View ArticleUnity3D: inspector control value changed event handling
Unity3D has offered very handy interface to expose variables so that users can edit them in inspector. Take a look at below snapshot: one can define some public fields, and these fields are immediately...
View ArticleVisual Studio 2013 Update 1: offline ISO download
This update is the latest in a cumulative series of feature additions and bug fixes for Visual Studio 2013. The offline ISO installer can be found from the below link (from official Microsoft web)...
View ArticleApache Felix: HelloAndroid
Apache Felix is a cool OSGi implementation, and has been widely used in Java applications. To use Felix in Android applications, embedding Felix into Android can help you harness the component based...
View ArticleBuilding OpenSceneGraph with Visual Studio 2013
Visual Studio 2013 has been out for a few months, and OpenSceneGraph also has their latest release up to version 3.3.1. It is now possible to build OpenScenegraph, inclusive of most widely used...
View ArticleApplication 0x00000007 error and troubleshooting
Recently I was asked to build a MFC application, and it worked on my development PC, but after packaging all the dlls, the application does not run, and an error with 0x00000007 pops up. I then opened...
View ArticleHow to solve error LNK1104: cannot open file ‘mfc120d.lib’
If you encounter the same problem as below: error LNK1104: cannot open file ‘mfc120d.lib’ You can solve this problem by downloading Multibyte MFC Library for Visual Studio 2013 and install that....
View ArticleUnity3D: How to create a link button, with fun
How to create a link style button in Unity3D? Here the considerations include: The link button should look like a label, instead of a button The link button should work like a button, with clickable...
View ArticleAndroid phone custom ROM flashing: Battery too low to flash
You might wish to flash some custom ROM to your android device, however it might be frustrating if you see the error “Battery too low to flash” message. Even though you connected your device with your...
View ArticleUnity: Detect GUI Window Created/Closed Event
On StackOverflow, someone asks how to detect the GUI Window Created/Closed Event, which Unity3D does not ship an off-the-shelf solution. Below is my solution to this problem: to use property setter to...
View ArticleVisual Studio 2015, 2013 Offline download ISO link Collections
Visual Studio 2015 RC Microsoft Visual Studio 2015 RC Professional ISO Microsoft Visual Studio 2015 RC Enterprise ISO Microsoft Visual Studio 2015 RC Community ISO Microsoft Visual Studio Team...
View ArticleEmbedding web browsers in Winform applications
Winform ships with a built-in WebBrowser control where you can use it to embed a web browser in a Winform Application. It is relatively trivial to implement it: In Visual Studio Toolbox, Search “Web...
View ArticleUsing MySQL with C# (I): MySQL Installation
MySQL is a free database and can be easily used in your .Net Applications. This quick-start goes through the typical process that involves installation, up and running your “Hello MySQL” application....
View ArticleUsing MySQL with C# (II): Creating a DB for programming
You might be interested in how to install MySQL in windows, check up this link for details. Run MySQL workbench after clicking Finish In the MySQL workbench, copy below scripts to create a new...
View ArticleUsing MySQL with C# (III): Coding in C#
Install the nuget package: in the nuget management console, type below line and run Install-Package MySql.Data Let’s create a class SqlUtils, and in the static constructor, type below code:...
View Article