2022年3月4日 星期五
[VB.NET] 簡易加密解密工具
2022年2月17日 星期四
[Teams練功房]視訊會議背景設定 文字翻轉
使用Teams 視訊會議可以更換自己的背景特效
但是當選擇有文字的時候,我們可以注意到背景是靜像的,也就是文字是相反的
起初還以為是Teams的Bug,畢竟使用過Zoom的都知道有靜像這個選項可以自由決定
反之目前我使用的是企業版的Teams是沒有這個選項的,我的版本是1.5.00.2164(64位元) 給你參考
2022年2月8日 星期二
[Skype for Business] Exchange needs your credentials. Until then you might see outdated info in Skype for Business
Skype for Business 偶而會在訊息欄處跳出訊息,上面顯示【Exchange needs your credentials. Until then you might see outdated info in Skype for Business】
少了這個與AD的認證會影響到行事曆的提醒
目前測試可以直接成功的解法,在檔案總管中直接開啟下面路徑
%UserProfile%\AppData\Local\Microsoft\Office\16.0\Lync
操作步驟
1.先結束Skype for Business
2.找到路徑【%UserProfile%\AppData\Local\Microsoft\Office\16.0\Lync】底下的資料夾可以找到sip_user@domain.com資料夾,可直接刪除
3.重新啟動Skype for Business即可
2022年2月7日 星期一
[VB.NET]判斷月份天數
因應2月份不固定最後一天的天數,如果單純寫成30或31天都會造成程式上的錯誤,所以還是直接使用判斷來指定天數會比較妥當。
OrderYear =2022
OrderMonth =2
Dim DatestringStart As String = OrderYear & "/" & OrderMonth & "/01"
Dim Days As Integer = System.DateTime.DaysInMonth(OrderYear, OrderMonth)
Dim DatestringEnd As String = OrderYear & "/" & OrderMonth & "/" & Days
2022年1月11日 星期二
[Vb.NET] 搜尋指定文字資料夾 & 尋找資料夾中的副檔名 或 特定文字
Dim sSourcePath As String = txtDirection.Text.Trim
Dim sDestPath As String = ""
Dim sTextToFind As String = "搜尋指定文字資料夾"
Dim FolderName As String = ""
Dim PrinterFolderPath As String = sSourcePath
For Each sDir In Directory.GetDirectories(sSourcePath, "*" & sTextToFind & "*")
FolderName = Path.GetFileName(sDir)
PrinterFolderPath = sSourcePath & "\" & FolderName
Dim di As New DirectoryInfo(PrinterFolderPath)
'抓取資料夾中檔名,並只取PDF
For Each fi As FileInfo In di.GetFiles()
If fi.Extension.ToLower = ".pdf" Then
'資料夾中檔案副檔名是PDF的
End If
If fi.Name.ToLower.Contains("TEST") Then
'找出資料夾中的檔案名稱有包含TEST的
End If
Next
Next
2021年10月15日 星期五
[OUTLOOK 2016 O365] 隱藏最近使用的檔案Office清單
當我們在Outlook 發信的時候,有時候在別人面前寄信,總是會不小心被看到一些自己的隱私
Outlook 改版至Office 2016 後附加檔案新增了最近使用的項目,想要關掉它卻又找不到設定選項
目前看來只有改機碼能解決
請在搜尋處輸入
Regedit
路徑輸入Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\Options\Mail
手動新增
DWORD(32-bit) Value
輸入
MaxAttachmentMenuItems
值類型值
2021年3月10日 星期三
[ASP.Net] A potentially dangerous Request.Form value was detected from the client 儲存HTML語法時遇到錯誤解決方法
利用ASP.NET 回存資料為HTML語法的時候,若是沒有特別處理會被誤判為有攻擊性的存檔
存檔時出現A potentially dangerous Request.Form value was detected from the client
狀況會如下圖顯示:



