Public Sub SetSubScript()Sub SetSubScript(RTB As RichTextBox)Dim iPos As LongDim strRTF As String With RTB If .SelCharOffset >= 0 Then 'subscript the current selection iPos = .SelStart .SelText = Chr(&
寫書要用到Webbrowser,但是Webbrowser沒有提供尋找功能,在網上找了一個VB 2003下面實現尋找的代碼:http://support.microsoft.com/default.aspx?scid=kb%3Bzh-cn%3B311288但是在運行時,在Find()函數中的cmdt = CType(GetDocument(), IOleCommandTarget)報錯,錯誤資訊是:Cannot retrieve the document from the
Public Sub HighLight()Sub HighLight(RTB As RichTextBox, lColor As Long)'add new color to color table'add tags \highlight# and \highlight0'where # is new color numberDim iPos As LongDim strRTF As StringDim bkColor As Integer With RTB iPos =
Properties - all sizes are in twips xLeft - Position of the left edge of the table isCentered - Set to True to center the table Rows - Sets or returns the number of rows in the table Columns - Sets or returns the number of columns in the table Row -
在Device上調試的原理與Desktop相同,只是相關設定檔有所區別,第一次看這篇文章的朋友,請先參閱【Desktop篇】:http://www.cnblogs.com/liangyiming/archive/2009/04/01/1427388.html 在Device上使用Tracing和Desktop的原理相同,僅僅是配置方法略有不同。由於基於WinCE的 Sync Service for ADO.NET
微軟雲端運算組件“Huron” – 將你的資料同步至雲端運算資料中心(Azure) Huron是什嗎? 一句話定義:Huron能讓你的本機資料庫與雲端運算資料庫(Cloud DB)實現資料同步,提供了一套完整、簡單高效的同步方案。 Huron的技術特點: 1. 首先是利用了微軟現有的技術構架:MS SQL Data Services (Cloud DB)和 Microsoft Sync Framework(MSF)。 MS SQL Data