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 the user's project. So the interpreter doesn't find the file, and raises 
an error.

How can I make relative paths referring to the good file ?

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to