Home » Developer & Programmer » Forms » ora-06503 when trying to save a file using Win_API_Dialog.Save_File
ora-06503 when trying to save a file using Win_API_Dialog.Save_File [message #165476] Thu, 30 March 2006 08:23 Go to next message
carlos.cabrera
Messages: 9
Registered: March 2006
Junior Member
Hi.
Im using Forms 9i to create a form to save a file with win_api_dialog.save_file but get the ora-06503 error.

This is the code on when-button-pressed trigger.

DECLARE
lv_filename VARCHAR2(100);
lf_file TEXT_IO.FILE_TYPE;
Out_File VARCHAR(101);
BEGIN
lv_nombre_archivo := NULL;
Out_File := 'a.csv';
lv_nombre_archivo :=Win_API_Dialog.Save_File(Out_File,'Save File As','C:','All Files(*.*)&#124*.csv|',True,1,True);
end;

Thanks for your help!

Re: ora-06503 when trying to save a file using Win_API_Dialog.Save_File [message #165568 is a reply to message #165476] Thu, 30 March 2006 23:25 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
For future reference, please read the sticky at the beginning of this forum, specifically concerning the use of code tabs and please ALWAYS give both the error code AND ERROR MESSAGE.

Isn't Win_API_Dialog a d2kwutil operation? If so, then use webutil instead of d2kwutil.

David
Re: ora-06503 when trying to save a file using Win_API_Dialog.Save_File [message #394218 is a reply to message #165476] Thu, 26 March 2009 03:47 Go to previous messageGo to next message
JCHAANINE
Messages: 1
Registered: March 2008
Location: Lebanon
Junior Member
Dear All;
i m facing a similar problem;
i m using developer 10g and trying to save a file, i m using webutil but my problem is that i can save any type of file(.txt, .xls,...) on the local disk (c:\) but when i specify a location that is on another computer that exisist on my network is does not create that file and does not give me any error also.
any help?
thank you


Johnny
Re: ora-06503 when trying to save a file using Win_API_Dialog.Save_File [message #394996 is a reply to message #394218] Tue, 31 March 2009 00:08 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Do you have write permission to that other machine?

David
Previous Topic: Error ?3433?
Next Topic: Using Native Dynamic Sql
Goto Forum:
  


Current Time: Mon Feb 03 20:53:39 CST 2025