Using DDE from server machine

Hi guys, need some help..
I have designed a forms application(10g). It sits on a server so it can be accessed by multiple users from different computers. I have a documents form which you can use to open documents using DDE as follows
AppID := DDE.App_Begin('C:\Program Files\Microsoft Office\Office11\EXCEL.EXE '||:SCR_DOCUMENTS.doc_path, DDE.App_Mode_maximized);
But the document is being opened on the server and not on the client machine, cos obviously its referencing the excel.exe on the servers C drive.
How do i get this to work so it opens the document on the client machine?

It will not work on ur client machine as the EXCEL.EXE path may be different on client machine.
Microsoft changes the path of EXE files according to the version it releases.
It happens when u upgred existing MS office.
u will have to get the value of registry entry from the local machine for EXCEL.EXE
and then try again, hope it will work
nJoy
Shantaram

Similar Messages

  • How to download a file from server machine to client machine using jsp

    Hi,
    In my application, I have an excel file stored on my server machine. How can I download that excel file on to my client machine using jsp. Is there any other way I can open that file from my machine and save it in my machine using jsp/java?
    Its an emergency for me to do this.
    Can anyone provide me the full code to download a file from server machine as I don't have
    time to browse through various sites.
    thanks in advance,
    Tiijnar

    Please post your code using code tags (click on CODE above the text area, when posting)
    response.setContentType("application/octet-stream");Why octet-stream? Set the correct mime-type.
    String disHeader = "Attachment; Filename=\"filename\"";The filename should just be the file's name. Not the complete path to the file! This will tell anyone where the file is located on the server. It's also inconvenient because by default,the browser will suggest it as the name for the download.
    Your way of writing to the output stream is just plain wrong. See this snippet (picked from [http://balusc.blogspot.com/2007/07/fileservlet.html])
            BufferedInputStream input = null;
            BufferedOutputStream output = null;
            try {
                // Open streams.
                input = new BufferedInputStream(new FileInputStream(file), DEFAULT_BUFFER_SIZE);
                output = new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE);
                // Write file contents to response.
                byte[] buffer = new byte[DEFAULT_BUFFER_SIZE];
                int length;
                while ((length = input.read(buffer)) > 0) {
                    output.write(buffer, 0, length);
                // Finalize task.
                output.flush();
            } finally {
                // Gently close streams.
                close(output);
                close(input);
            }

  • HT3231 Is it better to migrate to a new MacBook Pro using FireWire, from Time Machine, or over ethernet?

    Hello,
    Is it better to migrate to a new MacBook Pro (non Retina display) using FireWire, from Time Machine, or over ethernet? The older Mac is a MacBook (Intel, 2007 vintage). The Time Machine backup is to a Western Digital external drive with FireWire & USB ports.
    Thanks!
    Chips

    Thanks for the helpful reply.
    After posting, I read & researched further. We're going to be limited by the hardware – the MacBook & external drive both have FireWire 400, & we don't have a 400 to 800 cable or adapter. So we'll connect by ethernet, & be patient that it make take some time.
    I have to assume that Migration Assistant will be just as comprehensive regardless of the connection method / protocol.
    Best!

  • To save a word/xls document from server machine to client

    Hi Folks,
    I am facing a problem in storing a document from server to client machine.
    I have a document in Oracle database BLOB column and i am able to read and open that document in client browser. But it is stored in the server machine when accessing from the client browser it is opening as a read only copy.
    I want to open it as editable copy in client machine and once it is edited i want to save back to the databse. But it can be stored in server or client machine without promting to the user.
    Any one can help me?
    Senthil

    Hi, I am wondering whether this will take time for a document/image which is about 3, 4 MB??? Cos customer has to scan documents one by one and the saving of the file in the DB and then using that to transfer to MSMQ (which is the requirement) should take less time than scanning 2 documents.

  • View documents using uiwebview from server.

    I am uploading Documents(.png/.doc/.pdf/.xls ETC) on server from website. i have iPad App from where i need to view them. from DB i will get path like D:/Doc/Upload/test.pdf for every document. these is path of server where document is uploaded.
    is it possible to view them on iPad. after some googling i found out UIWebview support most of the document. to connect to client server i use VPN. from iPAD is it possible to connect to VPN(sonic wall) i have seen in setting. and can i pass path and i will be able to view uploaded DOC?
    Please help

    It will not work on ur client machine as the EXCEL.EXE path may be different on client machine.
    Microsoft changes the path of EXE files according to the version it releases.
    It happens when u upgred existing MS office.
    u will have to get the value of registry entry from the local machine for EXCEL.EXE
    and then try again, hope it will work
    nJoy
    Shantaram

  • How to download/save report from server machine to client machine?

    Hello All
    This is San,
    My problem is that i need to save pdf/html report in client machine while report running on client machine for this i have set destype as file and desformat as pdf/html.
    It is running and save automatically while report run on server machine (Application Server OS is Windows 20003 professional) but when i run it on client machine (Client machine OS is XP sp2) click on run button to run report then it give message as
    FRM-41214: Unable to run report
    When I do showjobs then it give message as
    Executed successfully but there were some errors when distribute the output<br>
    Please suggest me solution of the above mentioned.
    I am waiting for your reply.
    Thanks in Advance
    Edited by: user8752210 on Feb 11, 2011 11:46 PM

    Hello Mr.
    Thanks for quick reply.
    The e:\tempReport directory is on both app-server and client and it is shared folder, i am sending procedure that i have used as:
    PROCEDURE DOWNLOAD_AS IS
    l_success boolean;
    l_bare_filename varchar2(50);
    BEGIN
    --l_bare_filename := substr(:upload.file_name,instr(:download.file_name,'\',-1)+1);
    l_success := webutil_file_transfer.AS_to_Client_with_progress
    (clientFile => :GLOBAL.PATH3||:global.tmp--(\\client_ip_address\e:\tmpreports\file_name.html it is shared folder)
    ,serverFile => :GLOBAL.PATH2||:global.tmp--\\server_iip_address\e:\tmpreports\file_name.html it is shared folder)
    ,progressTitle => 'Download from Application Server in progress'
    ,progressSubTitle => 'Please wait'
    if l_success
    then
    message('File downloaded successfully from the Application Server');
    else
    message('File download from Application Server failed');
    end if;
    exception
         when others
         then
         message('File download failed: '||sqlerrm);
    END;
    Please suggest me what to do.
    Thanks

  • I just connect portal from server machine. Help me!

    Please, can someone help me?
    I've instaled the Oracle portal 3.0.9.8.0 in the Oracle 8.1.7.
    From the server machine I can access the Portal, but if I try from a
    client machine, a error happens.
    If I try only the server machine's name, the Oracle Http Server shows up,
    but if I try to do machinename/pls, a error happens and with the server
    machine works.
    Do someone know what's going wrong? Do I need to configure somthing at the
    client machine?
    And what about the DAD? Whath do I need to configure?
    Thaks for helping,

    Pls ignore the previous one and refer to this one, its not identifying greater than & Smaller than sign, I have replaced them with square brackets ([]).
    Tiago,
    Where is your midtier, I mean where is your Http Server(Apache) is running? Is it running on the same machine where database is running or it is running on a different machine?? In either cases it doesn't actually matter, unless your are accessing the portal correctly.
    You should be accessing the portal in the following manner (From any machine, be it server or client).
    http://[midtier-machinename]:[Port]/pls/[DAD]
    [midtier-machinename]: The machine on which your Apache is running.
    [Port]: Port on which your Apache is running. (You can check it in your your setupinfo.txt file, which gets created when you install 9iAS).
    [DAD]: DAD, through which you identify your portal instance. You can check it by giving the following url
    http://[midtier-machinename]:[Port]/pls/bootstrap/admin_/dadentries.htm
    Just double check your settings on the basis of above mentioned guidelines. Hope it should work.

  • Use Apex from another machine

    Dear experts
    Is it possible to use APEX for XE from another machine i.e. in the browser address bar can i type http://192.168.0.12:8080/APEX? It does not work for me. would really appreciate any pointers on this
    Thanks a lot
    Manish Sawjiani

    Sure, this is what XE is supposed to support :).
    You find some more in information here: Re: how can i  publish my application on the internet.
    ~Dietmar.

  • Import source from server machine

    hi,
    i want to import source data into my localhost system.
    source data is residing in server system in BD2 database;
    i want to design mapping using these source.
    so i want to know how we can import data from server system data
    and how we can use these data in mapping
    plz tell me procedure
    Edited by: user10373357 on Nov 3, 2008 10:49 PM

    LEARN OWB !
    1. I havent heard of BD2 i only know DB2(if thats what you are referring to).
    2. Create a repository under NON-ORacle ==> DB2 in design center.
    3. create setup locations in connection explorer(under non-oracle).
    4. Import the metadata.
    5. create mappings.
    6. create a control centre location
    7. deploy mappings
    8. execute your mappings(if required use schedules and process flows)..

  • Using Time Machine from another machine to restore Library Folders

    I am using TM from another machine, (which has died) to restore folders onto a working system, some of the folders i need are in the User Library, but how do i display the User Library in TM?
    Thank You
    John

    Hello,
    I have now noticed that the cmd+shift+g method works OK if you are doing a standard restore from the TM on the current system, but does not work when using a TM from another machine. I do not know enough about Unix file structures to specify the correct file under these circumstances, any help woudl be grateful
    Thanks
    John

  • Cannot Find Photos on External Hard Drive Using iPhoto and Time Machine

    Hi everyone,
    This is my first time posting on this forum and am really hoping for some help! I have a 2006 PowerBook G4 that is running iPhoto and Time Machine, and I've used an external hard drive to backup everything on the computer via Time Machine. When I plug the external hard drive into my newer 2010 MacBook Pro, I follow this path to try to access the photos:
         External Hard Drive > Backups.backupd > PowerBook G4 12" > Latest > Macintosh HD > Users > Me > Pictures > iPhoto Library
    When I click "iPhoto Library", I get the following message:
         "The iPhoto Library is a Time Machine backup, and so cannot be used as the main library.  Relaunch iPhoto with <option> key held down to choose another   library."
    So, I do as the error message says and I hold down the "option" key and iPhoto launches and says:
         What Photo Library do you want iPhoto to use?
    In this case, I choose "Other Library..." and again follow this path:
         External Hard Drive > Backups.backupd > PowerBook G4 12" > Latest > Macintosh HD > Users > Me > Pictures > iPhoto Library
    When I choose this, I again get the following message:
         The iPhoto Library is a Time Machine backup, and so cannot be used as the main library.  Relaunch iPhoto with <option> key held down to choose another   library.
    So as you can see, I'm feeling a bit like I'm chasing my tail in trying to open these photos. I did follow another user's advice and confirm that all photos are infact on the hard drive by using the "control" button and clicking "iPhoto Library" under the pictures folder, and choosing "Show Package Contents". All looks to be in tact in the "originals" folder when showing package contents, however, I just can't find a way to actually view the photos in iPhoto. I really don't want to import all the photos to my current MacBook Pro, because I'd like them to live on the external hard drive (which is formatted for Macs) so that I can browse the photos on the external drive, rather than housing it on my computer.
    One other thing I tried was opening iPhoto on my MacBook Pro and going to File > Browse Backups...  which essentially opens Time Machine and shows me the photos on my MacBook Pro but gives me no option to view them from my External Hard Drive.
    Any super users out there willing to lend me some help?
    Thanks!

    The iPhoto Library is a Time Machine backup, and so cannot be used as the main library.  Relaunch iPhoto with <option> key held down to choose another   library.
    You can have an iPhoto library on an external drive and use it from different machines
    and you can have a Time Machine backup
    The two can not be on the same volume - and iPhoto can not access the TM backup - it must be restored to use it
    LN

  • Using Font form server

    Hi there, i'd like to know about using font form server, like
    fontforflash.com , i think
    they are using font from server! how to make some font its
    available to every body that visit my site ? i made some simple
    input text using Flash MX 2004, that the result appear at my
    Dynamic text, for sample at input text i'm using
    Verdana Font at dynamic text i'm using
    FFF Galaxy (from fontforflash.com), when i'm uploading to
    server, i'm also uploading
    FFF Galaxy, but the result is
    FFF Galaxy change to default font! please help me !
    Thanks!

    Flash can't really do external fonts. For your dynamic field,
    click the
    Embed button and embed the characters you need. I normally do
    upper case,
    lower case, numerals and punctuation.
    Dave -
    Adobe Community Expert
    www.blurredistinction.com
    www.macromedia.com/support/forums/team_macromedia/

  • How do I use pots on my client machine to change values, from the field, on my server machine and all other client machines?

    I am using Lookout 4.5, build 12, and I am having a problem concerning pots. I have data tables created for the different size sewer stations my system monitors. For each station, there are setpoints for starting and stopping of the pumps. I want to be able to change the setpoints for a station on the client file using a pot and have it change on all other machines running Lookout. I did this in 3.8 using DDE, but I don't want to use DDE anymore.
    I created a pot on the client file and URL'ed it to a pot on the server. On the server I created a table with a generic member "A" named "Lead Setp" and then created a member "A1" named
    "C5_1LeadSetp" then a member "A2" named "C3_1LeadSetp" and so on....
    In this table I connected the generic member "A" to the Pot I created on the server, and I connected A1 to its corresponding setpoint signal coming in from the field.
    On the client file I connected (in the table similar to the one on the server but with all signals for the station) the "A1" member to the setpoint signal coming in from the field, and I connected the "A" member to the Pot I created on the client file which is URL'ed to the pot on the server file.
    But, when I change the value of the pot on the client file, only the pot on the server and the "A" member in the table on the server change to the value of the pot on the client. The "A1" member whose screen I am changing the values from on the client does not change! This is the last thing I have to do and my file will be completely converted to 4.0. Does anyone have any ideas?
    Thanks for any responses..
    GBWY
    Jason
    Jason Phillips

    Hi Jason,
    If I understood your task correctly, you want to change the Setpoints on the Server DataTable using Pots from different clients. And also reflect these changes on the clients locally.
    You correctly remoted the Pots on the Clients to the corresponding Pots on the Server. However, you do not need tables on your clients. All you need is Expressions on each client to the particular cell of the Clients.
    So, to summarize: On the Server, the Pots write to the DataTable. And since the Pots on the Clients are remoted to these Pots on the Server, you can affect any change using these Pots. Because of the common remote source (Server Pots, i.e.) all of these Pots will always be in sync. Finally, to get the Setpoints on the Clients, just insert Expressio
    ns to the Server's DataTable.
    I am attaching a simple example (exmpl.zip) which does this. There are three processes -- My_Server, My_Client1, and My_Client2. I had them setup on the same machine so the paths are all process relative, but you can always change those to computer relative or absolute and move the client processes to diff machines.
    Hope this helps.
    Rgds,
    Khalid
    Attachments:
    exmpl.zip ‏12 KB

  • How to FTP a file from client machine to database server using forms 10g

    Hi
    I want to ftp a file from a client machine to the database server machine using forms 10G (or PL/SQL).
    could you please tell me how can I do this
    Regards

    hi
    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: Oracle_Home is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    Oracle_Home with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) 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.
    2) Copy or move jacob.jar and jacob.dll
    C:\webutile is the folder where you extracted Jacob, and will end in ...\jacob_18
    cd C:\webutile
    copy jacob.jar Oracle_Home\forms\java\.
    copy jacob.dll Oracle_Home\forms\webutil\.
    The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
    Open a DOS command prompt.
    Add Oracle_Home\jdk\bin to the PATH:
    set PATH=Oracle_Home\jdk\bin;%PATH%
    Sign the files, and check the output for success:
    Oracle_Home\forms\webutil\sign_webutil Oracle_Home\forms\java\frmwebutil.jar
    Oracle_Home\forms\webutil\sign_webutil Oracle_Home\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
    you may skip this step. Otherwise,
    Create a schema to hold the WebUtil stored code, and privileges needed to
    connect and create a stored package. Schema name "WEBUTIL" is recommended
    for no reason other than consistency over the user base.
    Open Oracle_Home\forms\create_webutil_db.sql in a text editor, and delete or comment
    out the EXIT statement, to be able to see whether the objects were created witout
    errors.
    Start SQL*Plus as SYSTEM, and issue:
    CREATE USER webutil IDENTIFIED BY [password]
    DEFAULT TABLESPACE users
    TEMPORARY TABLESPACE temp;
    GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
    CONNECT webutil/webutil@rcci
    @Oracle_Home\forms\create_webutil_db.sql
    -- Inspect SQL*Plus output for errors, and then
    CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
    Reconnect as SYSTEM, and issue:
    grant execute on webutil_db to public;
    5) Modify Oracle_Home\forms\server\default.env, and append Oracle_Home\jdk\jre\lib\rt.jar
    to the CLASSPATH entry.
    6) Modify Oracle_Home\forms\server\formsweb.cfg insde [default] add :
    archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
    archive=frmall.jar
    also add :
    [webutil]
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm
    archive_jini=frmall_jinit.jar
    WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
    archive=frmwebutil.jar,f90all.jar
    lookAndFeel=oracle
    7) Modify Oracle_Home\forms\server\webutil.cfg and add :
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE
    8) Start the OC4J instance
    9) 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).
    It is important to generate the PLX, to avoid the FRM-40039 discussed in Note 303682.1
    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.
    10) 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.
    Add an ON-LOGON trigger with the code
    NULL;
    to avoid having to connect to an RDBMS (optional).
    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).
    11) 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
    12) Run your form.

  • I would like to use DDE to send data from a Lookout Server to an Excel

    Hello National Instruments,
    I would like to use DDE to send data from a Lookout Server to an Excel
    Spreadsheet.
    I have Lookout 6.1 on a server connected to 4 client workstations
    The operating system on the server is Windows Server 2003 R2; Standard Edition;
    Service Pack 2
    I have opened DDE Share but after filing in Share Name; Static Application
    Name; Static Topic Name
    I get a message, "Can't bind to DSDM service"
    I also get this message when I press add a Share
    What are the steps to setting up this type of communications link?
    Thanks,
    David Lopez
    Scada Functional Analyst

    Ryan,
    I have followed the steps on the Knowledge Base "How do I use DDE To Send Data Across the Network To Excel From Lookout?" but what I am seeing is that the computer with excel (Computer B)hangs up displaying an hour glass continuously leaving me no option but to go into task manager to stop excel.  It appears to me that the dde share is not working properly on my windows xp where lookout resides or I do not have a certain service turned on.  I do have the DDE services turned on both computers.  I have my computer set up as computer A with Lookout and Process1 as the process with a pot set up as pot1.  On my computer (Computer A) I also have the dde share set up per the KB example.
    On computer B I have the dde services turned on and I am typing the following into an excel worksheet Cell  ='\\TAG23232\NDDE$'|'Process1$'!Pot1
    TAG 23232 is Computer A's Name
    Do you have any suggestions???

Maybe you are looking for

  • Issue in Incoming payments

    Hi We have an issue in incoming payments for Customers. In our legacy, the incoming cheques are collected and entered in legacy with details of customers, bank details of instrument, amount, date of instrument. No accounting entry is generated at thi

  • File Adapter creating huge connections and not releasing.

    Hi, We see high no. of current connections in file adapter from weblogic console against eis/HAFileAdapter under deployments -> fileadapter -> monitoring -> Outbound Connection Pools and are concerned about the same. It seems like fileadapter is not

  • How can I book a one to one session?

    How can I book a one to one session. Each time I log on with my apple id I get informed that my one to one has expired and no other options are offered. The one to one this refers to is now several years old, and the one I purchased last week I'm una

  • HP Photosmart Plus e-All-in-One B210a Printhead

    I have the HP Photosmart Plus e-All-in-One B210a. I have not had any issues with it until now. It has barely been used. I just now took all of the plastic off of it. I turned it on and I get a "Printhead Problem" message on the touch screen. I have d

  • Artículos compuesto y gestión por numero de serie

    Buen día a todos.      Les comento, hemos usado sap para nuestras operaciones de trabajo y vamos a comenzar a llevar un registro del inventario de equipos y mobiliario de la empresa en sap cosa que no habíamos hecho aun, creamos los códigos para los