codingjamesinenglish.blogspot.com codingjamesinenglish.blogspot.com

codingjamesinenglish.blogspot.com

Coding James.English

There are always some problems in coding. Let's share the answers.

http://codingjamesinenglish.blogspot.com/

WEBSITE DETAILS
SEO
PAGES
SIMILAR SITES

TRAFFIC RANK FOR CODINGJAMESINENGLISH.BLOGSPOT.COM

TODAY'S RATING

>1,000,000

TRAFFIC RANK - AVERAGE PER MONTH

BEST MONTH

March

AVERAGE PER DAY Of THE WEEK

HIGHEST TRAFFIC ON

Tuesday

TRAFFIC BY CITY

CUSTOMER REVIEWS

Average Rating: 3.0 out of 5 with 3 reviews
5 star
0
4 star
0
3 star
3
2 star
0
1 star
0

Hey there! Start your review of codingjamesinenglish.blogspot.com

AVERAGE USER RATING

Write a Review

WEBSITE PREVIEW

Desktop Preview Tablet Preview Mobile Preview

LOAD TIME

0.5 seconds

FAVICON PREVIEW

  • codingjamesinenglish.blogspot.com

    16x16

  • codingjamesinenglish.blogspot.com

    32x32

CONTACTS AT CODINGJAMESINENGLISH.BLOGSPOT.COM

Login

TO VIEW CONTACTS

Remove Contacts

FOR PRIVACY ISSUES

CONTENT

SCORE

6.2

PAGE TITLE
Coding James.English | codingjamesinenglish.blogspot.com Reviews
<META>
DESCRIPTION
There are always some problems in coding. Let&#39;s share the answers.
<META>
KEYWORDS
1 coding james english
2 string publickeyfile
3 x509certificate2 pubkey =
4 new x509certificate2 publickeyfile ;
5 x509certificate2 prikey =
6 rsacryptoserviceprovider key =
7 new rsacryptoserviceprovider ;
8 keyfromxmlstring xmlstring ;
9 return key;
10 reference
CONTENT
Page content here
KEYWORDS ON
PAGE
coding james english,string publickeyfile,x509certificate2 pubkey =,new x509certificate2 publickeyfile ;,x509certificate2 prikey =,rsacryptoserviceprovider key =,new rsacryptoserviceprovider ;,keyfromxmlstring xmlstring ;,return key;,reference,0 comments
SERVER
GSE
CONTENT-TYPE
utf-8
GOOGLE PREVIEW

Coding James.English | codingjamesinenglish.blogspot.com Reviews

https://codingjamesinenglish.blogspot.com

There are always some problems in coding. Let&#39;s share the answers.

INTERNAL PAGES

codingjamesinenglish.blogspot.com codingjamesinenglish.blogspot.com
1

Coding James.English: January 2012

http://codingjamesinenglish.blogspot.com/2012_01_01_archive.html

There are always some problems in coding. Let's share the answers. Tuesday, January 31, 2012. Expand Disk in Virtaul Machine. One of the greatest advantage to use virtual machine is the flexibility of hardware. Under physical hardware constrain, expanding hardware in a virtual machine is quite simple. For CPU and memory, the setting is automatically complete by Windows. So all we need to do is turn off virtual machine, setting, and turn on it. And use embedded program "diskpart" to extend it. Posted by J...

2

Coding James.English: Drawing in WPF

http://codingjamesinenglish.blogspot.com/2011/07/drawing-in-wpf.html

There are always some problems in coding. Let's share the answers. Wednesday, July 27, 2011. The concept of drawing in WPF is quite different with that in .net form. There is no Graphics object to handle the drawing process, you need to new Shape objects (Line, Ellipse, Rectangle, .) into a Canvas as follow,. 1 New a Canvas. Canvas Margin="0,0,0,0" Name="c"/. Or in C# source file. Canvas c = new Canvas();. ThisContent = c;. 2 New Shape objects and put them into Canvas. New a line geometry. PData = l;.

3

Coding James.English: Use RSA in C#

http://codingjamesinenglish.blogspot.com/2012/04/use-rsa-in-c.html

There are always some problems in coding. Let's share the answers. Wednesday, April 4, 2012. Use RSA in C#. RSA is one of the asymmetric encryption algorithm. There are two keys, public and private, in this algorithm. Detail is reference to RSA. In general, the public key is saved as a .crt file and the private key is saved as a .pfx file with password. To use these two keys, you need to load them by an X509Certificate2 object. Using System.Security.Cryptography.X509Certificates;. You can use either padd...

4

Coding James.English: July 2011

http://codingjamesinenglish.blogspot.com/2011_07_01_archive.html

There are always some problems in coding. Let's share the answers. Thursday, July 28, 2011. Problem of saving images in WPF (RenderTargetBitmap). To save a visual to an image file need to use RenderTargetBitmap, detail is reference to Save and read images in WPF. There are three ways to fix the problem,. Simple, but the visual logical tree is changed. Maintain the original visaul logical tree, but need to do more process. Temporary change the reative postion by Measure() and Arrange(). New a RenderTarget...

5

Coding James.English: Problem of saving images in WPF (RenderTargetBitmap)

http://codingjamesinenglish.blogspot.com/2011/07/problem-of-saving-images-in-wpf.html

There are always some problems in coding. Let's share the answers. Thursday, July 28, 2011. Problem of saving images in WPF (RenderTargetBitmap). To save a visual to an image file need to use RenderTargetBitmap, detail is reference to Save and read images in WPF. There are three ways to fix the problem,. Simple, but the visual logical tree is changed. Maintain the original visaul logical tree, but need to do more process. Temporary change the reative postion by Measure() and Arrange(). New a RenderTarget...

UPGRADE TO PREMIUM TO VIEW 5 MORE

TOTAL PAGES IN THIS WEBSITE

10

LINKS TO THIS WEBSITE

codingjames.blogspot.com codingjames.blogspot.com

Coding James: 四月 2010

http://codingjames.blogspot.com/2010_04_01_archive.html

不過可以使用.net Form的方法做到,先加入參考System.Drawing. New a bitmap with screen width and height. Bitmap b = new Bitmap(. Copy screen through .net form api. Using (Graphics g = Graphics.FromImage(b). GCopyFromScreen(0, 0, 0, 0,. BSize, CopyPixelOperation.SourceCopy);. Void SaveBitmap(Bitmap b, string f). Static extern bool DeleteObject(IntPtr hObject);. Private static BitmapSource ToBitmapSource(Bitmap b). Transform to hbitmap image. IntPtr hb = b.GetHbitmap();. Convert hbitmap to bitmap source. Bitmap b = new Bitmap(.

codingjames.blogspot.com codingjames.blogspot.com

Coding James: 三月 2010

http://codingjames.blogspot.com/2010_03_01_archive.html

要在Management程式(.net程式)中使用舊有的Unmanagement函式,例如User32裡面的API,需要使用DllImport來做轉換,最單純的用法就像在 在WPF中取得螢幕的解析度. Static extern int GetSystemMetrics(int nIndex);. 簡單的形態轉換可以參考 Managed and Un-Managed Code in .NET. Static extern int gsm(int nIndex);. Static bool BoolFunction();. 請以 MarshalAs 標記布林 P/Invoke 引數. Managed and Un-Managed Code in .NET. Private void SetViewBox(ImageBrush ib, Rect r). IbViewboxUnits = BrushMappingMode.Absolute;. IbViewbox = r;. 例如(0,0,0.5,0.5)就是左上角的四分之一張圖. Y alias is reverse from Cartesian plane.

codingjames.blogspot.com codingjames.blogspot.com

Coding James: 二月 2010

http://codingjames.blogspot.com/2010_02_01_archive.html

請參考 Writing High-DPI Win32 Applications - DPI Virtualization. Use Windows XP Style DPI Scaling. HKEY CURRENT USER Software Microsoft Windows DWM]. Open the key of Desktop Window Manager. RegistryKey k = Registry.CurrentUser.OpenSubKey(. Software Microsoft Windows DWM");. Get the value if it exists. If ( int)k.GetValue("UseDpiScaling", 0) = 1). Writing High-DPI Win32 Applications. Current Word - 「XP Style DPI Scaling」. API to get "Use Windows XP Style DPI Scaling" setting. Out double DpiX, out double DpiY).

codingjames.blogspot.com codingjames.blogspot.com

Coding James: 一月 2012

http://codingjames.blogspot.com/2012_01_01_archive.html

C: Documents and Settings Administrator diskpart. Microsoft DiskPart version 5.2.3790.3959. Volume # # Ltr Label Fs Type Size Status Info. Volume 0 C NTFS Partition 15 GB Healthy System. Volume 1 D CD-ROM 0 B Healthy. Volume 2 E New Volume NTFS Partition 20 GB Healthy. DISKPART select volume 2. Volume 2 is the selected volume. DiskPart successfully extended the volume. Volume # # Ltr Label Fs Type Size Status Info. Volume 0 C NTFS Partition 15 GB Healthy System. Volume 1 D CD-ROM 0 B Healthy.

codingjames.blogspot.com codingjames.blogspot.com

Coding James: 在C#中讀取Excel的試算表名稱

http://codingjames.blogspot.com/2010/12/cexcel.html

SheetNameList = new List. Load excel file as an ole database. Provider = Microsoft.Jet.OLEDB.4.0;". Data Source = {0};". Extended Properties='Excel 8.0;HDR=No'",. Load excel sheet as DataRow. ExcelDatabase.GetSchema("Tables").Select();. Foreach (DataRow sheet in sheetList). Query each sheet name from excel file. Sheet["TABLE NAME"] as string);. Close and release database connection. 如何取得 Excel 中的 Sheet Name. 訂閱: 張貼留言 (Atom). Asterisk : The Cookbook 食譜 035 - a2billing. Caton OO Google =? Use RSA in C#.

codingjames.blogspot.com codingjames.blogspot.com

Coding James: 在C#中使用SQLite資料庫

http://codingjames.blogspot.com/2010/12/csqlite.html

可以去 System.Data.SQLite. String path = "Test.db";. String password = "Password";. For non-exist database, create it. Connection = new SQLiteConnection(. Data Source = " path);. For exist database, connect it. Connection = new SQLiteConnection(. Data Source = " path);. SQLiteConnection connection, string commandText). Command.CommandText = commandText;. SQLiteConnection connection, string commandText). List string result = new List string ();. Command.CommandText = commandText;. Read one row one time.

codingjames.blogspot.com codingjames.blogspot.com

Coding James: 七月 2010

http://codingjames.blogspot.com/2010_07_01_archive.html

可以參考 如何使用 Windiff.exe 公用程式. 4 開啟WinDiff,從表單中選取File- CompareFiles. 6 如果不同,會顯示紅字,雙擊紅字就會展開整份檔案. 如何使用 Windiff.exe 公用程式. 訂閱: 文章 (Atom). Asterisk : The Cookbook 食譜 035 - a2billing. STouch Board is now available on Google Play! Caton OO Google =? Create to Creat be Great. Use RSA in C#. CCLEERIC - Share Your Knowledge! Creating Game On Xbox 360, Windows, and Zune.

codingjames.blogspot.com codingjames.blogspot.com

Coding James: 五月 2010

http://codingjames.blogspot.com/2010_05_01_archive.html

可以透過Windows 7 Multitouch .NET Interop Sample Library. DllImport("User32.dll", SetLastError = true)]. Public static extern bool SetProp(. IntPtr hWnd, string lpString, IntPtr hData);. DllImport("User32.dll", SetLastError = true)]. Public static extern IntPtr GetProp(. IntPtr hWnd, string lpString);. Const int TABLET ENABLE MULTITOUCHDATA = 0x01000000;. Const string TPS = "MicrosoftTabletPenServiceProperty";. Get current window handle. Window w = Application.Current.MainWindow;. Get current tablet property.

codingjames.blogspot.com codingjames.blogspot.com

Coding James: 二月 2012

http://codingjames.blogspot.com/2012_02_01_archive.html

報告服務(Sql Server Reporting Service, SSRS)的高可用性(High Availability, HA). 微軟的資料庫伺服器(Sql Server)提供了報告服務(Reporting Service),讓客戶可以很容易的產生有關資料庫狀態的報告,像是登入的列表或是某個事件發生的頻率等等。只要有相對應的記錄,都可以用查詢的方式,定期或是依照需求產生報告。有關報告服務的架構可以參考 剖析SQL Server 2005中的報告服務架構. 在提供這樣的服務的同時,系統的高可用性也必須涵蓋這部分。報告服務的高可用性可以分成三個方面來考慮,服務,報告服務資料庫,以及查詢資料庫。 最困難的部分在於報告服務資料庫的高可用性。由於在報告服務伺服器端僅能設定一台報告服務伺服器(至少在2008之前尚未提供,可以參考 ReportServer (TempDB) Mirror capability. 65292;所以如果採用鏡像的方式,在主伺服器發生故障時,無法自動將設定更新到備份伺服器。 訂閱: 文章 (Atom). Asterisk : The Cookbook 食譜 035 - a2bil...

codingjames.blogspot.com codingjames.blogspot.com

Coding James: 六月 2010

http://codingjames.blogspot.com/2010_06_01_archive.html

Private void StartService(string s). ServiceController sc = new ServiceController(s);. If service is stopped, start it. If (sc.Status =. Exception : ", e.Message);. 訂閱: 文章 (Atom). Asterisk : The Cookbook 食譜 035 - a2billing. STouch Board is now available on Google Play! Caton OO Google =? Create to Creat be Great. Use RSA in C#. CCLEERIC - Share Your Knowledge! Creating Game On Xbox 360, Windows, and Zune.

UPGRADE TO PREMIUM TO VIEW 8 MORE

TOTAL LINKS TO THIS WEBSITE

18

OTHER SITES

codingitforward.com codingitforward.com

Home | Coding it Forward

We're a rebel alliance of young people using technology for social good. We're not coding to make the next food delivery app. We're coding to battle the tough problems in government, education, public health, and the like. We're coding to make the world a little bit better. We're Coding it Forward. Our community of over 400. Talented young people and professional mentors works hard to empower the next generation to pursue careers using technology for social good. Join the alliance. List of 20 startups.

codingitmaster.blogspot.com codingitmaster.blogspot.com

PHP - JAVA - Asp.net - HTML - C - C++ Coding master

PHP - JAVA - Asp.net - HTML - C - C Coding master. HTML CSS JavaScript jQuery AJAX XML ASP.NET SQL Tutorials References Examples plus coding. PHP was at first created as a simple scripting platform called "Personal Home Page". Nowadays PHP (the short for Hypertext Preprocessor) is an alternative of the Microsoft's Active Server Pages (ASP) technology. On Linux/UNIX web servers. It is probably the most popular scripting language. We provide several versions of PHP (PHP 4.4, PHP 5.0, PHP 5.1, P...Our PHP h...

codingjabber.com codingjabber.com

Coding Jabber | 感受速度之悦,赏析交互之美

Maven Report Plugin= = = = = 继续阅读 →. Dubbo报org.I0Itec.zkclient.exception.ZkNoNodeException异常. 阿里的Dubbo框架已经集成了Zookeeper、Spring等框架所以无须再添加这些框架的引用,但是有一个例外就是zkclient,如果没有引用将会抛出如下异常信息 继续阅读 →. Dubbo报org.I0Itec.zkclient.exception.ZkNoNodeException异常.

codingjames.blogspot.com codingjames.blogspot.com

Coding James

RSA是非對稱式加密,金鑰分為公鑰和私鑰兩種,詳情可參考 RSA加密演算法. 12290;一般來說,公鑰會存成.crt,並且撒出去讓大家知道,而私鑰則是存成.pfx,由自己保管,同時加上密碼來保護. Using System.Security.Cryptography.X509Certificates;. Load public key from .crt. Return (RSACryptoServiceProvider)pubKey.PublicKey.Key;. String privateKeyFile, string password). Load private key from .pfx with password. New X509Certificate2(privateKeyFile, password);. Return (RSACryptoServiceProvider)priKey.PrivateKey;. 有時會需要將鑰匙存入資料庫,可以採用XML的格式,RSACryptoServiceProvider有提供很方便的存讀XML字串的函式。 在提供這樣的服務的同時,...

codingjamesinenglish.blogspot.com codingjamesinenglish.blogspot.com

Coding James.English

There are always some problems in coding. Let's share the answers. Wednesday, April 4, 2012. Use RSA in C#. RSA is one of the asymmetric encryption algorithm. There are two keys, public and private, in this algorithm. Detail is reference to RSA. In general, the public key is saved as a .crt file and the private key is saved as a .pfx file with password. To use these two keys, you need to load them by an X509Certificate2 object. Using System.Security.Cryptography.X509Certificates;. You can use either padd...

codingjar.com codingjar.com

Coding Jar - Vancouver Game Development

I'm Jodon Karlik, and this is my company. I have worked on some of the top-rated big budget games in the industry and have now decided to pursue my indie dreams. My goal is to produce high quality casual games and multimedia applications. Besides independent development, I'm also available for consulting. Please view my services section. To see how you can benefit from my expertise. In Fling Theory, players solve physics-based puzzles by manipulating atoms and destroying obstacles. Your weapon? Has a spe...

codingjargames.com codingjargames.com

Coding Jar - Vancouver Game Development

I'm Jodon Karlik, and this is my company. I have worked on some of the top-rated big budget games in the industry and have now decided to pursue my indie dreams. My goal is to produce high quality casual games and multimedia applications. Besides independent development, I'm also available for consulting. Please view my services section. To see how you can benefit from my expertise. In Fling Theory, players solve physics-based puzzles by manipulating atoms and destroying obstacles. Your weapon? Has a spe...

codingjava.blogspot.com codingjava.blogspot.com

Coding Java

Friday, January 18, 2008. Java Coding Question And Answers. Returning Values from a Remote Method. Return values from remote methods must be primitive, serializable, or Remote. This example demonstrates the declaration and use of all three return types. 1. Define the remote interface. Import java.rmi.*;. Public interface RObject extends Remote {. This return value is primitive. Int primitiveRet() throws RemoteException;. This return value implements Serializable. This return value implements Remote.

codingjavas.blogspot.com codingjavas.blogspot.com

Java GUI

Learn Java is possible. Sunday, March 1, 2009. JList n JComboBox sample Code. You can try this code to learn JList n JComboBox on JavaSE. This is the code here. Wednesday, January 7, 2009. Setting JDK(Java Development Kit). For you who are confused on how to install / jdk use on your computer, please follow these steps: CMIIW (Correct Me If I'm Wrong). Put your jdk directory anywhere. For example, eg C: jdk. Suppose you put in your jdk D: MyFolder jdk1.6, then you add a "D: MyFolder jdk1.6 bin". Export P...

codingjay.com codingjay.com

dafa888.com_大发888官方下载带给你的绝对不仅仅只是游戏

817 JIdafa888.comN TALK CON 内容整理. 七月 29th, 2013. 图源 deokoo77 来源、翻译 michellau29、前JIN会、SNCN神话中国、俊腐的蘑菇菇、神魂游离 发布 24s 菁 转载请注明,谢谢@michellau29 朴忠栽说最近在骑自行车,对减肥很有帮助。 他说 “不是去中国了嘛,回来一看图,吓一跳啊,不行得运动了”,就开始运动,现在减了7公斤上去一个饭,问他有什么问题,问说 “那个红睡裤什么时候扔”,他自己没听清,还是饭告诉他的,他说 “我扔了很久了啊。 Posted in dafa888.com. 七月 29th, 2013. 来源 CJ E&M enewsWorld崔殷华 翻译 陈玉恬 照片来源:eNEWS DB 哪些韩星自去年下半年至今年上半年活跃于演艺圈,并拥有好成绩呢? Mnet夏天颁奖典礼 20s Choice 今晚(18日)6点(北京时间)登场,歌手和演员们的战争正式开打。 20’s Choice 颁奖会场位于一山kintex,将颁发最佳电影男/女星、最佳电视男/女星和环球明星奖等总计20项奖项。 七月 29th, 2013.