Theoretically -- is it a theory -- any program that runs on the particular Framework should run in the same way. But -- WINDOWS, how else could it be? The application does not find COM components and fails to initialize classes. Is it the issue of registry keys damaged by the installation?
After close monitoring of Windows event, it turned out that when multiple OS's are installed in a machine, the OS seems to assume C: drive even when the system is installed in other drives. The application looks for drivers -- but in which drive, is the question. The C: drive application looks for D: DLL's when E: application looks for E: DLL's. Either case does not work. Only the D: application with D: DLL's worked.
金曜日, 11月 18, 2011
日曜日, 11月 13, 2011
OAuth
Twitter uses OAuth for id verification. The encryption of the data is
using HMAC-SHA1 algorithm.
HMAC, Keyed-Hashing for Message Authentication Code
hash((key xor 0x5c5c...5c)
or (key xor 0x3636...36)
or message)
SHA, Secure Hash Algorithm
SHA-1 160 bit, MD4 based encoding
using HMAC-SHA1 algorithm.
HMAC, Keyed-Hashing for Message Authentication Code
hash((key xor 0x5c5c...5c)
or (key xor 0x3636...36)
or message)
SHA, Secure Hash Algorithm
SHA-1 160 bit, MD4 based encoding
水曜日, 11月 09, 2011
C#: FontDialog unable to set font sizes; Firefox 8
The FontDialog class of C# is not overridable to change its settings. There are flags to remove underline and strike options, but there is no ways to limit font styles nor font sizes.
However, C# is a language that has ready-to-use off-the-shelf components that can replace the font dialog with ones of your own.
The new features in Firefox 8:
- twitter search
- delay loading tabs at start ups (when you set it the opening screen)
- WebGL, HTML5 improvements
However, C# is a language that has ready-to-use off-the-shelf components that can replace the font dialog with ones of your own.
The new features in Firefox 8:
- twitter search
- delay loading tabs at start ups (when you set it the opening screen)
- WebGL, HTML5 improvements
月曜日, 11月 07, 2011
C#: WebBrowser.DocumentText does not support the += operator
WebBrowser.DocumentText does not support the += operator.
That is it. It does not. The String class should be formatted separately and assigned to that member variable.
That is it. It does not. The String class should be formatted separately and assigned to that member variable.
金曜日, 11月 04, 2011
C# DataGridView's SetValue
When a DataTable is set for a DataGridView, the value can not be set
to DataGridViewCellFormattingEventArgs.Value, which is passed by to a
method that is hooked to CellFormatting event.
The way to avoid it, is to access to the cell value directly.
to DataGridViewCellFormattingEventArgs.Value, which is passed by to a
method that is hooked to CellFormatting event.
The way to avoid it, is to access to the cell value directly.
private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) { if(e.ColumnIndex==5) { // If set, the following will be shown in the cell. The Cell's value typed as an int will not be set correctly. //e.Value = "1"; // Instead, directly access the Cell object. int row = e.RowIndex; int col = e.ColumnIndex; dataGridView1.Rows[row].Cells[col].Value = 1; break; } }
登録:
投稿 (Atom)
Qt: 外部プログラムを起動する
Qt/C++ のアプリは、外部へ直接アクセスできます。これはネットアプリでは不可能な Qt のメリットです。 外部プログラムを起動することもできます。QProcess::startDetached() を使うと独立したプロセスを立ち上げることができます。 この QProces...
-
コンデンサマイク 極性があります コンデンサマイクがようやく届きました。モジュールではないのでそのままでは信号が弱いので使えません。信号を増幅する必要があります。 ちょっとした手間ですが、首尾よく動いてくれました。この回路の応用で、使えるマイクが出来ます。 ...
-
Flask/SQLAlchemy 使ってる方、jinja で困ってませんか? 本体で Python の関数を書いてもいいんですが、テンプレートでも関数が呼べます。 日付を出したい場合、フォーマットなら strftime() が使えます。 わざわざ文字列を作って渡す必...
-
PowerBuilder では Time, Date, DateTime などという型があります。 デフォルトの表示形式から変更する場合は String() 関数を使います。 String(Date('1/12/2016'),'yyyy-mm-dd...