Using the instance manager to control subforms at run time

Hi,everybody.
I encountered a question when I put the code "subFormName.instanceManager.addInstance(1);"
into the subForm's initialize event to dynamic create a new subForm(it's a XDP document).It create 3 new subForms below the original subForm,but when I put the same code into a button's click event or save the document as "Acrobat 7 (static) PDF Form" format,it's all right.what's wrong with it?
I need your help.
Best regards.

There are some restrictions concerning what one can do in each event. I imagine that you can't add instances into a subforms initialize event. If you need three more instances to show, set the minimum on the Object Binding tab to four.

Similar Messages

  • Acrobat crashes when using the Instance Manager

    I am using Designer 7.0/Acrobat 7.0.1 on Win XP SP 2 (and tested on two other machines with the same config), and also Mac OS X 10.3.9 with Acrobat 7.0.1.
    The crash occurs when my script tries to hide a subform, but only when the script is called from a Drop-Down List. I have mocked up a brand new PDF and the problem is still there:
    http://members.optusnet.com.au/machelp/crash.pdf
    If you click the Show/Hide Subform buttons it works fine. If you choose an item from the List Box it shows the subform correctly, and then choose one of the 'Other Mag' items and it hides the subform correctly. Do the same process with the Drop-Down List and it is guaranteed to crash when you choose an 'Other Mag' item (which should hide the subform). The Mac has no problem with crashing at all!
    The crash message (that appears after the 'Send feedback to Microsoft' message is 'The instruction at "0x2d864aa2" referenced memory at "0x00000008". The memory could not be "read". Click on "OK" to terminate the program.' This exact error happens on all PC's that I tested on, in Acrobat Pro or Reader.
    Can someone please help me identify if this is a bug in Acrobat or is there something I'm not doing right?
    Many thanks in advance, Mike.
    PS. Also Designer crashes
    i a lot
    when laying out forms. Does this happen to anyone else?

    I would send this to Adobe Support.

  • Can I use the Profile Manager as an MDM while distributing app through app store?

    Is it possible to use the Profile Manager within the OSX Server to provision profiles through apps purchased in the app store? 
    Ex:  userX buys app in the app store, in downloading the app they get enrolled in the MDM / OSX Server I control.  They select profile settings within my app and submit to OSX Server (Profile Manager) at which point I send back OTA the provisioned profile for them to upload.
    Ex:  https://itunes.apple.com/us/app/parentkit/id600618138?mt=8
    Thanks for the feedback!

    Is this not possible?  Is it possible but not allowed? 

  • Using the transition manager on a movie clip prevents me from physically moving it after that

    Hi,
    I'm using the transitions manager to animate certain objects
    in my movie. let's say I'm using it on a ball - using the following
    code:
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    function zoomIn(_mc) {
    new Tween(_mc, "_xScale", Bounce.easeOut, 0, 100, .3, true);
    new Tween(_mc, "_yScale", Bounce.easeOut, 0, 100, .3, true);
    function zoomOut(_mc) {
    new Tween(_mc, "_xScale", None.easeIn, this._xscale, 0, .05,
    true);
    new Tween(_mc, "_yScale", None.easeIn, this._xscale, 0, .05,
    true);
    and then calling it later with this:
    zoomIn(ball_mc);
    That works fine. But at a later stage of the movie I then try
    to move the location of the ball - not with code but by adding a
    key frame and physically moving it's location. When I play the
    movie back it does not show that it moves.
    I'd really just like to know why this is!
    Thanks,
    Ray

    I think that once the Tween plays, the ball_mc, now resides
    in it's final resting place, it might do this with all instances of
    the mc, interesting though. I would have thought the same, maybe if
    you move it and give it a different instance name it will not
    effect the position on the new keyframe.

  • Using the Security Manager to restrict access to a single package

    After reading up on the Security Manager, the package.access property and the use of the [accessClassInPackage RuntimePermission|http://java.sun.com/javase/6/docs/technotes/guides/security/permissions.html#RuntimePermission] , it seemed to me that it would possible to set up the following: I have a security-sensitive code base packaged in a jar, and I want to make sure that only one client code base that I specify is permitted to access it. The idea here is to prevent malicious code from executing anything in the sensitive code base; the sensitive code is only accessible to one client that I name in a security policy file. Perhaps rather foolishly, I advised a client to consider this before testing out a sample myself, because much to my surprise, it appears to me that it isn't possible to get the Security Manager to do this at all. Am I missing something? I'm a bit startled by this conclusion -- it seems like such an obvious use for the Security Manager, I'm hard-pressed to be believe that it can't be done, and more inclined to suspect that I'm going about it wrong.
    Here's what I thought I could do: set up the package.access property so that it denies access to any package; then in the policy file, grant the RuntimePermission/accessClassInPackage to the client code base that is permitted to access the sensitive code.
    Of course, you wouldn't want the package.access property to exclude all packages in the global java.security file, because then no code could be accessed at all. It would be necessary to use the trick of resetting the package.access property within the code, as [illustrated in the secure coding guidelines|http://java.sun.com/security/seccodeguide.html#1-1a] .
    But the problem lies in the idea of "use the package.access property to deny access to +any+ package". There doesn't seem to be any way to use wildcards or the like with the property -- it has to specifically name packages (or package prefixes) to which access is forbidden. It wouldn't do to try to name the packages to which I'm trying to prevent access, since we're trying to prevent access from malicious code -- the attacker could just choose package names that aren't on the list. I'd really need to say that access is denied to all packages, except for those in the permitted code base, but the security mechanisms for package access don't seem to allow that.
    Moreover, the trick of changing the value of package.access can't be done within the client code -- otherwise, the attacker client would just set the property to his own purposes. But it can't really be done within the sensitive package either, because the whole idea is to prevent access to that package, and by the time it's busy setting the property, it's already too late, because the package has to have been accessed by a client to get there at all.
    It seems to me that this a symptom of something I've never really understood about the design of the Security Manager -- you can grant permissions to specific code bases, but you can't revoke permissions from specific code bases, let alone all code bases. What I want to do here is grant access permission to one specific code base and revoke it from all others. There doesn't seem to be any way to express that with the mechanisms of the Security Manager.
    The more I look at it, the more it seems that there's just no way to use the Security Manager this way -- set up package access so that a specific code base can only be accessed by one specific client code base. There are surely other ways to get the effect that I'm looking for, but as far as I can tell, none of them involve restricting package access (for example: define a custom permission, grant it only to the permitted client. and check against that permission within the sensitive code base; meaning that the sensitive code has to be accessible to anyone in the first place). This conclusion really surprises me (not to mention my bit of embarrassment with the client); wouldn't this be precisely the sort of thing the Security Manager ought to be good for?

    You're looking at this back to front. The security policy file is there for the client to decide how much access he is going to give this application, not for to application to restrict who can use it. If you want to control what used to be called 'state orientation' you can do that directly by looking down the stack trace inside your code.

  • How enable my AMD adapter using the device manager

    The message that comes up after updating my AMD driver is this:
    The Catalyst Control Center is not supported by the driver version of your enabled graphics adapter.  Please update your AMD graphics driver, or enable your AMD adapter using the Displays Manager. 
    I am running Windows 7 Home premium
    HP Pavilion DV 7 notebook pc
    Intel Graphics 3000
    Radeon HD 6490M
    please help

    I'm new to this
    What is the solution?

  • How do I use the Oracle Developer Reporting Control in Visual Basic 6.0?

    I was wondering how to use the Oracle Developer Reporting Control componant in Visual Basic 6.0 to generate reports in Oracle Reports? Any help would be appreciated.

    Hi Rohit,
    Would like to ask you some questions about the oracle report with Visual Basic.
    1. I have a report built in oracle report. Currently there is a Visual Basic program want to pass some parameter to this report. Can Visual Basic program pass the parameter to this oracel report?
    2. Based on yr answer, do i have to installed the oracle report? or just copy and register the Rwsxa60.ocx (i'm using oracle report 6i) in the PC? So can i use this activeX control.
    3. Is this activeX control similar to Crystal report object which can found in VB?
    4. Is there an example/guide on how the Visual Basic pass the parameter to oracel form?
    Your answer will be much appreciated.
    Thanks.
    Regards,
    Hock Leong

  • How can i use the ACL file to control the access from the other website?

    Hello all~
    My Sun one is 6.1 sp3 on Windows 2003 SE, and I am try to use the ACL file to control the access.
    My ACL file is below:
    version 3.0;
    acl "path=my_path_on_HD";
    deny absolute (all)
    (user = "anyone") and
    (dns = "*.my_site.com");
    deny absolute (all)
    (user = "anyone") and
    (dns = "*.other_site.net");
    Once I add the "deny", anyone include my site is decline for vist the path specify in the ACL file. But if remove the "deny", everyone include other one's website can access the file.
    Can anybody tell me how to make it work?

    I think you've misunderstood what the dns attribute is for. The dns attribute returns the hostname of the client accessing your website, not the hostname of the website that linked to your website.
    For example, when someone using the Comcast ISP goes to a malicious website at example.com that loads images from your website at www.amigoo.net, the dns attribute will be something like "c-1-2-3-4.ca.comcast.net", not "example.com". ACLs are used for authentication and authorization of clients (not the websites those clients chose to visit), and they don't provide the functionality you're looking for.
    If I understand correctly, you want to prevent websites other than amigoo.net from linking to files in your d:/webserver/imat/pics_upload directory. You can achieve this adding the following lines to your obj.conf configuration file:
    <Object ppath="d:/webserver/imat/pics_upload/*">
    <Client referer="*~*amigoo.net">
    PathCheck fn="deny-existence"
    </Client>
    </Object>

  • Firefox will not open - I have reinstalled and used the profile manager solution. It was fine earlier today. IE working fine.

    I tried the suggested solutions including the 'clean install', any help would be most appreciated. I've used the Profile Manager, which is not much use when the browser won't even open to test it. I've also reinstalled twice, installed updates and restarted numerous times.
    Firefox does do this on occasion, but usually sorts itself out - not this time.
    Help!

    You should check for malware or go back into regular mode and see if temorarily disabling your antivirus helps.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    '''Scan with all.'''
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.

  • Trying to use the Instance Method

    I'm trying to get the second class to use the instance method in the first class to make some Turtles move around in Triangle shape.
    Class one code:
    public class TryInstanceMethod
    private Turtle t;
    public TryInstanceMethod(Turtle turtle)
    t = turtle;
    public void drawTriangle(int length)
    t.forward(length);
    t.turn(-120);
    t.forward(length);
    t.turn(-120);
    t.forward(length);
    Class two code:
    import java.awt.*;
    public class UseInstanceMethod
    public void main(String[] args)
    World w1 = new World();
    Turtle t1 = new Turtle(w1);
    TryInstanceMethod TM1 = new TryInstanceMethod(t1);
    TM1.drawTriangle(100);
    World w2 = new World();
    Turtle t2 = new Turtle(w2);
    TryInstanceMethod TM2 = new TryInstanceMethod(t2);
    TM2.drawTriangle(200);
    it compiles fine but it will not use the instance method drawTriangle to draw two triangles in two different worlds

    When posting code highlight it and click the CODE button to retain formatting
    fox_1 wrote:
    it compiles fine but it will not use the instance method drawTriangle to draw two triangles in two different worldsSo what does it do instead? We do not read minds and cannot see you computer screen. So you need to provide as much information as possible. Such as the Turtle and World classes.

  • Firefox is running in the background, but the process can't be ended using the task manager?

    The program wouldn't open because it was apparently still running in the background, so I restarted a few times which didn't help. Then I tried using the task manager to end the process but that didn't work either. Then opened the command prompt and used taskkill, then pskill (using the PID number) but neither worked. The problem wasn't with how I was using these commands as they could close any other program I had running, just not firefox.exe*32. Any ideas?

    Try:
    *http://kb.mozillazine.org/Firefox.exe_always_open

  • About 2/3 of the time I leave Firefox, it is evidently retained in memory so I can't restart it without using the task manager. I don't use Norton or Skype programs. How do I keep this from happening?

    About 2/3 of the time I leave Firefox, it is evidently retained in memory so I can't restart it without using the task manager. I don't use Norton or Skype programs. How do I keep this from happening?
    == After I have used Firefox and "closed" it.

    See this:
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • Create a recovery catalog by using the Enterprise Manager Console

    Dear Sirs:
    I am using the Oracle9i database release 2. After installing the management server and running the Enterprise Manager Configuration Assistant, there was no recovery catalog and no CATTBS tablespace created. According to the Help and to your documentation entitled “Oracle Enterprise Manager Configuratrion Guide” this recovery catalog and CATTBS tablespace should be created automatically.
    Of course I am not running any target database on the same machine.
    How can I create a recovery catalog by using the Enterprise Manager Console, and not by using the rman command prompt?
    Please its urgent and I need an answer as soon as possible.
    Thank you in advance with best regards

    Dear Sir:
    Thank you very much for your reply, but unfortunately it didn’t help me. This article is repeating what is mentioned in the Help and the documents that I downloaded earlier. As I said earlier I know how to setup the recovery catalog by using the rman command prompt, but I couldn’t do it by using the Oracle Enterprise Manager Console. By using the wizards it is supposed to be created automatically but nothing of this happened.
    Please I need help urgently.

  • Can I use the new Bing Maps control released in Feb 2015 in my windows store app?

    Can I use the new Bing Maps control released in Feb 2015 in my windows store app?  If not, will there be a release of the store app version that has all or most of the updates that are in the new map control for WPF/Silverlight?

    The FEB 2015 release was for the WPF map control which is for desktop only. There is an existing Bing Maps SDK for Windows Store apps which has a lot more functionality than the WPF map control already. You can find this SDK here:
    https://visualstudiogallery.msdn.microsoft.com/224eb93a-ebc4-46ba-9be7-90ee777ad9e1
    You can find documentation this SDK here:
    https://msdn.microsoft.com/en-us/library/hh846481.aspx
    Also, I have written a free ebook on this SDK here:
    https://rbrundritt.wordpress.com/my-book/
    You can also find lots of code samples here:
    https://code.msdn.microsoft.com/site/search?f%5B0%5D.Type=Topic&f%5B0%5D.Value=Bing%20Maps&f%5B1%5D.Type=Platform&f%5B1%5D.Value=Windows%20RT&f%5B1%5D.Text=Windows%20Store%20apps
    You can also find a bunch of blog posts on this control on the Bing Maps blog. Here is a filtered list of blogs for Windows Store Apps:
    http://blogs.bing.com/maps/tag/windows-store-app/
    http://rbrundritt.wordpress.com

  • Is it possible to use Apple Configurator to do a remote wipe of an iPad? Or must I use the profile manager tool within OS X Server?

    Is it possible to use Apple Configurator to do a remote wipe of an iPad? Or must I use the profile manager tool within OS X Server?

    no apple configurator connects via usb
    you'll need a MDM solution such as OSX server profile manager for remote wipe
    OTA pushing profies remote wipe etc
    you could use icloud for remote wipe

Maybe you are looking for

  • HT5500 I can no longer connect to Facebook via Safari, Firefox and Chrome from Admin account, but I can through the Guest account?  Any ideas?

    For some reason, Facebook is the only site I cannot reach when logged in as Admin.  When I switch to Guest then I can access Facebook.  I've cleared DNS cache. I've reset Safari, etc.  Something is real wierd.  Any ideas?

  • Retraction from BPS

    Hi All, I am currently attempting to use the retractor from BW /BPS to R3  CO_CCA. I have ( I believed ) correctly configured the Planning Function to utilize the functions ZUPR_COST_PLAN_EXEC and ZUPR_COST_PLAN_INIT. Now as I am not using the standa

  • Has anyone got the QT stand alone installer to work?

    OK, Has anyone got the QT stand alone installer to work that has a problem getting IT6 to work also? You can look at my original thread and see what I've been through: http://discussions.apple.com/thread.jspa?threadID=262511&tstart=0 and now am stuck

  • Can no longer find "Go to a page in another document"

    please see attachment The screengrab is from an older version of Acrobat. I use the newest CC version. However, I can no longer find how to access "Go to another page in a document" under Execute menu items for button parameters. Have not used Acroba

  • DW CS3 trial

    I wanted to see if CS3 would run on my new notebook Core Duo 2 with Vista Home Premium? Min requirements say yes. I currently have DW MX on it as well as Expression Web.(I liked the way EW handled CSS but the crashes in the middle of a code session i