How to launch BC in Visual Basic Studio

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Evan
    Team Scooter
    • Jan 2018
    • 4

    How to launch BC in Visual Basic Studio

    Syntax error by user Carl who
    emailed to let us know that
    "In Visual Basic VB Studio 2017 the following syntax gives an error. "

    Process.Start("C:\Program Files\Beyond Compare 4\BCompare.exe c:\ATS_Application\Text Data\Case Label - WO 20180611.xls c:\ATS_Application\Text Data\Case Label - WO 20180709.xls") "The error I get when I run the command is :"
    Code:

    The system cannot find the file specified.
    Solution, also posted by Carl:
    "I found the solution, yeah! You might want to share this with your users.
    The command must be in this format with all the quotes shown below:"

    Code:

    Process.Start("C:\Program Files\Beyond Compare 4\BCompare.exe", """C:\ATS Application\Test Data\Case Label - WO 20180611.xls"" ""C:\ATS Application\Test Data\Case Label - WO 20180709.xls""")


Working...