Displaying posts filed under

C/C++/C#

Sep
19
2009

SQLite database engine and sample code in C#

The definition in SQLite official site is the following: “SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world.” So, how can we use SQLite engine to develop standalone desktop database application in Windows environments. At SQLite official [...]

Sep
19
2009

Use libcurl.net at C# project – a complete solution

Introduction
When I am working on TwitterGIFT project, I need find how to use Twitter API in my C# project. I know CURL is really good at Linux environment. My PERL script use it to access Twitter API functions. It is powerful and convenient and easy to use. How can I use it in my C# [...]

Sep
15
2009

EnCoding Converter 2.0

Introduction
EnCoding Converter 2.0 can convert text files from one encoding to another. It is very useful to webmasters or document managers at all levels. People living in eastern world use characters totally different from western alphabetic letters, such Chinese and Japanese. Moreover, same language has several encodings, such BIG5, GB2312 and UTF8 encodings for Chinese. [...]

Sep
13
2009

A C# class to control Excel – A core class used in TWE 2.0

This class was developed from the basic framework Vahe Karamian created in 2005. It is a complete solution to control Microsoft Excel from C#.Net. It allows you to create an Excel object and control a lot of the Excel functionalities such as getting worksheet information, extracting data from the worksheet given a range, and manipulating data in many ways. You can use this class freely in your C# project. If you find and fix bugs please write comments to this post. Read Karamian’s original article to find out how to use the code. You can download all source code in a zip file through the link at the end of the post.

Aug
30
2009

A web-based html page editor in C#/VB.Net

I wrote a web-based html page editor in C#/VB.Net a while ago when I used to use Windows IIS web server. The idea in the C#/VB.Net is still good. You may find it useful and borrow ideas from it. The C# code is more advanced than VB.NET code because it was developed from VB.Net code. [...]

Aug
30
2009

Customized cursor in window controls (C#)

I wanted to show a big cross as a cursor in an image control when I wrote eDigitizer in C#. The big cross can help users to accurately digitize graphs. I searched the intenert and found some useful information. Based on the useful piece of information, I developed a class that can handle customized cursor [...]

Aug
22
2009

Create PowerPoint slide in C#

There are situations we need control MS Office components in our program, for example, manipulate data in Excel workbook, generate PowerPoint slides, intracte with Access database etc. In this article, I will provide detail information about how to control PowerPoint in C# program.
First of all, how can use use MS Office components in our standalone [...]