Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
UNCパスをファイルURIに変換する方法..私のアプリケーションのユーザーは、テストボックスで次のようなcssUNCパスを指定します。
\\egng4573\D$\CSS\Style.css
どうすれば変更できますか:
file:///D:/CSS/Style.css
FirefoxとIEの両方が目的のパスからcssにアクセスし、それらに適用できるようにします。
.NETでは、
let unc = @"\\egng4573\D$\CSS\Style.css"
それから
new System.Uri(unc)
それをする必要があります。
val it : System.Uri = file://egng4573/D$/CSS/Style.css