How can read/write FORMSWEB.CFG & DEFAULT.ENV file entries programatically?

Environment: Forms 9i (Web)
As : Oracle 9i As
How can read/write FORMSWEB.CFG & DEFAULT.ENV file entries programatically?

I guess you cannot. There is an enhancement request to get the name of the config-section as a GET_APPLICATION_PROPERTY.
What you could do is add extra parameter(s) to your form and pass the necessary formsweb.cfg parameters in this form parameter. See Get formsweb.cfg section name in Forms for more info and an example.

Similar Messages

  • How can read & write .ncd files?

    I need to create / modify a .ncd file (used in Max 3.0.2) for can channel configuration. How can I do that in C or VB?

    Giuliano,
    if you try to open the .ncd file with Notepad it states it is an XML 1.0 file. Actually, if you open it up with MS Internet Explorer you should be able to see exactly the same structure you see in MAX.
    So, if you want to modify and/or create the .ncd file externally you can use a text editor or an XML parser to write your .ncd files and then load the messages from MAX.
    Greetings
    AlessioD
    National Instruments

  • How can I get back the default system files icons to my fles?

    Hello,
    After installing an application like FontExplorer, all my fonts got it's icon.
    I went to a font, selected and did get info, I tried to delete the icon but could not.
    I know the default icons for OTF fonts and an italic O, half green, half black.
    How can I get those Icons back,
    Or in general,
    When files gets an application icons, how can I restore the default icons for files?
    Thank you
    Shlomit

    Icons in the Get Info pane can be changed back to the original icon by clicking on the icon once, to highlight it, and then pressing Control X (for cut).
    But in your case the font icon is probably more due to the association with the application selected to open it with, ie FontExplorer. So with the Get Info pane open for a selected font type you need to change which application you use to open it with. For example, if you select one of the OTF fonts and do a Get Info, in the Open With pane it will show FontExplorer. Change this to Font Book and it should change its default icon.

  • How can I write this string to a file as the ASCII representation in Hex format?

    I need to convert a number ( say 16000 ) to Hex string ( say 803E = 16,000) and send it using Visa Serial with the string control in Hex Mode. I have no problem with the conversion (see attached). My full command in the hex display must read AA00 2380 3E...
    I can easily get the string together when in Normal mode to read AA0023803E... but how can I get this to hex mode without converting? (i.e. 4141 3030 3233 3830 3345 3030 3030 3031 )
    Attachments:
    volt to HEX.vi ‏32 KB

    Sorry, The little endian option was probably introduced in 8.0 (?).
    In this special case it's simple, just reverse the string before concatenating with the rest.
    It should be in the string palette, probably under "additional string functions".
    (note that this only works in this special case flattening a single number as we do here. If the stat structure is more complex (array, cluster, etc.) you would need to do a bit more work.
    Actually, you might just use typecast as follows. Same difference.
    I only used the flatten operation because of the little endian option in my version.
    Message Edited by altenbach on 11-16-2007 11:53 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    littleendian71.png ‏4 KB
    littleEndiancast71.png ‏4 KB

  • How can I write a comment in a file lvm during running

    hello,
    I need to write a comment in a file.
    I use Write LabVIEW Measurement File to write my signal in a lvm file.
    I want to insert a comment and I use a string control to comment.
    is it possible to write a comment during running of program??
    I must achive a signal and i write a comment in the same time and i can't stop and start the acquisition.
    is there a way to write whitout turn off the program??
    Thank you
    I

    Hello,
    I need to write  a comment in any time, during the measurement is running.
    If it is possible I can write the measuremnet in a excel file insted lvm file. but I don't know how do it.
    I must achieve a signal and filter it. then I calculate the integral of this signal and record it in a file.
    but I must write a comment during acquisition because the signal change in the time according my manipulation and
    I write them on file to have corresponding between comment and values.
    This is my VI file I hope it is clear!
    Another thing. I would to change file in which write when a write comment to have a diffrent file for each conditions.
    Thank you very much 
    Attachments:
    Generazione_filtro_integrale_un_metodo.vi ‏452 KB

  • How can I write to spreadsheet or measurement file the following signals

    Hi Friends !
    I'm wondering how to write to spreadsheet or measurement file 1 and 0 from my DAQ assistant on this VI :
    It's the same VI like this one : http://zone.ni.com/devzone/cda/epd/p/id/6405
    Solved!
    Go to Solution.
    Attachments:
    My.vi ‏135 KB

    Hey,
    You place the Write To Measurement File Express VI on your blockdiagram and route a wire from it's "Signals Input" terminal to the DAQ Assistant's "data" terminal. Like this:
    Christian

  • How can I write a comment in a file lvm

    I use Write LabVIEW Measurement File to write my signal in a lvm file.
    I want to insert a comment and I use a string control to comment.
    when I insert a comment I write comment and push Return.
    When I open file.lvm there is no comment!!!
    Why??
    Thank you

    Hi ocramm,
    see the attached VI, it's a simple example that writes a single waveform (X and Y axes) in a lvm file adding a comment.
    The comment fills only the 1st row of the 3rd column . The position of the comment is always in the 1st row of a new column after the last column of the last signal.
    I hope this help you.
    MarcoC
    Attachments:
    Write comment.vi ‏169 KB

  • How can we store an image in the file the image is int he form of bytes

    hi
    How can we write an image to a file and save it to hardisk the i mage is in the form of bytes please if any body knows please send the code for it
    Thanks for u reply

    can u send the code for me
    my image is in the form of bytes its size is=78K;
    now i want to store image in database using BLOB type i blob datatype size is25k;
    how i should store
    Help me if know anything about this
    Thanks In Advance

  • I am connecting an external USB HDD and I can see it on my Apple Macbook Air. BUT this drive is READ only. How can I write to it?

    I am connecting an external USB HDD and I can see it on my Apple Macbook Air. BUT this drive is READ only. How can I write to it?

    Drive Partition and Format
    1.Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Steps 4-6 are optional but should be used on a drive that has never been formatted before, if the format type is not Mac OS Extended, if the partition scheme has been changed, or if a different operating system (not OS X) has been installed on the drive.

  • How to remote desktop user can read, write ,modify and traverse folder but not execute?

    Now I ceate a user accout whis is user type and put him into remote desktop group.
    he can login this server by remote desktop.
    My server is windows 2003 but not in nt domain and  it is a workgroup computer.
    I want to limit him access right on one folder in which have many folders and .exe file.
    I only want he can read , write,modify file and traverse folder but not execute any .exe file.
    How can I implement this through NTFS.
    Please give me some advice.

    Hi,
    I think you could using advanced option to configure the file or folder permission:
    http://technet.microsoft.com/en-us/library/bb727008.aspx
    Regards.
    Vivian Wang

  • How come I (the Admiistrator) can Read & Write the majority of my Pages archives but not write on random paragraphs?

    BLS' iMac 3.60GHz Intel Mac -  OS X 10.6.7 - Pages 4.0.5…
    How come I (the Admiistrator) can Read & Write the majority of my Pages archives but not write on random paragraphs?

    So what happens when you try to edit this information?
    For example:
    You have a document...
    klasdfl;kasdfl;kjasd;lfkja;slkfja;sldkfj;alskdjf;laksdjfl;kj
    klasdfl;kasdfl;kjasd;lfkja;slkfja;sldkfj;alskdjf;laksdjfl;kj
    klasdfl;kasdfl;kjasd;lfkja;slkfja;sldkfj;alskdjf;laksdjfl;kj
    klasdfl;kasdfl;kjasd;lfkja;slkfja;sldkfj;alskdjf;laksdjfl;kj
    jkjklioiouijo32904213904902349023904902390902390
    jkjklioiouijo32904213904902349023904902390902390
    jkjklioiouijo32904213904902349023904902390902390
    jkjklioiouijo32904213904902349023904902390902390
    Would you be able to highlight the second paragraph? (not in my post obviously)
    If so, what happens?

  • List v = new Vector() how can i write this ?

    List v = new Vector() how can i write this ?
    vector does not 'extends' List rather it 'implements' only ......so how can write this way ? ( polymorphism applies only for 'extends' ).

    my question in a simple way is :
    List some_list extends Vector
    No, List is an interface; Vector is a concrete class. Read the javadocs.
    Vector implements List
    >
    AND
    List some_list implements Vector
    are these two same in behaviour
    our  apart from theoretical differences ?thanks
    Interfaces don't have any implementation; they're pure method signatures. When a concrete class implements an interface, it makes a promise that says "I will provide implementations for exactly these methods. Any client can call a method from the interface and I will do something 'sensible' if I'm written correctly."
    From the point of view of static and dynamic types, there's no difference between interfaces and classes.
    C++ has interfaces, too - they're classes with all pure virtual methods. If you understand how C++ works, the concept shouldn't be hard.
    ArrayList is preferred precisely because it isn't synchronized by default. (You can always make it so using java.util.Collections if you wish later on.) If you don't need synchronization, why pay the performance penalty?

  • How To read/write file on remote server in java

    Hi All,
    How To read/write file on remote server in java? I mean using URL - http://www.xyz.com can I right file to that perticular server.
    Thanks in advance

    If your server support a means of uploading files you can.
    A popular means is [http://en.wikipedia.org/wiki/WebDAV]
    However, by default web server don't allow you upload files, its usually something you need to configure or install.
    I suggest you have a look at your web servers documentation.

  • How can I pre-define the default selection in a SelectOneChoice?

    How can I pre-define the default selection in a SelectOneChoice?
    (1) Here's my JSF-code:
    <af:selectOneChoice label="#{res['usercreate.input.sex']}"
    value="#{bindings.Sex.inputValue}"
    binding="#{SelectListBean.sexlist}"
    readOnly="false" autoSubmit="false">
    <af:selectItem label="#{res['data.sex.women']}" value="1"/>
    <af:selectItem label="#{res['data.sex.man']}" value="2"/>
    </af:selectOneChoice>
    (2): manged bean: to set the default value to be the first in the list, my managed bean as follows:
    import oracle.adf.view.faces.component.core.input.CoreSelectOneChoice;
    public class MBSListBean {
    private CoreSelectOneChoice sexlist;
    public MBSListBean() {
    public void setSexlist(CoreSelectOneChoice sexlist) {
    this.sexlist = sexlist;
    this.sexlist.setValue(1);
    public CoreSelectOneChoice getSexlist() {
    return sexlist;
    (3) when i launch the page, it often gives me such warnings:
    WARNUNG: Could not find selected item matching value "1" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=_id7]
    how to solve the problem ?
    Thanks,
    wzzdx

    You could also set the default on your entity or viewobject, in the properties of your attribute.

  • How can I set up a default (pre-recorded) voicemail greeting on iphone 4s?

    How can I set up a default (pre-recorded) voicemail greeting on iphone 4s?i dont want a custom one with my voice i want the pre-recorded where a lady says my number . how do i get that?

    Voicemail is a cell phone carrier function.  Contact your carrier to see if they have this option.  If not, i'm sure you can download a sound file from the internet with a greeting and add your name.  Then play it back on you PC while holding your iPhone near the speaker when recording the greeting to voicemail.

Maybe you are looking for