Using READ_IMAGE_FILE BUILT-IN IN Forms causes a loss in the resolution
Hi All
Oracle Developer suite 10g, database 11 gr2, windows Platform
I'm using READ_IMAGE_FILE BUILT-IN in forms builder to read an image and get a good background for the form, but the image displays in the form with a resolution that is less than the actual image resolution.
Please help
Francois,
Sorry, because I don't have any background about java,
This is the java console output after saving a new record :
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\it maniger
Proxy Configuration: Browser Proxy Configuration
JAR cache enabled
Location: C:\Documents and Settings\it maniger\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
Loading http://itmanage:8889/forms/java/frmall_jinit.jar from JAR cache
Loading http://itmanage:8889/forms/java/myappicons.jar from JAR cache
Loading http://itmanage:8889/forms/java/frmwebutil.jar from JAR cache
Loading http://itmanage:8889/forms/java/jacob.jar from JAR cache
Loading http://itmanage:8889/forms/java/handleimage.jar from JAR cache
Loading http://itmanage:8889/forms/java/classes12.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
إصدار بريمج Forms هو : 10.1.2.0
Lecture.bLog=true
Lecture.bLog=true
InitConn=jdbc:oracle:thin:@zogotoun-jnq4h6:1521:XE
InitUser=tutoforms
InitPwd=tuto
Clear imge
Searching JAR for file:///f:\femtosoft\fmst\mainmenu.jpg
Unable to find file:///f:\femtosoft\fmst\mainmenu.jpg in JAR
Searching docbase for file:///f:\femtosoft\fmst\mainmenu.jpg
Constructed URL: file:/f:/femtosoft/fmst/mainmenu.jpg
Image found in DOCBASE: file:/f:/femtosoft/fmst/mainmenu.jpg
Start Ecriture()
Ecriture() : Connect to database
Ecriture() : error connecting to the database java.security.AccessControlException: access denied (java.net.SocketPermission zogotoun-jnq4h6 resolve)
Ecriture() : execute query=UPDATE PHOTOS set PHOTO_JAVA = ? where IDENTIFIANT=5
java.lang.NullPointerException
Mostafa
Similar Messages
-
READ_IMAGE_FILE built in on Forms 6i
Hi all,
I have learned there was a bug in Forms 6i (Win2000) using READ_IMAGE_FILE built-in. It was not possible to load JPG images without converting them in JFIF.
Is this bug fixed? And is it a way to use an URL instead of a filesystem path to locate the image wanted?
Thanks, Marco.Marco,
If you can provide me with a bug number, then I can look it up and tell you if its fixed. Actually the read_image_from_file is supposed to read an image from the filesystem. Read image from a URL is not supported in Forms.
Frank -
Using HOST built-in in Forms under an AIX O/S
Hello,
I need to use the HOST built-in inside a form under an AIX O/S, but it doesn't work. I have tried some different options:
a) HOST('cp /xx/xx/xx/file1.txt xx/xx/xx/file2.txt');
b) HOST('sh cp /xx/xx/xx/file1.txt xx/xx/xx/file2.txt');
c) HOST('ksh /xx/xx/xx/file1.txt xx/xx/xx/file2.txt');
d) HOST('/usr/bin/cp /xx/xx/xx/file1.txt xx/xx/xx/file2.txt');
(NOTE: The files are referenced with the absolute path).
Why it doesn't work?
It seems that the cp command is not found when i execute it. When I put this instruction in a Windows O/S it works perfectly puting 'cmd' at the beginning of the literal, because of 'cmd' is the command.com for windows.
Maybe I don't know what is the command.com for AIX?
Could you help me?
Thanks.Hello
What Gerd was getting at is where you had:
cl := '"C:\Program Files\Internet Explorer\iexplore.exe" http://springfield01:7777/forms/frmservlet?form=sas2.fmx&userid='||user||'/'||get_application_property(password)||'@fc';
host(cl,no_screen);
replace the code with:
cl:='http://springfield01:7777/forms/frmservlet?form=sas2.fmx&userid='||user||'/'||get_application_property(password)||'@fc';
web.show_document (cl,'_blank');
This will open a new IE window with the url you requested.
You could alternatively if you already have webutil installed just replace
host(cl,no_screen);
with
client_host(cl,no_screen);
Though logically the having to have "C:\Program Files\Internet Explorer\iexplore.exe" in your code defeats the idea of a web application. I would go for the first option because you don't care where IE is on the machine.
cheers
Q -
How can I use a cfwindow with a form in it to update the main page?
This seems simple enough but I can't figure it out. My main
page calls a query to get a list of departments. I have put this
list in a table inside a cfdiv tag. I have an add department link
on my page. When the user clicks on this link, I want a popup
window (cfwindow) to display containing a form to add a department.
Then when the user submits the form, the form should disappear and
the main page should show the updated list of departments.
I can't get the form to close without getting an error
stating that there already is a window with that name and the new
data doesn't display unless I refresh my screen.
Here's my departments.cfm page:
<html>
<head>
</head>
<cfinvoke component="department"
method="list"
returnvariable="departments">
</cfinvoke>
<body>
<cfwindow name="deptWindow" title="Department Window"
draggable="true" resizable="false"
initshow="false" height="400" width="600" x=200 y=100>
<cfform action="processDepartment.cfm"
onsubmit="ColdFusion.Window.hide('deptWindow')">
Department:
<cfinput type="text" name="deptname">
<cfinput type="submit" name="submit">
</cfform>
</cfwindow>
<a href="#"
onClick="ColdFusion.Window.show('deptWindow')">Add
Department</a>
<cfdiv>
<table>
<tr>
<th>Department</th>
<th>Action</th>
</tr>
<cfoutput query="departments">
<tr>
<td>#deptname#</td>
<td><a href="##"
onClick="ColdFusion.Window.show('deptWindow')">Edit</a></td>
</tr>
</cfoutput>
</table>
</cfdiv>
</body>
</html>
Here's my department.cfc page:
<cfcomponent output="false">
<cfset THIS.dsn="cf8test">
<cffunction name="list" access="remote" output="false"
returntype="Query">
<cfquery name="departments" datasource="#THIS.dsn#">
SELECT department_id, deptname
FROM departments
ORDER by deptname
</cfquery>
<cfreturn departments />
</cffunction>
<cffunction name="add" access="public" output="false"
returntype="Boolean">
<cfargument name="deptname" required="true"
type="string">
<cfquery datasource="#THIS.dsn#">
INSERT INTO departments(deptname)
VALUES (<cfqueryparam value="#Trim(ARGUMENTS.deptname)#"
cfsqltype="cf_sql_varchar">)
</cfquery>
<cfreturn true />
</cffunction>
</cfcomponent>
And finally, here's my processDepartment.cfm page:
<!--- Form Field Validation --->
<cfparam name="FORM.deptname" type="string">
<cfif IsDefined("FORM.id")>
<cfset method="update">
<cfelse>
<cfset method="add">
</cfif>
<cfinvoke component="department"
method="#method#">
<cfif IsDefined("FORM.id")>
<cfinvokeargument name="id"
value="#FORM.id#">
</cfif>
<cfinvokeargument name="deptname"
value="#Trim(FORM.deptname)#">
</cfinvoke>
<!--- When done go back to the Departments listing --->
<cflocation url="/departments.cfm">Hi Jeff,
One way to do it is to write a JavaScript function that binds
to your CFC. The CFC should both insert the user values, and then
select all of the departments from the department table, and then
return the query set to the page. I wrote sort of a test page which
gets the state from the States table according to the state
abbreviation that the user types in from a CFWindow. The table
never gets updated, however, the result comes back from the CFC
through AJAX, then updates the main page. You can use this same
idea but you'll have to update your CFC a little bit. However, the
idea is the same.
Here's the code for my get State application. Especially
notice the following three lines of code in the JavaScript function
called getStates:
var d = new getStates2(); //this is the name of your CFC
d.setForm('form1'); //not sure if you need this, but I found
it somewhere
var stateName = d.getAllStates(); //the name of the function
inside your CFC
Anyway here's the code in full:
<style>
.stateClass {
font-family: arial;
font-weight: bold;
font-size: 12pt;
padding-top: 10px;
</style>
<cfajaxproxy cfc="getStates2">
<script language="javascript">
function enter_pressed(e){
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return false;
return (keycode == 13);
function getStates()
if(document.form1.theState.value == '') {
alert('Please make sure the textbox is not empty.');
return false;
var d = new getStates2();
d.setForm('form1');
var stateName = d.getAllStates();
ColdFusion.Window.hide('stateWin');
if (stateName == '')
document.getElementById('stateDiv').innerHTML = 'No such
state';
else
document.getElementById('stateDiv').innerHTML = 'The state
is ' + stateName;
</script>
<cfwindow name="stateWin" x="100" y="100" width="400"
height="200">
<form name="form1" method="post" onsubmit="return
false;">
<input name="theState" type="text" size="5"
onKeyPress="if(enter_pressed(event)){ getStates() }"
/>
<input type="button" value="get state"
onClick="getStates()">
</form>
</cfwindow>
<div id="stateDiv" class="stateClass">
</div>
<a
href="javascript:ColdFusion.Window.show('stateWin')">find a
state</a> -
Newbie asks: "How do I record my voice using my built-in mic?"
I will admit it - I am the newbie. I cannot for the life of me figure out how to record my voice, using my built-in mic on my laptop (G4). The manual for GarageBand doesn't have a step by step.
My Track Info does not list "Vocal", as I have seen it listed on Apple tutorials and pdf manuals. Also, I have set my Preferences to "built-in audio" for input and output. I am using version 2.0.2 (50) of Garage Band.
I am probably just being mentally deficient, but can anyone help me with a step-by-step explanation of how to record my voice?
iBook G4 Mac OS X (10.4.9) Complete Novice
iBook G4 Mac OS X (10.4.9)Hi,
You can use Windows "Sound Recorder'
Start Sound Recocrder
Speak, Sing or may noises
And stop when finish
Save file
To start Sound Recorder
Windows 7: Click Start > All Programs > Accessories > Sound Recorder
Windows 8 & 8.1: Hold down Win key then press Q > Type Sound R in Search box
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
Smart form - Long text in all the items?
Hello gurus,
We are using something similar to smart form (I don't know the exactly name, like pretty form).
So, we are using a long text in the "Item text" by item.
Sometimes the item can be more than 20 lines in the "Item text" as long text and sometimes not.
Example: I have a PO with 4 items:
Item 1 - Without Item text.
Item 2 - With 20 lines in the Item text
Item 3 -With 1 line in the Item text
But, when the PO is printed, the PO form has to all the items 20 lines by item.
That's mean that if in the first item I don't have item text, the first item is showed with a very long space in blank (space of 20 lines).
The secont item is showed correctly.
The third item has one line wrote and 19 lines in blank, like a long space in blank.
How we can manage this situation in the format?
How we can program these spaces to see in the format to the first item without the space in blank and to the third item only 1 item and the other 19 lines without being shown?
Can you help me please a.s.a.p.?
Thanks for your time and I will wait the answer.
Regards,
Sandra PalomoHi ,
Can you please let me know the solution implemented ? -
Using Jar file images with READ_IMAGE_FILE built-in
Hello,
I was wondering if it is possible to utilize images in a JAR file with the READ_IMAGE_FILE built-in. The Oracle Forms Configuration guide seems to indicate that I should be able to do this by using 'URL' with READ_IMAGE_FILE but no success so far. I have imageBase=CodeBase in the FrmsWeb.cfg file and the jar file in the /forms/java directory. Any advice would be most welcome,
regards,
Kevin.It is possible.
in 10g 'URL' is a new value for file_type in READ_IMAGE_FILE.
It's not documented in Forms Help, but should work.
1. Check Java Console and ensure jar file is loaded
You should see something:
Downloading http://host:port/forms/java/myjar.jar to JAR cache
or
Loading http://host:port/forms/java/myjar.jar from JAR cache
2. You are using dept for file name. Check the image file name in your jar file. It should be full, case sensitive name of JPG or GIF file in your jar.
like :
READ_IMAGE_FILE('dept.jpg','URL','control.deptimage');
3. If all above correct, try to put synchronize; before READ_IMAGE_FILE -
Using Close_Form built-in (Forms 6.0)
I'm experimenting with creating a dialogue controlled within the same session. Essentially I want to create an environment where a user can open numerous forms (i.e. where form A calls form B and form B calls form C) from a head form (form A), while still allowing the user to navigate inbetween all forms and not open duplicate instances of the same form. I'm running into a problem because I want the user to be able to close all child (called) forms from a calling form (i.e. form C closes when a user exits form B). The issue is, using the Close_Form built-in causes a Full Rollback within the session. Hence, if form B calls form C, and C calls form D, exiting form C rolls back data in form B.
I'm generating forms using Oracle Developer 6.0 > Form Builder.
I implemented your previous suggestion, unfortunatelyl to no avail. What's the difference between the default savepoint setting in Oracle and when I set a savepoint?
I feel like the Close_Form built-in should have another parameter regarding the savepoint issue.
null -
Problem using javascript to submit jsf form, values not submitted
Greetings!
I have a t:selectOneMenu where I want the page to be submitted when they change the selected value. At this point, I am able to get the form to submit and reload the page, which is all fine. The problem is that none of the values from the page are not set in the backing bean. I have break points on the setter methods that are not being hit.
I have tried a number of things from searching multiple forums, but here are snippets from my latest version...
<h:form>
<t:commandLink id="hiddenLink" forceId="true" value="test link"
action="#{pc_PageX.doBtnHiddenLinkAction}"></t:commandLink>
<t:selectOneMenu id="pageList_top" forceId="true" value="#{pc_PageX.ValueX}"
onchange="jspellSync(); submitPageX();">
<f:selectItems value="#{pc_PageX.ListX}" />
</t:selectOneMenu>
</h:form>
function submitPageX(){
var hiddenLink = document.getElementById("hiddenLink");
hiddenLink.click();
}Note that the <t:commandLink> is not hidden, though it will be in the final version if I can get this to work.
If I click the commandLink myself, the page is submitted with all the page values as expected. If I change the list value, thus using javascript to fire the commandLink's click event, the page is submitted with NO values.
Can anyone come up with an explanation for this behavior? Or better yet, a solution?
A couple other things I've tried...
- Not using a commandLink and using jsf's submit function -> onchange="jspellSync(); submit();"
- Clicking the link using other ways -> hiddenLink.fireEvent('onclick');
If all else fails, I'll just add a button that they have to click to submit the form.snotmare wrote:
BalusC wrote:
I recall this problem in one of the ancient JSF versions. Which JSF version do you use? Do you have any room to upgrade to latest? We're using an IBM implementation of JSF, which is at version 7.0. The IBM implementation appears to be built on the JSF base 1.1.That's not an IBM JSF implementation, they do not have any one, they just have some component libraries which runs on top of some JSF implementation. RAD/WSAD ships by default with Sun JSF RI. Try upgrading to at least 1.1_02 which you can download from the aforementioned link. There's a gap of 2 years (and inherently a lot of bugfixes) compared to 1.1. If the application server used supports Servlet 2.5, you could even upgrade to the latest 1.2.
We've had other issues with the IBM implementation, which could be the cause in this case too. We've been talking about switching to MyFaces, but there is one feature of the IBM version that we like. It's basically a script collector (hx:scriptCollector) that allows us to do pre-processing on the page.As said before, IBM does not have a JSF implementation. So replacing RI by MyFaces wouldn't make any difference. -
How to use a custom.dll in forms 6i
Hi,
i have made a small dll using a icon-making software, that software has made a .dll of the icon I made in that software
Now i want to use that .dll in my forms 6i. (client/server)
the dll contains only one icon named 'Icon1'
would any one please tell me how can I call that icon in that .dll to view in my forms button at run time..
is this possible..??
just for clarification, for security reasons I am not using the .ico of that icon diect from hardisk in my button thats why i made a .dll of that so that the user may not be able copy my icon
thanks in advance,Here is the doc
Doc ID: Note:99824.1
Subject: How to Display User-Defined Cursors and Icons in Forms
Type: BULLETIN
Status: PUBLISHED
Content Type: TEXT/X-HTML
Creation Date: 23-FEB-2000
Last Revision Date: 30-OCT-2002
PURPOSE
The purpose of this note is to explain how to display customized
cursors and icons in Forms 6.0 on Windows platform (32 bits).
Assumption is made that resources are stored in a DLL, which is
available in the path at runtime.
It is mandatory to store the cursor in a DLL to make it available
with Forms: .cur cursor files cannot be directly loaded from the
file system.
On the other hand, icons .cio files can directly be read from the
filesystem by Forms Runtime. However we will focus on icons which are
stored in a DLL.
The article is divided into two main parts:
- how to build a resource-only DLL with Visual C++ 5.0
- how to display the cursor and the icon in Forms 6.0
SCOPE & APPLICATION
The intended audience needs to have basic knowledge in Forms Builder
and also in Visual C++ (or any other Win32 compiler).
A typical environment is Forms 6.0, Visual C++ 5.0 and Windows NT.
WHAT IS A RESOURCE ?
A resource can be considered as some extra binary information that can
be added to an executable file. Windows resources are for example icons,
cursors, menus, dialog boxes, keyboard-accelerator tables and much more.
Resources are usually stored in a .rc file, which is compiled by the
resource compiler in order to provide a .res file. These compiled resources
can then be appended to a binary executable file or a DLL.
For instance, Visual C++ 5.0 includes a resource editor which allows you to
draw your icons and your cursors, and store them in a resource file.
Part I - BUILDING A RESOURCE-ONLY DLL
Consider the following setup:
- myicon.ico: icon file
- mycur.cur: cursor file
The objective of this section is to build a DLL called proj.dll which
contains both the icon and the cursor. This operation requires several steps.
Step 1: Create a project
In Visual C++, select menu File->New... In the dialog box, choose the Projects
tab and pick "Win32 Dynamic Link-Library". Fill the project name (e.g. Proj)
and the location (e.g. c:\MyProjects). Check 'Create new workspace', check
Win32 as target platform and click on OK.
This creates a directory c:\MyProjects\Proj, where necessary .rc and .cpp
files can be stored. Place the .ico and .cur files in this directory too.
Step 2: Add a resource file to the project
Create a proj.rc file, edit it and make sure it contains the following lines:
testcur CURSOR DISCARDABLE "mycur.cur"
testico ICON DISCARDABLE "myicon.ico"
This is the resource file. Using the Project->Add to Project->Files... menu,
select the proj.rc file and add it to the current project.
Step 3: Add a dummy C++ file to the project
Create a proj.cpp file, edit it and make sure it contains the following lines:
#include <windows.h>
extern "C"
BOOL WINAPI DllMain (HINSTANCE hInstance, DWORD dwReason, LPVOID)
return 1;
This creates an entry-point in the DLL. This function does nothing but is mandatory
to have a DLL after the build of the project.
Add the proj.cpp file to the project as described in Step 2.
Step 4: Choose the target type
At this moment, you can choose if you need a 'DEBUG' or a 'RELEASE' flavour of
the DLL. As there is not much to debug in this DLL, the 'RELEASE' flavour is
recommended. Furthermore, it is much more compact.
Using the Build->Set Active Configuration... menu, choose the Proj - Win32 Release
as the active configuration.
Step 5: Build the DLL
Now, it is time to compile the resource file, compile the C++ file, link both
together and build the proj.dll DLL. This operation is performed by using the
Build->Rebuild All menu.
After a short time, you should see "Proj.dll - 0 error(s), 0 warning(s)" in
the Visual C++ message window. This means that the DLL was built successfully.
Step 6: Place the DLL in the appropriate directory
The proj.dll file is currently located under the c:\MyProjects\Proj\Release
directory. Copy it in an appropriate directory which is reachable in the
runtime environment path.
Part II - USING THE ICON AND CURSOR IN THE FORM
At this stage the DLL is created and can be used in the Form application.
Again, this is a multi-step procedure.
Step 1: Load the DLL in the Forms Runtime environment
Assuming the proj.dll DLL is placed in a directory pointed by the
PATH environment variable, below is the piece of PL/SQL code which loads
the DLL into the Forms Runtime environment. This code can be placed in the
WHEN-NEW-FORM-INSTANCE trigger for example:
declare
hDLL ORA_FFI.LIBHANDLETYPE;
begin break;
--Preload the DLL so the cursor and Icons can be found.
-- I'm assuming the DLL is in the path here
hDLL := ORA_FFI.LOAD_LIBRARY(NULL,'proj.dll');
exception
when ORA_FFI.FFI_ERROR then
for i in 1..TOOL_ERR.NERRORS LOOP
message(TOOL_ERR.MESSAGE(i));
end LOOP;
end;
Step 2: Display the cursor stored in the DLL
Now, you may want to change the cursor when the user clicks on
a specific button. This is an example of code that could be set
in the WHEN-BUTTON-PRESSED trigger:
set_application_property(CURSOR_STYLE,'<proj>TESTCUR');
<proj> refers to the proj.dll. Please note the < and > signs
which are mandatory there. TESTCUR is the name of the cursor resource
as defined in the proj.rc file.
Step 3: Display the icon stored in the DLL
You may also want to change the icon of an iconic button after
some specific end-user action. The appropriate code for that is:
set_item_property('IBUTTON',ICON_NAME,'<proj>TESTICO');
IBUTTON is a PushButton, with the Iconic property set to Yes.
TESTICO is the name of the icon resource as defined in the proj.rc file.
Asim. -
I have a 10 page PDF form that I can edit normally. I combine it using the Combine Files wizard. The resulting PDF has several fields disappear upon saving, and causes Acrobat to crash every time if I try to edit the form. I can combine the original PDF form with no other document, and the error still occurs. I have several similarly named fields, such as Name#1 and Name#2, and it seems that all those fields disappear after going through the Combine Files process. I can open the resulting PDF, and fill in the remaining fields, but attempting to edit the form causes Acrobat to crash each and every time.
I have used this process before, with no problems, but it fails every time on this form.
This is the error in the Event Viewer: Faulting application Acrobat.exe, version 10.0.0.396, time stamp 0x4cc5ebc0, faulting module AcroForm.api, version 10.0.0.396, time stamp 0x4cc5f5cc, exception code 0xc0000005, fault offset 0x0012d905
This is using Acrobat X Standard and Pro on XP Pro and Vista.
If I open the original PDF, and insert a new PDF as new pages, that works fine.
I updated Acrobat to the latest patch, problem remains. I don't know how to resolve this.Did a little more testing and this is what I found. If I use the "Insert from file" feature to combine a cover sheet plus 3 AcroForms (inserting each file one by one), eveyrthing appears to work. However, if I use the "Combine via Acrobat" feature I run into the issue of fields disappearing once combined.
I shoudl also add that perhaps the issue had something to do with the fact that I initally produced the cover page pdf via Photoshop "save as PDF". Perhaps that contirbutted to the structure issue despite it being a PDF...maybe under the hood things are structured differently. Who knows.
Just FYI for others: What appears to be working is using the "Insert from file" option vs "Combing via Acrobat". Also, if you are including a non-AcroForm PDF, be sure it a traditional vs. saving as a PDF from Photoshop.
Alot of this may be a fluke, but it seems to fix my issue - for now. -
I use the apple email in my mac air. When I foward messages, people that use Outlook receive the text fowarded in form of attachment instead of the message opened in the body of the email. How can I solve this? Thanks. Best regards.
this:
Did not exist at the point of delivery to the consumer.
Nor did the white corrosive agent present exist at the point of sale.
" exposure of copper alloys to moisture or salt spray will cause the formation of blue or green salts called verdigris. The presence of verdigris indicates active corrosion."
I see also 2 contact points with DEEP corrosion pitting not indicative of any defect from the factory. -
Hitting submit on th eparameter form causes the requested url was not found
Hi,
I'm using reports 6i patch 10 on a Oracle 8.1.7.4 , all of it is installed on a windows xp system.
When I try to run one of my own reports through the web (still staying on the local machine) this works well for displaying the parameter form.
Hitting the submit button on the parameter form causes
Error: the requested url was not found, or cannot be served at this time
Oracle Reports Server CGI- reports server name is not specified
But the server name is in the command line
When I run the same report with paramform = no and specifying the required parameters in the command line everything runs well.
When running the supplied test report everything runs ok, with and without the parameter form.
Any idea what's going on?
Do I need to give more detailed info?
regards, PietRunning it the way you specified it works well, also with keymap everything is ok then.
The environment settings are
RWCGI Environment
Oracle Reports Server CGI60 version 6.0, a Win32 executable.
HTTP Environment Variables (server):SERVER_NAME pdb-laptop
SERVER_PORT 80
SERVER_PORT_SECURE undefined
SERVER_SOFTWARE Oracle WebDb Listener 2.1
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
SCRIPT_NAME /dev60cgi/rwcgi60.exe/
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
HTTP Environment Variables (request):HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
REQUEST_METHOD GET
QUERY_STRING server=Rep60_PDB-LAPTOP-OraDevHome
CONTENT_LENGTH undefined
CONTENT_TYPE undefined
REMOTE_HOST 127.0.0.1
REMOTE_ADDR 127.0.0.1
REMOTE_USER undefined
REMOTE_IDENT undefined
HTTP_REFERER undefined
HTTP_COOKIE databaseid=bd2Ng49PxTNWh9Ks03Ga4AnAhXnC4SwGCtOXkzqe8NSDLcoIaZU=; lastuserid=bd2Ng49PxVwN3dWo3XGH8g==
AUTH_TYPE undefined
HTTP_AUTHORIZATION undefined
PATH_INFO showenv
PATH_TRANSLATED undefined
Oracle Reports Server CGI60 Environment Variables:PATH C:\OraDevHome\bin;C:\OraHome\bin;C:\OraHome\Apache\Perl\5.00503\bin\mswin32-x86;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Ulead Systems\MPEG;C:\PROGRA~1\UTILIT~1\ULTRAE~1;"C:\Program Files\Symantec\Norton Ghost 2003\";C:\Program Files\Executive Software\DiskeeperWorkstation\
ORACLE_HOME C:\OraDevHome
RW60 C:\OraDevHome\REPORT60
ORACLE_PATH undefined
REPORTS60_PATH C:\OraDevHome\REPORT60\ADMIN\TEMPLATE\US;C:\OraDevHome\REPORT60
REPORTS60_TMP C:\OraDevHome\REPORT60\TMP
REPORTS60_CGIMAP undefined
REPORTS60_CGIHELP undefined
REPORTS60_CGIDIAGBODYTAGS undefined
REPORTS60_CGIDIAGHEADTAGS undefined
REPORTS60_CGINODIAG undefined
USER_NLS_LANG undefined
NLS_LANG AMERICAN_AMERICA.WE8ISO8859P1
Stdin is empty.
CGI Command Line is used
main.argv[0] C:\OraDevHome\tools\web60\cgi\rwcgi60.exe -
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 -
Smooth transitions between menus without using DVDSPs built-in transitions?
My project has two menus: a main menu and a chapter menu. When going from one menu to the other I would like to have the current menu fade out and the new menu fade in. When going from the end of the track or when using the remote menu button after getting to the track from the main menu I would like to have the main menu fade in (and the background for the chapter menu not appear). When using the remote menu button after getting to the track from the chapter menu I would like to have the chapter menu fade in (and the background for the main menu not appear).
I am able to accomplish what I described above by using DVDSPs built-in transitions. However, I have been advised by Trai Forrester that DVDSPs built-in transitions can cause problems: http://www.dvdverification.com/public/155.cfm I have therefore modified my project to not use DVDSPs built-in transitions, but in order to have my project behave as I have described above I found it necessary to use two versions of the main menu and two versions of the chapter menu. One version of the main menu has a video file that fades in the background of the main menu, while the second version of the main menu has a video file that fades out the background of the chapter menu and then fades in the background of the main menu. (Similarly one version of the chapter menu has a video file that fades in the background of the chapter menu, while the second version of the chapter menu has a video file that fades out the background of the main menu and then fades in the background of the chapter menu.)
My project behaves as desired using the two pairs of menu and does not use DVDSPs built-in transitions, so that pleases me. However, the almost-identical copies of the menus annoys me greatly. For an explanation of the programming principles that lead to my annoyance, see http://en.wikipedia.org/wiki/Code_duplication and http://en.wikipedia.org/wiki/Don%27trepeatyourself for elaboration.
Is there a way to have just two menus instead of two pairs of menus and achieve what I described above without using DVDSPs built-in transitions?
Looking forward to being surprised by a clever solution,
John LinkSince you have no audio or motion then try the jump to loop point script. Either way would be fine.
I played around with that a little bit and it seems that to get all the fade-outs I'd like to have would require several scripts and keeping track of SPRM 7. I think that I am going to abandon all of the fade-outs but keep the fade-ins. I can do that with a single main menu and a single chapter menu and not use the built-in transitions or any scripts at all. The behavior looks good and I think the disc will be very safe.
I agree, duplicating code is not good practice but remember your not writing code here - DVDSP is doing all this work under the hood for you.
I may not be writing code but I am programming the DVD and the principle of non-duplication is violated by almost-identical menus.
If you'd like check out a tool like My DVDEdit or AfterEdit
http://www.mydvdedit.com/
http://dvdafteredit.com/
It allows you to see the "real" DVD Structure which tools like DVDSP or Encore hide to make things simple. You can even go through the abstraction layer line by line to see how that SPRM 7 is used (wish I knew why that Sony Player doesn't work for your project).
Be sure to take a look at my report on the RDR-GX355: http://discussions.apple.com/thread.jspa?threadID=1896575&tstart=0 That player also operates incorrectly on Concert for George: http://www.amazon.com/Concert-George-Andy-Fairweather-Low/dp/B0000CEB4V/ref=pdbbs_sr1?ie=UTF8&s=music&qid=1233954620&sr=8-1
Its not rocket science (especially for a programming like yourself) but remember authoring a disc in DVDSP vs a spec tool like Scenarist isn't even in the same ballpark - not even the same sport Last time I heard Scenarist is down to $6000 - it was $20K a couple years ago.
That's a deal breaker! I'll be working with DVDSP in the foreseeable future.
Also go here:
http://www.dvd-replica.com/DVD/index.php
it explains the spec in detail
Thanks. I'll take a look.
Maybe you are looking for
-
JDBC Batch Updates & PreparedStatement problems (Oracle 8i)
Hi, we're running into problems when trying to use JDBC Batch Updates with PreparedStatement in Oracle8i. First of all, Oracle throws a SQLException if one of the statements in the batch fails (e.g. because of a unique constraint violation). As far a
-
Nokia n95 no route tracking?
Hi. Nokia n95 announces route tracking...but i dont have it. Just global position in the map. To have route tracking i need to buy a licence? regards
-
Error while installing Lightroom 3 Trial
Hi all, I've been trying to install the Lightroom 3 64-bit trial for two days now. It gets all the way to the 'Copying new files" part then I get an error. The error box states, "Error 1935. An error occurred during the installation of assemply compo
-
In the old version of iTunes you had a genius sidebar on the right hand side of your music library that showed similar artists and songs to the song that was currently being played or highlighted in your personal library. Where is that function in th
-
How to display a logon-message without a diconnect
Hello, I tried to display a message on logon with a trigger on logon and a RAISE_APPLICATION_ERROR, but this disconnects the user or doesn't worl for DBA-users. Is the any other possibilty to display a message when somebody logs on ? Regards, Mynz