Hey man no problems. The THANKS viggen gave made it all worthwhile ... many times over and I mean that ...

I posted a new build its available in a zip here:

BCPWwrapper.zip

It includes a new MSI and a ZIP of the entire project with source code so you should be able to change and rebuild yourself. The project consists of two sub-projects ... the wrapper itself and the MSI builder (setup1) ... if you have any questions feel free to shoot me a PM ...

Made two changes to the wrapper:

1) Renamed the OpenBCP method to just Open - thats to be consistent with the Close method and because thats what the real methods are called under-the-covers - just for consistency.

2) Added the EraseData method.

Here's some new source ...

 Code:
Break On

$BCPController = CreateObject("BCPWrapper.BCPController")

$bool = $BCPController.Open("COM12", "1234")

$text = $BCPController.UploadData()

?"text = " + $text

$bool = $BCPController.EraseData

$BCPController.Close

Exit 0


And like I said, any questions or even if you want me to add some new methods properties - let me know ...

-Shawn