Quantcast
Channel: Programming – Xinyustudio
Browsing all 284 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Uniy3D: 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 Article


Image may be NSFW.
Clik here to view.

Google 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 Article

Image may be NSFW.
Clik here to view.

Unity3D: 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 Article

Image may be NSFW.
Clik here to view.

Unity3D: 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 Article


Image may be NSFW.
Clik here to view.

Unity3D: 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 Article

Image may be NSFW.
Clik here to view.

Unity3D: 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 Article

Image may be NSFW.
Clik here to view.

Visual 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 Article


Image may be NSFW.
Clik here to view.

Apache 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 Article


Image may be NSFW.
Clik here to view.

Building 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 Article

Image may be NSFW.
Clik here to view.

Application 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

Unity3D: 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 Article


Image may be NSFW.
Clik here to view.

Android 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 Article

Image may be NSFW.
Clik here to view.

Unity: 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 Article


Image may be NSFW.
Clik here to view.

Visual 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 Article

Image may be NSFW.
Clik here to view.

Embedding 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 Article


Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

Using 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
Browsing all 284 articles
Browse latest View live