Archive for January, 2006

Something about .Net RSA

Tuesday, January 31st, 2006

Recently I have a project that needs encryption support. The requirement is to encrypt with the private key of RSA algorithm and decrypt with the public key. I went the algorithm again and thought it is doable, so I began to write a prototype with c#. But I got an ‘invalid key’ error when decrpting [...]

JPEG to html

Monday, January 30th, 2006

Some times I saw some visitors to our web site by search for “JPG to html”.
We don’t have a jpg to html product. What we have is html to image solution including end-user product Html To Image and development tool Html Snapshot. Their function is to convert html to image such as JPG, PNG, TIFF [...]

Spring Festival

Sunday, January 29th, 2006

Today is the trantional holiday of Chinese new year!
Wish you have a happy Spring Festival if you have!
 

 

Don’t buy wrong product.

Saturday, January 28th, 2006

We have a long list of order page for our products. Each product occupies a row of a table.
We are currently using the services of two online shareware trade company: Qwerks and Regsoft. Both are well-known and among the best.
Before clicking the links going to qwerks or regsoft, please make sure you are in the correct [...]

A stress test example

Friday, January 27th, 2006

 
When developing our development tools product, we have consider the stress testing scenarios. Since our product might be used in server scenarios which means it should be stable, reliable.
 
We try hard to make sure the function still works after calling thousands of times. So we design a bunch of stress test cases for our products.
Here is a [...]

How to do manual registration of Html To Image.

Thursday, January 26th, 2006

Some people experienced strange problem when registering html to image from the UI. We usually solve it by manually registering. Here is the process:

1. Make sure you are running latest build of Html To Image. It can be always downloaded here.
2. Make sure you have closed Html To Image program. i.e., it is not running.
3. [...]

Using Active TTS in C#

Wednesday, January 25th, 2006

Active TTS is a standard COM component that is supported by .Net framework.
 
Here is a step by step example of using Active TTS in a C# winform project with VS2003.
1. Create a C# winform project by using the IDE wizard.
2. Add reference to TTSObj.dll by clicking main menu item, Project->Add Reference, pop up the dialog, [...]

TTS on Windows

Tuesday, January 24th, 2006

 

  
Windows currently has two speech APIs. One is SAPI4 on Windows 2000. The other is SAPI5 since Windows XP.
However, it is possible to use SAPI5 on windows 2000 or even windows 9x. You can install Speech SDK 5.1 which has included SAPI and some free TTS voices as well as speech recognition engines.
Our TTS products, Active [...]

Make an audio recorder with voice activity detection

Monday, January 23rd, 2006

I was often asked about a question about Active Audio Record component: Can I detect the input audio level without start recording?
The answer is NO. The reason is that if the recording is not started, sound card doesn’t sample any input signal then no audio level can be returned.
So does it mean you have to record many [...]

Convert html to image in IIS

Sunday, January 22nd, 2006

This article will discuss how to use html snapshot to convert html to image (JPG, TIFF, GIF, PNG and BMP) under IIS (with ASP or ASP.net)
First, we will discuss IIS 5.0 on Windows XP.  
There are two accouts in IIS 5.0. IUSR_MACHINENAME, IWAM_MACHINENAME.
For the default setting, IUSR_MACHINENAME account is used to access files (reading or writing).
IWAM_MACHINENAME is [...]