Barrie,
dirName(programName()) should do it.
Regards,
Warren
-----Original Message-----
From: Barrie Walden [mailto:bwalden@whoi.edu]
Sent: 01 February 2006 23:46
To: VRF
Subject: [vrf] Directory information
Hi Folks,
I have a number of small application (some Vee and some not) that need to know the directory containing a running Vee 6.01 application. I would like the Vee application to determine its directory and do something with it to make it available to other applications in a straight forward and perhaps routinely used manner. All I can think of is to establish an environmental variable holding the directory information. Is there another method that might be better?
If not, what's the best way for a Vee application to set and retrieve enviornmental variable values?
Thanks,
Barrie
whoi
---
You are currently subscribed to vrf as:
Warren.Pickles@tycoelectronics.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to
"leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
---
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
dirName(programName()) should do it.
Regards,
Warren
-----Original Message-----
From: Barrie Walden [mailto:bwalden@whoi.edu]
Sent: 01 February 2006 23:46
To: VRF
Subject: [vrf] Directory information
Hi Folks,
I have a number of small application (some Vee and some not) that need to know the directory containing a running Vee 6.01 application. I would like the Vee application to determine its directory and do something with it to make it available to other applications in a straight forward and perhaps routinely used manner. All I can think of is to establish an environmental variable holding the directory information. Is there another method that might be better?
If not, what's the best way for a Vee application to set and retrieve enviornmental variable values?
Thanks,
Barrie
whoi
---
You are currently subscribed to vrf as:
Warren.Pickles@tycoelectronics.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to
"leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
---
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
ed255green0 lue0;}for red </span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GBstyle='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GBstyle='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GBstyle='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p><p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Tahoma><spanstyle='font-size:10.0pt;font-family:Tahoma'>-----Ursprngliche Nachricht-----
<b><span style='font-weight:bold'>Von:</span></b> Lederman Rachel[mailto:rachell@rafael.co.il]
<b><span style='font-weight:bold'>Gesendet:</span></b> Donnerstag, 2. Februar2006 07:29
<b><span style='font-weight:bold'>An:</span></b> VRF
<b><span style='font-weight:bold'>Betreff:</span></b> [vrf] Rich text</span></font></p><p class=MsoNormal style='margin-left:35.4pt'><font size=3face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p><p style='margin-left:35.4pt'><font size=3 face=Arial><span lang=EN-USstyle='font-size:12.0pt;font-family:Arial'>Hello all,</span></font></p><p style='margin-left:35.4pt'><font size=3 face=Arial><span lang=EN-USstyle='font-size:12.0pt;font-family:Arial'>Regarding the example in program....DotNETControlsRichTextBox.vee, how do I change the text color?</span></font></p><p style='margin-left:35.4pt'><font size=3 face=Arial><span lang=EN-USstyle='font-size:12.0pt;font-family:Arial'>Best Regards,</span></font></p><p style='margin-left:35.4pt'><font size=3 face=Arial><span lang=EN-USstyle='font-size:12.0pt;font-family:Arial'>Rachel</span></font></p><p class=MsoNormal style='margin-left:35.4pt'><font size=3face="Times New Roman"><span style='font-size:12.0pt'>
---
You are currently subscribed to vrf as: Detlef.Baranski@pilkington.de
To subscribe send a blank email to"join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at"www.oswegosw.com/vrf_archive/". </span></font></p></div><BR>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list, email "vrf@agilent.com". <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".<BR>Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".</BODY></html>