WebUtil Client_text_IO.fopen problem
Hi,
I tried to use WebUtil to read file. However, even the correct name is given, the Client_Text_IO.fopen would result in "file can not be openned" and lead back to the file open window again.
Could you please help?
Thanks a lot!
John
Hi,
I tried to use WebUtil to read file. However, even the correct name is given, the Client_Text_IO.fopen would result in "file can not be openned" and lead back to the file open window again.
Could you please help?
Thanks a lot!
John
Similar Messages
-
Webutil - client_text_io.fopen
Hi!
I have a problem. My database charset is EE8ISO8859P2 (SELECT * FROM v$nls_parameters) and I use AS for 10g. I also installed webutil 1.0.6 and I call function client_text_io.fopen(p_file,'W','WINDOWS-1250'); When I write to file I use client_text_io.put_line(p_file,p_text). This file I write to is xml file.
In variable p_text are letters like č, , (Slovenian language), but when I look at the file I created there are no letters I mentioned above. Instead of č is blank, instead of is a, etc.
What should I do? I would like to solve this problem, without writing to AS (text_io) and then use transfer to client.
Does anyone have solution for this problem. It's very urgent.
Thanks.
BojanI'm just curious here as to why you should get this error at all. How come the upload directory does not exist. The only way I can see this happening is if you allow the end users to say where they want to upload to which is very dangerous. In any case, if the upload location may not exist then you might be wise to write some PL/SQL to check this before you even attempt the upload. A Simple Text_io call to write a test file in the directory in question will check that you a) Have the directory and b) can write to it.
-
dears,
i was design an form that read an excel sheet and upload the excel sheet contant into a table on DB, the excel sheet contain only 2 columns, the problem is when i compile the form CTRL+K there is no errors shown but when the form run i click Browes button but it give me error as below
ORA-06508 PL/SQL could not find program unit being called .
the program unit is client_get_file_name it a package within WEBUTIL attached library, the problem is the form cant call any package or anything from WEBUTIL attached library.
on the form i have 2 buttons
First Button Code: "Browes"
Declare
V_FILE VARCHAR2(2000);
BEGIN
V_FILE := client_get_file_name(NULL, NULL, NULL, NULL, open_file, TRUE);
:main_block.FNAME := V_FILE;
EXCEPTION
WHEN OTHERS THEN
my_alert('There Is Error: '||sqlerrm); -- My_alert(p_text) is program unit
RAISE FORM_TRIGGER_FAILURE;
END;
Second Button code : "Import to DB"
DECLARE
MYFILE CLIENT_TEXT_IO.FILE_TYPE;
filename varchar2(100);
temp varchar2(1000);
t1 varchar2(1000);
t2 varchar2(1000);
cust_id number;
dfrom date;
dto date;
ccode varchar2(100);
r varchar2(1000);
transfer_status boolean;
begin
filename := :main_block.fname;
MYFILE := CLIENT_TEXT_IO.FOPEN(filename, 'r');
SYNCHRONIZE;
SYNCHRONIZE;
CLIENT_TEXT_IO.get_line(MYFILE,temp);
t1:=temp;
while temp is not null loop
CLIENT_TEXT_IO.get_line(MYFILE,temp);
t1:=temp;
select substr(t1,1,instr(t1,',') -1)
into t2
from dual;
ccode:=t2;
select substr(t1,instr(t1,',') +1)
into t1
from dual;
insert into trc_upload -- table on DB
values(t2,t1);
commit;
end loop;
CLIENT_TEXT_IO.FCLOSE(MYFILE);
EXCEPTION
WHEN DDE.DDE_APP_FAILURE THEN
my_alert('WINDOWS APPLICATION CANNOT START.');
WHEN DDE.DDE_PARAM_ERR THEN
my_alert('A NULL VALUE WAS PASSED TO DDE');
WHEN DDE.DMLERR_NO_CONV_ESTABLISHED THEN
my_alert('DDE CANNOT ESTABLISH A CONVERSATION');
WHEN DDE.DMLERR_NOTPROCESSED THEN
my_alert('A TRANSACTION FAILED');
end;
so please to help me on this issue
Note:
the form deployed under UNIX on Application Server
Thanks
Murad.From ORA-06508 is seems like WEBUTIL.pll is not found in the runtime-environment.
Possible solutions:
Check if the WEBUTIL.pll (or plx) is on the path where the fmx-File is placed.
If not, check the FORMS90_PATH in your env-File (normally default.env) (you didn't mention your forms-Version, may also be FORMS60_PATH) and if the WEBUTIL.pll is in that path, if not adjust the env-file.
If its still not working, check if WEBUTIL.pll is attached including the full Path (unattach WEBUTIL.pll and reattach it without the path)
Last hint: Case-sensitivity: If you attach in lowercase-letters and library is in uppercase on unix-system the library will not be found at runtime. You won't see how the the pll was attached, best method is to unattach library and reattach it in correct case.
Another remark:
The DDE-Exception seem to be useless, because you don't use DDE (and i would not work for its not available under unix).
Hope this helps -
Error WUC-14 after open a File with CLIENT_TEXT_IO.FOPEN (Oracle 10g)
Hi,
the error WUC-14 occurs during open a file with forms10g.
F_VersandZahlen := CLIENT_TEXT_IO.FOPEN (F_Dateiname,'w');
Afterwards the error message it ist possible to write into the file and close it correctyl (without am error message - also the Information is correkt).
During debugging the error occurs in the function GETPROPERTY (Webutil).
the error occurs only sometimes.
Can anybody help me to solve the problem ?
best regards,
Alexandra SchermannHi Alexandra,
You can catch the exception in Exceptions part and close the file. Something like,
DECLARE
F_VersandZahlen CLIENT_TEXT_IO.FILE_TYPE;
BEGIN
F_VersandZahlen := CLIENT_TEXT_IO.FOPEN (F_Dateiname,'w');
<do your processing>
EXCEPTION
WHEN OTHERS THEN
CLIENT_TEXT_IO.FCLOSE(F_VersandZahlen);
END;-Arun -
FRM-92101 client_Text_IO.Fopen Urgent
FRM-92101 client_Text_IO.Fopen
Posted: Sep 22, 2006 1:25 AM Reply
Hello
Following OAS was installed:
· Oracle Application Server 10g Release 1 (9.0.4.0.0)
· Oracle Application Server Patchset 3 for OAS 9.0.4, therefore the actual
I have a problem
when I try to start my application who create a text file on the client site my application crash. client_Text_IO.Fopen (webutil)
This is the code line where the application crash.
l_out_file := client_Text_IO.Fopen(fname, 'W');
Thanks in advance for your help.
Best regards
Sébastien
The Oracle Error is FRM-92101
La version Forms Applet est : 9.0.4.3
oracle.forms.net.ConnectionException: Forms session <448> aborted: unable to communicate with runtime process.
at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
at oracle.forms.net.HTTPNStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown Source)
at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
java.io.EOFException
at java.io.DataInputStream.readUnsignedByte(Unknown Source)
at oracle.forms.engine.Message.readDetails(Unknown Source)
at oracle.forms.engine.Message.readDetails(Unknown Source)
at oracle.forms.net.StreamMessageReader.run(Unknown Source)Are you sure you have properly installed and configured webutil?
-
Error WUC-14 after CLIENT_TEXT_IO.FOPEN
Hi,
the error WUC-14 occurs during open a file with forms10g.
F_VersandZahlen := CLIENT_TEXT_IO.FOPEN (F_Dateiname,'w');
Afterwards the error message it ist possible to write into the file and close it correctyl (without am error message - also the Information is correkt).
During debugging the error occurs in the function GETPROPERTY (Webutil).
the error occurs only sometimes.
Can anybody help me to solve the problem ?
best regards,
Alexandra SchermannSounds like an Oracle Forms question... there is a dedicated forum for Forms. Maybe answer your question there.
Forms
Edited by: Alex Nuijten on Oct 27, 2009 11:08 AM -
Client_text_io.fopen causes java.lang.NullPointerException
Hi all
I have the following very simple snippet of code:
declare
f client_text_io.file_type;
begin
f := client_text_io.fopen('C:\test.txt', 'r');
end;
If "C:\Test.txt" does NOT exist on the client, Webutil correctly pops up and complains "Can't open file" etc. But... when the file actually exists and is ready to be opened for read, the following exception is thrown in the console, and nothing happens:
java.lang.NullPointerException: charsetName
at java.io.InputStreamReader.<init>(Unknown Source)
at oracle.forms.webutil.file.FileFunctions.fopen(Unknown Source)
at oracle.forms.webutil.file.FileFunctions.getProperty(Unknown Source)
at oracle.forms.handler.UICommon.onGet(Unknown Source)
at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2006-feb-23 10:36:18.653 ERROR>WUC-15 [FileFunctions.fopen()] Uventet fejl, undtagelse: java.lang.NullPointerException: charsetName
I have no idea, what goes wrong here.... can anyone help? I use Sun JPI 1.5 on the client.
Thanks in advance.Hi all
I have forms 9.0.4.6 and Webutil 1.0.6
When I use client_text_io.fopen like this:
declare
f client_text_io.file_type;
begin
f := client_text_io.fopen('C:\test.txt', 'r');
end;
I get an error:
ERROR>WUC-15 [FileFunctions.fopen()] Unexpected error, Exception: java.lang.NullPointerException
java.lang.NullPointerException
at sun.io.Converters.getConverterClass(Unknown Source)
at sun.io.Converters.newConverter(Unknown Source)
at sun.io.ByteToCharConverter.getConverter(Unknown Source)
at java.io.InputStreamReader.<init>(Unknown Source)
at oracle.forms.webutil.file.FileFunctions.fopen(FileFunctions.java:413)
at oracle.forms.webutil.file.FileFunctions.getProperty(FileFunctions.java:188)
at oracle.forms.handler.UICommon.onGet(Unknown Source)
at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Could anybody help me? I really need to use this. -
CLIENT_TEXT_IO.fopen will not work Error
I keep getting the following -
WebUtil Error: oracle.forms.webutil.file.FileFunctions bean not found. CLIENT_TEXT_IO.fopen will not work.
Nothing I have found on any forum threads has helped me resolve this issue. I believe it has to do w/ configuration. The error occurs in my Development Suite environment I have set up on my laptop. The webutil set up on the Application Server seems to be fine.
I've checked both default.env and formsweb.cfg and both seem to be set correctly. I have the webutil.pll attached to the forms and the webutil.olb in the object library.
I'm using WebUtil 1.0.6 on Oracle 10g (9.0.4).
If anyone has any guidance on this issue, your help is appreciated.The error isn't obvious. The Java Console outputs the following. I went through the webutil docs again and still didn't get the issue resolved. Can you help?
Oracle JInitiator: Version 1.3.1.17
Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\localadmin
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\localadmin\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
Loading http://server.domain.com:8889/forms90/java/f90all_jinit.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 9.0.4.0
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) -
ORA-302000 Error On client_text_io.fopen()
i am using a webutil library - client_text_io.fopen() on the form that was compiled on 10.1.2.3 version and this webutil_file.file_selection_dialog() built-in package. the webutil_file.file_selection_dialog() works but not the client_text_io.fopen(). when the form is run on the application server it is getting this error ORA-302000.
PROCEDURE prc_load_proj_alloc_data IS
vFilename VARCHAR2(100) := :control.drv_filename;
vInputFile client_text_io.FILE_TYPE;
vLinebuf VARCHAR2(2000);
vCommaPosition NUMBER := 0;
TYPE array_type IS VARRAY(10) OF VARCHAR2(100);
vColumn array_type := array_type('');
vCtr BINARY_INTEGER := 1;
vRowCtr number := 0;
vLineLoadCnt number := 0;
begin
-- cursor must be placed on the block
go_block('MRC_PROJ_ALLOC_INTERFACE');
go_item('MRC_PROJ_ALLOC_INTERFACE.ATTRIBUTE1');
--extend and initialize the array to 9 columns
vColumn.EXTEND(9,1);
-- open the file for reading
begin
vInputFile := client_text_io.fopen(vFilename,'r');
exception
when others then
alertme('note','SQLCODE '||SQLCODE);
if SQLCODE = -302000 then
alertme('note',errtyp||'-'||TO_CHAR(errnum)||': '||errtxt);
loop
alertme('note',TO_CHAR(TOOL_ERR.CODE) || ': ' || TOOL_ERR.MESSAGE);
TOOL_ERR.POP;
exit when TOOL_ERR.NERRORS = 0;
end loop;
end if;
end;
end;
the file that i am trying to read is in csv format and is not currently in use. i tried any other file from my local C:\ or D:\ drive and i am getting the same error. what could possiblly that i am missing? thanks.we figured it out that the cause of issue was that the webutil.plx was on our application executable directory. basically we have the webutil.plx on a common directory applicable to other application and when we removed the webutil.plx on our application directory the ORA-302000 error was solved.
-
How to use Linux Print queue in client_text_io.fopen to print from Windows
We have a forms application deploed on LINUX (Oracle application server 10g).
I have to print a file from local windows PC to a linux Print Queue from forms
I have the following code
PROCEDURE file_to_printer (i_filename_output IN VARCHAR2
,i_network_printer IN VARCHAR2) IS
l_line VARCHAR2(2000);
l_fileid_output client_text_io.file_type;
l_fileid_print client_text_io.file_type;
BEGIN
l_fileid_output := client_text_io.fopen (i_filename_output,'R');
l_fileid_print := client_text_io.fopen (i_network_printer,'W');
WHILE 1 = 1 LOOP
client_text_io.get_line (l_fileid_output, l_line);
client_text_io.put_line (l_fileid_print, l_line);
END LOOP;
EXCEPTION
WHEN NO_DATA_FOUND THEN
client_text_io.fclose (l_fileid_output);
client_text_io.fclose (l_fileid_print);
END file_to_printer;
Everything works fine if I use a windows printer like \\machine\printer.
I want to use a Linux printer and specified the print queue as
\\machine\print_queue_name. It's not working
and I get error ORA-302000 on the following line
l_fileid_print := client_text_io.fopen (i_network_printer,'W');
and if I give only the queue name no error but it's not printing.
Could you please tell me how to use a Linux/Unix print queue in this situationthe simplest way is to edit the interface file (look in /etc/lp/interfaces for existing printers). Each script is
run per print job where stdin has your print data, and stdout is going to your print device. You can just
send the output to a file instead (assuming you can create a file in the windows directory from the solaris
box). If it's a network share, you could use smbclient.
-r -
WebUtil's configuration problem
I have the following problem:
I installed WebLogic Server 10.3.5, Fusion Middleware (Forms/Reports) 11.1.2 and Oracle XE 11g.
My environment works correctly, when application don't uses webutil.
When I open an application that uses WebUtil, happens the following error: "FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502."
Another error too occurs:
In the button "Browse" I use client_get_file_name, but the following error is displayed: "oracle.forms.webutil.file.FileFunctions bean not found. WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work".
To configuring the webutil, I used the book Oracle Forms Developer WebUtil User's Guide Release 1.0.6. My webutil is 1.0.6.
Any help is welcome
thanks!Just a quick note, questions related to Oracle Forms as well as Oracle Forms and WebUtil integration should be posted in the Oracle Forms section of Oracle Forums: Forms You will receive a quicker response if you post Oracle Forms-related questions in that forum location.
Anyway, WebUtil 1.0.6 is not supported to use with Oracle Forms and Reports 11gR2. Oracle Forms 11gR2 comes with WebUtil 11.1.2.x (the version which is supported for Forms 11gR2) which the both webutil.olb and webutil.pll are deployed in %ORACLE_HOME%\forms ($ORACLE_HOME/forms in Unix) where ORACLE_HOME is the Oracle Home for your Fusion Middleware installation. Also, if you haven't downloaded it already, you will also need JACOB version 1.14.3 (the version of JACOB supported for Oracle Forms 11gR2) which can be downloaded at http://sourceforge.net/projects/jacob-project/files/jacob-project/1.14.3/jacob-1.14.3.zip/download.
After JACOB is downloaded, you will need to copy the jacob.jar to %ORACLE_HOME%\forms\java. Using Oracle Support Note 1076945.1, you will need to sign jacob.jar using the sign_webutil.bat script (located in %ORACLE_HOME%\forms\templates\scripts). The note contains steps on how to set up the batch script as well as how to run the script to sign jacob.jar. IMPORTANT: Make sure your JDK is in your PATH environment variable and you run Command Prompt as an administrator; otherwise, jar signing errors may occur.
Next, place jacob-1.14.3-x86.dll into %ORACLE_HOME%\forms\webutil\win32 and jacob-1.14.3-x64.dll into %ORACLE_HOME%\forms\webutil\win64.
After that, make sure that the WebUtil schema has been installed into your database. If not, make sure to run the create_webutil_db.sql script (located in %ORACLE_HOME%\forms) as the DB user who will be the owner of the WebUtil schema. Once the DB is ready, compile webutil.pll using Forms Builder or Forms Compiler. Once it is compiled, open up webutil.cfg located in %ORACLE_INSTANCE%\config\FormsComponent\forms\server. Scroll to the bottom and change the following settings:
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
transfer.appsrv.workAreaRoot=
transfer.appsrv.accessControl=FALSE
After you save and close the file, you should be able to run any of your Oracle Forms which use WebUtil without a problem. Oracle Support note 1093985.1 contains more information about setting up WebUtil. Hope this helps!
Thanks,
Scott
http://pitss.com/us -
Using CLIENT_TEXT_IO.FOPEN Path ??
Using CLIENT_TEXT_IO.FOPEN exam
CLIENT_TEXT_IO.FOPEN('c:\temp\head.txt');
if Use CLIENT_TEXT_IO.FOPEN('c:\temp\head.txt'); don't specify c:\temp
how to set path don't spicify 'c:\temp\
thank youSo far everyone is right... it is unclear what you want. Let's try this. If you are trying to write a file to a user's temp directory and would like to not have to hard code the path, you could use the system set temp value. Simply get the path first then add it to your file name.
-- This will return the client "TEMP" directory, which in most cases will be %USERPROFILE%\Local Settings\Temp
temp := CLIENT_WIN_API_ENVIRONMENT.GET_TEMP_DIRECTORY;With that in place you should then be able do this:
temp := CLIENT_WIN_API_ENVIRONMENT.GET_TEMP_DIRECTORY;
CLIENT_TEXT_IO.FOPEN(temp || '\head.txt'); -
Client_text_io.fopen question
Hello,
I have a question regarding to client_text_io.fopen.
If i have:
fisier_ctl CLIENT_TEXT_IO.FILE_TYPE;
fisier_ctl := CLIENT_TEXT_IO.FOPEN('tmp.ctl', 'w');Then where should be located this tmp.ctl exactly? For example, i have one in the current folder (where are also my .fmb and .fmx file) but it does not write to this file. So, where should be located?
ThanksYou can specify the full path to the file as Francois suggests or you can let your user choose by opening a File Open Dialog.
DECLARE
v_fname VARCHAR2(250);
BEGIN
v_fName := WebUtil_File.File_Open_Dialog(
directory_name => 'C:\'
,File_Filter => null
,Title => 'Select Client filename to Open.'
END;Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
Client_text_io: hanging problem
I'm testing out client_text_io using 10gDS where my machine runs the iDS and runs webforms as the client. My application creates a small text file (~7kb) using client_text_io from WebUtil.
The first time I run the application, the file is created without problems. The next time I try to create the file, the system hangs. The java console doesn't show any errors...it just gets stuck. Here are the last couple of lines:
2004-Jul-14 07:01:53.946 WUF[setProperty()] Setting property WUF_TEXTIO_ARG to B100-3
2004-Jul-14 07:01:53.986 WUF[setProperty()] Setting property WUF_TEXTIO_ARG to 1532
2004-Jul-14 07:01:54.26 WUF[setProperty()] Setting property WUF_TEXTIO_PUTF to %s %s %s\n
I've set my Java Runtime Parameter in my Jinitiator to
-Xms256m -Xmx256m
Is there any other cache setting that I can change so that I can run this program more than once?
The poor performance cannot be dismissed by network traffic since the client and iDS are on the same machine.
SandyI have not had a chance to try using the client_text_oi from webutil, but I'm guessing it is like the text_oi for the client/server version. We had that problem with the client/server version. The problem end up being that the programer forgot to close the file after writing to it. So the next time they would run it, it would not work because the form could not open the file because it was still in use. If you don't close the file, you can't write to it again. That could be completly different in the webutil version. I'm hoping to find out here. :-)
-
Webutil and CalenderPJC Problem
I have successfully integrated the Webutil CalendarPJC into my forms. It works fine on a single row block, but on a multi-row block the PJC has a strange reaction. I have a button on each line beside a date field. When you click on the button on a row the Java Calendar pops up but the form moves the current row to the next row on the form. Has anyone had this issue and can offer a suggestion how to correct this problem would be greatly appreciated? I tried moving the row back one row as the PJC comes up but that would not work!
I have a simple form with a multi-row block. The form displays 10 rows when displayed. One of the fields is a date field. I place the Java Bean Area right beside the date field. So on each row there is Button for the CalendarPJC. If the first row is highlighted and I press the Button on that row for the PJC the Java Bean displays the Java Date modal window and moves the current row to row 2. I am running forms 10.2.0.2 on windows and SUN JVM 1.5.0_16
Maybe you are looking for
-
Why Can't I install Adobe Flash Player? Please Help!
I have Windows 7 and my laptop is fairly new. I want to install Adobe Flash Player because when i go to Youtube it just shows a black screen for videos, Facebook doesn't load completely, when i go to google images, If i type in the most basic search
-
Sd card not appearing in file manager
hi i recently bought blackberry z3 model..i inserted sd card but its not appearing file manager..please help me what do i do thank you,,
-
How to Use iTunes Library in older version
I updated to the latest version of iTunes and I do not like it. I went throught the trouble to move iTunes to another disk so I could download a the previous version of iTunes. When I finally got the older iTunes installed, it was unable to use my
-
Changing discount account from revenue
Hi, referring to metalink document number 240123.1, which state that changing discount acount to account other than revenue account was unavailable and "may" be handled by future releases. Is this feature available now in R12? how can subledger accou
-
Help Debugging a JavaScript in Adobe Acrobat
Thanks in advance for your help. Below is a script that should hide the mailing contact fields. If the "WorkerMailingAddressChoice" check box is selected, the "WorkerMailingAddress", "WorkerMailingCity", "WorkerMailingState", and "WorkerMailingZipCod