Delete Watermark with Macro Issue

Good day,
I have macros currently to insert a DRAFT or COPY watermarks (just text, not using an image) into document(s). I have found when removing the watermarks it is removing the image int he header
Code:
Sub RemoveWaterMark()
' Remove.Watermark.Macro
    Dim strWMName As String
    On Error GoTo ErrHandler
    ActiveDocument.Sections(1).Range.Select
    strWMName = ActiveDocument.Sections(1).Index
    ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
    Selection.HeaderFooter.Shapes(strWMName).Select
    Selection.Delete
    ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
    Exit Sub
Is there a way to code this macro to only remove the DRAFT or COPY that anyone can think of?

A watermark is an image in the header, even a text Watermark is an image - WordArt. Your code is supposed all shapes in the header. Is your image inside a shape like a Textbox?
When I try your code it does not run.
If you are using a Ribbon version of Word and used Page Layout > Watermark to insert your watermark Word gives each new watermark a unique shape name. I'm not sure how. When it later inserts a different watermark, it deletes the previous one, by name.
I do not have an answer for you but will post some interim steps as I try to figure one out. This way you can see the process rather than just the end result.
Step 1: Use the macro recorder to get an idea of what Word is doing when it deletes a Watermark or changes one.
Here are examples of recorded code:
Sub DeleteWaterMark()
' DeleteWaterMark Macro
    ActiveDocument.Sections(1).Range.Select
    ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
    Selection.HeaderFooter.Shapes("PowerPlusWaterMarkObject265849384").Select
    Selection.Delete
    ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
End Sub
Sub InsertWaterMark2()
' InsertWaterMark2 Macro
    ActiveDocument.Sections(1).Range.Select
    ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
    Selection.HeaderFooter.Shapes("PowerPlusWaterMarkObject266006337").Select
    Selection.ShapeRange.TextEffect.Text = "-"
    Selection.ShapeRange.TextEffect.FontSize = 1
    Selection.ShapeRange.TextEffect.FontName = "Cambria"
    Selection.ShapeRange.Line.Visible = False
    Selection.ShapeRange.Fill.Visible = True
    Selection.ShapeRange.Fill.Solid
    Selection.ShapeRange.Fill.ForeColor.RGB = RGB(192, 192, 192)
    Selection.ShapeRange.Fill.Transparency = 0.5
    Selection.ShapeRange.Rotation = 315
    Selection.ShapeRange.LockAspectRatio = True
    Selection.ShapeRange.Height = InchesToPoints(6.11)
    Selection.ShapeRange.Width = InchesToPoints(3.05)
    Selection.ShapeRange.WrapFormat.AllowOverlap = True
    Selection.ShapeRange.WrapFormat.Side = wdWrapNone
    Selection.ShapeRange.WrapFormat.Type = 3
    Selection.ShapeRange.RelativeHorizontalPosition = _
        wdRelativeVerticalPositionMargin
    Selection.ShapeRange.RelativeVerticalPosition = _
        wdRelativeVerticalPositionMargin
    Selection.ShapeRange.Left = wdShapeCenter
    Selection.ShapeRange.Top = wdShapeCenter
    ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
End Sub
Sub WatermarkBlank()
' WatermarkBlank Macro
    ActiveDocument.Sections(1).Range.Select
    ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
    Selection.HeaderFooter.Shapes("PowerPlusWaterMarkObject265849384").Select
    Selection.Delete
    ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
    Application.Templates( _
        "C:\Users\Charles K. Kenyon\AppData\Roaming\Microsoft\Document Building Blocks\1033\14\Building Blocks.dotx" _
        ).BuildingBlockEntries("Blank").Insert Where:=Selection.Range, RichText:= _
        True
End Sub
Sub RemoveWaterMark2()
' RemoveWaterMark2 Macro
    ActiveDocument.Sections(1).Range.Select
    ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
    Selection.HeaderFooter.Shapes("PowerPlusWaterMarkObject266857275").Select
    Selection.Delete
    ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
End Sub
Additional thoughts/ideas.
One other thing that I did was create a Watermark building block that had white text 100% transparent. The WatermarkBlank macro above is a recording of the insertion of that, which deleted the existing Watermark. Again, though, it uses a specific name. I
can tell you that the name is NOT stored as a document variable.
If you were to cycle through the names of the images looking for "PowerPlusWaterMarkObject" at the beginning of the name that would work for watermarks inserted by Word 2010.
Can you get your code to change the transparency to 100% leaving the watermark there?
Sorry, I don't have time to do more right now. Hope this helps some.
Charles Kenyon Madison, WI

Similar Messages

  • Word templates with Macros

    Dear all,
    I have a couple of Word templates (in document libraries) that should have the filename and page count on the footer of the front page. It seams there is an issue with Word that these do not automatically update (MS kb 832897).
    I am using word 2010, 64 bits.
    This is solved with a Macro.
    When placing the word with macro template in SharePoint, SP blocks it and the macros are not ran.
    Any one with experience on this?
    Thanks in advance.
    Gonçalo

    It is not possible to run a macro in SharePoint after the document has been uploaded. 
    You can replicate this scenario by creating a SPItemEventReceiver which will run customized code on ItemAdded in your document library. 
    Please go through the following articles for details:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventreceiver.aspx
    http://msdn.microsoft.com/en-us/library/office/ms437502%28v=office.14%29.aspx
    Please don't forget to mark it answered, if your problem resolved or helpful.

  • Excel spreadsheets with macro's

    Good day
    Excel spreadsheets with macro's created in Windows does not work on my Macbook (excel for mac 2011), even if I enable macro's. I do not create these spreadsheets myself. Cn anyone assist please? Thank you for your time.

    Hi,
    As far as I known, the macro/Active X control can be used well with both of the Office 2013 and Office 365.
    Would you like to share us a sample file that created in Office 2013? I'd like to test it. You can send it via Email ([email protected]).
    If you have any update, please feel free let us know.
    ===========
    Update:
    I have received your mail and
    attachment. Then, I tested it, I found the probably reason.
    You were using ActiveX controls in the sample file, and them displayed 4 tabs in Format control dialog box. Next, you created a new Form control, it displayed 7 tabs.
    You were using the two type of controls. ActiveX controls and Form controls
    are different.
    Form controls
    Form controls are the original controls that are compatible with earlier versions of Excel, starting with Excel version 5.0. Form controls are also designed for use on XLM macro sheets.
    ActiveX controls
    ActiveX controls can be used on worksheet forms, with or without the use of VBA code, and on VBA UserForms. In general, use ActiveX controls when you need more flexible design requirements than those provided by Form controls. ActiveX controls have extensive
    properties that you can use to customize their appearance, behavior, fonts, and other characteristics.
    For more detail information, please refer to the following link:
    https://support.office.microsoft.com/en-us/article/Overview-of-forms-form-controls-and-ActiveX-controls-on-a-worksheet-d101804a-0f84-43ad-8cb2-e19277b8e3fb?CorrelationId=0e7129b7-8ea2-458c-af14-a99292d300b9&ui=en-US&rs=en-US&ad=US
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • After upgrading to mountain lion i keep getting an error message saying my startup disc is full. it shouldnt be full because there is barely anything on there and i was running windows with bootcamp prior to this with no issues

    after upgrading to mountain lion i keep getting an error message saying my startup disc is full. it shouldnt be full because there is barely anything on there and i was running windows with bootcamp prior to this with no issues. my computer now freezes and programs close randomly. The usual command for opening windows with bootcamp doesnt work. once in restarted my computer after it froze and it rebooted in windows automatically. i really just want to know if there is a way to take the upgrade off my laptop because it is very annoying.

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • I can't be the only one with this issue. MacBook Pro Retina Late-2013 WiFi disconnects after waking up from sleep.

    Did anyone buy a MacBook Pro Retina 13" from Best Buy this Black Friday?
    I'm having an issue where the WiFi disconnects after the MacBook wakes from sleep but only after a couple of minutes.
    Once the WiFi disconnects, I can't reconnect to the same network and sometimes it won't find nearby networks.
    I have to turn off the WiFi and wait for at least 5 seconds before turning it back on for it to auto-reconnect to my home network.
    If I wait less than 5 seconds, it will continue to attempt connection to the home network but won't connect.
    I've tried reformatting and deleting my network configurations as well as resetting my modem, power cycling it, etc.
    I am using 2Wire Gateway modem/router from AT&T on b/g network.
    I've tried connecting to a friend's network under Time Warner Cable and the same issue occurs.
    I exchanged the MacBook at a Best Buy for a brand unopened one (I hope) and the same exact thing happens with this new one.
    Really, I can't be the only one with this issue. Unless in a 0.00001% chance I received two defective units in a row?
    Please.. does anyone have a clue why this is happening?

    You're definitely not the only one.  I have the same issue.  I spent 6 hours over multiple days on the phone with Apple support trying a variety of things (some of which are mentioned above), and none of them worked.  They finally sent me a replacement laptop.  I made sure to try it periodicaly as I was moving files and installing applications to see if I ran into it again and things seemed okay at first but now I am running into the same issue and it is terribly annoying.  I've got 5 other devices that connect to the same router and I've never had this issue with any of them.
    My router is a Linksys E2000.  I haven't tried changing the router channel but I have tried to cnnecting to other networks in the building I live in and I have run into the same issue there.

  • HT1933 I bought six songs using my itunes gift card in February but I cannot play the songs or downlaod them to my ipod because I get an error saying the original file could not be found.  I have used the gift card previously with no issue.  How do I fix

    I bought six songs using my itunes gift card in February but I cannot play the songs or downlaod them to my ipod because I get an error saying the original file could not be found.  I have used the gift card previously with no issue.  How do I fix it?

    Have you moved or deleted those tracks on your computer (the gift card has got nothing to do with it) ?
    You might be able to re-download them via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes (re-downloading isn't possible in all countries) - if those songs appear there then delete the entries from your iTunes library (where you are clicking on them to play them and gettinf the 'original file' error), and they should then get a cloud symbol against them for re-downloading.
    If they don't appear in that link then have you got them on, for example, an external drive ?

  • Compatibility problem with macro media flash active control

    I am getting a message on my screen "compatibility problem with macro media flash active control, it isnt compatible with my version of windows (vista).  How can this be fixed?  why am I suddenly getting it now?  I have the latest Adobe flash player installed.
    Trisha

    the latest flash is probably the problem... it's seems that the latest flash has been causing a boat load of issues. i did a system restore to undo the flash and mozilla upgrades and it's still crashing but not as bad as it was with the upgrades.

  • Deleting monitors with alerts configured

    Iam running into an issue deleting monitors with alerts configured. It appers that a patch needs to be applied to address the issue. I logged into HP support but I dont have the entitlements under my account, and cant see the avaiable updates. 

    @Shawnzimm 
    ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with the Forum's private messaging please click here to learn more.
    Thank you,
    Omar
    I Work for HP

  • Is there a phone number I can call to talk to a live person about help with Lightroom issues ?

    Is there a phone number I can call to talk to a live person about help with Lightroom issues ?

    well the reason I wanted to talk to someone live because it would take forever to explain everything on here But anyway, here goes. I have an HP Pavilion Notebook with Intel Core i5-323om CPU @2.60 GHz and 8 gb ram 64bit. I am trying to run Lightroom 5.7 on my laptop and having major issues. I use an external hard drive for the storage of my photos. When I try to use Lightroom I run into many issues: Flickering of the screen, freezing up, slow, the loading circle just goes round and round lol. If I go to the washroom or leave the computer for even a minute it freezes up. I have to keep pressing Ctr/alt/delete to bring it back when it flickers. I have to constantly exit out of the program and restart it to be able to edit even just a couple of photos and then it starts acting up again.
    I have tried un-installing and re-installing, updating everything on my pc, changing compatibility settings, updating development settings, I even took the laptop into have it looked at and they did all kinds of updates etc...and still couldn't figure out why it wasn't working for me. I have gone through the lists of troubleshooting for LR problems and there just seem to be nothing that works.....I have made new catalogues, moved them, tried using the software on my pc without the EHD, etc etc.......I have tried EVERYTHING...I think.....so I was looking for some answers as to why this is happening....

  • Deadlock when delete rows with blob.

    Hello
    I have the following issue. I try to clean a table that contains a BLOB column.
    To do this I use SQLDBC I create a statement that contains the LOB column, I fetch the line, load the Blob. and before fetching the next line, I send a delete request. and I fall in the deadlock.
    If I fetch the next line before sending the delete request there is no deadlock, there is also no deadlock if i do not request le LOB column in the select.
    In fact when I made select with LOB, there is the follwing line in DOMAIN.LOCKS
    SESSION;TRANSCOUNT;PROCESS;USERNAME;DATE;TIME;TERMID;LASTWRITE;LOCKMODE;LOCKSTATE;APPLPROCESS;APPLNODE;SCHEMANAME;OWNER;TABLENAME;TABLEID;ROWIDLENGTH;ROWIDHEX;ROWID;
    295513;                4290;438;ESKDBADM;2010-06-17;12:05:46;ly-delorme-u..1674;?;tab_share;?;5748;LY-DELORME.esker.corp;?;?;?;0000800000046919;0;?;?
    when i send the delete request the following lock appears in DOMAIN.LOCKS. A exclusif lock on the column I want to delete. It's ok
    SESSION;TRANSCOUNT;PROCESS;USERNAME;DATE;TIME;TERMID;LASTWRITE;LOCKMODE;LOCKSTATE;APPLPROCESS;APPLNODE;SCHEMANAME;OWNER;TABLENAME;TABLEID;ROWIDLENGTH;ROWIDHEX;ROWID;
    295521;                4287;167;ESKDBADM;2010-06-17;12:05:49;ly-delorme-u..1674;         5;row_exclusive;write;5748;LY-DELORME.esker.corp;ESKDBADM;ESKDBADM;DBM350_AUTOTESTXML;0000000000000934;5;00C51133800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;
    BUT there is a dead lock , I think because of the following entry in DOMAIN.LOCK_WAITS
    TABLENAME;TABLEID;H_TERMID;H_PROCESS;H_APPLPROCESS;H_APPLNODE;H_ROWIDHEX;H_ROWID;H_LOCKMODE;H_DATE;H_TIME;H_LOCKTIMEOUT;R_TERMID;R_PROCESS;R_APPLPROCESS;R_APPLNODE;R_ROWIDHEX;R_ROWID;R_REQMODE;R_DATE;R_TIME;R_REQTIMEOUT;
    ?;0000800000046919;ly-delorme-u..1674;438;5748;LY-DELORME.esker.corp;?;?;tab_share;2010-06-17;12:05:46;?;ly-delorme-u..1674;167;5748;LY-DELORME.esker.corp;?;?;tab_exclusive;2010-06-17;12:05:49;      3585
    The database request a tab_exclusive lock on tableid 0000800000046918 but there is already a tab_share lock on this.
    Do you why there is a lock on the table :  tableid 0000800000046918 ?
    How to avoid this lock using SQLDBC ?
    Thanks for you help.
    Yann.

    this is the same reply as previous reply, this carriage return. I hope.
    Hello,
    Here is code that explain my issue.
    I create a table like this :
    create table "ESKDBADM"."DBM350_AUTOTESTXML"( "MSN" INTEGER not null, "DIST_FILE" BLOB, constraint SYSPRIMARYKEY primary key ("MSN"))
    And then I try to delete row with the following program. I do not understand why the request SELECT Msn, DIST_FILE FROM DBM350_AUTOTESTXML set a share lock on the tableid : 000080000004691D.
    I do not find this tableid in the "SYSINFO"."FILES" table.
    SESSION;TRANSCOUNT;PROCESS;USERNAME;DATE;TIME;TERMID;LASTWRITE;LOCKMODE;LOCKSTATE;APPLPROCESS;APPLNODE;SCHEMANAME;OWNER;TABLENAME;TABLEID;ROWIDLENGTH;ROWIDHEX;ROWID;
    295697; 5220;172;ESKDBADM;2010-06-21;11:01:40;ly-delorme-u..1CDC;?;tab_share;?;7388;LY-DELORME.esker.corp;?;?;?;000080000004691D;0;?;?
    // SQLDBC.cpp : Defines the entry point for the console application.
    // YOU MUST CHANGE CONNECTION SETTINGS.
    #include "stdafx.h"
    #include <stdio.h>
    #include <tchar.h>
    #include <comdef.h>
    #include <iostream>
    #include "SQLDBC.h"
    using namespace SQLDBC;
    static void parseArgs(int argc, wchar_t **argv);
    static SQLDBC_Connection *connectDB(SQLDBC_Environment * env = NULL);
    static char* convertToUCS2(char *src);
    static void usage();
    SQLDBC_Environment *g_env;
    typedef struct ConnectArgsT {
      bstrt username;
      bstrt password;
      bstrt dbname;  
      bstrt host;    
      bstrt request;    
    } ConnectArgsT;
    ConnectArgsT connectArgs;
    void exitOnError(SQLDBC_ErrorHndl &err);
    int _tmain(int argc, _TCHAR* argv[])
       parseArgs(argc, argv);
       SQLDBC_Connection *conn = connectDB();
       //* Create a new statment object and execute it.
       SQLDBC_PreparedStatement *stmt = conn->createPreparedStatement();
       // FREEZE
       if (connectArgs.request.length() == 0)
               connectArgs.request = "SELECT Msn, DIST_FILE FROM DBM350_AUTOTESTXML";     
       /* NO FREEZE
       if (connectArgs.request.length() == 0)
               connectArgs.request = "SELECT Msn FROM DBM350_AUTOTESTXML";
       char command = (char)((LPCWSTR)(connectArgs.request));
        //* Executes the UNICODE encoded SQL command.
       SQLDBC_Retcode ret = stmt->prepare((const char*)command, SQLDBC_StringEncodingType::UCS2Swapped);
       exitOnError(stmt->error());
       stmt->execute();
       exitOnError(stmt->error());
       // * Get the resultset.  
       SQLDBC_ResultSet *result;
       result = stmt->getResultSet();
       exitOnError(stmt->error());
       // * Fetch the row from the resultset.     
       result->next();
            SQLDBC::SQLDBC_RowSet* pRowset =  result->getRowSet();
         ret = pRowset->fetch();          
       exitOnError(result->error());
       wchar_t szString[30];
       SQLDBC_Length ind;
    Get a string value from the column.
       result->getObject(1, SQLDBC_HOSTTYPE_UCS2_SWAPPED, szString, &ind, sizeof(szString)); // Retreive MSN.
       // Delete de line.
       // Create a new connection for delete
       SQLDBC_Connection *conn2 = connectDB(g_env);
       //* Create a new statment object and execute it.
       SQLDBC_PreparedStatement *stmt2 = conn2->createPreparedStatement();
         std::wstring st = L"DELETE FROM DBM350_AUTOTESTXML WHERE MSN=";
         st +=  szString;
         stmt2->prepare((char*)st.c_str(), SQLDBC_StringEncodingType::UCS2Swapped);
        //* Executes the UNICODE encoded SQL command.
         ret = stmt2->execute();
       exitOnError(stmt->error());
       printf("%s\n", szString);
       return 0;
    static char *convertToUCS2(char *src)
      int len = strlen(src);
      wchar_t w=(wchar_t)calloc(len, sizeof(wchar_t));
      int nc = mbstowcs(w, src, len);
      if ((size_t)-1 == nc) {
        fprintf(stderr, "Conversion to UCS2 failed. Execution stopped.\n");
        exit(1);
      short s=(SQLDBC_Int2)calloc(nc+1, sizeof(SQLDBC_Int2));
      int i;
      for(i=0; i<nc; i++) {
        s<i> = w<i>;
      free(w);
      return (char*)s;
    static char* strupper(char *str)
        char *p=str;
        while(*p) {
            p=toupper(p);
            ++p;
        return str;
    static wchar_t *argv0;      
    #ifdef WIN32
    #define STRICMP _stricmp
    #else
    #define STRICMP strcasecmp
    #endif
    SQLDBC_Connection *connectDB(SQLDBC_Environment * env)
      char errorText[200];
      SQLDBC_Retcode rc;
      if (g_env == NULL)
    Every application has to initialize the SQLDBC library by getting a
    reference to the ClientRuntime and calling the SQLDBC_Environment constructor.
           SQLDBC_IRuntime *runtime;
           runtime = SQLDBC::GetClientRuntime(errorText, sizeof(errorText));
           if (!runtime) {
              fprintf(stderr, "Getting instance of the ClientRuntime failed %s\n", errorText);
              usage();
           env = new SQLDBC_Environment(runtime);
           g_env = env;
    Create a new connection object and open a session to the database.
      SQLDBC_Connection *conn = env->createConnection();
      printf("Connecting to '%s' on '%s' as user '%s'\n",
             (char)connectArgs.dbname, (char)connectArgs.host, (char*)connectArgs.username);
      rc = conn->connect(connectArgs.host, connectArgs.dbname,
                         connectArgs.username, connectArgs.password);
      if(SQLDBC_OK != rc) {
        fprintf(stderr, "Can't connect to '%s'.\nERROR: %d:'%s'\n",
                connectArgs.dbname, conn->error().getErrorCode(), conn->error().getErrorText());
        exit(1);
      return conn;
    static void parseArgs (int argc, wchar_t **argv)
      argv0 = wcsdup(argv[0]);
    setting defaults for demo database
      connectArgs.username = "ESKDBADM";
      connectArgs.password = "DELORME";
      connectArgs.dbname = "EDP350";
      connectArgs.host = "ly-delorme";
    use values from command line
      if (argc > 5) {
        connectArgs.request = argv [5];
      if (argc > 4) {
        connectArgs.host = argv [4];
      if (argc > 3) {
        connectArgs.dbname = argv [3];
      if (argc > 2) {
        connectArgs.password = argv [2];
      if (argc > 1) {
        if (!wcsicmp(argv [1], L"-h"))
          usage();
        else {
          connectArgs.username = argv [1];
      strupper(connectArgs.username);
      strupper(connectArgs.password);
    void exitOnError(SQLDBC_ErrorHndl &err)
      if(err) {
        fprintf(stderr, "Execution stopped %d:'%s'", err.getErrorCode(), err.getErrorText());
        exit(1);
    static void usage()
      wchar_t *s = wcsrchr(argv0, L'/');
      if (!s)
        s = wcsrchr(argv0, L'
      if (s)
        *s = '\0';
      printf("Syntax: %s [-h] | [<connect_options>]\n"
             "\tconnect_options :: \n"
             "\t\t[ <username> \n"
             "\t\t[ <password>\n"
             "\t\t[ <database_name>\n"
             "\t\t[ <database_server> ]]]]\n"
               "\t\t[ <request> ]]]]\n"
             "\tCalling %s without any arguments will use user '%s','%s'\n"
             "\t\ton database '%s' at server '%s'\n",
             argv0, argv0,
             connectArgs.username, connectArgs.password,
             connectArgs.dbname, connectArgs.host);
      exit(1);

  • How to delete watermark presets when file is missing.

    Ok, so I have searched high and low on all kinds of search engine and forums looking for a solution to this problem I was having with deleting watermarks from Lightroom 4.  I had a bunch of watermarks that I had created in LR4 that was a result of trying to redo a previously created watermark (why Adobe don't allow you to overwrite I don't know) but instead of overwriting the currently selected watermark LR4 lets you create a new preset from the changes.  These changes build up over time and you sometimes end up with missing or moved files.  If these graphic files are missing then you may or may not have ran into my dilema where when you select the watermark to try and delete it, the dialog box just keeps disappearing and nothing you do seem to work.  Don't dispear, here is a solution I've discovered that I couldn't find anywhere else.
    1. Open LR4 (Not sure if this works with other versions)
    2. Select the Print module (this seem to be the fastest, easiest way to access and edit watermarks)
    3. Select the check box next to the watermark under the "Page" pane on the right (this will allow you to select and edit the individual watermarks)
    4. select the dropdown menu and chose the watermark that you want to edit.  The dialog bot will open but beware it will quickly vanish in a couple seconds so here is my solution (at least until Adobe fixes this problem).  Grab hold of the dialog box before it closes and hold it for a few seconds, this will delay or stop it from closing instantaneously.
    5. Select the dropdown menu within the dialog box and chose delete watermark option, confirm that you want to delete and voila!
    Sorry for making this so long but I think the details maybe more helpful than you think, especially for people that are a bit technically challenged.
    Caios!

    Dawill76,
    Alternative procedure to your # 4: Select the watermark you want to edit. Let the dialog box close, then open it again ... and
    now <Delete preset ...> is visible and available as an option.
    This is one of the idiosyncrasies of Lr: You have to open the dialog box twice. First to select the watermark, and second to delete it.

  • Aperture 3: Watermarks with Facebook, Flickr, and MobileMe

    I am pleased that Apple has released Aperture 3. I have not had the chance to download the 30-day trial or play with it in an Apple store yet. For those of you who have, do you know if Apple has enabled (visible) watermarking as part of the sharing on Facebook, Flickr, and MobileMe? I don't post images without visible watermarks to the Internet without one.
    What I currently do with Aperture 2.x is export the images (as .jpg) into a folder adding a watermark as part of the export preset, then import them back into Aperture and then post to MobileMe, Facebook, or Flickr. I am hoping that Aperture 3 eliminates the need for these extra steps.
    If it doesn't have this ability, does anyone do anything similar that might be more streamlined?

    Thank you folks for your suggestions. I just purchased Aperture 3 and needed to create a watermark. I was able to accomplish this using the steps below.
    1. Scan the watermark into the computer or create it with an editing application. (I scanned my signature into my computer and saved it as a jpg. If you are worried about someone having your signature you may want to use a printed watermark.)
    2. Open the scanned image in a photo editing application. (I used Photoshop even though I am very uncomfortable with its complexity.)
    3. Adjust the size of the image using the," Image Size", tool under "Image" column in the Menu. (Do not use the Canvas Size tool. It did not work for me.)
    4. Place the Layers palette on the desktop by selecting, "Layers" in the Window column at the end of the Menu.
    5. Double click on the background icon in the Layers palette to open a new layer. It should be Layer 0.
    6. Click, "OK".
    7. Next select the Magic Wand in the tools palette and touch the background of the image. Click on the background to select the background. Click delete to make the the background disappear. The watermark should remain without the background.
    8. If there are any areas enclosed in a loop, like a zero or, "O", take the magic wand and select the enclosed area to highlight it. Remove this area with the delete button. You can put the copyright mark on the image if you like by typing it next to your watermark.
    9. Go to, "Save As", and save the image as a psd file where you can find it.
    10. Quit the application and open Aperture and go to the preference folder for Aperture.
    11. Select the Export icon and activate the, "Email photo export", preset button.
    12. Select edit and go to, "Choose Image", to select your watermark with the transparent background.
    13. Select a new preset on the right and name your new watermark.
    14. The new watermark will appear in the, "Email photo export" options.

  • Delete archivelogs with rman

    I have this setting on one database: 10.2.0.3 on linux x86
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    When a backup occurs, i issue the following at the end:
    delete noprompt obsolete device type disk;
    Which delete an old backup and old archivelogs on the server.
    Situation: It happen rarely, but still, sometimes, I have to manualy delete archivelogs to make space.
    Here is what i do: Ensure that the archivelogs which I am about to delete are backed up.
    Then I issue the following Rman command:
    crosscheck archivelog all;
    delete noprompt expired archivelog all;
    which tells Rman that the archivelogs are not on the os anymore.
    Is there a way to delete archivelogs with rman or oracle, not manually on the os?
    note: i do not want to delete a backupset will doing so.
    This is temporary solution. More disk space is comming and new backup scenario will be in place for this database.

    Exists many ways to make this, as:
    DELETE NOPROMPT FORCE COPY OF ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-1';
    or
    BACKUP ARCHIVELOG all DELETE ALL INPUT;
    or
    BACKUP ARCHIVELOG all NOT BACKED UP 2 TIMES DELETE ALL INPUT;
    ...

  • HT201487 i have a problem with xcode programming app when i lunch to it it asking me to enter my password and when i enter it the program show that it is wrong but am 100% sure it's wright so please help me with this issue thanks

    i have a problem with xcode programming app when i lunch to it it asking me to enter my password and when i enter it the program show that it is wrong but am 100% sure it's wright so please help me with this issue thanks

    That's not very intuitive
    Check your mail server setup (mail>preferences>accounts>) choose your MobileMe account and select Outgoing Mail Server (SMTP) dropdown box, select Edit SMTP server list, verify that each instance of the me server has a password, if there are more than one and you only have one account then delete the one without a password.

  • Delete user with db owner roles

    Dear All,
    I want delete user with db owner roles from all database and from server using sql query.
    So i want using one query to delete user from all database and also from server
    how i can do that?
    best regards,
    Surbakti

    I means it's login.
    I want delete because user whom use that login already resign from my company.
    so if i delete that login i can use that slot for the other user.
    best regards,
    Surbakti
    First you said you want to delete all logins with db owner roles and now you are saying I want to delete use login who has left the company. Was there mass exodus.
    If login was a domain login you should also make sure it gets removed from domain, then from local windows machine  and then from SQL server. If it is SQL Server login it can be removed straight. Search online you would find various methods to remove
    login
    Have alook at below links
    Question about removing logins from database
    Drop login
    Also note that any job which the login owned would be affected if login is removed. So you need to be careful
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

Maybe you are looking for

  • Should I create a new iTunes Library on my new iMac?

    I have been using a MacPro with multiple hard drives. One such 2TB drive has been the location of my MacPro iTunes library and media files. It takes up about 1.5TB of space with all the music, video and books. I use EyeTV from Elgato to record TV sho

  • Backing up files on external hard drive... do I need to keep render files?

    Hi, I back up all of my video work and files onto DVDs and to a Lacie external hard drive. I am filling that up quickly and would like to know if I need to keep copies of the render files, which are quite large. Will it save me that much time later?

  • What would cause a slim horizontal line across the screen of my iMac?

    There is a slim line across the Center if the screen. It is horizontal. It does not appear every time I boot up, but it is causing concern.

  • Use of SUM and COUNT with GROUP BY

    All, I have a set like below: State DOB StartDt EndDt Desc Category MemberID SubID Code NC 2003-01-30 2014-01-01 2014-01-31 Child B 123456 2 38 NC 2003-01-30 2014-01-01 2014-01-31 Child B 123456 2 39 NC 2003-01-30 2014-02-01 2014-05-31 Child B 123456

  • Little Memory Left

    Hello guys I have a Curve 9360 and here's the story... I updated my device os to 7.1 and I was surprised that I only have about 90MB of memory left. I don't have much apps installed, but shouldn't I have at least 200+MB or so memory left? I don't rea