How to add MS Office add-in from inside a Thinapp 5 virtual application to a MS Office 2013 suite that is installed on a base image

Hi,
We have the following solution:
VMware Horizon View 5.3.1
Non-persistent Linked-clone pool with delete VM after logoff
Windows 8.1 Update 1 Enterprise 64 bit
MS Office 2013 32-bit installed on image
Thinapps registered for each user from logonscript with thinreg.exe command. Thinapps is located on a network share
Native Windows roaming profiles with appdata/roaming, appdata/local without appdata/locallow(persona management does not support Windows 8.1 in View 5.3.1)
This is our issue:
We have a 3rd party application with a couple Thinapp entrypoints(exe files) and in the Thinapp package process we also installed Office addins. We tested that the Add-ins was opened inside Outlook, Word and Powerpoint before post installation scan.
The problem is that the add-ins is not added to Office 2013 before or after the Thinapp is started on a test client.
I have tried several changes in the package.ini and virtual filesystem attributes(no registry changes yet):
Package.ini:
ChildProcessEnvironmentExceptions=WINWORD.EXE;EXCEL.EXE;POWERPNT.EXE;OUTLOOK.EXE;
ChildProcessEnvironmentDefault=External
ChildProcessEnvironmentExceptions=excel.exe;outlook.exe;powerpnt.exe;winword.exe
ChildProcessEnvironmentDefault=Virtual
VirtualizeExternalOutOfProcessCOM=0
DirectoryIsolationMode=Merged
RegistryIsolationMode=Merged
I have also read that you could make entrypoints to the locally installed Office 2013, but I get errors on the build process. ref. link: http://edwinfriesen.nl/content/?p=105#comments
The best thing would be if the add-ins were added in the logon process together with thinreg.exe, but if that is not supported, the add-ins must be added to Office either in a custom Office shortcut/entry point or after starting the Thinapp virtual application.
Remember that the application needs to registered every times the user logon, because we use a non-persistent View pool.
I would really appreciate if somebody could tell me how to add Office add-ins from inside a Thinapp virtual application/package to a locally installed MS Office 2013 suite on a Windows "base" image?
We do not want to add the whole Office suite to the Thinapp virtual package and not add the add-ins trough GPO,SCCM etc.

What about the COM object parameters in package.ini ?
We can live with scripting in logon or changed logon scripts etc.
And you don't no need to lock in the project files.
From package.ini documentation:
ObjectTypes Parameter
The ObjectTypes parameter specifies a list of virtual COM object types that are visible to other applications in
the physical environment. You can use scripts, such as VBScripts, to call objects that start captured applications.
An object type is registered to only one native or virtual application at a time. If you install Office 2003 on the
native machine and want to use a virtual Office 2007 package, you must determine whether to have the virtual
or native application handle the object types.
If you want the virtual Office 2007 to handle the object types, you can leave the ObjectTypes setting in the
Package.ini file, build the package, and register it using the thinreg.exe utility. If you want the native Office
2003 to handle the object types, you must remove the ObjectTypes setting from the Package.ini file before
building and registering the package.
You cannot add random entries to the ObjectTypes parameter.
You can only remove entries that were generated by the capture process.
Example: Starting a Virtual Application When a COM Object is Created
If a script or a native application creates an Excel.Application COM object or other COM objects listed in the
ObjectTypes parameter, ThinApp starts the virtual package.
[Microsoft Office Excel 2007.exe]
ObjectTypes=Excel.Application;Excel.Application.12;Excel.Chart;
Excel.Macrosheet;Excel.Sheet; Excel.Workspace

Similar Messages

  • How do I delete my iCloud account from my iPad 2 when I don't know the password to that account?

    How do I delete my iCloud account from my iPad 2 when I don't know the password to that account?

    Try going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • How do you export photos and movies from iPhoto to your iPhone? I synced the device and noticed that some photos and some movies from iPhoto on my laptop were not transferred to my iPhone.

    How do you export photos and movies from iPhoto to your iPhone?  I synced the devices and noticed that some photos and movies on my laptop iPhoto were not transferred to my iPhone?

    I am not sure, which answer you found - so just in case:
    If you sync your iPhone with the iPhoto library, the photos will only stay on the iPhone until the next sync and they are not in the Camera Roll. If you transfer using the Photo Stream, they will only be vidsible in the stream, until they are replaced in iCloud by newer content.
    So, if you want to transfer the photos permanently, save them to the Camera Roll.

  • How to determine the Current Domain name from inside an Mbean / Java Prog

    We have registered an Application Defined MBean. The mbean has several APIs. Now we want to determine the currrent domain using some java api inside this Mbean. Similarly we have deployed a Webapp/Service in the Weblogic domain. And inside this app we need to know the current Domain. Is there any java api that will give this runtime information.
    Note: We are the MBean providers not clients who can connect to the WLS (using user/passwd) and get the domain MBean and determine the domain.
    Fusion Applcore

    Not sure if this will address exactly what you are looking to do, but I use this technique all the time to access runtime JMX information from within a Weblogic deployed application without having to pass authentication credentials. You are limited, however, to what you can access via the RuntimeServiceMBean. The example class below shows how to retrieve the domain name and managed server name from within a Weblogic deployed application (System.out calls only included for simplicity in this example):
    package com.yourcompany.jmx;
    import javax.management.MBeanServer;
    import javax.management.ObjectName;
    import javax.naming.InitialContext;
    public class JMXWrapper {
        private static JMXWrapper instance = new JMXWrapper();
        private String domainName;
        private String managedServerName;
        private JMXWrapper() {
        public static JMXWrapper getInstance() {
            return instance;
        public String getDomainName() {
            if (domainName == null) {
                try {
                    MBeanServer server = getMBeanServer();
                    ObjectName domainMBean = (ObjectName) server.getAttribute(getRuntimeService(), "DomainConfiguration");
                    domainName = (String) server.getAttribute(domainMBean, "Name");
                } catch (Exception ex) {
                    System.out.println("Caught Exception: " + ex);
                    ex.printStackTrace();
            return domainName;
        public String getManagedServerName() {
            if (managedServerName == null) {
                try {
                    managedServerName = (String) getMBeanServer().getAttribute(getRuntimeService(), "ServerName");
                } catch (Exception ex) {
                    System.out.println("Caught Exception: " + ex);
                    ex.printStackTrace();
            return managedServerName;
        private MBeanServer getMBeanServer() {
            MBeanServer retval = null;
            InitialContext ctx = null;
            try {
                //fetch the RuntimeServerMBean using the
                //MBeanServer interface
                ctx = new InitialContext();
                retval = (MBeanServer) ctx.lookup("java:comp/env/jmx/runtime");
            } catch (Exception ex) {
                System.out.println("Caught Exception: " + ex);
                ex.printStackTrace();
            } finally {
                if (ctx != null) {
                    try {
                        ctx.close();
                    } catch (Exception dontCare) {
            return retval;
        private ObjectName getRuntimeService() {
            ObjectName retval = null;
            try {
                retval = new ObjectName("com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
            } catch (Exception ex) {
                System.out.println("Caught Exception: " + ex);
                ex.printStackTrace();
            return retval;
    }I then created a simply test JSP to call the JMXWrapper singleton and display retrieved values:
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page import="com.yourcompany.jmx.JMXWrapper"%>
    <%
       JMXWrapper jmx = JMXWrapper.getInstance();
       String domainName = jmx.getDomainName();
       String managedServerName = jmx.getManagedServerName();
    %>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JMX Wrapper Test</title>
        </head>
        <body>
            <h2>Domain Name: <%= domainName %></h2>
            <h2>Managed Server Name: <%= managedServerName %></h2>
        </body>
    </html>

  • Can an AIR application be packaged and launched from inside a Native Android Application

    Hello,
    I work for a company that has an AIR application/game.  We are currently developing an Android native application and would like to strip out the AIR game and include it with the native application, we would like to be able to launch the game from within the native Android application.  How would this be done?

    no p. )
    [UIApplication sharedApplication] its most cool thing in xcode that allow make native windows over adobe air

  • Microsoft Office can't find your license for this application - multiple copies of Office 2013 x32 failing to start, Software Protection Service timing out

    We're experiencing a growing problem with our users in several different domains running in to Microsoft Office 2013 x32 'activation' issues.  We use KMS for licensing, which works properly, but some of the machines (~20-30 out of 1000+) sporadically
    throw the following error:
    'Microsoft Office can't find your license for this application.  Microsoft Office will now exit.'
    We know it's not an issue with the licenses per se, since they work on and off and we can force KMS activation correctly / talk to the KMS servers.
    It appears to be an issue with the Software Protection service not starting properly.  In Event Viewer, we see the following:
    'Software protection service failed to start due to the following error- the service did not respond in a timely fashion.
    Event 7000'
    This is occurring on a variety of machines in a variety of environments, all fully patched with the latest Office updates.  It's inconsistent, and the 'manually restart the Software Protection Service' solution is not viable as it's occurring on many
    different workstations.  Office repairs have also been unsuccessful.  
    Has anyone else come across this? Or have any idea why the Software Protection Service might be sporadically failing?  Maybe an Office update in the last 2-3 months?
    Thanks for any info.

    We're experiencing a growing problem with our users in several different domains running in to Microsoft Office 2013 x32 'activation' issues.  We use KMS for licensing, which works properly, but some of the machines (~20-30 out of 1000+) sporadically
    throw the following error:
    'Microsoft Office can't find your license for this application.  Microsoft Office will now exit.'
    We know it's not an issue with the licenses per se, since they work on and off and we can force KMS activation correctly / talk to the KMS servers.
    It appears to be an issue with the Software Protection service not starting properly.  In Event Viewer, we see the following:
    'Software protection service failed to start due to the following error- the service did not respond in a timely fashion.
    Event 7000'
    This is occurring on a variety of machines in a variety of environments, all fully patched with the latest Office updates.  It's inconsistent, and the 'manually restart the Software Protection Service' solution is not viable as it's occurring on many
    different workstations.  Office repairs have also been unsuccessful.  
    Has anyone else come across this? Or have any idea why the Software Protection Service might be sporadically failing?  Maybe an Office update in the last 2-3 months?
    Thanks for any info.

  • How to get First Occurnece of SubString from any string using SharePoint Designer Workflow in SharePoint Online 2013(Office 365)

    Hello All,
    I am facing Problem in SharePoint Designer Workflow. The Problem is that while replacing some subtstring with Space from a string which contains item like {Test, Test, Test, Test}, It replaces all items.
    Below two line we are using in Workflow.
    Can any body suggest some soultion for Finding first ouucrence of ", " so that we can replace only first value from string not all. When String values are different then getting proper values but if String values are same with comma
    seperated then it replace all values.
    Please some body help and your help will be heighly appriciable.
    Thanks in Advance.
    Thanks,
    Vivek Kumar Pandey   

    Have you tried to use Regular Expressions instead of Replace?
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • How do I select a spy menu from inside an AP div?

    Hi, I'm new to dreamweaver (2nd day) and am having trouble manageing to select my menu so I can assign links to it in the properties section. I can click on the AP div, which I put it in, and I can click inside each menu button and I can click to highlight each button but the blue tag in the top left corner, which normally appears when you mouse over the menu is not appearing anymore. Is there another way of selecting it?
    Thanks.

    View > Style Rendering > un-tick Display Styles.  This turns off CSS rendering in Design View.
    That said, it's not a good practice to use APDivs for primary layouts.  Why?  Because APDivs are removed from the normal document flow and positioned absolutely where you stick them.    This can produce unexpected results when viewed in browsers and viewport is re-sized.
    http://apptools.com/examples/pagelayout101.php
    Best practice for 98% of layouts is to use default CSS positioning (static or unspecified).  Then add CSS margins, padding and floats to align elements on your page.
    HTML & CSS Tutorials - http://w3schools.com/
    Learn CSS positioning in 10 Steps
    http://www.barelyfitz.com/screencast/html-training/css/positioning/
    How to Develop with CSS?
    http://phrogz.net/css/HowToDevelopWithCSS.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • How to load Microsoft Media Center TV from inside of Touchsmart application

    Hello,
    I would like to be able to launch Microsoft Windows Media Center from within Touchsmart software, however I seem not to be able to add the Windows Media Center application to the list of "Targets" in Touchsmart, actually I would have thought this would be already listed as a Target - but it's not....
    In anycase, I tried to manually add it to my Target field but I get an error message in pink bouncing stupidly at me saying
    "The target entered is not valid. Please check the spelling and enter the target again." 
    Here is what I did and would expect it to work, but doesn't - mind you if I enter this from the start->run command or from within a shortcut, the command works, it loads up and runs the TV bypassing the Media Center startup menus....
    In Touchsmart application,...
    1. Click Personalize
    2. Click Add a Tile...
    3. Click on Program type and then Next button
    4. In Target field type in:
    C:\Windows\EHOME\EHSHELL.EXE /HOMEPAGE:VideoFullscreen.XML /PUSHSTARTPAGE:TRUE
    5. In Title Name enter "TV"
    6. Choose an icon from the Icon list
    7. Click on OK
    (Here is where I get the error mentioned)
    Thanks in advance,...
    HP ENVY 17-j005tx Notebook, HP ENVY Recline 27-k001a, HP ProLiant MicroServer Gen8 G2020T, HP MediaSmart EX495 Server, HP MediaVault 2020, HP ENVY 120 AiO Printer
    This question was solved.
    View Solution.

    I think I see what you mean,...
    When adding a new Tile, there is no Advanced option available - right? "Now don't go telling me that there is and advanced option there" I'll kill myself if there is lol
    So what you are saying is that you need to add only the command in the target without the parameters when adding a tile - only then you'll be able to save the tile right?
    Once the TV tile is saved, you can then go back and Edit the Tile and in the Edit Screen you now should see there is an Advanced options where you can add the Parameters separately from the target.
    Logically thinking though they should have the parameter field in the add tile option, or provide an advanced option as they do in the edit tile - you shouldn't have to go back to edit the tile you just added to add the parameters...
    Anyway thank you for that - this now works better as I can choose the programs icon instead of the default range...
    However for the sake of the interface the add tile really should include the parameters so that it makes it a lot more intuitive to the user when adding a new tile...
    Message Edited by JimT on 12-11-2008 03:23 PM
    HP ENVY 17-j005tx Notebook, HP ENVY Recline 27-k001a, HP ProLiant MicroServer Gen8 G2020T, HP MediaSmart EX495 Server, HP MediaVault 2020, HP ENVY 120 AiO Printer

  • XSL-How to get value of a variable from inside loop-- to the outside loop?

    Pls help
    hi im currently working on this xsl file..
    This works on generating a txt file,my problem right now is
    ' how can i get the value of a variable generated from the inside forloop,
    i have to get the total,sum value of this variables after performing the loop
    ***this is the for loop
    <xsl:for-each select="OutboundPayment">
    <xsl:variable name='id' select='generate-id(OutboundPayment)'/>
    <xsl:sort select="PaymentNumber/CheckNumber" data-type="text" />
    <xsl:variable name='PValue' select='format-number(100*PaymentAmount/Value,"0000000000000")'/>
    <xsl:value-of select='$id'/>
    <xsl:text>D</xsl:text>
    <xsl:value-of select='$DDate'/>
    <xsl:value-of select='$Batch'/>
    <xsl:text>3</xsl:text>
    <xsl:value-of select='format-number(PaymentNumber/PaymentReferenceNumber,"0000000000")'/>
    <xsl:value-of select='format-number(PayeeBankAccount/BankAccountNumber,"0000000000")'/>
    <xsl:value-of select='substring(Payee/Name,1,20)'/>
    <xsl:value-of select='$PValue'/>
    <xsl:variable name='Addend' select='concat($DDate,substring($DAcct,5,5),$Batch)'/>
    <xsl:variable name="LHash">
    <xsl:call-template name="GetHash">
    <xsl:with-param name="A1" select="$PValue" />
    <xsl:with-param name="A2" select="$Addend" />
    </xsl:call-template>
    </xsl:variable>
    <xsl:value-of select="concat('[',$LHash,']')" />
    <!--LHash*i have to get the total amount of this one from the outside loop /---->
    <xsl:call-template name='NewLine'/>
    </xsl:for-each>
    <!--I have to put in here the total value of that LHash/---->
    <!--This is the template on how to get the value of that variable in the inside loop/---->
    <xsl:template name="GetHash">
    <xsl:param name='A1'/>
    <xsl:param name='A2'/>
    <xsl:variable name='TwoSum' select='format-number($A1+$A2,"000000000000000")'/>
    <xsl:variable name='Weight' select='317191314191112'/>
    <xsl:call-template name="WDigit">
    <xsl:with-param name="Cnt" select="15"/>
    <xsl:with-param name="Sum" select="$TwoSum"/>
    <xsl:with-param name="Wgt" select="$Weight"/>
    <xsl:with-param name="Tot" select="0"/>
    </xsl:call-template>
    </xsl:template>
    <xsl:template name='WDigit'>
    <xsl:param name='Cnt'/>
    <xsl:param name='Sum'/>
    <xsl:param name='Wgt'/>
    <xsl:param name='Tot'/>
    <xsl:choose>
    <xsl:when test="$Cnt > 0">
    <xsl:variable name='Multip' select='substring($Wgt,$Cnt,1)'/>
    <xsl:variable name='Factor' select='substring($Sum,$Cnt,1)'/>
    <xsl:variable name='Prduct' select='$Multip$Factor'/>
    <!--xsl:value-of select="concat($Tot,'[',$Cnt,']')"/-->
    <!--xsl:value-of select="concat($Multip,'x',$Factor,'=',$Prduct)"/-->
    <!--xsl:call-template name='NewLine'/-->
    <xsl:call-template name="WDigit">
    <xsl:with-param name="Cnt" select="$Cnt - 1"/>
    <xsl:with-param name="Sum" select="$Sum"/>
    <xsl:with-param name="Wgt" select="$Wgt"/>
    <xsl:with-param name="Tot" select="$Tot+$Prduct"/>
    </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
    <xsl:variable name="Rem" select="$Tot mod 11"/>
    <xsl:variable name="Chk" select="11 - $Rem"/>
    <xsl:value-of select="format-number(concat($Tot,$Chk),'00000')"/>
    </xsl:otherwise>
    </xsl:choose>
    <xsl:template name='GetTotal'>
    </xsl:template>
    Thanks in advance for those who are willing to help.
    -Leighya

    It would have helped if you had posted your code as CODE but as it is, I could hardly read it. My guess about what you are asking is, if you want a template to return a value, just write that value to the result stream inside the template.
    If that wasn't what you were asking, then please post your code in a readable format.

  • How do you choose a particular Channel from an Advise.vi to perform an Array Max & Min.vi on that particular channel only?

    Reading all the channels for a FP-AI-100 through an Advise.vi but I need to read the Max & Min from channels 0 & 1. How is this done?
    Thanks

    The easiest way is to use two copies of the Index Array function. You would wire the output from FP Advise.vi to the n-dimension array input of both Index Array functions. For channel 0, you would use the an index value of 0 (on the first Index Array) and for channel 1, you would use an index value of 1 (on the second Index Array). Alternatively, the Index Array function is what is called a growable array function, you can drag the bottom of the node downwards, adding outputs. In this case, you can set it for two outputs and only use one copy of the Index Array.
    Considering that you are relatively new to FieldPoint and LabVIEW, I recommend that you consider using the FP Read.vi instead of the FP Advise.vi. The FP Advise.vi is a more advanced version of the
    FP Read.vi and has more "gotcha's" in its use. To save yourself some debugging headaches it may be easier to use the FP Read.vi. The single biggest difference in coding between the two is that an FP Advise.vi in a loop, automatically times the loop, whereas an FP Read.vi in a loop requires a timer such as Wait Until Next ms Multiple.vi.
    Regards,
    Aaron

  • How to send a message(apple event) from mac os to our application

    on developer.apple.com i found a method which opens a given documetns through an apple event.
    my question is how to send open document event from mac to our application on xcode

    Assuming you're using Cocoa, the simplest solution is to call -[NSWorkspace openFile:withApplication:]. Example:
    NSWorkspace *ws = [NSWorkspace sharedWorkspace];
    NSString *appPath = [ws absolutePathForAppBundleWithIdentifier: @"com.apple.textedit"];
    [ws openFile: @"/path/to/file" withApplication: appPath];

  • How can I execute a  .bat  file from inside a java application

    I have a .bat file which contains an executable file(.exe) and some input and output file names. What commands can I use to execute this bat file from my java application.

    After raeding tkleisas' reply; i am trying to invoke another application (which can be invoked from the command line) by using a batch file and trying Runtime.exec for executing a batch file.
    My current code is:
    Runtime runtime = Runtime.getRuntime();
    Process trialProcess;
    trialProcess = runtime.exec("cmd.exe /C start C:\\guns.bat /B");
    And my guns.bat looks like:
    cd C:\CALPUFF
    echo trial
    start calpuff.exe CALPUFF.INP
    This is not working for me and i get the following in the error stream of the trialProcess:
    Error :
    The system cannot execute the specified program.
    Process finished with exit code 1
    Has anyone come across something like this and know what's wrong with this one??
    thnx

  • How can I make the Counter move from inside text box to inside Footer?

    I am tweaking a page. At this point, I cannot move the Counter and the Email Me icon from the bottom of the text box to inside the footer like someone here said he does.
    Why do the Counter and the Email Me icon resist being moved?
    I am in Graphics mode. I never had this problem before.
    — Lorna in Southern California

    Lorna,
    I'm not sure why you can't move it down into the
    footer — by inside the text box, do you mean the page
    "content" or "body" section, or did you somehow get
    the icons into a text box? I know that you can
    "force" a text box into the footer (or header) by
    selecting it, then dragging it while holding the
    command (Apple) key down at the same time.
    Hope this helps.
    Bob
    Bob,
    When I say Text box maybe I am not using the right word. I am referring to that entire space on the page which is dedicated to receiving documents or images. If you have a lot of pictures or words, then that text box/space has to be lengthened to accomodate.
    I am saying that the two icons -- Counter and Email Me -- are sitting (or were sitting. It's morning now and honestly, I can't recall from last night!) at the very bottom of the text box/space.
    I made a Footer (55 pixels) specially to accomodate the Counter and Email icons. The problem, as stated, was/is that those icons would not budge from where they were sitting.
    — Lorna in Southern California

  • How do I delete my iCloud account from my iphone 4s when I don't know the password to that account?

    someone has changed contact mail id appple? I forgot security question? help me please....

    If you can't reset password - contact Apple, may be they can help you if it is your account.

Maybe you are looking for

  • Error while running a trusted application in OC4J

    I have created a trusted application to access the CDB and I can directly run this application in the Embedded OC4J and get the right result. The login code is : public ManagersFactory loginCDB(){ FdkCredential credential = new S2SFdkCredential( "orc

  • Returning Error Code in Fault Response Message

    Hi There, Here is the background: We are using Security Interceptor component of BPEL PM for handling security procedures. We have extended the default ACLManager and provided the custom access control checks. The method overridden in the custom sub-

  • SAP NetWeaver 7.02 Kernel

    Hi, I have very little knowledge on SAP net weaver portal content development. Can any body help me  how to install Netwevare with Finical module. The master installation DVD detail is as under. Dvd Number is 51039352 NW 7.02 Kernel 7.20 OS/400, Wind

  • Lion, mail 5.0 and PDF problem

    Hi guys, I've got couple of problems with sending PDF files: (my OS is in finnish, so the translations are not accurate, but you get the picture) a) from print-pdf-send to mail. The PDF attachment is visible in the mail to be sent, but when you write

  • Where is the file I dragged from iTunes to my iPad?

    I drag a PDF file to the iPad icon in iTunes. But I can't find it on the iPad with Adobe Reader or iTunes.  What have I done wrong?