| |
|
|
- Page 1 - |
|
liveFamilie | Hi, I had time again something Time to that reading and try. I wanted to a Save dialog make and I me The Examples angeschaut and ausprobiert but nothing works so correctly.. with this Examples from MMJ-Source, manuals and HilfeDatei :
name$ = @SaveFile$("Datei speichern","Normal (.txt)|*.txt")
Hierbei appear no Window, it happens quite nothing by me.
name$ = @SaveFile$("Datei speichern","Test.txt")
Hierbei appear the window, I can a names enter and on OK clicking, but if I then nachschaue is no File created been.
where is Please beautiful my fallacy ? i want only whom Save-dialog Call, a Filenames prompt (default ought to txt his) and if I on Save/OK go, ought to a File created go. Please in Profan V8, for Notes would I grateful.
Greeting Toni |
|
|
| XProfan 8"Profan das Besondere" was auch in einem gewissen Alter noch Spass macht und Fit hält. | 03/28/12 ▲ |
|
|
|
|
« this Posting watts as Solution marked. » |
|
liveFamilie | Hi, @Nico and Dieter
Yes with euren both Solutions be I again a small step moreover. THANK YOU
@Dieter That the V9.1 I had of course already red, I but not so often Internet be, I had it again verdrängt. For this was then today time one day the whole Program updates. but tested whether everything yet so is as was, moreover be I not yet come.
too here thanks for my vergesslichkeit, the old can greet.
Toni |
|
|
| XProfan 8"Profan das Besondere" was auch in einem gewissen Alter noch Spass macht und Fit hält. | 03/29/12 ▲ |
|
|
|
|
|
Julian Schmidt | the commands functions just as, How it ought to! it prepares a dialog to selection one Dateipfades, and gives whom way to the electoral back. subsequently can you whom way in your Program process, about a File this create o.ä.. See in the Help SaveFile. |
|
|
| |
|
|
|
Nico Madysa | Hello Toni,
I try time, on both ask einzugehen.
liveFamilie (28.03.12)
name$ = @SaveFile$("Datei speichern","Normal (.txt)|*.txt")
Hierbei appear no Window, it happens quite nothing by me.
Try still please times, whom subesquent View source from and say me, whether a Choose-Dialog appear:
by me functions it namely free from problems.
liveFamilie (28.03.12)
where is Please beautiful my fallacy ? i want only whom Save-dialog Call, a Filenames prompt (default ought to txt his) and if I on Save/OK go, ought to a File created go. Please in Profan V8, for Notes would I grateful.
your fallacy lying therein, that You with SaveFile$() only the User The Possibility bid, itself auszusuchen, where The File stored go should.
For this, that they then too objectively stored becomes, have you got as Programmer worry To carry.
How You there best vorgehst, depends of it ex, what You Save want. One Image can you with
Save, a Textdatei can you on The following point Save:
'the lever fileHandle& serves the Access to The File
fileHandle& = Assign(Dateiname$)
'Erstelle a new File. if already a exists, lösche tappt im dunkeln:
Rewrite fileHandle&
'Wirf everything, what You in the Textdatei stand having want, by print into
print fileHandle&, "Das is my Textdatei"
print fileHandle&, superWichtigerText$
'subsequently must The File closed go
Close fileHandle&
I hope, I could help. |
|
|
| |
|
|
|
liveFamilie | Hello Nico,
if I your suggested code use (or whom of me ausprobierten) appear zero comma quite nothing. I own 3 PC's with XP, Vista and 7 on all have I Profan 8 (because of the Compiler) on it. it blinkt only time short one Window on and is immediate again lane, setting I to End one Waitinput, appear only the window of what CLS created becomes. use I a höhere Profan Version then works it with the Window, but this is Yes not my desires. Klappt it because with you too with the V8 and nothing höherem ?
@Julian I have plenty red too under Help (under SaveFile) but unfortunately nothing genaues found. therefore have I Yes decided time here circa council and Help search.
but I get under V8 Yes not yet once the window there (see Text Nico).
Greeting Toni |
|
|
| XProfan 8"Profan das Besondere" was auch in einem gewissen Alter noch Spass macht und Fit hält. | 03/29/12 ▲ |
|
|
|
|
Dieter Zornow | Teste time this code, the runs by me with Profan 8 under Win 7 64bit correct. it'll one Textdatei abgespeichert.
but Why using You not the new Freewareversion 9.1 The now of Rolands Page downloadable is. |
|
|
| XProfan X2Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 03/29/12 ▲ |
|
|
|
|
liveFamilie | Hi, @Nico and Dieter
Yes with euren both Solutions be I again a small step moreover. THANK YOU
@Dieter That the V9.1 I had of course already red, I but not so often Internet be, I had it again verdrängt. For this was then today time one day the whole Program updates. but tested whether everything yet so is as was, moreover be I not yet come.
too here thanks for my vergesslichkeit, the old can greet.
Toni |
|
|
| XProfan 8"Profan das Besondere" was auch in einem gewissen Alter noch Spass macht und Fit hält. | 03/29/12 ▲ |
|
|
|