[Gambas-user] Value of Vendor

Charlie Ogier charlie at cogier.com
Sat Aug 18 17:18:13 CEST 2018


Hi Hans,

The detail you are looking for is in the .project file. The following 
code will get the details for you: -

*Public Sub Form_Open()**
**Dim sFile As String = File.Load("../.project")**
**Dim sLine As String**
**
**For Each sLine In Split(sFile, gb.newline)**
**  If sLine Begins "Vendor" Then Print sLine**
**Next**
**
**End*

Charlie Ogier



On 18/08/18 15:31, Hans Lehmann wrote:
> Hello,
>
> is there a way to read the value of Vendor in the project properties?
>
> With kind regards
>
> Hans
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180818/a87e9316/attachment.html>


More information about the User mailing list