發表文章

目前顯示的是 2009的文章

SQL Server 2008 Express How-To-Guide Series

http://www.msdev.com/Directory/SeriesDescription.aspx?CourseId=124

Windows Embedded CE 6.0 R3

Windows Embedded CE 6.0 R3 includes the following new features: • Silverlight for Windows Embedded The power of Silverlight brought to Windows Embedded CE to create rich applications and user interfaces • Internet Explorer Embedded Internet Explorer with panning and zooming capabilities and a customizable interface to optimize the browsing experience on devices • Adobe Flash Lite Browser plug-in to render rich media Web sites • Touch and Gesture Plug-in engine to enable natural input capabilities and gesture animations • Connection Manager Infrastructure technology to manage multiple network interfaces on the device • Microsoft Office and PDF Viewers Applications to render Microsoft Office Word, PowerPoint, Excel and Adobe PDF content on the device • QQ Messenger Device-side client to connect to popular Instant Messaging service http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=bc247d88-ddb6-4d4a-a595-8eee3556fe46

嘸蝦米輸入法支援 Android 平台

圖片
真是太利害了嘸蝦米輸入法居然支援 Android 平台,大家要快去下載來試一下喔,此版本為免費測試版本,測試期限至 2009/10/30 ! http://boshiamy.com/product_android.html

Windows Mobile 7

Windows Mobile 修練大會

圖片
這次的Windows Mobile 修練大會排第二名也得了一支HTC Touch Diamond2 五百萬鑽石機二代很高興,同時也認識了很多朋友,有了這支手機我要更加好好的修練有機會在po更好玩的文章給大家 http://mobilestudy.dotblogs.com.tw/list.aspx

Microsoft Hopper Test Tool for Windows Mobile 6.0, 6.1, and 6.5

Hopper Tools 這是用來模擬於Windows Mobile裝置上輸入壓力的軟體測試工具,主要用來測試整體裝置及應用程式的穩定性。可以利用選單系統隨機且快速地傳送按鍵及螢幕拖曳到模擬裝置上,以測試所有應用程式的受壓情況,透過非常快速且大量的使用者輸入。若要取得Windows Marketplace應用程式認證都要通過Hopper測試,應用程式必須在兩小時的Hopper測試中未發生無回應或當掉等非預期的狀況。 http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=2a1e5c97-aede-4234-bc73-345475310942

Microsoft Office 2010 Mobile

Enterprise Data Synchronization with Microsoft SQL Server 2008 and SQL Server Compact 3.5 Mobile Merge Replication

圖片
好書推一下如果需要用到 SQLCE 3.5 同步到 SQL Server 2008 的人有福了 http://www.amazon.com/Enterprise-Synchronization-Microsoft-Compact-Replication/dp/0979891213/ref=sr_1_4?ie=UTF8&s=books&qid=1248893911&sr=1-4

TAT-Mobile UI

~~開源人年會~~ 全程免費

圖片
大會分成四大主題: Android 和嵌入式系統 去年爆紅的 open source 手機平台 Android,在台灣也引起不小的風潮。除了第一隻 Android 手機是由台灣的宏達電製造的之外,備受推薦的 Android 程式管理追蹤軟體 aTrackDog 也是由台灣的開發者寫出來的。今年的 COSCUP 將會有不少和 Android 相關的演講。當然,嵌入式系統可不只是手機,用 open source 打造出來的 IP 分享器、卡啦 OK 機、數位錄影機、數位相框等等家電所在多有,COSCUP 也將邀請這個領域知名的開發者來和大家分享。 雲端運算和 Web 技術 近年來,網路相關科技已漸趨多元化,使用者即使是不在電腦前也能透過各種設備連上網路、使用網路應用,如 e-mail、社交網路、搜尋、地圖… 等等。我們將邀請開發者來討論最新的發展,例如雲端運算、Ajax 技術、各種 Web 框架等等議題。 開發者工具 不論是大規模或是分散式的專案計畫,強大易用的開發者工具(developer tools)都是專案成功與否的重要關鍵。在今年的議程中,我們將討論在原始碼管理、IDE、編譯工具(build tools)、除蟲/問題回報與追蹤… 等方面的知名開放原始碼的工具軟體。 使用者桌面 小筆電以爆炸性的增長將 open source 軟體帶往數以百萬計的使用者的手邊,然而許多使用者並不曉得該往何處尋找最適合、使用起來最順手的軟體。我們將為一般使用者和系統管理者介紹日常工作中瀏覽器、辦公軟體、系統管理各領域的最佳做法。 http://coscup.org/2009/zh_tw/

Office 2010: The Movie

Palm Pre Mojo SDK Download

圖片
Download Link http://rapidshare.com/files/249167601/PalmSDK-Win-0.3.4.exe All-in-one package (PalmSDK + JavaSDK + VirtualBox) – 298.6MB http://www.filefactory.com/file/ag91ebg/n/palmpre_7z

員工旅遊--花蓮之行

圖片

Microsoft XNA Game Studio 3.1

圖片
Microsoft XNA Game Studio 3.1 makes it easier than ever to create great video games for Windows-based PCs, Xbox 360 consoles (with an active premium XNA Creators Club subscription), and Zune digital media players. http://www.microsoft.com/downloads/details.aspx?FamilyID=80782277-d584-42d2-8024-893fcd9d3e82&displaylang=en

Microsoft Robotics Developer Studio 2008 R2 released

圖片
http://www.microsoft.com/robotics/

Windows Mobile 手機加值軟體創意暨開發大賽

圖片
不管你是貌不驚人但創意驚人的點子王,還是武功高強的軟體程式開發人員,馬上參加 「 Windows Mobile 尋找行動應用智慧王 第一屆手機加值軟體創意暨開發大賽」,高額獎金及 HTC Touch Diamond2 等你來拿 ! 參與軟體程式開發之得獎作品還有機會於 Windows Marketplace for Mobile (Windows 手機線上軟體商店) 上架,在全球舞台發光! 1.創意點子王大賽 http://www.microsoft.com/taiwan/promo/wmcontest/idea_note.aspx 2.軟體開發達人大賽 http://www.microsoft.com/taiwan/promo/wmcontest/develop_note.aspx

USB 微波爐

圖片
Beanzawave是目前是世界上最小的攜帶式微波爐,高:7.4、寬:6.2、深:5.9英吋,而且是採用USB連接,只要插在筆記型電腦就可以啟用。 USB微波爐的設計,還只是原型機,由微波專家Gordon Andrews與Stephen Frazer,還有一位工業設計師Frazer共同研發,關鍵的突破是結合使用行動電話的無線電頻率GAMA Microwave,製造出微波的熱量,以後不只是一杯茶或咖啡,就算一個漢堡、餡餅、小披薩都可以透過迷你微波爐來快速加熱。

mini2440 for andriod

圖片
光碟片內容如下: 1. mini2440 之andriod移植手冊 2. mini2440 之andriod KERNEL 移植詳解 3.eclipse 4.android 應用程式設計 及 GUI 解說 售價:450

CEFileWiz for Windows Embedded CE

CEFileWiz is a PowerToy for Windows Embedded CE that makes it easy to create components that wrap files, folders, dependencies and registry settings. Creating a stand alone component can be completed in a few seconds CEFileWiz

Installing Windows Embedded CE 6.0

Steps: 1.Install Visual Studio 2005 2. Install Visual Studio 2005 SP1 3. Install Visual Studio 2005 SP1 for Vista 4. Install Windows Embedded CE 6.0 (Eval link) 5. Install Windows Embedded CE 6.0 SP1 6. Install Windows Embedded CE 6.0 R2 7. Install Windows Embedded CE 6.0 cumulative product update package (through 12/31/2008) 8. Install Windows Embedded CE 6.0 monthly update package (Jan 2009) 9. Install Windows Embedded CE 6.0 monthly update package (Feb 2009) 10. Install Windows Embedded CE 6.0 monthly update package (Mar 2009) 11. Install Windows Embedded CE 6.0 monthly update package (Apr 2009)

Windows Mobile 6.5 Developer Tool Kit

圖片
The Windows Mobile 6.5 Developer Tool Kit adds documentation, sample code, header and library files, emulator images and tools to Visual Studio that let you build applications for Windows Mobile 6.5. This document contains important information about this package. For general information about writing software for Windows Mobile, please see the Windows Mobile Developer Center. The Windows Mobile 6 SDK must also be installed in order to use any of the Windows Mobile 6.5 Gesture API or samples. Windows Mobile 6.5 Developer Tool Kit comes with the following Emulator Images: Windows Mobile 6.5 Developer Tool Kit

手機應用創新開發與線上軟體商店研討會

圖片
前200名報到者還有送開發入門書一本喔! http://www.microsoft.com/taiwan/promo/wmcontest/event/

Windows Mobile RampUp track is now available on MSDN

Mobile development is growing fast, and Windows Mobile is at the forefront with over 18 million phones shipped last year and many more cutting-edge devices on the way. Visual Studio developers have tremendous opportunities in this space. Why? Developing for a Windows Mobile phone leverages your existing coding experience and takes it to new heights. In this track, we’ll go through the fundamentals of building mobile applications. You’ll learn how to set up Visual Studio with the latest SDK and device emulators, and you’ll see how to build, deploy and debug applications. We’ll also explore AJAX capabilities that offer the richness of the desktop for mobile devices. http://msdn.microsoft.com/en-us/rampup/dd807370.aspx

Windows Embedded CE 6.0 Virtual PC 2007 Binary BSP

Windows Embedded CE 6.0 Virtual PC 2007 Example Binary BSP. Includes Virtual PC 2007 VHD and virtual floppy boot disk. http://code.msdn.microsoft.com/CE6VirtualPCBSP Virtual PC 2007 can be downloaded from here.

國家代碼表

A 阿富汗 AF 奧蘭群島 AX 阿爾巴尼亞 AL 阿爾及利亞 DZ 美屬薩摩亞 AS 安道爾 AD 安哥拉 AO 安圭拉 AI 南極洲 AQ 安地卡及巴布達 AG 阿根廷 AR 亞美尼亞 AM 阿魯巴 AW 澳大利亞 AU 奧地利 AT 亞塞拜然 AZ B 巴哈馬 BS 巴林 BH 孟加拉 BD 巴貝多 BB 白俄羅斯 BY 比利時 BE 貝里斯 BZ 貝南 BJ 百慕達 BM 不丹 BT 玻利維亞 BO 波士尼亞與赫塞哥維納 BA 波札那 BW 波維特島 BV 巴西 BR 英屬印度洋領地 IO 汶萊 BN 保加利亞 BG 布吉納法索 BF 蒲隆地 BI C 柬埔寨 KH 喀麥隆 CM 加拿大 CA 維德角 CV 開曼群島 KY 中非 CF 查德 TD 智利 CL 中國 CN 聖誕島 CX 科科斯群島 CC 哥倫比亞 CO 葛摩 KM 剛果 CG 剛果民主共和國 CD 庫克群島 CK 哥斯大黎加 CR 象牙海岸 CI 克羅埃西亞 HR 古巴 CU 賽普勒斯 CY 捷克 CZ D 丹麥 DK 吉布地 DJ 多明尼克 DM 多明尼加共和國 DO E 厄瓜多 EC 埃及 EG 薩爾瓦多 SV 赤道幾內亞 GQ 厄利垂亞 ER 愛沙尼亞 EE 衣索比亞 ET F 福克蘭群島 FK 法羅群島 FO 斐濟 FJ 芬蘭 FI 法國 FR 法屬圭亞那 GF 法屬玻里尼西亞 PF 法屬南部領地 TF G 加彭 GA 甘比亞 GM 喬治亞 GE 德國 DE 迦納 GH 直布羅陀 GI 希臘 GR 格陵蘭 GL 格瑞那達 GD 瓜德羅普 GP 關島 GU 瓜地馬拉 GT 根息 GG 幾內亞 GN 幾內亞比索 GW 蓋亞那 GY H 海地 HT 赫德島與麥當勞群島 HM 教廷 (梵諦岡) VA 宏都拉斯 HN 香港 HK 匈牙利 HU I 冰島 IS 印度 IN 印尼 ID 伊朗 IR 伊拉克 IQ 愛爾蘭 IE 曼島 IM 以色列 IL 義大利 IT J 牙買加 JM 日本 JP 澤西島 JE 約旦 JO K 哈薩克 KZ 肯亞 KE 吉里

Creating a shortcut

圖片
using System.Runtime.InteropServices; [DllImport("coredll.dll")] public static extern void SHCreateShortcut( string target, string shortcut); // Create a shortcut to tmail.exe within the // windows start menu. SHCreateShortcut( @"\windows\start menu\programs\test.lnk", @"\windows\test.exe");

SIM Lock和CID Lock

SIM Lock 如果你用開手提電話,你對SIM Lock這個英文應該會認識。SIM Lock 是一個限制方法 - 去某間電話服務供應商購買一部PDA Phone但要用指定的該電話服務供應商提供既服務月費計劃。這個限制方法是用來給引客户用一個很便宜價錢去買一部PDA Phone,但要用一個指定月費和選用一個特定時期,用合約形式限制,才可以用享受這個服務。由於有合約限制,解除 SIM Lock 限制有可能觸犯當地法律或違反當地電訊服務供應商的合約 CID Lock 又叫做 Vendor Lock。CID Lock是PDA Phone製造商/電訊商/銷售商用來保議自己公司所推出既產品不會被其它公司的ROM所取代。例如O2 Atom 和HP rw6828 係同一間製造商(Quanta)的代工(OEM)產品,如果你想用HP rw6828的ROM 去取代 O2 Atom的ROM係唔得。O2 和 HP 都有 CID Lock 去保議自己公司所做既ROM。解除 CID Lock 不會觸犯當地法律,但可能使PDA Phone保養失效。 不同OEM製造商的PDA,就算解除CID Lock都不能夠取代對方的ROM。例如你解除O2 Atom CID Lock,但不能夠用Dopod 818pro 的ROM 去取代 O2 Atom的ROM

如何設定保存印表機紙張大小

當印表機紙張設定A5格式若程式碼調用a4實際在印表機裡面的紙張設定還是A5所以可以利用下列程式碼控制 Imports System.Drawing.Printing Imports System.Runtime.InteropServices Public Class Page _ Public Shared Function OpenPrinter(ByVal src As String, ByRef hPrinter As IntPtr, ByVal pd As Long) As Boolean End Function _ Public Shared Function ClosePrinter(ByVal phPrinter As IntPtr) As Integer End Function _ Public Shared Function SetPrinter(ByVal hPrinter As IntPtr, ByVal level As Integer, ByVal lpBytes As IntPtr, ByVal command As Integer) As Boolean End Function Public Shared Function Setting(ByVal PageName As String) As Boolean Try Dim printerSettings As PrinterSettings Dim document As New PrintDocument() printerSettings = document.PrinterSettings Dim hPrinter As IntPtr OpenPrinter(printerSettings.PrinterName, hPrinter, 0) Dim p As PaperSize = Nothing Dim ps As PaperSize For Each ps In document.PrinterSettings.PaperSizes If ps.PaperName.Equals(PageName) Then p = ps End If Next document.DefaultPageSettings.PaperSize = p Dim hDevMode

Windows Marketplace開始接受開發人員註冊

圖片
微軟計畫在全球29個市場推出Windows Marketplace服務,讓開發人員擁有應用程式的7成售價分潤,但開發人員每年提交應用程式的註冊費用為99美元。 http://developer.windowsmobile.com/

Microsoft Facebook Application

圖片
http://www.smartphonemag.com/cms/blog/5607/microsoft-facebook-application-overview

2007 Microsoft Office 套件 Service Pack 2 (SP2)

2007 Microsoft Office 套件 Service Pack 2 (SP2) 為客戶提供 2007 Office 套件的最新更新 (下面列出會受到此更新影響的產品)。 此下載包含兩種類型的修正程式: 1.先前尚未發佈過而專為此 Service Pack 提供的修正程式。 a.除了一般的產品修正,此下載還包括穩定性、效能和安全性的提升。 b.知識庫文章 953195 提供更多資訊,這篇文章描述了產品相關的變更。 2.至 2009 年 2 月發佈的所有公開更新、安全性更新、累積更新及 Hotfix。 http://www.microsoft.com/downloads/details.aspx?displaylang=zh-hk&FamilyID=b444bf18-79ea-46c6-8a81-9db49b4ab6e5

DreamSpark

圖片
微軟提供的免費軟體包括了.NET平台開發工具Visual Studio 2008專業版、Visual Studio 2005專業版、XNA Game Studio 2.0,和12個月免費的XNA Creators Club資格;設計工具則有Expression Studio(含Expression Web、Expression Blend、Expression Design、Expression Media);以及平台工具SQL Server 2005開發者版、Windows Server標準版等。  不過,微軟指出,DreamSpark計劃只針對學生免費,而不能用於商業用途,因此,微軟正與全球各地的學術機構、政府部門以及學生協會合作,以確保各地的學生身份認證技術。 https://www.dreamspark.com/Default.aspx

HyperTerminal and Server 2008

Microsoft chose not to include HyperTerminal in the Server2008 operating system. For most users it is probably no big deal and hasn’t been a problem for me up until now. I am getting more involved in router configuration and run Windows Vista on my workstation at ClearPointe. I did a quick search on the Internet and discovered that there are several free applications available for download to overcome Server2008’s lack of HyperTerminal. However, I also discovered that HyperTerminal can be ported from a computer running Windows XP. Here are the steps: Map a drive between your Windows XP computer and your Windows Server2008 computer. 1.On the Windows XP box, navigate to C:\Program Files\Windows NT and copy hypertrm.exe. 2.Paste hypertrm.exe in the C:\Program Files\Windows NT directory on the Server2008 machine. 3.Back on the Windows XP computer, navigate to C:\WINDOWS\System32 and copy hypertrm.dll. 4.Paste hypertrm.dll in the C:\Windows\System32 directory on the Server2008 box.

Spb Mobile Shell

圖片
http://www.spbsoftwarehouse.com/pocketpc-software/mobileshell/

SQL Server 2008 Service Pack 1

SQL Server 2008 Service Pack 1 (SP1) 現在已可供使用。您可以使用這些套件升級下列任何一種 SQL Server 2008 版本。注意:我們致力於維持包含 Service Pack 的計畫,僅著重在必要的更新,主要是累計更新 1 至 3 的彙總套件、Quick Fix Engineering (QFE) 更新以及透過 SQL Server 社群回報的問題修正。雖然維持包含產品變更,我們作了重大的投資以簡化開發及管理 Service Pack。 1 匯集 – 現在您可以整合基底安裝與 Service Pack (或 Hotfix) 並且以單一步驟安裝。 2 Service Pack 解除安裝 – 現在您可以僅解除安裝 Service Pack (不需要移除整個執行個體) 3 報表產生器 2.0 Click Once 功能 https://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19

20th MobileMonday Taipei - Windows shopping: the future of Windows Marketplace for Mobile.

Microsoft plans to launch an App Store that lets Windows Mobile users find, purchase, and download programs directly from the phones. It’ll work much like the iPhone App Store and the upcoming BlackBerry App World. Microsoft will take a 30% cut on the sales of any paid applications. That’s the same fee that Apple charges, although Research in Motion keeps just 20%. Although Windows Marketplace will only works for Windows Mobile 6.5 and Windows Mobile 7, and it will be launched later this year. It seems that because of the success of iPhone and its app store, everyone is trying to doing the same thing, could this marketplace be the answer for Windows to gain more market share in the smartphone operating systems? As for developers, what are their thoughts about this new change? This month’s MobileMonday Taipei, we invite some MVP (most valued professional) of windows mobile application development to share with us their experiences in developing windows mobile application and what they t

BlackBerry 開發者論壇

醫護人員可不可能運用手機應用,提昇醫護效率? 經理人除了隨時收發郵件,還需要什麼手機服務? Research In Motion (RIM) 首次於台灣舉辦的開發者論壇,邀請開發者深入了解BlackBerry技術平台,讓你不但可開發一般消費者使用的有趣服務,還有機會運用BlackBerry為企業量身打造的技術平台,開發出專業的企業服務。當日還有BlackBerry Bold手機的抽獎活動喔! 主辦單位:Research In Motion 承辦單位:Chili Consulting 經世顧問股份有限公司 議程: 13:50 – 14:20 報到 14:20 – 14:30 開幕 14:30 – 15:00 BlackBerry 應用服務介紹(講者:陳健基) 15:00 – 15:20 休息(敬備茶點) 15:20 – 15:50 BlackBerry 企業伺服器技術(講者:鍾欣鳴) 15:50 – 16:50 BlackBerry應用程序開發入門(講者:林瑋) 16:50 – 17:10 Q & A 17:10 – 17:15 抽獎(BlackBerry Bold手機一支) 場地:中國文化大學推廣教育部建國本部大夏館 B1國際會議廳 地址:台北市建國南路二段231號 http://registrano.com/events/blackberry2009-taipei

執行視窗可執行命令

gpedit.msc-----本機群組原則 nslookup-------IP位址偵測器 explorer-------開啟檔案總管 logoff---------登出指令 tsshutdn-------60秒倒計時關機指令 lusrmgr.msc----本機使用者及群組 notepad--------開啟記事本 cleanmgr-------磁碟清理 net start messenger----開始net send 服務 compmgmt.msc---電腦管理 net stop messenger-----停止net send 服務 dvdplay--------呼叫Microsoft Media Player charmap--------啟動字元對應表 calc-----------啟動計算機 dfrg.msc-------磁碟重組工具 chkdsk.exe-----Chkdsk磁牒檢查 devmgmt.msc--- 裝置管理員 srononce -p ----15秒關機 dxdiag---------檢查DirectX資訊 regedt32-------註冊表編輯器 rsop.msc-------群組原則結果集 mem.exe--------顯示記憶體使用情況 regedit.exe----註冊表 perfmon.msc----電腦效能監測程序 winver---------檢查Windows版本 sfc /scannow-----掃瞄錯誤並復原 taskmgr-----工作管理器(2000/xp/2003) eventvwr.msc------------事件檢視器 secpol.msc----------------本機安全性設定 rsop.msc------------------原則的結果集 ntbackup----------------啟動製作備份還原嚮導 mstsc-----------遠端桌面 winver---------檢查Windows版本 wmimgmt.msc----開啟windows管理體系結構(WMI) wupdmgr--------windows更新程序 wscript--------windows指令碼宿主設定 write----------呼叫WordPad winmsd---------系統資訊 mem.exe----

如何修改 ActiveSync 以自動將裝置連線為 來賓,請避免建立新的合作關係

有時候,您可以建立在 Microsoft Windows CE 架構裝置] 與 [桌上型電腦是執行 ActiveSync,而不建立新的合作關係之間的 ActiveSync 連接。 您可以設定自動使用下列登錄機碼為 「 來賓連接裝置的 ActiveSync。 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services]"GuestOnly"=dword:00000001

Code for Lock Computer

Process.Start("C:\WINDOWS\system32\rundll32.exe", "user32.dll,LockWorkStation")

Draw Transparent Form Sample

http://cid-80d278a65a907b4c.skydrive.live.com/self.aspx/.Public/SDP.rar

用PC玩 Wii模擬器教學

http://kissjojo99.pixnet.net/blog/post/23190822

Bluetooth on the emulator

Would you like to develop applications that bluetooth functionality on the Windows Mobile emulator? http://www.codeproject.com/KB/mobile/bth4devemul.aspx

stop a device suspending programatically

public class Power { private const string POWER_TIMEOUT = @"System\CurrentControlSet\Control\Power\Timeouts"; private const string POWER_STATE_SUSPEND = @"System\CurrentControlSet\Control\Power\State\Suspend"; [DllImport("CoreDll")] public static extern void SystemIdleTimerReset(); public static int PowerOffTime { set { RegistryKey rktimeout = Registry.LocalMachine.OpenSubKey(POWER_TIMEOUT, true); if (rktimeout != null) { rktimeout.SetValue("ACSuspendTimeout", value, RegistryValueKind.DWord); rktimeout.SetValue("BattSuspendTimeout", value, RegistryValueKind.DWord); rktimeout.Close(); }

Switch ScreenPower

public class Screen { private const uint QUERYESCSUPPORT = 8; private const uint GETVFRAMEPHYSICAL = 6144; private const uint GETVFRAMELEN = 6145; private const uint DBGDRIVERSTAT = 6146; private const uint SETPOWERMANAGEMENT = 6147; private const uint GETPOWERMANAGEMENT = 6148; private const int SHFS_SHOWSTARTICON = 0x0010; private const int SHFS_HIDESTARTICON = 0x0020; public static void PowerOff() { IntPtr hdc = GetDC(IntPtr.Zero); uint size = 12; byte[] vpm = new byte[size]; BitConverter.GetBytes(size).CopyTo(vpm, 0); BitConverter.GetBytes(0x0001).CopyTo(vpm, 4); BitConverter.GetBytes((uint)ScreenPowerState.ScreenPowerOff).CopyTo(vpm, 8); ExtEscapeSet(hdc, SETPOWERMANAGEMENT, size, vpm, 0, IntPtr.Zero); } public static v

Calculates the GPS two point distances

public double GetDistance(double Lat1, double Long1, double Lat2, double Long2) { double Lat1r = ConvertDegreeToRadians(Lat1); double Lat2r = ConvertDegreeToRadians(Lat2); double Long1r = ConvertDegreeToRadians(Long1); double Long2r = ConvertDegreeToRadians(Long2); double R = 6371; // Earth's radius (km) double d = Math.Acos(Math.Sin(Lat1r) * Math.Sin(Lat2r) + Math.Cos(Lat1r) * Math.Cos(Lat2r) * Math.Cos(Long2r-Long1r)) * R; return d; } private double ConvertDegreeToRadians(double degrees) { return (Math.PI/180)*degrees;}

Showing Control Panel applets programmatically

private void ShowApplet(AppletType applet) { ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = "ctlpnl.exe"; startInfo.Arguments = String.Format("cplmain.cpl,{0}", (int)applet); Process.Start(startInfo); } public enum AppletType { Contrast, Password, OwnerInformation, Power, Memory, About, Backlight, AlignScreen, InputMethod, SoundsReminders, RemovePrograms, Menus, Buttons, TodaySettings, PCConnections, ModemConnections, Clock, NetworkConnections, RegionalSettings }

SoundPlayer sync VS Async

非同步播放音樂 Dim m As New System.Media.SoundPlayer m.SoundLocation = " http://ppp_peer/t1.wav " m.LoadAsync() m.PlaySync 同步播放音樂 Dim m1 As New System.Media.SoundPlayer m1.SoundLocation = " http://ppp_peer/t1.wav " m1.Load() m1.Play()

CeRunAppAtTime 函數來排程

此範例是五秒鐘後播放一段音樂檔 [DllImport("CoreDLL.dll")] public static extern int CeRunAppAtTime(string application, SystemTime startTime); [DllImport("CoreDLL.dll")] public static extern int FileTimeToSystemTime(ref long lpFileTime, SystemTime lpSystemTime); [DllImport("CoreDLL.dll")] public static extern int FileTimeToLocalFileTime(ref long lpFileTime, ref long lpLocalFileTime); [StructLayout(LayoutKind.Sequential)] public class SystemTime { public ushort wYear; public ushort wMonth; public ushort wDayOfWeek; public ushort wDay; public ushort wHour; public ushort wMinute; public ushort wSecond; public ushort wMilliseconds; } public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { l ong fileStartTime = DateTime.Now.AddSeconds(5).ToFileTime(); long localFileStartTime = 0; FileTimeToLocalFileTime(ref fileStartTime, ref localFileStartTime); SystemTime systemStartTime = new SystemTime(); FileTimeToSystemTime(ref localFileStartTim

Wikipedia in Your Pocket

Windows Mobile Developing Environment安裝順序

Windows XP Pro SP2 / Vista SP1 ActiveSync 4.5/WMDC 6.0 SQL Server 2005/2008 Visual Studio 2005/2008 Virtual PC 2007 WM5 / WM6 SDK Refresh CHT Emulator Images WM Developer Powertoys

Samsung Show hands-on and video at MWC

圖片
以後的手機可以放電影了喔,Show 的投影尺寸大小從 5 吋到 50 吋間皆可,解析度為 480 x 320。 http://www.engadget.com/2009/02/18/samsung-show-hands-on-and-video-at-mwc/

VMware Brings Virtualization to Mobile Phones

VMWare同時裝了Windows CE和Android兩個系統 http://www.vmware.com/technology/mobile/

Samsung launches Innovator Program for Windows Mobile

圖片
http://innovator.samsungmobile.com/index.do

Mobile SDK 超級比一比

圖片
http://chinese.engadget.com/2008/03/07/iphone-sdk-comparison-chart/

Windows Embedded 研討會

2009年3月17日 上午 09:00 - 2009年3月17日 下午 04:00 台北 國泰金融中心 - 1F 會議室 台灣Taipei 台北市信義區松仁路9號1樓 http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032399826&culture=zh-TW

Windows Mobile 進階體驗營

2009年3月11日 下午 02:00 - 2009年3月11日 下午 05:00 台北 台灣微軟7A會議室 台灣台北 台北市信義區松仁路 7 號 7 樓 http://msevents।microsoft.com/CUI/EventDetail.aspx?EventID=1032399824&culture=zh-TW

掌握市場導向 破除微利時代 - 「企業行動通訊整合」研討會

2009年3月3日 下午 02:00 - 2009年3月3日 下午 05:00 台北 台北喜來登大飯店 喜廳 台灣Taipei 台北市忠孝東路1段12號 http://msevents.microsoft.com/cui/EventDetail.aspx?culture=zh-TW&EventID=1032399522

iPhone & Android 自由軟體應用程式開發技術交流座談會

地點科技服務大樓(台北市松山區民生東路四段133號8樓) 808會議室 時間: 2009年3月5日 13:30 – 14:00 報到 14:00 – 15:00 由iPhone App Store應用程式上線經驗看 Google Android 15:00 – 15:20 Break 15:20 – 16:20 iPhone 及 Android 應用程式開發技術分享 16:20 – 16:30 Q & A 意者請速到下列網址報名,名額有限,額滿為止。 http://www.oss.org.tw/seminar/meeting2/

ARM 9 開發板

圖片
內附: 1. mini2440學習開發板一片 2. 電源適配器(+5V) 3. DB9直連串口線一條 4. 交叉網線一條 5. USB線一條 6. 簡易JTAG小板(可配合H-JTAG進行單步模擬調試)一個 7. 帶觸摸的NEC3.5寸屏一個(配精緻固屏面板) 8. DVD開發光碟一張 採購金額3500元如果有需求的人在來給我mail吧,我可以幫你採買但是光碟裡面沒有繁體的wince不過我有build一版可以互相研究。

SQL欄位內 int 資料前面補0字元

例如 1 要變成 01 select right('00'+cast(shour as varchar),2) from 表格

Switch WIFI Command

Enum CEDEVICE_POWER_STATE PwrDeviceUnspecified = -1 D0 = 0 D1 D2 D3 D4 PwrDeviceMaximum End Enum Public Shared Function DevicePowerNotify(ByVal device As String, ByVal state As CEDEVICE_POWER_STATE, ByVal flags As Integer) As Integer End Function Public Shared Function SetDevicePower( _ ByVal pvDevice As String, _ ByVal df As Integer, _ ByVal ds As CEDEVICE_POWER_STATE) As Integer End Function Public Shared Sub wifi_power_on() Try DevicePowerNotify("{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Jedi",CEDEVICE_POWER_STATE.D0, 1) SetDevicePower("{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Jedi", 1,CEDEVICE_POWER_STATE.D0) Application.DoEvents() Catch End Try End Sub Public Shared Sub wifi_power_off() Try DevicePowerNotify("{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Jedi",CEDEVICE_POWER_STA

Windows Mobile Developer Power Toys

The Power Toys include: 1.Emulator ActiveSync Connection Tool - Allows Activesync to connect to your Emulator session from Visual Studio .NET 2003. 2.ActiveSync Remote Display - Display Pocket PC applications on your desktop or laptop without needing any device side configuration. 3.CECopy - Command line tool for copying files to the device currently connected to desktop ActiveSync. 4.Convert PPC DAT to SP XML - Command line tool for generating Smartphone CABWizSP XML docs from existing Pocket PC CAB files. 5.Hopper - User input stress simulator. 6.JShell - UI version of the Platform Builder Target Control Window. 7.PPC Command Shell - Command shell for the Pocket PC 2003 device. 8.RAPI Debug - Displays detailed information about currently running processes. 9.RAPI Start - Command line tool to remotely start an application on your Pocket PC from your desktop. 10.TypeIt - Send characters/strings to the Smartphone 2003 Emulator via ActiveSync. http://www.microsoft.com/downloads/details.a

calendar and contacts sync for iPhones and Windows Mobile devices,

http://googleblog.blogspot.com/2009/02/calendar-and-contact-syncing-for-iphone.html

Auto-close message box

圖片
Imports System.Runtime.InteropServices Public Class Form1 _ Private Shared Function FindWindow(ByVal lpClassName As String, ByVal lpWindowName As String) As IntPtr End Function _ Public Shared Function PostMessage(ByVal hWnd As IntPtr, ByVal msg As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As Integer End Function Public Const WM_CLOSE As Integer = &H10 Private Sub StartKiller() Dim timer As New Timer() timer.Interval = 3000 '3秒啓動 AddHandler timer.Tick, AddressOf Timer_Tick timer.Start() End Sub Private Sub KillMessageBox() '依MessageBox的標題,找出MessageBox的視窗 Dim ptr As IntPtr = FindWindow(Nothing, "TEST") If ptr <> IntPtr.Zero Then '找到則關閉MessageBox視窗 PostMessage(ptr, WM_CLOSE, IntPtr.Zero, IntPtr.Zero) End If End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Small Basic V0.2 is Now Available

圖片
http://msdn.microsoft.com/en-gb/devlabs/cc950524.aspx Small Basic is a project that's aimed at bringing "fun" back to programming. By providing a small and easy to learn programming language in a friendly and inviting development environment, Small Basic makes programming a breeze. Ideal for kids and adults alike, Small Basic helps beginners take the first step into the wonderful world of programming.

Windows Mobile Unified Sensor API

圖片
The Windows Mobile Unified Sensor API allows developers to easily access the hardware sensors that are available on various phones. http://www.codeplex.com/sensorapi

Microsoft Tag

圖片
  Microsoft Tag creates unlimited possibilities for making interactive communications an instant, entertaining part of life. They tranform physical media (print advertising, billboards,product packages, information signs, in-store merchandising, or even video images)—into live links for accessing information and entertainment online. With the Microsoft Tag application, just aim your camera phone at a Tag and instantly access mobile content, videos, music, contact information, maps, social networks, promotions, and more. Nothing to type, no browsers to launch! http://www.microsoft.com/tag/ Microsoft Tag Reader http://gettag.mobi/