VSTO: Add Custom Control in Word Document, When I scroll the Document, the Control is missing.

Hi All,
I faced an issue regarding insert custom control in Word Document via VSTO. And then I scroll down/up the Word Document. The control which I added is missing.
I used the code below to AddControl in Word Document, 
var shape = Globals.Factory.GetVstoObject(_doc).Controls.AddControl(myControl, range, width, height, shapeName).InlineShape.ConvertToShape();
shape.WrapFormat.Type = Word.WdWrapType.wdWrapInline;
I test this on Word 2007 and Word 2013. Both of them have the same result.
Please help me! Thanks a lot!
Ricky!

Hi Ricky,
I failed to reproduce your issue on my test environment (Office 2013).
Here is the sample project:
# WordAddCustomControlIssue on OneDrive
Would you mind sharing a sample project through OneDrive to help us reproduce this issue?
Regards,
Jeffrey
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Does the ipod nano 7th gen work with Belkin Blue tooth In car hands free? Customer support said it did when I bought it, but the box doesn't say it does and I dont want to open it in case I have to return it.

    Does the ipod nano 7th gen work with Belkin Blue tooth In car hands free? Customer support said it did when I bought it, but the box doesn't say it does and I dont want to open it in case I have to return it.

    If the Belkin supports the A2DP (Stereo Bluetooth) profile then it will work.

  • When I add a https link to quicklinks, when I click on it, the (:) after https does not go to the address bar and thus the link is not connected. This is happening for all quicklink bookmarks with https:

    Question
    When I add a https link to quicklinks, when I click on it, the (:) after https does not go to the address bar and thus the link is not connected. This is happening for all quicklink bookmarks with https: Is there a solution?

    Try some basic troubleshooting.
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • How do i detach a document when scanned with several documents?

    how do i detach a document when scanned with several documents?

    You would need the full version of Adobe Acrobat for that. Adobe Acrobat Reader cannot accomplish this at all.

  • Since upgrading to OS X 10.8.2 a few days ago, Safari will suddenly zoom in on web pages (happens on multiple sites) when I scroll or move the mouse -- any one know why and what to do about it? Thanks.

    Since upgrading to OS X 10.8.2 a few days ago, Safari will suddenly zoom in on web pages (happens on multiple sites) when I scroll or move the mouse -- any one know why and what to do about it? Thanks!

    It really isn't a well thought out 'gesture' when a normal scroll action can result in an unwanted zoom but disabling SmartZoom wasn't an option for me—one of those with eyes that tire easily when reading very small text on a 27" display.
    For a while I used command-+ and command-'-' to read small text but that isn't supported in some apps and for Safari it often leaves the browser in an less than perfect state when moving to the next page.  I also tried option scroll to zoom the whole display but that was not desirable, either.
    I finally settled on leaving SmartZoom enabled and remembering to double tap with one finger whenever the undesired zoom happens. It happens so often that the double tap is almost a reflex action for me.

  • Unable to save Word documents when accessing them directly from the site because the document never converts from a read-only even though the User chooses to enable editing

    Issue has only popped up recently and cannot reproduce in a Test environment.  Unaware of any SharePoint changes, so hoping someone can point me in the correct direction.
    Previously Word document did not have to be physically checked out, but rather the editing of the doc also checked out the doc in a document library. This is the way we want it to remain –
    no manual check-out process. Now if a doc is edited without being checked-out, there is an issue with the process as the application thinks the doc is read-only (message received when trying to save the doc) even if enable editing is selected. The
    following message appears when you try to save the document:
      This message can appear if you have been editing a file that was opened as read-only. A file opened as read-only will have (Read-Only) appended to the file name as it appears in the title bar of Word. You can still save the document, but you must
    save it by using a different file name. If you use Windows Explorer to change the read-only properties of the file, while the file is open in Word, it will not enable Word to save the file. Word must open a non-read-only version of the file in order to save
    it by using its original file name. If you have not made any changes to the file, you can close it, and then use the following steps to make the file writeable. 1. Click the File tab, and then click Open. 2. Browse to the file and right-click it. 3. Click
    Properties, and then clear the Read-Only check box. 4. Reopen the file. If you have made changes to a read-only file, you can save it, and then use the following steps to give the modified file the original file name. 1. Click the File tab, and then click
    Save As. 2. Enter a different file name, and then click Save. 3. NOTE: Adding "Rev1", or "Mod1" to the original file name may help you to remember it later. 4. Click the File tab, and then click Close. 5. Open Windows Explorer. 6. Browse
    to the original read-only file. 7. Rename the read-only file. 8. Browse to the new file. 9. Rename the new file to the name of the original file. Do not delete the read-only file until after you have determined you no longer need it.
    Previously, when check-out was optional, a file was checked out automatically when someone opened it for editing, unless it was already checked out. The editing commands notified the User that the file is being/was checked out.  The real issue is the
    word doc can no longer be saved as the application still believes the doc is read-only.

    Hi, 
    According to your description, you give the domain admin full control over files on the old file server, but you cannot move the files to the new file server. After pull the files from the old to the new file server, the domain admin can only read the files
    on the new file server.
    How did you move the files from the old file server to the new file server? Did you setup replication between the two file server or use robocopy? 
    Please check the files permissions on the new file server to see if the permissions are changed, then share the folder on the new file server to everyone to see the result.
    Regards, 
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Word Crashing When Discarding Checkout for Document Stored in SharePoint

    We have recently noticed an issue when we have a Word file checked out from SharePoint, if we then discard the checkout from Word, Word crashes. The error details point to an issue in wwlib.dll.
    Having done some further investigation into this it appears this only happens if the document has an attached template which contains a custom ribbon.  We use SharePoint 2013 and Word 2010, although I have tested using Word 2013 with the same results.
    This was noticed on our company templates which contain a custom ribbon tab and a number of custom buttons. I have since tested it by creating a template with a single button on a custom tab with the same results.
    Has anyone else come across this issue and and is there any way to resolve it?
    Thanks,
    Richard

    Hi Daniel,
    Thanks for the response.
    The issue only happens when discarding checkout. Editing and saving a document back to SharePoint does not cause an issue. I am using a dotm template. I am not storing the template
    as a content type. When I say I created a custom tab, this was created by adding the XML to create the ribbon tab and button. I used the 'Custom UI Editor for Microsoft Office' to add this. The file created for this is called customUI14.xml and the
    XML is as follows (in the basic test template that I created):
    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
    <ribbon startFromScratch="false">
    <tabs>
    <tab id="customTab" label="Custom Tab">
    <group id="customGroup" label="Custom Group">
    <button id="customButton" label="Test Ribbon Button" imageMso="HappyFace" size="large" onAction="TestRibbonCrash" />
    </group>
    </tab>
    </tabs>
    </ribbon>
    </customUI>
    The code this points to is as follows:
    Sub TestRibbonCrash(ByRef Ctrl As IRibbonControl)
        MsgBox "Ribbon button working"
    End Sub
    Following your reply I have tested it by adding a custom tab and button through the GUI and the problem doesn't occur when using that method of creating the tab and button.
    I will see if I can find anything useful in the ULS logs although no correlation ID is displayed when the error happens and in my experience even with a correlation ID, 99% of the time the ULS logs don't provide any useful information.
    I've also observed that Word doesn't crash if I discard checkout when I have another document open at the same time which is based on the same template.
    I have already posted on a MS Word forum. Is there more chance of getting some help on one of the other Word forums you have suggested?
    http://answers.microsoft.com/en-us/office/forum/office_2010-word/word-crashing-when-discarding-checkout-for/95565f9e-411b-4f11-b14d-d3771e2e2ba4
    Thanks,
    Richard

  • When I create a PDF from Excel, there are blank cells in Excel document, when they convert to PDF the blank cells have data in them?

    There are cells in the excel document that have formula's in them.  The formulas are pulling data from other blank cells, so that is why they are blank in the formulated cells.  So in Excel, they are just a dash.  When I create the PDF, the document gets opened in Acrobat and the once blank cells have data in them.  Not sure why there is data in those fields on the PDF if its blank on Excel.

    Not really sure that I fixed the problem, but I did find a work around and wanted to post it if someone else runs across the same issue. Apparently the document creator used lots of custom rules and shading. If I pulled up the custom rules and shading palette and just unchecked both the custom ruling and shading boxes, it allowed me to create the print file correctly--the disappearing part numbers were on the new PDF. I didn't have to update the whole book which I didn't want to do because I feared it would mess up the rules and shading. Just unchecking the box before creating the PDF solved that issue for my purposes.

  • Is there any more word on when apple will be releasing the thunderbolt to FireWire adapter?

    Is there any new word (newer than "in July") on when Apple will be releasing the Thunderbolt to FireWire Adaptor?

    Not yet.
    Best.

  • Value differes in 122 document when compared with 101 document

    Hi Guys,
    I have done the G.R(101) for one material in which the Amount in Locu curr say about 100000/-. This document I have posted wrongly. I wanted this to cancel but U.D was already made for the inspection lot created by this G.R document because of this I can't do mov type 102. So now I have processed 122 document in this amount in loc curr is 110000/-. When I compare the Amount is loc curr of both the document there is a difference and when I check the FI document of 122 document It has book consumention account to balance the difference.
    Value give here is just an eg.
    As per my understadning when we are processing 122 with ref to 101 document no there should not be any difference in the amount.
    Here my question is what would be the reason to make this amount diference.
    I require reply bit quickly Please help.
    Thanks,
    Dhanu.

    Hi,
    You are right that the amount in document of 101 and 122 should be same. But there may be some cases like,
    1. MR21 is done after GR has been done. This may have changed the price in material master.After this 122 may have been done. So 122 has price difference.
    2. Standard cost run may also have effected the price change in material master.
    So the only reason for difference in amount of 101 and 122 may be the price change in material master due some transaction other than material movement transaction.
    Regards,
    Nandan.

  • Not able to see document when I click Generate Document link in SSHR

    Hi,
    I have created a 'Generate Document' link on 'Change Hours' page of SSHR.
    But When I click on that link,I am seeing a blank screen and could not get the document.
    Please help me in this tio resolve the issue.
    Thanks,
    Srinivas

    Dear Srinivas,
    Since I am not able to understand the specifics of the SSHR Page, its slightly difficult to suggest something. If you can share the technical details of the page, it might be easier to make a guess. Btw, in case this is standard page behaviour, Oracle Metalink might be a place to look out for resolution.
    Regards
    Sumit

  • Lightroom crashes when I scroll quickly through the folders in the library module

    If I scroll quickly through the folders in the library, particularly when I first start Lighroom it often crashes. If I wait a few minutes, most of the time all is well, but not always. I never have crashes in any other module.
    Crash report:
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: lightroom.exe
      Application Version: 5.7.0.10
      Application Timestamp: 545ea461
      Fault Module Name: ntdll.dll
      Fault Module Version: 6.1.7601.18247
      Fault Module Timestamp: 521eaf24
      Exception Code: c0000005
      Exception Offset: 0000000000034118
      OS Version: 6.1.7601.2.1.0.256.1
      Locale ID: 1033
      Additional Information 1: a36e
      Additional Information 2: a36ef00a9d422868e749298269662734
      Additional Information 3: 5412
      Additional Information 4: 5412da4d38a37aacadff0f1f969e9432

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Select "/var/log/install.log" from the file list. Then select the messages from the last installation or update attempt, starting from the time when you initiated it. If you're not sure when that was, start over and note the time. Copy them (command-C) to the Clipboard. Paste (command-V) into a reply to this message.
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • I am wonder why when i add a picture with words to my slideshow in final cut the res clarity seems to get blurry when the poem I am making is playing the picture seems to become blurry but when i stop it the res quality seems to get better

    i add a picture from the web to the final cut project and as my poem is playing some pictures are getting blurry when it plays but when i pause it the picture seems to be more clear 

    Possibly it's just a matter of switching Quality  to Better Quality in Viewer Display Options. Or rendering the clip.
    Russ

  • How can I return my PDF doc back into word doc when Acrobat will not read the files.

    I changed one doc into a PDF and now all my doc have changed to PDF. I need to have all my word doc back but the Adobe said it can not read the formate.

    Hi Jewelhbowie1,
    What was your workflow to change the word doc to PDF format.
    The Acrobat application/Service does not change the original document it makes copy of that document and converts to another format you choose.
    Please share your steps that you choose to convert the word doc to pdfs.
    Regards,
    Ajlan Huda.

  • My timeline table disappears when i scroll down to the bottom

    Hi, i have put my images on after effects and everything was going well like normal, until i uploaded my final 12-20 images (im using after effects for my final 3 minute animation for uni), when i tried to scroll down to rezize these images and to make them 2f long the timeline table disappears everytime, also i managed to see that the frames with the problem are not the normal purple colour but are a blackish grey colour... ive tried deleting the frames and re uploading them but the same problem occured. I saved my work closed down my computer and re-opened it and the problem was still there. i also tried pasting the frames into a new composition but again... same problem. Is there a way to solve this problem as this animation is due in tomoz and i need to start adding sounds on audition and premiere but the animation needs to be finished so i can sync the sounds at the correct places
    Please reply
    Katie x

    In addition to Todd's curiousity, I'm curious about something else: is this a SEQUENCE of images, such as stop-frame animation? 
    If the original file names have been retained, they're probably in the order in which they were taken, and you can import the lot of them as an image sequence.  To get the on-2 look you seek, you can use the resulting clip's interpret footage settings.  Select the target frame rate you want, and multiply that number by two.  You're all set.

Maybe you are looking for

  • How to access performance counter directly?

    What I am going to do is programming with hardware performace counters of UltraSPARC T2+ processors in Solaris 10. I programmed a loadable syscall to invoke the hv_niagara_getperf or ultra_getpic, trying to get the counters' data. But there just come

  • XI and SAPConnect

    Hi, Our business scenario is as follows. R/3 will send a PO as an email with a pdf attachment using SAPConnect to XI. XI would have to read the MIME header information and send it to a fax server. The Fax server will send back a confirmation email to

  • Samsung A900 iSync support

    Hi folks, Does anyone have the Samsung A900 phone working with iSync 2.3? Thank you Steve aka Tiggr

  • Aligned surface in mocha does not result in 100% scale layer

    Hi! I have to track a plane from a certain reference point. I want the layer that is to receive the corner pin (which is actually just a time-frozen frame at that reference point, masked) to be 100 percent scale at that moment, naturally. However whe

  • Endless spinning wheel on shut down

    If I boot up and do not initiate any software and then shut down, shut down occurs normally. If I initiate any software, I get a blue screen and the endless spinning wheel. I tried the repair disk and repair permissions from the startup disk, to no a