Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Process.Start not working within if statement

$
0
0
Hi guys I have an if statement that doesn't seem to work when i put a point break and went through step by step the code works but if I just run it only the first process.start is run
if (Copy1 != "")
     {
      Process.Start(Copy1);
      }
      if (Copy2 != "")
      {
      Process.Start(Copy2);
      }
      if (Copy3 != "")
      {
       Process.Start(Copy3);
      }

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>