Monday, August 28, 2006

Serial Port programming

Today we got a Barcode Scanner w/ RS232. Just getting some idea how to use it in our system. I found some very useful information about SerialPort (RS-232 Serial COM Port) in C# .NET. We use MSComm control in VB6 to do this. Now in .Net Framework 2.0, we have this new and cool SerialPort component.

Thursday, August 24, 2006

ClickOnce Installs fail, "ADODB 7.0.3300 required"?

Today I used ClickOnce to publish a new version of my project. But it failed. The error says:

"Unable to install or run the application. The application requies the assembly ADODB 7.0.3300 to be installed in the Global Assembly Cache (GAC) first."

I tried to find the ADODB 7.0.3300. But no way I can find it. The only thing I added to project is Report Viewer. So I removed the reference to ReportViewer, and tried again. It worked. It seems the ReportViewer references this mysterious ADODB 7.0.3300.

Wednesday, August 23, 2006

Tuesday, August 22, 2006

Use ClickOnce for VB6 Program

I found two good articles on MSDN today. They are talking about using the .NET Framework 2.0 and ClickOnce deployment to automatically update Visual Basic 6.0 applications and COM objects.

Automatically Updating Visual Basic 6 Applications: Part I

Automatic Updating of Visual Basic Applications: Part II

Thursday, August 10, 2006

Sogou Pinyin Input “搜狗”拼音输入法

最近下载试用了一阵子,效果不错,准确率蛮高的。利用互联网的词频来排序,选词。搜索引擎做这个应该很有优势。值得试用一下。http://www.sogou.com/pinyin/