FileMode.Createを指定しているのにFileNotFoundExceptionが発生するのは不思議ですね。
試しに以下のコードを実行すると、デバッグ出力には何が出力されるでしょうか。
Try
Using fs As New FileStream("C:\Users\TAKEUCHI\SEIKYUSYO.pdf", IO.FileMode.Create)
End Using
Debug.Print("OK")
Catch ex As Exception
Debug.Print(ex.ToString())
End Try
2025年6月10日火曜日 10:32:04 UTC+9 ルネッサ情報: