Re: FileSaveDialog
Hi Bryan,
I just tried your code (replacing YourFolder[1].Title with some simple
text
and taking out the YourFolder.Clear) and it worked fine for me on
Windows NT
V4.0. The behavior is a little strange... that is, you write to the
file,
then ask you want to save it afterwards, but I assume this is just an
example.
I suggest that you report this to Forte support.
Cheers,
Kerry
Does anyone know how to use the FileSaveDialog? This is the code that I
have, and I am running into an error that I don't understand:
ret : integer;
theFile : File = new();
theFile.SetLocalName('YourFolder.dat');
theFile.Open(SP_AM_APPEND);
theFile.WriteText(YourFolder[1].Title);
theFile.Close();
ret = self.Window.FileSaveDialog('Save your file', '*.dat', theFile, theFile);
if ret = BV_OK then
self.window.messagedialog('Your folder has been downloaded successfully.');
YourFolder.Clear();
end if;
The error says : Windows Common Dialog failed with error code 0x3002.
If anyone has any suggestions or help, I would appreciate it. Thanks.
subhanzeeshan wrote:
Re:Reminder Pop-Ups for Recovery
Um, huh?
This section is not a "personal reminder" area... If you have a question, please post it in a form we can understand!
WyreNut
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!
Similar Messages
-
Does anyone know how to use the FileSaveDialog? This is the code that I
have, and I am running into an error that I don't understand:
ret : integer;
theFile : File = new();
theFile.SetLocalName('YourFolder.dat');
theFile.Open(SP_AM_APPEND);
theFile.WriteText(YourFolder[1].Title);
theFile.Close();
ret = self.Window.FileSaveDialog('Save your file', '*.dat', theFile, theFile);
if ret = BV_OK then
self.window.messagedialog('Your folder has been downloaded successfully.');
YourFolder.Clear();
end if;
The error says : Windows Common Dialog failed with error code 0x3002.
If anyone has any suggestions or help, I would appreciate it. Thanks.Hello Mathias,
wasn't your Question answered there: /thread/84965 [original link is broken]?
Regards
Gregor -
Hi All,
I have created a transactional iViews and attached it in the protal. This iView Displays a report with Save Button on it. Now this Report works perfectly fine when I try to execute it at the backend. But When we try to execute it through transactional iViews i.e when I press the save button of the report to download it in pdf format, I am getting an error message "Applet filesavedialog.class notinited."
Ideally it should pop-up a window asking for the path of the file to save. Please help me how can i resolve this error ?
Regards,
Akhil RaiHi Deepak,
There is not short dump created at the backend. As I said earlier also Report is working perfectly fine at the backend.
Error message is coming at the bottom of the explorer as " Applet filesavdialog.class notinited" and the pop-up doesn't come. Everything else works perfrctly fine. Users can still see the report.
Hey Guys,
Can someone please help me out of this..
Regards,
Akhil -
Is there any way to preset the GUI-Directory for FileSaveDialog or FileOpenDialog <b>without</b> dialog?
Whenever pressing Open File in the program the user will get the same directory.Hello Mathias,
wasn't your Question answered there: /thread/84965 [original link is broken]?
Regards
Gregor
Maybe you are looking for
-
My iPhone quit working and I am getting a new one, how do I know if my contacts ere backed up?
-
New user created doesn't see any data in reports
Hello Everyone, I am using Hyperion Planning 11.1.2.1. I have a problem when i created a new user in the system via Shared Services. The reports are Reporting and Analysis reports. I duplicated a current user in the system and applied the same groups
-
Electronic Signature Recommendations
My department is currently looking at accepting e-signatures on our contracts. However, we would like the signature to actually look like a wet signature, not just a typed name, we would also like some sort of validation that the name on the form is
-
When synching Contacts from GMail, some of them are missing the telephone number
I synced my contacts from my GMail account to my iPhone through Microsoft Exchange. All the contacts succesfully appeared in the iPhone, BUT most of them are missing their phone number. I already waited for the sync to end, they just won't appear.
-
Commit changes at deadline or during a maintenance window (requires restarts)?
What happens in an application deployment if I uncheck "Commit changes at deadline or during a maintenance window (requires restarts)"? If I have an application deployed to a collection with a maintenance window with a scheduled to be available now