Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

DDE Built-In package - APP_BEGIN function

Posted on 2004-11-02
1
Medium Priority
?
3,738 Views
1 Endorsement
Last Modified: 2008-01-09
In the below block of code the dde.app_begin function is attempting to open c:\index_values.xls
I want to use this code but I want to open c:\Documents and Settings\WDG4\Desktop\local\file.xls
But it blows up cause of the space located after the 's' in Documents and the 'd' in and.  I need the exact line of code please for the dde.app_begin line.



DECLARE
      appid pls_integer;
      convid pls_integer;
      x  number;
BEGIN
  appid :=    
    dde.app_begin('c:\program files\microsoft office\office\excel.exe
                                 c:\index_values.xls',dde.app_mode_minimized);

    convid := dde.initiate('EXCEL','c:\index_values.xls');
1
Comment
Question by:wesunivofmd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 22

Accepted Solution

by:
Helena Marková earned 2000 total points
ID: 12480615
You can try this (I have added SYNCHRONIZE):

  appid :=    
    dde.app_begin('c:\program files\microsoft office\office\excel.exe
                                 c:\index_values.xls',dde.app_mode_minimized);

SYNCHRONIZE;

    convid := dde.initiate('EXCEL','c:\index_values.xls');
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question