[BLACKBOX] BB running as server: problem solved

From: [at]} <Rainer>
Date: Wed, 15 Apr 2009 19:23:44 +0200

----boundary-LibPST-iamunique-1146890588_-_-
Content-type: text/plain

Hi all,
thanks to all of you who sent the very valuable advice concerning
this topic.
The functionality of BB server mode is exactly what I was looking
for :-)

Best regards,
Rainer



Am 14.04.2009 um 18:58 schrieb F.V.Tkachov:

> I agree with Bernhard, it is a great way to manage multple projects.
>
> However, I do suggest to consider a dual approach:
> instead of running one vbs file and navigate to required directory,
> drop a copy of the *.vbs file into any directory to make that
> directory a
> working directory (the one after /USE) and run the script from
> there (you probably navigate to that directory anyway using a file
> browser).
>
> The content of the *.vbs file is attached.
> You only have to modify the path to the Blackbox.exe and then copy
> the same *.vbs anywhere you wish.
> Since I have many different projects in BlackBox (not only
> programming, writing papers and presentations too), it is
> impossible to stay within a scheme where choosing the project
> directory would not be a chore at least part of the time.
>
> This is particularly convenient with an adapted (also simplified
> and improved) version of Desktop that I use. I'll send it to Helmut
> Zinn at some point in a not too distant future -- or provide it as
> is for those willing to try it.
>
> cheers
> fyodor
>
>
> ' This script starts BlackBox in server mode,
> ' with this script's directory as working directory.
> ' Use:
> ' -- correct the value of prg below according to where your

> BlackBox is installed,
> ' -- copy the corrected script into the would-be working directory,
> ' -- run it from there to start BlackBox in server mode in that
> directory.
> ' Note:

> ' Two double quotes in a row within a vbs string represent a single
> double quote character.
> ' They are needed to allow paths containing spaces.
> '----------------------------------------------
> ' Original author: Bernhard Treutwein BdT(at)wildwein de
> ' adapted by FVT 2008-12-19
> '

> Option Explicit
> Dim prg
> prg = """u:\blackbox15i21base.NEW\BlackBox.exe""" ' full path name
> of BlackBox installation
> Dim sh
> Set sh = WScript.CreateObject("WScript.Shell")
> sh.Run prg & " " & "/use """ & sh.CurrentDirectory & """", 1, false
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
> LISTSERV{([at]})nowhere.xy


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1146890588_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhpIGFsbCxccGFyDQp0aGFua3MgdG8gYWxsIG9m
IHlvdSB3aG8gc2VudCB0aGUgdmVyeSB2YWx1YWJsZSBhZHZpY2UgY29uY2VybmluZyAgXHBhcg0K
dGhpcyB0b3BpYy5ccGFyDQpUaGUgZnVuY3Rpb25hbGl0eSBvZiBCQiBzZXJ2ZXIgbW9kZSBpcyBl
eGFjdGx5IHdoYXQgSSB3YXMgbG9va2luZyAgXHBhcg0KZm9yIDotKVxwYXINClxwYXINCkJlc3Qg
cmVnYXJkcyxccGFyDQpSYWluZXJccGFyDQpccGFyDQpccGFyDQpccGFyDQpBbSAxNC4wNC4yMDA5
IHVtIDE4OjU4IHNjaHJpZWIgRi5WLlRrYWNob3Y6XHBhcg0KXHBhcg0KPiBJIGFncmVlIHdpdGgg
QmVybmhhcmQsIGl0IGlzIGEgZ3JlYXQgd2F5IHRvIG1hbmFnZSBtdWx0cGxlIHByb2plY3RzLlxw
YXINCj5ccGFyDQo+IEhvd2V2ZXIsIEkgZG8gc3VnZ2VzdCB0byBjb25zaWRlciBhIGR1YWwgYXBw
cm9hY2g6XHBhcg0KPiBpbnN0ZWFkIG9mIHJ1b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