How to use unicode fonts in Oracle forms 10g?
Hi I am working in forms 10g for quite a long time, the software that I have developed so far are all in English language. Now I have requirements to use Bengali Fonts in Forms 10g. I am facing difficulties doing that. Please reply with help. Thanks
Hasan Al Mamun
Check this forum post (though that is for 6i, it would be of helpful for you)
How to use unicode fonts in Oracle forms 10g?
-Arun
Similar Messages
-
How to use Java Script in Oracle Forms 10g
Hello,
Appreciate if anyone could help me using Java Script in Oracle Forms 10g?
Thanks
GMThank you for your reply. I was reading on the metalink that we could use the to call the java script from oracle Forms 10g (Doc ID 265863.1)
Example:
WEB.SHOW_DOCUMENT ('javascript:void(window.open("http://www.oracle.com","","location=no,toolbar=no,menubar=no,status=no,"));self.close()','_blank');
I tried it but it did not open the any window as it claims. Am I missing anything? Is there any IE related setting which I need to modify for the above to work?
Regards
GM -
How to use MICR fonts in Adobe forms (webdynpro java
Hi,
We have a requirement where we need to print some MICR codes (for checks) through Adobe Forms.
I have installed some true type MICR fonts in windows and Adobe Font Manager (in ADS) as well.
It is visible in the Adobe Form design time (Font palette) and when I use the font for text, it is visible in preview too. But when I run the web dynpro application, in the online form it is converted into Standard font (Times new Roman).
Is there anyway to handle this issue.
Please let me know.
I am using NWDS 7.0.1
Adobe Live cycle designer 7.1
SAP NW 2004s SP14
Thank you,
VasuCheck this forum post (though that is for 6i, it would be of helpful for you)
How to use unicode fonts in Oracle forms 10g?
-Arun -
How to embed unicode fonts in fillable form.
Hello friends,
I had created a normal unicode Pdf form. IT shows perfectly.
But when i make this form as a fillable pdf the unicode charaters converts into junk and the form is become unreadable.
Attached here a normal unicode pdf form. As well as form_fillable.pdf which is junked after created a fillable
regards
KDCheck this forum post (though that is for 6i, it would be of helpful for you)
How to use unicode fonts in Oracle forms 10g?
-Arun -
How to use unicode font in J2ME
Hi,
I want to create some mobile application using Unicode Font in J2ME.
Please help me about how to use Unicode Font in J2ME and how to configure Unicode Font in J2ME SDK 3.0 Early Accesshttp://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=2&t=001235
http://www.linuxforum.net/chinese/develop/java.html
Hope its of help to you. -
How to use BULK COLLECT in oracle forms
hi gurus,
I am using oracle forms
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProductionI wanna use bulk collect from database table lets say <employees>
while working on database level with collections and records it's working very well for me, but when I try to use that technique on oracle forms it hits me error
error 591 this feature is not supported in client side programmingI know I can use cursors to loop through the records of oracle tables ,
but I'm convenient while using collections and arrays
for example
Set Serveroutput On
Declare
Type Rec_T Is Record (
Empid Number ,
Empname Varchar2(100)
Type V_R Is Table Of Rec_T Index By Binary_Integer;
V_Array V_R;
Begin
Select Employee_Id , First_Name
Bulk Collect
Into V_Array
From Employees;
For Indx In V_Array.First..V_Array.Last Loop
Dbms_Output.Put_Line('employees id '||V_Array(Indx).Empid ||'and the name is '||V_Array(Indx).Empname);
End Loop;
End;I wanna use this same way on oracle forms , for certain purposes , please guide me how can I use ...
thanks...For information, you can use and populate a collection within the Forms application without using the BULK COLLECT
Francoisactually I want to work with arrays , index tables ,
like
record_type (variable , variable2);
type type_name <record_type> index by binary_integer
type_variable type_name;
and in main body of program
select something
bulk collect into type_variable
from any_table;
loop
type_variable(indx).variable , type_variable(indx).variable2;
end loop;
this is very useful for my logic on which I am working
like
type_variable(indx).variable || type_variable(indx-1);
if it's possible with cursors then how can I use cursor that can fullfill my this logic@Francois
if it's possible then how can i populate without using bulk collect?
thanks
and for others replies: if I can use stored procedures please give me any example..
thanks -
How to use Unicode font in a AWT compoment?
Dear,
I am a new on Java.
I want to use Unicode font in AWT/Swing but I cannot.
I use JDK 1.4.1 & JBuilder 7.0.
Please help me.
Thanks,
Cuong Ha.http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=2&t=001235
http://www.linuxforum.net/chinese/develop/java.html
Hope its of help to you. -
How to open .cmdrw file from Oracle Forms 10g
Hi,
We need to call *.cmdrw* file from Oracle forms 10g. Is there any way to call *.cmdrw* file from Oracle forms 10g?
Thanks for the help.
Viishnu NekkantiIn case you want to open a .cmdrw with its associated application you can use the following procedure:
webutil_host.NonBlocking( 'rundll32 url.dll,FileProtocolHandler ' || client_filename );This works for every file where a program has been associated to its file extension. (Adobe Reader for *.pdf, Microsoft Word for *.doc, Microsoft Excel for *.xls and so on)
Regards
Markus -
How to use java programe in oracle form
Hello Expert,
My Config is : -
Forms [32 Bit] Version 11.1.1.3.0 (Production)
Jdeveloper - 10.1.3
I want to use the java programe in form builder. I create the one java class in Jdeveloper -
package demo;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.net.UnknownHostException;
public class get_info{
public static void main(String[] args){
ch_add();
public static void ch_add()
InetAddress ip;
try {
ip = InetAddress.getLocalHost();
/*System.out.println("Current IP address : " + ip.getHostAddress()); */
NetworkInterface network = NetworkInterface.getByInetAddress(ip);
byte[] mac = network.getHardwareAddress();
/*System.out.print("Current MAC address : "); */
StringBuilder sb = new StringBuilder();
for (int i = 0; i < mac.length; i++)
sb.append(String.format("%02X%s", mac[i], (i < mac.length - 1) ? "-" : ""));
System.out.println(sb.toString());
} catch (UnknownHostException e) {
e.printStackTrace();
} catch (SocketException e){
e.printStackTrace();
and this into Formweb.cfg and default.env and also add into Form_class_path. After that i import this java into forms.
Code genertated -
PACKAGE BODY get_info IS
-- DO NOT EDIT THIS FILE - it is machine generated!
args JNI.ARGLIST;
-- Constructor for signature ()V
FUNCTION new RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN (JNI.NEW_OBJECT('demo/get_info', '()V', args));
END;
-- Method: main ([Ljava/lang/String;)V
PROCEDURE main(
a0 ORA_JAVA.JARRAY) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
JNI.CALL_VOID_METHOD(TRUE, NULL, 'demo/get_info', 'main', '([Ljava/lang/String;)V', args);
END;
-- Method: ch_add ()V
PROCEDURE ch_add IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(TRUE, NULL, 'demo/get_info', 'ch_add', '()V', args);
END;
-- Method: wait (J)V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT,
a0 NUMBER) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_LONG_ARG(args, a0);
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'wait', '(J)V', args);
END;
-- Method: wait ()V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'wait', '()V', args);
END;
-- Method: wait (JI)V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT,
a0 NUMBER,
a1 NUMBER) IS
BEGIN
args := JNI.CREATE_ARG_LIST(2);
JNI.ADD_LONG_ARG(args, a0);
JNI.ADD_INT_ARG(args, a1);
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'wait', '(JI)V', args);
END;
-- Method: equals (Ljava/lang/Object;)Z
FUNCTION equals(
obj ORA_JAVA.JOBJECT,
a0 ORA_JAVA.JOBJECT) RETURN BOOLEAN IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, 'java/lang/Object');
RETURN JNI.CALL_BOOLEAN_METHOD(FALSE, obj, 'demo/get_info', 'equals', '(Ljava/lang/Object;)Z', args);
END;
-- Method: toString ()Ljava/lang/String;
FUNCTION toString(
obj ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
BEGIN
args := NULL;
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'demo/get_info', 'toString', '()Ljava/lang/String;', args);
END;
-- Method: hashCode ()I
FUNCTION hashCode(
obj ORA_JAVA.JOBJECT) RETURN NUMBER IS
BEGIN
args := NULL;
RETURN JNI.CALL_INT_METHOD(FALSE, obj, 'demo/get_info', 'hashCode', '()I', args);
END;
-- Method: getClass ()Ljava/lang/Class;
FUNCTION getClass(
obj ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN JNI.CALL_OBJECT_METHOD(FALSE, obj, 'demo/get_info', 'getClass', '()Ljava/lang/Class;', args);
END;
-- Method: notify ()V
PROCEDURE notify(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'notify', '()V', args);
END;
-- Method: notifyAll ()V
PROCEDURE notifyAll(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'notifyAll', '()V', args);
END;
BEGIN
NULL;
END;
Now i want to call the o/p of Java programe in oracle text item. Please help me. It's very urgent. I am not good in Java.Sir i use java importer.
PACKAGE BODY get_info IS
-- DO NOT EDIT THIS FILE - it is machine generated!
args JNI.ARGLIST;
-- Constructor for signature ()V
FUNCTION new RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN (JNI.NEW_OBJECT('demo/get_info', '()V', args));
END;
-- Method: main ([Ljava/lang/String;)V
PROCEDURE main(
a0 ORA_JAVA.JARRAY) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
JNI.CALL_VOID_METHOD(TRUE, NULL, 'demo/get_info', 'main', '([Ljava/lang/String;)V', args);
END;
-- Method: ch_add ()V
PROCEDURE ch_add IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(TRUE, NULL, 'demo/get_info', 'ch_add', '()V', args);
END;
-- Method: wait (J)V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT,
a0 NUMBER) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_LONG_ARG(args, a0);
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'wait', '(J)V', args);
END;
-- Method: wait ()V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'wait', '()V', args);
END;
-- Method: wait (JI)V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT,
a0 NUMBER,
a1 NUMBER) IS
BEGIN
args := JNI.CREATE_ARG_LIST(2);
JNI.ADD_LONG_ARG(args, a0);
JNI.ADD_INT_ARG(args, a1);
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'wait', '(JI)V', args);
END;
-- Method: equals (Ljava/lang/Object;)Z
FUNCTION equals(
obj ORA_JAVA.JOBJECT,
a0 ORA_JAVA.JOBJECT) RETURN BOOLEAN IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, 'java/lang/Object');
RETURN JNI.CALL_BOOLEAN_METHOD(FALSE, obj, 'demo/get_info', 'equals', '(Ljava/lang/Object;)Z', args);
END;
-- Method: toString ()Ljava/lang/String;
FUNCTION toString(
obj ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
BEGIN
args := NULL;
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'demo/get_info', 'toString', '()Ljava/lang/String;', args);
END;
-- Method: hashCode ()I
FUNCTION hashCode(
obj ORA_JAVA.JOBJECT) RETURN NUMBER IS
BEGIN
args := NULL;
RETURN JNI.CALL_INT_METHOD(FALSE, obj, 'demo/get_info', 'hashCode', '()I', args);
END;
-- Method: getClass ()Ljava/lang/Class;
FUNCTION getClass(
obj ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN JNI.CALL_OBJECT_METHOD(FALSE, obj, 'demo/get_info', 'getClass', '()Ljava/lang/Class;', args);
END;
-- Method: notify ()V
PROCEDURE notify(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'notify', '()V', args);
END;
-- Method: notifyAll ()V
PROCEDURE notifyAll(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'demo/get_info', 'notifyAll', '()V', args);
END;
BEGIN
NULL;
END;
I read both document which is given by you.
Basicaly i don't know how to call java program in form builder.
I wrote this code on When-button-pressed
DECLARE
jo ora_java.jobject;
rv varchar2(1500);
ex ora_java.jobject;
BEGIN
jo := get_info.new;
rv:=get_info.ch_add(jo );
EXCEPTION
WHEN ORA_JAVA.JAVA_ERROR then
message (' Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR );
message('');
WHEN ORA_JAVA.EXCEPTION_THROWN then
ex := ORA_JAVA.LAST_EXCEPTION;
message(' Unable to call out to Java ' ||Exception_.toString (ex ) );
message(' Unable to call out to Java ' ||Exception_.toString (ex ) );
END;
No error comes and no output comes. I want the client MAC ID. please guide me where i need to change the code. -
How to Use Com ports on oracle forms
Hai,
how we can use com port to communicate to the device like Pole Display(output device) or fixed scaneer (input device) having serial port(Input device) in oracle forms.
Thanks & regardsFor web forms you will probably need to create a PJC and/or use webutil and make calls to the device's API.
-
How to use BEAN in an oracle forms at client side
Hello,
I am new in oracle forms.I am using
OS-Windows 7.
Forms [32 Bit] Version 11.1.2.1.0 (Production)
weblogic 10.3.5
Now I want know that how to use bean item in an oracle forms.
Thank You.Hello,
You copy the corresponding JAR file that contains the Java BEan in your <DEVSUITE_HOME>/forms/java folder, then you add its name to the archive tags of the forsweb.cfg file.
This done, you add a Bean Area to your canvas, set its Implementation Class property with the full class name, then you can communicate with the bean via the GET_CUSTOM_PROPERTY() and SET_CUSTOM_PROPERTY() built-in.
Google could also give you more information.
Francois -
How To Use F4 Command in Oracle Developer 10g to close Form on Web
Hi,
How can we close a running form and come on main menu screen in Oracle Developer 10g, when we are working on Web.
This can we do easily in Oracle Developer 6i but it will work for desktop based application.
ThanksHi Vansul,
Thanks for your reply.
can you please tell me in which file i need to make changes.
where is that file located, i didn't see any folder with the name of configuraton.
How can i add entry for F4 in file.
Thanks -
How to use Java Beans in Oracle Forms 11g at 64 bit windows7
Hello Experts,
I am using Oracle forms 11.1.2.2.0 with weblogic 10.3.6 generic at windows 7 64 bit.
My java version is jdk1.7.0_51.
Now I have a htmlbutton.jar (which is for bean item in oracle form and this jar file works well for oracle forms 11g 32 bit windows 7 environment).
I have takken steps:
1:-Put jar file in home\java folder.
2:-add this jar file into archive in formsweb.cfg.
3:-Add this this jar file(which is in my home- java folder) in form_class path in registry.
Now when I try to locate this jar file in my oracle form.There is no such jar file.what are the steps to use this jar file in oracle forms bean item.
Please told me what is wrong here.
thank you
regards
aaditya.It is unclear where you are having a problem. Is your issue at runtime (when the form runs in the browser) or when working in the Builder on the form?
Also be aware that you will need to sign your jar and include some new manifest entries. Refer to the Java 7u51 documentation and blogs that discuss the changes.
https://blogs.oracle.com/java-platform-group/entry/new_security_requirements_for_rias
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html -
How To use JFree chart in Oracle Forms 11g ?
Hi all
I had a graph in oracle forms6i I would like to convert them to 11g forms as graph builder is not supported by oracle forms 11g while goggling came to knew that there is Jfree chart through which we can develop the same as 6i graph..but unable to find any demo or Document Can any one help me regarding this please..?
thanks in advanceHello,
Oracle has the FormsGraph Bean, that you can take from the forms10g or forms11g demo pack (see the Forms home page on OTN).
Francois -
How to get machine IP in Oracle Forms 10g.
I am using Oracle 10g form builder
i need to get the client machine IP into a +(display Item)+ using webutil, i tried to used several codes but always am getting a null (empty) value in the box
also i used sys_context package but i got the application server address only!!
can anyone kindly help me in How to get the client client machine IP in Forms 10g.
FYI* i had reviced webutil configuration after installation of 10g and i test the libarary in reading and writing image
Kindly help me asap
you can also reply to [email protected]
AdelThis is from online help about FRM-40735:
Cause: Application design error. The current trigger raised an exception (other than FORM_TRIGGER_FAILURE), but it did not handle the exception. Action: Rewrite the trigger text to handle the exception.
So, check your code.
I have a form in which I use statement I gave you and everything is ok.
Hope it helps you,
Fabrizio
Maybe you are looking for
-
My iPads icloud,iTunes account for apps n games insists my phone
AAfter changing Icloud password, my I tunes apps n games account ,will not let me use it. Shows that (in Red) my phone numbers incorrect. It is not. It won't let me enter phone number completely. My Icloud account does show everything's ok,when I lo
-
Account Determination Error When Posting Goods Issue Against Sales Order
Hello SAP Experts, We are currently experiencing a problem during goods issueance against sales order (VL02N). The system terminates the issueance and gives error: "Account XXXXXX requires an assignment to a CO object". We have tried maintaining the
-
How to use bind variable in this select statement
Hi, I have created this procedure where table name and fieldname is variable as they vary, therefore i passed them as parameter. This procedure will trim leading (.) if first five char is '.THE''. The procedure performs the required task. I want to m
-
Steps to Copy a Database in SAP
Hi, What are the steps to copy a database in SAP? Thanks, Sreekar.
-
Dynamic images in reports -- PDF output
In Reports uilder I can link an image object to a URL as described in the product help. This works well with an HTML output but in PDF only the image URL appears. How could I solve this problem? Thank you.