Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

May exprted EXE (or vst) save a choosen file location?

For general discussion related FlowStone

May exprted EXE (or vst) save a choosen file location?

Postby kortezzzz » Mon Aug 12, 2013 9:49 am

hi everybody.

Got some "post- exporting" problems:
i would like that my project will save a file into a manual selected folder location and will load that file in the future every time the user fires it up, untill he chooses other location manually. to make it happen, i'v used 4 primitives:
1)"file dialog"- to choose the wanted folder.
2)"save text"- to save the text in the chosen folder (by "file dialog")
3)"load text"- to load the specific SAVED file from the the chosen folder
4)"afterload"- to load the file every time the user fires the application up

the problem is that after the project compiled, i try to save the file location, but file dialog
doesn't realy saves the selected location and always sending zero value after reloading, so the app never finds the last selectrd folder location again. what i'm doing wrong? is it a string primitive disadvantage or what?
please take a look at the attachments. i'v attached tboth FSM and .exe
Attachments
save a flie_12.fsm
the schematic
(8.38 KiB) Downloaded 818 times
save a file_12.zip
the exported exe
(1.84 MiB) Downloaded 855 times
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: May exprted EXE (or vst) save a choosen file location?

Postby billv » Tue Aug 13, 2013 9:41 am

had to change a bit....your fsm confused me a little...
Functions now as you want it, ..the 'file found/not not found' seems to work ok too.
Hope it helps...
save a flie_12-1_fix.fsm
(68 KiB) Downloaded 860 times
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: May exprted EXE (or vst) save a choosen file location?

Postby kortezzzz » Tue Aug 13, 2013 2:13 pm

THANK YOU BILLV!!!
it works great :)
now i understand what i'v done wrong. thanks a lottttttttt, man.
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm


Return to General

Who is online

Users browsing this forum: No registered users and 92 guests