SaveFileRequester opening wrong directory?

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Fangbeast.

FileName$ = SaveFileRequester("IncrediCAT Catalogue", "c:\imftest\Catalogue.txt", "Text Files | *.txt;*.asc", 0)

I have a directory on the hard drive called imftest and it is in drive c:. According to the docs, SaveFileRequester can initialise its' request in the right directory and default filename with the second parameter.

Instead, it keeps opening up in "My Documents" for the currently logged in user. Am I doing something wrong here?

Fangles
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

You're absolutly right Fangles,

Tested on NT4 SP6, same effect as Fangles descripted.


Siggi
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.
According to the docs, SaveFileRequester can initialise its' request in the right directory and default filename with the second parameter.
Instead, it keeps opening up in "My Documents" for the currently logged in user. Am I doing something wrong here?
The "My Documents" folder takes over the standard dialog, so PureBasic is not at fault here -- it's a system thing. Check out the tip at the very bottom of this page (I haven't tried it):

http://www.geocities.com/thegorx/Window ... gistry.htm

Give it a go and see if it works...


Edited by - PB on 31 October 2001 14:38:56
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

This time, this WAS a PB bug... Fixed now. Next release will be released the next week and will include the following:

Compression library
Database library (ODBC)
Console library
JPEG support for sprites (internal, no dll)
Debugger: ability to show ASM registers+flags in real time and even change their values on the fly ! It's now possible to see all the variables contents in Step by Step excution to track bug even more easely..
Lot of little fixes and improvement..


Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.
This time, this WAS a PB bug... Fixed now.
Ah, I see. My mistake then. BTW, good to see that debugging now shows variable contents in the next release -- woohoo! :) But how about my old request where a list of procedure/label names can be scrolled and clicked to be taken directly to that section of code? :)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.

Go for it Fred, can't wait and see...



Have a nice day...
Franco
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Fangbeast.
Go for it Fred, can't wait and see...
Amen to that Franco!! Fred is a Legend. I'd kill for the compression libraries alone but the filerequester was needed for some of my program testers who are seriously blonde and need visual clues ROFL

Fangles
Post Reply