2012/4/22 Adrien Prokopowicz :
> Le dimanche 22 avril 2012 17:48:28 Benoit Minisini a écrit :
>> If Left(Path) <> "/" then Path = ".." &/ Path
>
> Great, thanks. :)
>
> --
> For Developers, A Lot Can Happen In A Second.
> B
Le dimanche 22 avril 2012 17:48:28 Benoit Minisini a écrit :
> If Left(Path) <> "/" then Path = ".." &/ Path
Great, thanks. :)
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
I'm not at home but I answer anyway... This magic path already exists. :-)
Just add "../" before the relative path.
Public Sub Open(Path As String)
Dim fichier As File
If Left(Path) <> "/" then Path = ".." &/ Path
...
2012/4/22 Fabien Bodard
> 2012/4/22 Adrien Prokopowicz :
> > Hi Ben
2012/4/22 Adrien Prokopowicz :
> Hi Benoît,
>
> In gb.xml, in XmlReader, i'm loading a file through the Open instruction :
>
> Public Sub Open(path As String)
>
> Dim fichier As File
>
> fichier = Open path For Input
> Me.InputStream = fichier
>
> End
>
> But when path is a relative path, it ref
Hi Benoît,
In gb.xml, in XmlReader, i'm loading a file through the Open instruction :
Public Sub Open(path As String)
Dim fichier As File
fichier = Open path For Input
Me.InputStream = fichier
End
But when path is a relative path, it refers to the project of the component,
not to t