Discussion forum about PANORAMIC language

Mac, Windows & Android application development with PANORAMIC language
 
HomeFAQSearchRegisterMemberlistUsergroupsLog in
Latest topics
» Hello world.
by Mon Jun 19, 2017 1:37 am

» Biomorphes de PICKOVER
by Sun Jun 18, 2017 2:33 am

» In less than 10 lines of code
by Fri Jun 16, 2017 5:03 am

» Effect Dopler
by Fri Jun 16, 2017 3:29 am

» SuperEllipse
by Wed Jun 14, 2017 4:01 am

» Plants
by Wed Jun 14, 2017 3:38 am

» Mira's attractor
by Wed Jun 14, 2017 3:30 am

» Triangle of Sierpinski
by Wed Jun 14, 2017 3:22 am

» Esthétique polaire
by Wed Jun 14, 2017 3:16 am

» Butterfly effect : Lorenz equations
by Wed Jun 14, 2017 3:08 am

» Collision detection
by Tue Jun 13, 2017 5:09 am

» The Bees Laline Paull Epub Books
by Mon Oct 10, 2016 8:58 pm

» PANORAMIC for Mac OSX 10 is available
by Tue Aug 09, 2016 6:08 pm

» ide
by Sat Jul 16, 2016 12:27 am

» Can I change the program icon/logo in my application ?
by Thu Jul 07, 2016 3:32 am

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Share | 
 

 Storing individual files

View previous topic View next topic Go down 
AuthorMessage
Fordi



Number of posts : 23
Registration date : 2010-07-12

PostSubject: Storing individual files   Wed Jul 14, 2010 9:15 am

Hello,

when I create a file f.e. "test.txt", Panoramic stores it in "AppData\Local\VirtualStore\Program Files\Panoramic Editor V 0.9.19". How can I manage to store the file in the directory, where my programm is located without using a fixed path?
Is that possible?

Kind regards, Fordi
Back to top Go down
View user profile
Jack
Admin
avatar

Number of posts : 98
Registration date : 2007-07-01

PostSubject: Re: Storing individual files   Wed Jul 14, 2010 11:27 am

You have 2 solutions:

1 - you use an absolute name for the file:
Code:
file_open_write 1,"c:/mydirectory/myfile.txt"

2 - you define the default directory with DIR_CHANGE:
Code:
dir_change "c:/mydirectory"
file_open_write 1,"myfile.txt"
Back to top Go down
View user profile http://panoramic.top-forum.net
Fordi



Number of posts : 23
Registration date : 2010-07-12

PostSubject: Re: Storing individual files   Wed Jul 14, 2010 11:55 am

Thank you, that means, that my programme should have a feature for a userinput, where he wishes to store the files. That should work. Smile
Kind regards, Fordi
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Storing individual files   

Back to top Go down
 
Storing individual files
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» LocalFileDetector (uploading files) - InternetExplorer Driver (Java platform)
» Optimizations - Windows WinSXS Files Cleanup (EXTREME)
» [ANSWERED] How to Integrate Win 7 SP1 and updates that are not MSU files
» Removing .nls Files Discussion
» Calling application's js file inside selenium

Permissions in this forum:You cannot reply to topics in this forum
Discussion forum about PANORAMIC language :: Panoramic for Windows :: Help?-
Jump to: