RawheadRex
Mechanical
- Feb 9, 2001
- 236
Hey Folks,
Just a real quick one here. I'm just finishing off an app for a customer and realized that I forgot to do one bit of checking at startup. That being - is SW actually installed (a pre-requisite)?
Anyhow I am just wondering if anyone has a couple lines of code to share w/ me (and the rest of the board) that accomplishes this. I suppose I could just run a search for "sldworks.exe" on the drive(s) but that just seems a bit inelegant. Better than just letting the app crash but I'm hoping there's something that's a step up from that.
SW2007, VB.Net 2005
Thanks,
Chris Gervais
Application Engineer
CSWP, CSWST
Just a real quick one here. I'm just finishing off an app for a customer and realized that I forgot to do one bit of checking at startup. That being - is SW actually installed (a pre-requisite)?
Anyhow I am just wondering if anyone has a couple lines of code to share w/ me (and the rest of the board) that accomplishes this. I suppose I could just run a search for "sldworks.exe" on the drive(s) but that just seems a bit inelegant. Better than just letting the app crash but I'm hoping there's something that's a step up from that.
SW2007, VB.Net 2005
Thanks,
Chris Gervais
Application Engineer
CSWP, CSWST