D2KWUTIL.DLL
where can i get D2KWUTIL.DLL. I have .pll file. Can u please guide me in using it?
You can get Oracle Forms products on the Oracle Forms OTN page
http://www.oracle.com/technology/software/products/forms/index.html
Francois
Similar Messages
-
D2KWUTIL.DLL -- where it comes from???
Hello,
Can anybody please tell me where does this .DLL file comes from?
Is there any copy right attached to this file?
Thank you!!as long as i know, this is a part of the standard Developer distribution kit (i mean the standard installation CD), and no royalties are involved.
If You install the FORMS 6 DEMO, you will see many examples based on that library. Just remember that if you call functions from D2KWUTIL.DLL, the DLL must be available in the BIN folder of your ORACLE_HOME, or even better in the same folder as the compiled forms, otherwise error messages will be issued. The same applies to d2kwut60.dll. -
Deploying Oracle Forms with Plss and dlls in Client/Server
Hi,
I have a form application which has two plls libraries attached to it - d2kwutil.pll and d2kcomn.pll and one dll - d2kwutil.dll. All these libraries are necssary for the app to work. The issue come when I am trying to deploy them in different environments like dev,test,qa,prod. The users access the forms applications from a shared drive and all the users have forms runtime client installed on their local machines.
If I just post my fmx in the shared drive it doesn't work as its unable to find the plls and the dll. I will really appreciate if someone can provide some feedback on this. How this should be done so that we can place these plls and dll in central location without chaning the paths etc.
ThanksOracle Application Server Release 3 can not be used to deploy forms and reports.
If you want forms and reports you need to stay on Oracle Application Server 10g Release 2 -
Forms 11g and d2kwut60.dll
Hi,
Has anyone used d2kwutil with Forms 11g ?
We have migrated our 6i forms to 11g and are having intermittent hanging issues with forms that reference d2kwutil functions.
Regards,
WillCan I delete the d2kwutil.dll from the server so it is not downlaoded to the client automatically or is the client d2kwutil.dll required for webutil to work ?
Regards,
Will -
Win_Api does not work. There is not D2kWUT.dll in my system. I have D2KWUTIL.pll Do I have to find
..DLL Where??? If it's not problem, Please tell me how to start with Win_Utill Package...
Thenk you ...
IgoIf you have the PLL then you should have the DLL as well in 6i the name of the DLL is d2kwut60.dll not d2kwutil.dll - it should be placed in the /bin directory.
You can also get the DLL from the Forms 6i demos which can be downloaded of of OTN -
Although I may find the get_file_name function in the online help just like I know it from Forms 6.0 (and it worked well with that one in client-server), at runtime this wonderful function doesn't seem to do anything.
Furthermore, there's no more d2kwutil.pll, nor d2kwutil.dll.
How do I then get a file dialog from Forms 9i?The function does not wrok when web deployed (9i or 6i) you will have to write a JavaBean to do this (see the FileUpload sample in the demos which actually contains this code)
-
How to get an open file dialog in Forms 9i?
Although in online help I can find the get_file_name function just like it was in Forms 6.0, at runtime this wonderful function doesn't seem to do anything.
Furthermore, there is no more d2kwutil.pll, nor d2kwutil.dll.
How could I get an open file dialog?Hi,
actually this functionality does not work. The reason for this is that Forms9i is Web only and there is no functionality downloaded with the generic Java Applet. For the moment I filed an enhancement request to have this on our radar. Meanwhile, if you need thi sfunctionality you can help yourself by writing a PJC that opens a dialog and performs the action that you want to.
Frank
Forms Product Management -
How to configure webutil 1.06 with oracle Developer suite 10g R2
Hello everyone,
My computer configuration is
OS-> Windows 7 Ultimate (32-bit)
RAM-> 1GB
I have successfully installed oracle XE and developer suite 10g R2 in my computer. Now i want to configure webutil. Please give me the step-by-step procedure for it.
Thanks in advance.hi
plz search this forum u will find so many answered threads anyways.
plz read the following.
Webutil Settings
Requirements
· Download Jacob 1.8 archive and webutil 1.06
(Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
webutil can be downloaded from http://otn.oracle.com )
Database Setup
Login as SYS
create user webutil identified by webutil
default tablespace users
temporary tablespace temp;
grant connect, create session, create procedure, create public synonym to webutil;
grant resource, connect to webutil;
grant execute on dbms_lob to webutil;
login as webutl user and run
create_webutil_db.sql
create public synonym webutil_db for webutil.webutil_db;
grant execute on webutil_db to public;
set serveroutput on
declare
a boolean;
begin
a:=webutil_db.closeblob(1);
If a then
dbms_output.put_line('webutil/blob setup '||'TRUE');
else
dbms_output.put_line(' webutil/blob setup '||'FALSE');
end if;
end;
copy jacob.jar and copy frmwebutil.jar to ORACLE_HOME/forms/java directory.
Make sure you can download these using the below
http://machinename.com/forms/java/jacob.jar
http://machinename.com/forms/java/frmwebutil.jar
Create directory webutil under [OraHome]/forms/webutil and .
copy jacob.dll , JNIsharedstubs.dll, d2kwutil.dll
Check the permissions. Read /Execute
Forms.conf AliasMatch ^/forms/webutil/(..*)
$ORACLE_HOME/forms/webutil/$1"
http://machinename.com/forms/webutil/jacob.dll
http://machinename.com/forms/webutil/JNIsharedstubs.dll
http://machinename.com/forms/webutil/d2kwutil.dll
In the default.env update
WEBUTIL_CONFIG=/opt/oracle/product/10gas/forms/server/webutil.cfg
CLASSPATH=c:\temp\webutil\lib\frmwebutil.jar;c:\"Program Files"\Java\j2re1.4.2_06\lib\rt.jar (Include rt.jar)
Also include C:\Dev10g\forms\java\ frmall.jar
Settings for webutil.cfg
logging.file=c:\temp\webutil.log
logging.enabled=TRUE
logging.errorsonly=TRUE
logging.connections=TRUE
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
transfer.appsrv.workAreaRoot=<Enter Directory /folder on Server>
transfer.appsrv.accessControl=TRUE
transfer.appsrv.read.1=<Enter Directory /folder on Server>
transfer.appsrv.write.1=<Enter Directory /folder on Server>
Entry in the formsweb.cfg
[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=on
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=basejpi.htm
baseHTMLjpi=webutiljpi.htm
#archive_jini=frmall_jinit.jar
lookAndFeel=oracle
form=WELCOME.fmx
userid=webutil/Webutil$123@ORCL
width=955
height=545
jpi_download_page=https://java.sun.com/products/archive/j2se/1.4.2_09/index.ht ml
jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
jpi_codebase=https://java.sun.com/products/plugin/autodl/jinstall-1_4-windows- i586. cab#Version=1,4,0,0
jpi_mimetype=application/x-java-applet;version=1.4
Sign jacob.jar ( Not mandatory )
Open a DOS command prompt.
Add [OraHome]\jdk\bin to the PATH:
set PATH=[OraHome]\jdk\bin;%PATH%
Sign the file, and check the output for success:
[OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
[Previously this point stated that frmwebutil.jar also needed to be signed. This is no longer necessary and should not be done.]
Start Forms Builder and connect to a schema in the RDBMS used in step (4).
Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
If the PLX is not generated, the Webutil.pll library would have to be attached with
full path information to all forms wishing to use WebUtil. This is NOT recommended.
Create a new FMB.
Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
There is no need to Subclass the WebutilConfig object.
Attach the Webutil.pll Library, and remove the path.
Create a new button on a new canvas, with the code
show_webutil_information (TRUE);
in a WHEN-BUTTON-PRESSED trigger.
Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
the "Application Server URL" is empty.
Then append "?config=webutil" at the end, so you end up with a URL of the form
http://server:port/forms/frmservlet?config=webutil
Compile the webutil.pll and attach it to the fmb. Compile it
Debugging
Clear the browser cache and enable the jinitator / sun java plugin.
For Sun Java Plugin
Start ->Settings ->Control –Panel->Java->Advanced ->Show Java Console
Debugging ->Select All
Clear the plugin cache and once again access the URL. Make sure all the dlls,jar files
are getting downloaded.
FRM-92050 failed to connect to server /forms90/;90serlvet -1
oracle.forms.net,connectionexeption : form session failed during startup.
Java console shows -
When you are not able to download the webutil.jar file
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)
Cause
Ensure that the ORACLE_HOME in the .Env file points to a correct home.
Frm-40735 when-custom-item-event triger raised unhandled exception ora-06508
Cause
Ported webutil to Unix . The form appears , but when a call is made to webutil
functions, it resulted in the above error .The reason was PLL was not compiled
on unix .
Reference
Metalink Note 418970.1 ORA-06508 When Starting Webutil
Read / Write - image file
The code was not erroring out, but the image was not getting copied in the
image item .
Cause
transfer.appsrv.workAreaRoot=<name of the temp directory >
transfer.appsrv.accessControl=TRUE was not specified in the webutil.cfg file
The root of the location in which WebUtil can store temporary files
uploaded from the client.
While Writing Image file ( remember its the client to which the image
is written to ).
Example
client_image.write_image_file('d:\myimg\','GIF','CTRL.MY_IMG',
maximize_compression, original_depth);
Then ensure that on the thin client , there exist a directory called as "myimg" in the D drive .
One should watch out for the error in the console or the log depending on how
the logging has been set to .In case if the directory does not exist on the
client message appears that cannot create a file ...
These are the steps that occurs -
1) WebUtil creates a working directory that is private to the user
on the applciation server using the value of transfer.appsrv.workAreaRoot
This is that <ipaddress>\<ntuser name> directory
2) The basic forms Write Image file is used to extract a temporary copy
of the image into that directory.
3) The image is downloaded into the client machine and saved as the name
that you specified as the filename in the write_image_file command.
4) The temporary copy of the image held in the workAreaRoot on the Appserver
is cleaned up.
4) Client_host - The command is supposed to run the executable on the client .
But if you are trying to call an exe which is not in the path , you will not
get any error.
Error Message while opening the fmb in the forms builder
Add jacob.jar and frmwebutil.jar to CLASSPATH or FORMS_BUILDER_CLASSPATH ... otherwise there is an error message when opening the canvas in the new created fmb
{code}
hope this helps u.
sarah -
WUC-20 errors openning form using webutil
We have configured several forms to use Webutil. We have moved a Windows 9iAS deployment to Linux. When running under linux we get WUC-20 errors for files jacob.dll, d2kwutil.dll and JNIsharedstubs.dll. I wondered if the file sizes were slightly changed by moving them to linux. Checking the size with 'ls -l' verifies that they are the same as in the webutil.cfg file.
Any suggestions to resolve this?Thanks for the reply.
I believe I have delt with the CRLF characters and have done so again and rechecked.
I have run the application on a pc without a Jinitiator install and have found the three dlls do not appear to be downloading properly so that I have the three files showing as 1KB in C:\program files\oracle\jinitiator 1.3.1.9\bin.
Any advice would be much appreciated. -
Hello,
I have been given a task of updating an Oracle Forms project to point to a new set of tables and to change a logo and add a couple of fields to the form. Does anyone know if there is a tutorial out there somewhere for Oracle Forms 6i? Something just to get me started.
Thank you.Hi
For the 6i this could be done using the d2kwutil.pll library pls try to down load this library and make sure that you are having the d2kwutil.dll file in the running path.
In order to avoid any further problems....
Then u could use the following code to change ur Logo
DECLARE
h_mdi pls_integer := to_number(get_window_property(FORMS_MDI_WINDOW, WINDOW_HANDLE));
BEGIN
win_api_session.change_mdi_icon(h_mdi, 'c:\logo_name.ico',0);
END;For more information pls have a look on OracleÒ Forms Developer Release 6i....
and the following will be useful link for basics Pls have a look ....
Hope this helps...
Regards,
Abdetu... -
Implemented webutil , how to change the title Webutil
Hi All,
We have implemented webutil. However the application title in the browser gets appended to xx application - Webutil . Now how do I remove the " - Webutil "
IAS 10g R2.
I have set the title in the formsweb.cfg as "xx application.
Not able to figure out from where " -Webutil" is coming
Thanks
Rajesh Alex1 Download Jacob 1.8 archive and webutil 1.06
CREATE USER webutil IDENTIFIED BY Webutil$123
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp;
GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
GRANT RESOURCE, CONNECT TO WEBUTIL;
REVOKE UNLIMITED TABLESPACE FROM WEBUTIL;
create public synonym webutil_db for webutil.webutil_db;
grant execute on webutil_db to public;
grant EXECUTE on WEBUTIL_DB to PUBLIC
Login as webutil user and create_webutil_db.sql
Sign the Jar File jacob.jar and frmwebutil.jar
2. copy jacob.jar and copy frmwebutil.jar to ORACLE_HOME/forms/java directory.
3. . Create directory webutil under [OraHome]\forms\webutil and .
. copy jacob.dll , JNIsharedstubs.dll, d2kwutil.dll
4. . Forms.conf AliasMatch ^/forms/webutil/(..*) $ORACLE_HOME/forms/webutil/$1"
( in 10g R2 it is already configured)
5. In the default.env update
WEBUTIL_CONFIG=/opt/oracle/product/10gas/forms/server/webutil.cfg
CLASSPATH=c:\temp\webutil\lib\frmwebutil.jar;c:\"Program Files"\Java\j2re1.4.2_06\lib\rt.jar (Include rt.jar)
Also include C:\Dev10g\forms\java\ frmall.jar
10 Formsweb.cfg create a new config section
[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=basejpi.htm
baseHTMLjpi=webutiljpi.htm
#archive_jini=frmall_jinit.jar
lookAndFeel=oracle
form=WELCOME.fmx
userid=webutil/Webutil$123
width=955
height=545
jpi_download_page=https://java.sun.com/products/archive/j2se/1.4.2_09/index.html
jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
jpi_codebase=https://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.
cab#Version=1,4,0,0
jpi_mimetype=application/x-java-applet;version=1.4
11. Copy webutilbase.htm webutil.cfg webutiljini.htm webutiljpi.htm to
$ORACLE_HOME/forms/server
rt.jar is not in the classpath
On UNIX platforms, Forms needs to locate the libjava.so file so the LD_
LIBRARY_PATH on most UNIX platforms including Linux, will need to contain
the directory that holds this file. For instance on Linux this would be $JAVA_
HOME/jre/lib/i386/native_threads. Again the Java runtime install that is part of Oracle Application Server or Oracle Developer Suite is ideal
12. copy sign_webutil.sh to webutil folder
sign_webutil.sh $ORACLE_HOME/forms/java/jacob.jar
sign_webutil.sh $ORACLE_HOME/forms/java/frmwebutil.jar
13. compile webutil.pll , fmb
comp_webutil.pll
mv *.plx ../forms
Also put webutil.olb in forms folder.
$ORACLE_HOME/bin/frmcmp module=$ORACLE_HOME\forms\webutil.pll -
Customising forms runtime title and Icon
how can one change the title and icon of mdi window of forms runtime ?
Hi Arjun,
You can set the title of the MDI window as follows :
SET_FORM_PROPERTY(FORMS_MDI_WINDOW, TITLE, 'YOUR TITLE');
You can change the icon of the MDI window by using the D2KWUTIL.dll as follows :
DECLARE
h_win PLS_INTEGER := win_api_utility.get_active_window;
BEGIN
WIN_API_SESSION.Change_MDI_Icon(h_win,'your_icon.ico',0);
END;
Hope this helps.
Sudha -
D2k util vs XP (URGENT PLEASE)
Hello,
I installed dev2k 6i in my pc under win xp; but when i used the win_api_utility, an error arise !
although i had put d2kwutil.dll in windows\system ...
Is this dll not compatible with xp ?
What shall i do ???
Thanks for ur help.For urgent issues - it may be worth your time doing a bit of searching throught the forum.
I answer a question about XP support yesterday - this is not supported until patch 11.
Regards
Grant Ronald
Forms Product Management -
FileUpload utility - uploading check
Hi,
I am using FileUpload utility in Forms90. I can upload file using Save file Dialogue.
Once user selects the file I need to check if file exists if so file should be prefixed with 'Version_no_'
Is there any built in or code which can do above checks.
ThankyouIf I understand it correctly, you want to check, whether the file, the user is about to upload, already exists on the server. This can be done relatively simple with the TEXT_IO package like this:
FUNCTION FileExistsOnServer (FileName in varchar2) RETURN boolean IS
hdummy text_io.file_type;
BEGIN
hDummy := text_io.fopen(FileName,'R');
text_io.Fclose(hDummy);
return TRUE;
EXCEPTION
when Others then /* no file or empty */
if text_io.is_open(hDummy) then
text_io.Fclose(hDummy);
end if;
return FALSE;
END;
You can then rename a file on the server by attaching D2KWUTIL.PLL (assuming you are using a Windows server) and calling
Win_api_utility.Move_File(oldfilename varchar2, newfilename varchar2, raiseexception boolean)
where "raiseexception" specifies, whether or not an exception should be raised, if the operation failed for some reason, eg. missing rights to the file. Note: you need to put d2kwutil.dll in your "bin" directory on the server for this procedure to work. The necessary 2 files for this can be downloaded here:
http://www.oracle.com/technology/software/products/forms/files/d2kwutil/d2kwutil_6_0_6_0.zip
The files are in Forms 6i format, but still very useful for file operations on the server in the newer releases for those running a Windows server, and can be saved and compiled with no problems with a 9i / 10g compiler.
Hope this helps. -
D2KWUTIL and Forms 9i/ 10g. Does it work?
Hi,
I am trying to using d2kwutil in forms9i.
functionality i want is to open a pdf document in new browser window
and search for a particular string in the document.
and thats the end of the story.
1. can i using d2kwutil.pll/dll for this requirement?
2. or do i have to use webutil. -- i want to avoid usage of webutil
3. simply because i feel webutil will make my form heavy. Is may understanding correct?
can anybody have answer for these questions.
thnxsHi,
you can use d2kwutil in 9i/10g if the functionality you need (file open for example) reside on the server and not on the client machine.
If you need access on the client machine then you need webutil.
Jean-Yves
Maybe you are looking for
-
With the recent upgrade to my computer I can no longer get Supply reports from my printer: a red light is flashing and I don't know which ink cartridge needs replacing?
-
How to add an image/graphic to a form webpage?
Dear All, When we execute our Oracle Forms application, it opens in a webpage with a white background. This looks too bland. Is there a way we can add an image/graphic to the webpage to improve its look and feel? Please suggest. Thanks, Amit
-
All in one Printer hp psc 1410
I am having problems printing online. I have done a Printer Test Page which was successful. When I try to print, it goes to the printer page and then it goes away as if something is blocking it. I have just installed Norton Interner security. Could t
-
How to attach a help page to custom form
hi all i want to attach a online help page to the custom developed page when user clicks on help in the tool bar,the online help page should display.
-
Why is the map in uae not working
hi In UAE we face problems with maps. we can select one place but cannot go their (direction not working). Another this is Passbook doesn't work in UAE