OLE using already existing Word-session

Hi!
I4m new in the Oracle-world and I4m sitting here trying to figure out how I from Forms 4.5 can see if there is an existing OLE2 object. I have a procedure (look below) that starts a Word-session but I don4t want to open a new session each time I4m calling the procedure in my form. Is there any way to see if an object already exists or some other smart way to do this?
Please help me if you know how!
/Anna
procedure StartWord is
begin
obj_hnd := ole2.create_obj ('Word.Basic');
ole2.invoke(obj_hnd, 'AppShow');
end;

hi
I've got a problem !
I can't reach bookmarks into word via OLE
create_obj('WORD.BASIC')
If you know, would you help me?
Oliver

Similar Messages

  • How to create a form by using an existing Word document.

    Just installed Adobe XI Pro.  Now trying to create a form from an existing word file.  After choosing my file I cannot click on the button (Current document).  Error message appears:  An unexpected error occurred.  PDFMaker was unable to produce the Adobe PDF.

    Try starting with the file opened in Word and creating the PDF from there. You can either use PDF Maker (Acrobat toolbar in Word) or print to the PDF printer. If that works, you can open the PDF in Acrobat and ruun the form wizard to automatically add the fields, or add them manually.

  • Subvi containing controls should use already existing window

    Hello,
    I am building a User Interface that has several levels (main vi, several
    second and third level subvis. The second level subvi contains
    controls, so it opens a new window when called,
    but it should clear the already existing window of the main vi, use this
    window and restore the main vi after completion.
    The third level subvis add some more controls to the second level subvis',
    so they should use their window, but without clearing the second level subvis.
    How can this be done?
    Thanks
    Thomas

    I change my main screen controls and indicators all the time using references. I had to, since my one project had almost 100 controls and indicators (on tab controls) for the user to input data. With that many controls and indicators, direct wiring to subVIs would have been such a mess.
    But... back to what you want. Basically, you open a reference to the VI that you want to access controls/indicators on and use Invoke nodes to Set Control Value or Get Control Value. Don't forget to close your reference when you're done with it.
    I have included my library that I use for these functions so you can see how I do it. Have fun.
    Rob
    Attachments:
    Panel_Ref_Lib.zip ‏104 KB

  • Using already existing directory structure to create rolls

    I'm converting from iView into iPhoto. I have hundreds of directories titled things like 011606.SamuelWasBorn/ with subdirectories in there called /Images /FinishedImages /WebMedium /EmailSmall etc... and then plenty of .tif and .jpegs inside of those.
    I've been doing this one Cmd-Shift-I at a time, followed by a Cmd-A t select all, then a Cmd-Shift-N for a new album, followed by retyping in the name and dropping the date.
    Sigh. I'm 6 weeks into this now and still only 1/4 of the way through.
    Has anyone tried to drag and drop an entire directory structure into iPhoto's directory structure, fire up iPhoto, and have it recognize all that stuff as a whole bunch of new rolls that lack thumbnails? Would that work? Would iPhot then offer to update its thumbnails? And then would I be happy and fully integrated into my new iPhoto life?
    I'm just a bit too chicken to give it a try. If nobody's tried this before, I'll create a test library and give it a go, but if someone has experience with doing this, I'd appreciate any pointers.
    Thanks.
    Oren

    Oren:
    Welcome to the Apple Discussions. iPhoto creates a roll with the same name for any folder of image files that are imported into it. All you have to do is select your folders of source files and drag them into iPhoto's open window.
    If you want to use iPhoto's alias feature you can keep your current source folders and drag them into a library that's setup to not copy the files into it but use alias files. The library works as a conventional library with the exception that if you delete a photo from the library it does not delete the source file. That must be done manually via the Finder. I've created some Tutorials to assist users to convert over to an alias based system or go to an iView based one.
    I use iView as my primary image management and iPhoto's alias feature to create a library of the same source files. That way I have the best of both applications. Also, when using the alias method, the importing process is much faster. Good luck.

  • Already existing adapter modules in Decentralized Adapter Engine(urgent)

    hi 2 all,
    I have installed a Decentralized AE.
    I wanted to know whether i can use already existing modules in XI directly in my communication channel with my non central DAE as the adapter engine.
    Or i have to deploy SCA of those already existing modules also ??
    If i can use how to write that in modules
    regards,
    ujjwal kumar

    ya i used it but i am getting the error:
    Delivery of the message to the application using connection AFW failed, due to: Object not found in lookup of XMLAnonymizerBean
    so i might be using wrong format.
    i wrote module name as :localejbs/AF_Modules/XMLAnonymizerBean
    and module type as local enterprise bean
    regards

  • This email address is already in use or you may already have an Apple ID associated with this email address. Please try again or sign in using your existing Apple ID.

    My current Apple ID, for which all of my content has been downoaded (e.g., music, apps) is associated with a work email address that I will no longer have access to in the near future.  In my Apple ID account, I noticed I had two alternate emails listed, one is my .me account and the other is my .gmail account.  I use my .gmail account, and it is the primary email I use with friends and family.  I noticed both were not verified, and when I tried to, it said they were both associated with other accounts.  I was able to log into a separate Apple ID account I must have set up at tone point with my .gmail, and I changed the email address to a new one I created.  I also deleted the gmail account from any other Apple-relted account I could think of.  I am still gettgin the same error message when I try to add it to my current Apple ID: "This email address is already in use or you may already have an Apple ID associated with this email address. Please try again or sign in using your existing Apple ID."
    My concern is this: with FaceTime and now iMessage, it seems more important than ever that I am able to use my correct email address.  With iOS5 beta, I cannot enter either my .gmail or.me accounts under "You can be reached for messages at:" as I get an error stating: Unable to verify email because it is already in use."
    How can I remedy this issue and assign my .gmail account to my Apple ID?

    Re: Cant verify Apple ID
    created by kelly218 in iTunes Store - View the full discussion
    I just spoke with a technician at Apple.  I hsven't been able to verify because the wife has the phone.  but he said all that you need to do is:
    1) Go to Settings --> iTunes Store and login with your Apple ID and pwd
    2) Go to Settings --> iCloud and login with your Apple ID and pwd
    seems that the phone requires you to login to the store first...

  • I plugged in my brand new nano to my husbands desktop to get it registered, but had a problem mid way through when I tried to used an apple login that already existed.  Now it's not registered and the computer won't recognize my device.  How do I fix this

    I plugged in my brand new nano to my husbands desktop to get it registered, but had a problem mid way through when I tried to used an apple login that already existed.  Now it's not registered and the computer won't recognize my device.  How do I fix this?

    iPod not recognized in 'My Computer' and in iTunes for Windows
    Call U.S. iPod and Mac technical support: 1-800-APL-CARE (1-800-275-2273) to register your iPod Nano.

  • How to delete old account, I can't log in due to - This email address is not available for use as an Apple ID. You may already have an Apple ID associated with this address. Please try again or sign in using your existing Apple ID.

    How to delete old account, I can't log in due to error - This email address is not available for use as an Apple ID. You may already have an Apple ID associated with this address. Please try again or sign in using your existing Apple ID.

    All good, I loved with AppStore and now everything seems to be back to normal.

  • Why can I not verify my Apple ID? I keep getting this message after trying: "the email address is alread in use or you may already have an apple id associated with this email address. please try again or sign in using your existing apple id"

    the email address is alread in use or you may already have an apple id associated with this email address. please try again or sign in using your existing apple id............ PLEASE HELP ME

    Hi all,
    I tried this and it worked:
    1) Visit My Apple ID at https://appleid.apple.com/.
    2) Click the Manage your account link on the right sideof the page.
    3) Enter the account name (Apple ID) and the password you used when creating the account.
    4) Change the email address associated with your account.
    5) Send new verification email
    I also got this from apple CS for other things to try:
    Please follow these steps to access your Apple ID accountinformation:
    1) Visit My Apple ID at https://appleid.apple.com/.
    2) Click the Manage your account link on the right sideof the page.
    3) Enter the account name (Apple ID) and the password youused when creating the account.
    4) Delete any duplicate email addresses associated withyour account.
    5) Click the Save Changes button.
    If you do not have duplicate email addresses on your account, it is possible that your email address is already being used withanother Apple ID. In order to verify your email address with the current AppleID, it will need to be disassociated from your other Apple ID. You can do thatby following these steps:
    1) Visit My Apple ID at https://appleid.apple.com/.
    2) Log in with your other Apple ID and password.
    3) Select the Manage your account link.
    4) Choose Name, ID, and Email Address from the left sideof the page.
    5) Next to Primary Email Address, select Edit so that youcan change the email address associated with this Apple ID.
    6) Once you've made the desired change, select SaveChanges.
    7) Choose Sign Out from the top right of the page.
    If you would like to have the verification email resentto you, please sign into https://appleid.apple.com/with the Apple ID you want to verify, and make sure there is not a typo in yourPrimary Email Address. Select the "Edit" link to the right of your email address to make corrections and then click the "Save Changes" button.Once the typo is fixed, or if there is no typo, click the "Resend"link under your email address.
    If you still do not receive the verification email,please reply to this email with the email address that you intend to use onyour Apple ID.
    Good luck!
    Em

  • When trying to verify the email address, I get the following message. Please help. This email address is already in use or you may already have an Apple ID associated with this email address. Please try again or sign in using your existing Apple ID.

    When trying to verify the email address, I get the following message. Please help. This email address is already in use or you may already have an Apple ID associated with this email address. Please try again or sign in using your existing Apple ID.

    Me too. I try to verify and i get the same message.
    I've created 3 alternate e-mail addresses and tried creating new accounts.
    Same Result!
    This is bullsh!t. How the **** can all 4 of my attempts result in the same freakin error???

  • This email address is not available for use as an Apple ID. You may already have an Apple ID associated with this address. Please try again or sign in using your existing Apple ID.

    I want to change my apple id but get the message "This email address is not available for use as an Apple ID. You may already have an Apple ID associated with this address. Please try again or sign in using your existing Apple ID.".  I try to log a call with apple support and I get a message like "cannot schedule a call".  That leaves me out of options.  Any ideas?

    Hi billfromwandering,
    I'm sorry to hear you are having these issues changing your Apple ID. It is correct that if an email address has been used previously for an Apple ID, it can not be used for a different Apple ID, as noted in this article:
    In most cases, your Apple ID is also the primary email address of your Apple ID account. You can change your Apple ID to any other email address you control, as long as it's not already in use as an Apple ID. If your email address ends with @icloud.com, @me.com, or @mac.com, it's already an Apple ID. 
    Change your Apple ID - Apple Support
    If you are certain that the email in question has never been used for an Apple ID and you are having issues contacting Apple Support regarding this issue, you may want to make sure you are going through the Apple ID support channel on the following page:
    Apple ID - Contact - Apple Support
    Regards,
    - Brenden

  • How to deal with "Error 1001. The specified service already exists" when install a service using installer package?

    Hi everybody,
    I wrote a "Class Library" project which is a service using Visual Stodio 2008 recently, then tried to use a Visual Studio 2008
    Setup Project to install it.
    Here is what I did for the "Class Library":
    1. Finish the program.cs, Service.cs
    2. Add Installer
    3. Change the serviceInstaller so that "StartType" to be Aotumatic
    4. Change the ServiceProcessInstaller2 so that "Account" to be LocalSystem
    5.
    6. Click in F5 (Start Debugging)
    Here is what I did for the Setup Project:
    1. Add the exe file built from the "Class Library" project to the Application Folder
    2. On the Custom Action Editor, add the exe file from 1 to Install and Commit
    3. Change the property of the project so that "RemovePreviousVersion" to be true
    4. Click on F6(Build Solution)
    Then I tried to run the msi file from the built of the Setup Project. Because I modified the two projects serveral times, I uninstalled the Class Library using "Control Panel->Add or Remove Programs" before I reinstall. Two things I notived:
    1. After unstall, the registry was not cleaned up about the installed program
    2. After several rounds install/uninstall, I got "Error 1001. The specified service already exists"
    My questions are:
    1. How to cleanup the registry when uninstall a program?
    2. How to deal with the "Error 1001. The specified service already exists"?
    3. Did I do anytbing wrong with the "Class Library" or the "Setup Project"?
    Thanks a lot!
    Helen

    Hi Simon, not a problem!
    I spent some more time on this and here are few more notes:
    it is called Major Upgrade, when you are installing new version of the product upon a previous one and
    MSI supports 2 strategies:
    Strategy 1. Install a new version and uninstall previous one. (Install a new version right upon previously installed version (file merging is performed based on dll version number) and the delete previously
    installed files)
    Strategy 2. Uninstall previous version and install a new one (Delete all previous files and install from scratch new files.)
    From the first look it seems that 1st strategy is weird and buggy. But, remember, MSI is great because it's transactional!!! That means that if once some of the phases (Installation, Uninstallation, Rollback, Comit) fails, your machine
    will be reverted to the previous state and it'll be still functional. 
    Let's consider both strategies:
    Consider you have installed product_v1.msi and you want to install product_v2.msi.
    Strategy 1
    1. MSI engine copies files from Product_v1 directory to TEMP directory
    2. MSI engine merges files based on the assembly version (between v1 and v2)
    3. Once merging is completed successfully it removes files in TEMP (RemoveExistingProducts  action triggers it) and you got product_v2 installed, otherwise if it fails MSI engine revert machine to V1 and copies previous files from TEMP.
    Strategy 2
    1. MSI engine tottaly removes all files from v1.
    2. MSI engine installs v2 files and if something goes wrong you cannot revert back, because RemoveExistingProducts  allready worked out and MSI doesn't have files to revert machine back
    I recommend to everybody to use Strategy 1 and leverage MSI transaction functionality. And you can set this strategies by defining sequence of RemoveExistingProducts action. See more info
    here.  So, I think it's not even a bug in VS as I said in the upper post it is default recommened behaviour.
    AND, you got "Error 1001. The specified service already exists"
    because if we follow Strategy 1 MSI engine tries to install Windows Service on top of the existing service and OF COURSE it fails MSI engine (StopServices, DeleteServices actions are executed before actual
    installation and  they look at ServiceControl table). In order to stop service first and delete them you have to fill ServiceContol table of the MSI (and then StopServices, DeleteServices actions will recognize what to they have to stop
    and delete), like this:
    *clip*clip*clip*
    ' see http://msdn.microsoft.com/en-us/library/windows/desktop/aa371634(v=vs.85).aspx for more info
    ' Update the Service Entry to stop and delete service while uninstalling
    query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD_Service', 'Service name', '160', '', '1', '"
    + componentName + "')"
    Set view = database.OpenView(query)
    : CheckError
    view.Execute : CheckError
    ' Update the Service Entry to stop and delete service while installing
    query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD2_Service', 'Service name', '10', '', '1', '"
    + componentName + "')"
    Set view = database.OpenView(query)
    : CheckError
    view.Execute : CheckError
    *clip*clip*clip*
    We can uninstall service first by following Strategy 2, but then we lose transactional support.
    So, Simon did I encourage you to change your code a bit?:)
    And, btw, if you don't want to change the strategy, please don't rely on SequenceID in MSI table, it can be change, you have to get the at the runtime.
    Hope it will help to everybody!
    See also more advanced explanation of how MSI works
    here.
    Truly yours, Marat

  • How to check for the sub folder in the document library Is already Exist using CSOM?

    Hi,
    My requirement is to create the  folder and sub folder in SharePoint document library. If already exist leave it or create the new folder and the subfolder in the Document library using client side object model
    I able to check for the parent folder.
    But cant able to check the subfolder in the document library.
    How to check for  the sub folder in the document library?
    Here is the code for the folder
    IsFolder alredy Exist.
    private
    string IsFolderExist(string InputFolderName)
    string retStatus = false.ToString();
    try
    ClientContext context =
    new ClientContext(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryLink"]));
                context.Credentials =
    CredentialCache.DefaultCredentials;
    List list = context.Web.Lists.GetByTitle(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryName"]));
    FieldCollection fields = list.Fields;
    CamlQuery camlQueryForItem =
    new CamlQuery();
                camlQueryForItem.ViewXml =
    string.Format(@"<View  Scope='RecursiveAll'>
    <Query>
                                            <Where>
    <Eq>
    <FieldRef Name='FileDirRef'/>
    <Value Type='Text'>{0}</Value>
                                                </Eq>
    </Where>
    </Query>
                                </View>",
    @"/sites/test/hcl/"
    + InputFolderName);
                Microsoft.SharePoint.Client.ListItemCollection listItems = list.GetItems(camlQueryForItem);
                context.Load(listItems);
                context.ExecuteQuery();
    if (listItems.Count > 0)
                    retStatus =
    true.ToString();
    else
                    retStatus =
    false.ToString();
    catch (Exception ex)
                retStatus =
    "X02";
    return retStatus;
    thanks
    Sundhar 

    Hi Sundhar,
    According to your description, you might want to check the existence of sub folder in a folder of a library using Client Object Model.
    Please take the code demo below for a try, it will check whether there is sub folder in a given folder:
    public static void createSubFolder(string siteUrl, string libName, string folderServerRelativeUrl)
    ClientContext clientContext = new ClientContext(siteUrl);
    List list = clientContext.Web.Lists.GetByTitle(libName);
    CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXml =
    @"<View Scope='RecursiveAll'>
    <Query>
    <Where>
    <Eq>
    <FieldRef Name='FSObjType' />
    <Value Type='Integer'>1</Value>
    </Eq>
    </Where>
    </Query>
    </View>";
    //camlQuery.FolderServerRelativeUrl = "/Lib1/folder1";
    camlQuery.FolderServerRelativeUrl = folderServerRelativeUrl;
    ListItemCollection items = list.GetItems(camlQuery);
    clientContext.Load(items);
    clientContext.ExecuteQuery();
    Console.WriteLine(items.Count);
    if (0 == items.Count)
    //create sub folder here
    Best regards
    Patrick Liang
    TechNet Community Support

  • Using of already existing logical tables and columns in a new subject area.

    Hi Every one,
    i am new to OBIEE technology.
    In my project i need to create a new subject area for already existing RPD.
    In that RPD there are some logical tables and column created for previous project and i need to use those in this new subject area that i am going to create.
    My question is what is the best way to use them .
    I mean just to drag and drop them into new subject area or any other way.
    please have your valuable suggestions
    thanking you

    Yes, you can basically copy paste all the tables that you need from BMM layer into your new folder in the presentation layer. Just make sure all the joins are defined well between all the tables that exists in the new folder, so you wont end up running into ODBC errors when you run analysis.
    Hope this helps.
    Thanks,
    -Amith.

  • Is it possible to change out of the box Callout content for already existing library using some javascript API ?

    Is it possible to change out of the box Callout content (change DOM elements) for already existing library using some javascript API?
     API ?

    Hi,
    We can use CSS and jQuery to achieve it.
    Please add the following code into the Content Editor Web Part.
    <style type="text/css">
    .js-callout-content{
    display:none;
    .js-callout-mainElement span{
    display:none;
    .js-callout-mainElement{
    border-width:0px;
    </style>
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    $("a[title='Open Menu']").click(function(){
    setTimeout(function(){
    $(".js-callout-body .js-callout-bodySection").eq(0).html("<span>Test</span>");
    $(".js-callout-mainElement span").show();
    $(".js-callout-content").show();
    $(".js-callout-mainElement").css("border-width","1px");
    },1000);
    </script>
    Result:
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • Oracle 7.3 import to Oracle 8i Enterprise Edition

    Due to data file block corruption we had to install Oracle 8i in NT. After successful installation we tried importing 7.3.4 data to 8i, after importing table data it seeems the import process got hung, the CPU usage shows 100% and the application see

  • Difference between doc date,posting date and invoice date

    hi bw guys can someone give a brief on the difference between doc date,posting date and invoice date.and the invidual definitions thank you

  • SBO Service manager not working

    Hi All, I am using 1. Windows Server 2003R2 Enterprise edition service pack 2 Currently Installed SAP B1 2007B PL10, In Service Manager Nothing is coming. Consequently can not provide hardware key. Regards, Rupa

  • Using files from Windows in Mac

    If I create a webpage design in dreamweaver on a windows pc and save the file, can I then open that same file on a Maccomputer running dreamweaver?

  • Linux: /etc/.java/deployment/deployment.properties being ignored (JRE 7_17)

    I'm trying to create a mandatory policy to roll out to users however I can't get the Control Panel to read the System Level deployment.properties in the location given by the documentation - /etc/.java/deployment/deployment.properties containing - de