View Full Version : COM Object Availability
RandyP
26-Dec-2003, 02:08 PM
We would like to be able to script BC using COM from a web server application. It seems like over a year ago, we heard Scooter might be adding automation capability, but I haven't heard anything.
Our specific use case is to be able to provide an HTML display of the difference between two revisions of a block of text. That is, we would like to use the exact capability that is in BC now--but automate it via COM.
Thanks,
-- Randy
Craig
27-Dec-2003, 02:10 PM
COM automation is in the "possibly in a future release" category. We are considering it, but other features currently have higher priority.
Depending on the amount of control you need, you should be able to get fairly close using the command line scripting support. Just generate a script to produce the report you need and call BC with that and the /silent switch to keep the window from popping up.
RandyP
29-Dec-2003, 04:49 PM
OK thanks. We may give it a shot and see how it goes.
Here are a few things that could potentially be easier/faster/better if it could be done via COM:
1. Be able to pass in two strings from memory to be compared, and get a 3rd string returned. As it is now, we'll have to create two temporary files and have BC produce a 3rd just to rig the thing, then clean up after them.
2. Deal with simultaneous web hits. For now, we'll have to employ a semaphore locking scheme in order to protect against two calls to the batch file from overlapping.
-- Randy
COM automation is in the "possibly in a future release" category. We are considering it, but other features currently have higher priority.
Hi:
This COM automation functionality is exactly what I'm looking for. Has this been inplemented?
Thanks!
--Paul
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.