[Gambas-user] Load hidden file to variable?

Sebi sebikul at ...626...
Sat Mar 31 17:40:20 CEST 2012


Hi! Try to use User.Home instead of ~. 

I.e.
File.Load(User.Home &/ "/.applicationtempfile/.hiddendir/file")

-----Original Message-----
From: "sundar j" <sundar_ima at ...251...>
Date: 31 Mar 2012 15:36:56 
To: gambas-user<gambas-user at lists.sourceforge.net>
Reply-To: sundar_ima at ...251...,
	mailing list for gambas users <gambas-user at lists.sourceforge.net>
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 at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


More information about the User mailing list