i face an error when using process.start in windows 10, the function is working in my windows 7, but not working in windows 10, the code of the button as below
Dim PDFFilePath As String = "C:\1.pdf"
Process.Start(PDFFilePath)
i had recorded the short video
Windows 10 Video
https://sendvid.com/i8w8q8nm
Windows 7 Video
hhttps://sendvid.com/as3lkm1g
From the task manager, i can see that process is started, but i cant found the windows from my screen
Windows 10 uses it's app by default to read pdfs.
Change the default program for pdfs to acroboat reader or specify
Dim PDFFilePath As String = "C:\1.pdf"
Dim adobeAcrobatLocation as String = "..wherever.."
Process.Start(adobeAcrobatLocation, PDFFilePath)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.