2017年7月6日 星期四

[WINDOWS 10] [English Version]將預設輸入法切換改為 Ctrl + Shift


從控制台進入到語言設定
> Control Panel\Clock, Language, and Region\Language



從左側選擇進階選項
找到更換語言快速鍵




把切換輸入法改為Ctrl+Shift




OK囉!!

[設計好物]CANVA


推薦網站:https://www.canva.com/



這是線上免費設計卡片或者是一些平面小宣傳廣告用的(例如:Facebook)

裡面有些基本設計或者是收費的設計

最好用的地方是你可以自由設計後轉成圖片檔或者是PDF

轉出後的PDF還可以直接使用Illustrator去修改成自己需要的尺寸

而且在Illustrator中使用,每個頁面都是獨立的物件還可以做更廣泛的應用

真的是無敵好用!!!強力推薦 👍

[Windows Forms] [VB.NET] TEXTBOX 輸入限制 -只能輸入數字

'只能輸入數字
 If e.KeyChar = Chr(48) Or e.KeyChar = Chr(49) Or e.KeyChar = Chr(50) Or e.KeyChar = Chr(51) Or e.KeyChar = Chr(52) Or e.KeyChar = Chr(53) Or e.KeyChar = Chr(54) Or e.KeyChar = Chr(55) Or e.KeyChar = Chr(56) Or e.KeyChar = Chr(57) Or e.KeyChar = Chr(13) Or e.KeyChar = Chr(8) Then
 e.Handled = False
  Else
e.Handled = True
 End If

2017年6月5日 星期一

[Windows Forms] [VB.NET] 取得日期 資料處理

'Get the first day of the month
'取得當月的第一天 Public Function FirstDayOfMonth(ByVal sourceDate As DateTime) As DateTime
  Return New DateTime(sourceDate.Year, sourceDate.Month, 1)
End Function


'Get the last day of the month
'取得當月的最後一天 Public Function LastDayOfMonth(ByVal sourceDate As DateTime) As DateTime
  Dim lastDay As DateTime = New DateTime(sourceDate.Year, sourceDate.Month, 1)
  Return lastDay.AddMonths(1).AddDays(-1)
End Function


'根據日期取得上個月的最後一天
Public Shared Function LastDayOfLastMonth(ByVal sourceDate As DateTime) As DateTime
        Dim lastDay As DateTime = New DateTime(sourceDate.Year, sourceDate.Month, 1)
        Return lastDay.AddMonths(0).AddDays(-1)
End Function


'根據日期取得下個月的第一天
Public Shared Function FirstDayOfNextMonth(ByVal sourceDate As DateTime) As DateTime
        Dim NextDay As DateTime = New DateTime(sourceDate.Year, sourceDate.Month, 1)
        Return NextDay.AddMonths(1).AddDays(0)

End Function

2017年5月23日 星期二

[Windows Forms] [VB.NET] TEXTBOX 輸入限制 -只能輸入字母

  Private Sub txtbox1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles txtbox1.KeyPress
        '只能輸入字母
        If Char.IsLetter(e.KeyChar) = True Or Char.IsControl(e.KeyChar) = True Then
            e.Handled = False
        Else
            e.Handled = True
        End If
    End Sub

2017年1月23日 星期一

[ADOBE] [PDF] 文件轉向


如果你收到一個PDF 文件需要轉向,你又只有安裝Adobe Reader的話
可以試試看你的印表機如果有PDF Writer
就可以在Reader中再次列印,選到PDF Writer
另存檔案
就可以得到轉好的檔案唷!


如果你沒有PDF Writer
可以試著安裝 CutePDF Writer

[OFFICE 2010] [OUTLOOK] Outlook 中開啟或儲存電子郵件附件時出現錯誤訊息:「無法建立檔案」

Can not create file:XXXX. Right-click the folder you want to create the file in, and the click Properties on the shortcut menu to check your permissions for the folder.



1.[開始],再按一下 [執行],輸入 regedit

2.找出下列登錄機碼並按一下: 

HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security\
但這邊有個祕訣,你用肉眼找可能找不到Security這資料夾,一定要利用Edit →Find
用搜尋的方式才會找到在這各OUTLOOK底下有一個Security
接著可以看到右側的OutlookSecureTempFolder ,右鍵點選修改
COPY整段路徑到檔案總管中(此路徑是隨機的,你一定要透過regedit才能找到這各路徑)



接著手動清除此資料夾中的所有檔案,OUTLOOK也可以立即開啟檔案了!
另外~不用重開機啦!!

參考:
當您嘗試在 Outlook 中開啟或儲存電子郵件附件時出現錯誤訊息:「無法建立檔案」