FORMS 6i. How get file's path from file's name?????? HELP

I want path of file IExplore.exe on file system...
Thanks

Hi!
U can search for the path of the IExplore.exe and use it as
Declare
     AppID          PLS_INTEGER;
     v_application VARCHAR2(300);
Begin     
     v_application:='I:\Appli\Gbps\Help\iexplore.exe D:\XYZ\Help.htm';
     AppID := DDE.App_Begin(v_application, DDE.APP_MODE_MAXIMIZED);
     DDE.APP_END(AppID);
End;
D:\XYZ\Help.htm specifies the default file to be opened.
If u don't give the html file name, it will just open Internet Explorer.
Or else u can also use the Host command.

Similar Messages

  • Get current RID path from file upload in KM

    Hi all,
    I wrote an customized upload application using upload ui element.
    The question is , how can I get the current RID Path when I trigger the WDJ upload action ?
    Thanks for your help. please.

    Hi,
    Here is some of examples from WDJ for uploading the files, please go thr below link i hope it will help you
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a099a3bd-17ef-2b10-e6ac-9c1ea42af0e9?QuickLink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/display/WDJava/KmuploadusingWebdynproapplication
    Thanks,
    Sreeni.

  • How to refresh ODI variables from file

    Hi,
    I followed the fillowing links to implement the dynamic file parameter passing in to the resource name of a datastore.
    part-1. http://odiexperts.com/how-to-refresh-odi-variables-from-file-%E2%80%93-part-1-%E2%80%93-just-one-value
    part-2. http://odiexperts.com/how-to-refresh-odi-variables-from-file-%e2%80%93-part-2-%e2%80%93-getting-all-lines-once-at-time
    For me first part is working fine where as in second part i made canvas looks like
    Vlinevariable(refreshing variable)------------------dyanamicfile(refereshing variable)--------------------- interface.
    Interface looks like Flatfile to db ,km's are lkm file------sql and ikm is sql incremental update
    Vlinevariable is working fine where i am getting numbers in sequence manner to assign in to code of dynamicfile variable and in dynamicfile is not taking that value in to that code and causing session failed.
    The code which i put in a refreshing code of dynamicfile is followed below
    select     samplefile1_csv     C1_SAMPLEFILE1_CSV
    from      TABLE
    /*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=code_generationSNP$CRLOAD_FILE=C:\file/my_test_file.txtSNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=0x0009SNP$CRFILE_SEP_LINE=0x000D0x000ASNP$CRFILE_FIRST_ROW=1SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=samplefile1_csvSNP$CRTYPE_NAME=STRINGSNP$CRORDER=1SNP$CRLENGTH=50SNP$CRPRECISION=50SNP$CRACTION_ON_ERROR=0SNP$CR$$SNPS_END_KEY*/
    For the firstrow the number has to get from vlinevariable where in my case not working .
    In session while loading the interface (load data) i am getting error like
    message-------------- ODI-1227: Task SrcSet0 (Loading) fails on the source FILE connection file_tgt.
    Caused By: java.sql.SQLException: File not found: C:\file/
         at com.sunopsis.jdbc.driver.file.FileResultSet.<init>(FileResultSet.java:160)
         at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
         at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)
         at com.sunopsis.jdbc.driver.file.FilePreparedStatement.executeQuery(FilePreparedStatement.java:131)
         at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java:602)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeQuery(SnpSessTaskSql.java:3078)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java:571)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2815)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:619)
    source code is select     a     C1_A,
         b     C2_B
    from      TABLE
    /*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=sample1SNP$CRLOAD_FILE=C:\file/#PROJECT1.FILENAMESNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=0x002cSNP$CRFILE_SEP_LINE=0x000D0x000ASNP$CRFILE_FIRST_ROW=1SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=aSNP$CRTYPE_NAME=NUMERICSNP$CRORDER=1SNP$CRLENGTH=50SNP$CRPRECISION=12SNP$CRACTION_ON_ERROR=0SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=bSNP$CRTYPE_NAME=NUMERICSNP$CRORDER=2SNP$CRLENGTH=50SNP$CRPRECISION=12SNP$CRACTION_ON_ERROR=0SNP$CR$$SNPS_END_KEY*/
    target code insert into STAGING.C$_0SAMPLE1
         C1_A,
         C2_B
    values
         :C1_A,
         :C2_B
    KIndly help me and thanks in advance.

    ODI is complaning it cannot locate the file. Try replacing the '/' character with a '\' after file in the designated filepath.

  • How can i access filename from file (sender)

    hi All,
    can anybody tell me
    how can i access filename from file (sender)?
    thank u
    swari

    See:
    "SAP NetWeaver XI: Variable Substitution with Adapter-Specific Message Attributes via DynamicConfigurationBean"
    SAP NetWeaver XI: Variable Substitution with Adapter-Specific Message Attributes via DynamicConfigurationBean
    "Accessing Adapter-Specific Attributes through User Defined Function"
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516

  • I had to restore my iPod because I forgot the password, like how santa forgot about me. And I didn't set up a Backup. SO I sort of lost everything. But I'm wondering if I can somehow get my pictures back from somewhere. PLEASE HELP ME. Thanks

    I had to restore my iPod because I forgot the password, like how santa forgot about me. And I didn't set up a Backup. SO I sort of lost everything. But I'm wondering if I can somehow get my pictures back from somewhere. PLEASE HELP ME. Thanks

    - If you used PhotoStream then try getting some of them from your PhotoStream. See that topic of:
    iOS: Importing personal photos and videos from iOS devices to your computer
    - Maybe from the restored iPod via
    How to perform iPad recovery for photos, videos
    Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official     
    http://www.amacsoft.com/ipod-data-recovery.html

  • How to read appended objects from file with ObjectInputStream?

    Hi to everyone. I'm new to Java so my question may look really stupid to most of you but I couldn't fined a solution by myself... I wanted to make an application, something like address book that is storing information about different people. So I decided to make a class that will hold the information for each person (for example: nickname, name, e-mail, web address and so on), then using the ObjectOutputStream the information will be save to a file. If I want to add a new record for a new person I'll simply append it to the already existing file. So far so good but soon I discovered that I can not read the appended objects using ObjectInputStream.
    What I mean is that if I create new file and then in one session save several objects to it using ObjectOutputStream they all will be read with no problem by ObjectInputStream. But after that if in a new session I append new objects they won't be read. The ObjectInputStream will read the objects from the first session after that IOException will be generated and the reading will stop just before the appended objects from the second session.
    The following is just a simple test it's not actual code from the program I was talking about. Instead of objects containing different kind of information I'm using only strings here. To use the program use as arguments in the console "w" to create new file followed by the file name and the strings you want save to the file (as objects). Example: "+w TestFile.obj Thats Just A Test+". Then to read it use "r" (for reading), followed by the file name. Example "+r TestFile.obj+". As a result you'll see that all the strings that are saved in the file can be successfully read back. Then do the same: "+w TestFile.obj Thats Second Test+" and then read again "+r TestFile.obj+". What will happen is that the strings only from the first sessions will be read and the ones from the second session will not.
    I am sorry for making this that long but I couldn't explain it more simple. If someone can give me a solution I'll be happy to hear it! ^.^ I'll also be glad if someone propose different approach of the problem! Here is the code:
    import java.io.*;
    class Fio
         public static void main(String[] args)
              try
                   if (args[0].equals("w"))
                        FileOutputStream fos = new FileOutputStream(args[1], true);
                        ObjectOutputStream oos = new ObjectOutputStream(fos);
                        for (int i = 2; i < args.length ; i++)
                             oos.writeObject(args);
                        fos.close();
                   else if (args[0].equals("r"))
                        FileInputStream fis = new FileInputStream(args[1]);
                        ObjectInputStream ois = new ObjectInputStream(fis);
                        for (int i = 0; i < fis.available(); i++)
                             System.out.println((String)ois.readObject());
                        fis.close();
                   else
                        System.out.println("Wrong args!");
              catch (IndexOutOfBoundsException exc)
                   System.out.println("You must use \"w\" or \"r\" followed by the file name as args!");
              catch (IOException exc)
                   System.out.println("I/O exception appeard!");
              catch (ClassNotFoundException exc)
                   System.out.println("Can not find the needed class");

    How to read appended objects from file with ObjectInputStream? The short answer is you can't.
    The long answer is you can if you put some work into it. The general outline would be to create a file with a format that will allow the storage of multiple streams within it. If you use a RandomAccessFile, you can create a header containing the length. If you use streams, you'll have to use a block protocol. The reason for this is that I don't think ObjectInputStream is guaranteed to read the same number of bytes ObjectOutputStream writes to it (e.g., it could skip ending padding or such).
    Next, you'll need to create an object that can return more InputStream objects, one per stream written to the file.
    Not trivial, but that's how you'd do it.

  • How to read some images from file system with webdynpro for abap?

    Hi,experts,
    I want to finish webdynpro for abap program to read some photos from file system. I may make MIMES in the webdynpro component and create photos in the MIMES, but my boss doesn't agree with me using this way. He wish me read these photos from file system.
    How to read some images from file system with webdynpro for abap?
    Thanks a lot!

    Hello Tao,
    The parameter
       icm/HTTP/file_access_<xx>
    may help you to access the pictures without any db-access.
    The following two links may help you to understand the other possibilities as well.
    The threads are covering BSP, but it should be useful for WebDynpro as well.
    /people/mark.finnern/blog/2003/09/23/bsp-programming-handling-of-non-html-documents
    http://help.sap.com/saphelp_sm40/helpdata/de/c4/87153a1a5b4c2de10000000a114084/content.htm
    Best regards
    Christian

  • How get output generated as csv file  by reading  by buffered reader and wr

    how get output generated as csv file by reading by buffered reader and writer

    String file_location = "C\temp\csv.txt");
    try {
         URL fileURL = getClass().getResource(file_location);
         if (fileURL != null){
              BufferedReader br = new BufferedReader(new InputStreamReader(fileURL.openStream()));
              String s = br.readLine();
              while (s != null)  {
                   if (!s.equals ("")) {
                        System.out.println(s);
                   s = br.readLine();
              br.close();
         else {
              // error
    catch (IOException ex){ex.printStackTrace();}rykk
    Message was edited by: a dummy
    rykk.

  • PSE 8 Organizer: Bug in "Get Photos and Videos from Files and Folders"

    In PSE8 Organizer, I have a weird bug that occurs when I am using Get Photos and Videos from Files and Folders on certain folders on my hard drive. If the "Files of Type" filter is left as the default ("Media files (photos, audio, video)"), whenever I click on a file in the file browser, three or four files or folders seem to disappear from the folder. I can keep clicking on different items until every file and folder has apparently vanished from the folder. Looking in Windows Explorer, the files and folders are still there, and if I switch the "Files of Type" filter to "All Files", everything reappears and the behavior no longer occurs.
    I'm not sure why only certain folders show this behavior. It may have something to do with the types of files or folders in the folder I'm looking at, but I'm not sure.
    Has anyone else seen this happen?

    Are you on Win 7? If the files in the Get Photos dialog disappear after you select them,confirm if the names of selected files/folders is shown under the File name . If yes, you can import these files by clicking Open. You should find the issue addressed in E9.
    Thanks

  • Hi, I use Notion 4 like rewire slave in Logic, but I don ´t know, how to activate audio input from it, can anybody help me? Thanks, Mario

    Hi, I use Notion 4 like rewire slave in Logic, but I don ´t know, how to activate audio input from it, can anybody help me? Thanks, Mario

    With the rewire slave running, create an aux track in Logic. You should see rewire as an option for the inputs of the aux track.

  • Getting path from file

    Good Morning,
    Is there a way to get a file path from a file without having to select it through client_get_file_name?
    for example i have a file 'test_01.txt' in C:/
    I cannot hard code the path as each day the txt name will change eg. 'test_02'.
    Is there another way to select the full path name in C:/ where file like 'test%'?
    Thank you in advance,
    D

    Sorry francois ill be a more clear
    On a variable i want to keep changing the path provided.
    For example one day will be var:='C:/Test_01'
    next day will be var:='C:/Test_03'
    as the last number is generated randomly im trying to figure a way to get the correct path in C:/ where the name corresponds to 'test' so i can pass it to my variable
    Edited by: 794018 on 18-Oct-2012 00:50

  • Getting the current path from which the form is runnig in 9i OAS

    Hi,
    We are using the built in Get_Application_property to get the
    current path in which the form is running. However this does not
    work in 9ioas and it only returns the form name and not the full
    path. Does anyone have any solutions to this problem?
    Thanks in Advance
    Jeet

    Place it in the classpath, then you can use ClassLoader#getResource().

  • How to use imported paths from Photoshop/Illustrator as motion guides

    Hi folks,
    I've been raking the internet with no success for an answer to my question, but I've had no luck so far.
    What I'm hoping to achieve animation wise is to have a shape move around a set path that was created in Photoshop. The reason being, it's a very specific shape (near enough a square but with curved corners and a chunk missing out of one of the sides), and I used the paths feature in Photoshop to create it and stroke the path for the smoothest possible effect. What I'd ideally like to do is import the same path I used to create the shape into Flash Professional CS6 and then use that same path to guide a small symbol around the edge of the square.
    So far, I've worked out how to apply motion to a symbol through basic tweens, and then I can draw out a line using the pencil tool and apply that to the tween so it follows the pencil line instead of just going from point A to point B. The problem is, this looks awful...I'm not good enough with a mouse to create absolutely perfect shapes freehand, so I just want to be able to use the Photoshop path as my motion guide instead of having to make another one from scratch.
    I've looked around for various importing methods, the most success I've had is exporting the paths to an Illustrator file, and then importing the Illustrator file into Flash directly. However, I have NO idea where these paths go when they're imported, or how to access them. If I import them to the stage, they seemingly disappear before I've even seen them, and if I import them to the library they just aren't there.
    I could also do with a brief description of how paths work in Flash - I'm familiar with the Photoshop layout, what with the paths appearing in a panel next to the layers one (makes perfect sense to me, as you can just switch between the two panels to view whatever you want). I just don't understand how they work in Flash and what I should be looking for....
    Many thanks in advance for any help!
    Todd

    I had a play around with some variations of this. What I can't grasp is why Flash won't recognise my shape layer as a motion path. I've tried breaking it down, that doesn't work... I traced it narrowly in Photoshop and imported it as a thin line with a gap (so essentially a line with two ends), and it comes into Flash as a bitmap or something of that sort. I found an option that traces the bitmap, and appears to convert it into a shape layer...I've managed to find the optimal settings so the line is joined all the way through apart from the start and end points. The only thing is, Flash seems to not even notice this as a guide layer when I apply it to the symbol I'm trying to animate. It just doesn't even notice it's there. The object moves straight from point A to point B in a straight line, the guide layer does nothing to adjust the motion... Is it not possible for the traced line to act as a motion guide? It's a shape, it is a single line with a start point and an end point, and there are no other instances of anything else in the layer - just the line and nothing else.
    This seems way more difficult than it should be...I'm sure Adobe could have integrated a MUCH easier system for importing paths from Photoshop that actually exist in Flash rather than disappearing into some abyss instead!
    Here is a screenshot of what I'm working with: http://gyazo.com/4c1046767e1ee8bf99f65751b9ba81b8
    The long black oval is the shape I'm trying to animate. I've tried applying tweens to it while it's in shape form and while it's in every different symbol form, all to no avail.
    The black line is what I'm trying to use as the guide. Having looked online, people seem to be able to just use the "paste in place" option and it somehow knows exactly what they mean and animates around the line perfectly. I tried that and it didn't work (no surprise there), and then I tried the motion guide layer setup and it also didn't work. I'm not sure if tracing a bitmap into a shape layer somehow removes any possibility of the line being recognisable as a line or something...could that be the case?
    Is there a simple way to turn a shape layer (in this case the black line) into a motion guide that I'm missing? I thought just turning the layer into a guide layer would do the trick, but obviously not :/

  • Best way to get to a path from a browser dialogue

    I want to attach filed to an email
    The file is in one of my finder windows
    What's the quickest way of attaching?
    OK... so the mac's search is awesome - no waoting and the file can be found super quick
    But what if the file is called abc.zip and there are 100 other files of the same name elsewhere?
    In Windows, I would copy the path from Explorer - then paste whereever needed and the folder opens ready for me to select files
    I do this all the time - for just about every application where I need to open a file
    On Mac, getting the path takes tooo long! (OK... we're talking about seconds... but seconds to a keyboard freak is a long time!)
    I'm hoping the answer will help me figure out how to open files from other applications in a similar fashion - just by pasting the path
    Thanks
    Omar

    If you enable the path bar in Finder (View->Enable Path Bar) the path for the file or folder will be displayed at the bottom of the finder window.
    Any or all if it is live and can be selected and dragged. So if you want the whole path drag from the end, if you want only part of the path drag from there.
    You can also click on any prt o it to open that in Finder.
    regards

  • How to send a path from labview to teststand.

    Hi!
    I have a DLL that I have developed in LabView and as a input parameter I have a path to a file
    but if I in the LabViewCode uses String to recieve the path from TestStand and the path includes \T
    these just disapperes.
    ex:
    I send "C:\test.vi" to LabView from Teststand
    If I check the Path recieved in LabView i get "C: est.vi"
    Instead if I in LabView uses Path to recieve data from TestStand I get an error in Teststand.
    How should I do?
    /Andreas

    Labview strings use the backslash "\" as a special character. \t is a tab, \n is a newline, \r is carriage return, and so on. To send a real backslash use two of them, like \\. So your path string should be "C:\\test.vi".
    - tbob
    Inventor of the WORM Global

Maybe you are looking for

  • Information field for a drop down list

    Hi, I have a drop down list that is a list of abbreviated codes.  I would like to have a "?" box beside them that when the user clicks on it, it pops up an information box that shows the Description for each abbreviated code.  Alternatively the drop

  • Unlimited World - can it be used for Russia landli...

    Hi, everyone. I need to make calls from Australia to Russia landlines (NOT Moscow and NOT St.Petersburg). I looked at Unlimited World subscription : Subscriptions > Calling landlines Unlimited World - Calls are unlimited - AU$13.49/month Available co

  • Need Oracle DBA  Job

    Hi All, This Karnan, i have finished BCA(Computer Application) 2008, and i did oracle9i DBA OCP, I was not able to get into Oracle DBA as a fresher. Finally Nov-2009, i got job in POLARIS SOFTWARE LAB ltd., as Software Tester. I'm very much passion a

  • Reg:structure of infotype table

    Hi, Can i get the details regarding the structure of infotype ....... (ie table structure,,screeen structure so on).. Thanks & Regards shiva ram

  • SO and Billing from different Sales office

    Hi SAP Guru's, I am fico consultant right now i involve in an implementation project, project is now in To be phase. I have problem and problem is discussed below In my client have n no of branch we treat branch as a plantand profit center. Suppose i