--- lang: ja-jp breaks: true --- # `.NET Core` C# で 関連付けられたアプリを開く 2021-10-19 > .NET Coreで関連付けられたアプリを起動できない【改訂版】 > http://mag.autumn.org/Content.modf?id=20190617143252 ```csharp= public static void ExcelProcessStart(string strFilePath) { #if NET var startInfo = new ProcessStartInfo("excel", "\"" + strFilePath + "\""); startInfo.UseShellExecute = true; Process hProcess = Process.Start(startInfo); #else Process hProcess = Process.Start("excel", "\"" + strFilePath + "\""); #endif } ``` ###### tags: `.NET Core` `C#` `Process.Start`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up