Hi! Try to use User.Home instead of ~.
I.e.
File.Load(User.Home &/ "/.applicationtempfile/.hiddendir/file")
-----Original Message-----
From: "sundar j" <
sundar_ima@...>
Date: 31 Mar 2012 15:36:56
To: gambas-user<
gambas-user@...>
Reply-To:
sundar_ima@...,
mailing list for gambas users <
gambas-user@...>
Subject: [Gambas-user] Load hidden file to variable?
I need to load file to a variable which is residing in side a hidden folder. So i tried to load it like
If Exist("~/.applicationtempfile/.hiddendir/file") = True Then
search = File.Load("~/.applicationtempfile/.hiddendir/file")
...
rest of coding
...
However obove code does not work. Any help???
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user