Store object location to reuse later

Hi, I want to know if it is possible to do this to objects?
I create a new window when the user clicks on a button (eg window WINDOW1 = new window.....) They can create as many as they want.
** I need to store the location of the current object that I have just created. (EG the object is the window that has been created)
** So I can then use the stored location to use that object again. (As the user created as many windows as they want)
I'm unsure how I go about storing the location of the object and then re use it.
Any ideas?

Shibby wrote:
Hi, I want to know if it is possible to do this to objects?
I create a new window when the user clicks on a button (eg window WINDOW1 = new window.....) They can create as many as they want.
** I need to store the location of the current object that I have just created. (EG the object is the window that has been created)
** So I can then use the stored location to use that object again. (As the user created as many windows as they want)
I'm unsure how I go about storing the location of the object and then re use it.
Any ideas?You could simply hide the object (window) that has been created.
This way garbage collector wont dispose of it, and the location will be saved too.

Similar Messages

  • Object location manager

    Hello !
    Context :
    You can register for an instance with a name in the object location
    manager.
    Later, you can obtain a proxy on it with the bind method of the
    objLocMgr.
    You need the name of the instance you want to bind.
    The name is structured with / (like directory on hard disk).
    Inside an application it is OK.
    Problem & questions :
    Bind an instance from another application. How is the syntax of the
    name ?
    If an application A provide an soA. How can I bind it from an
    application B ?
    How to bind an instance of an application A inside an application B ?

    Jeanne,
    I liked your approach to getting around the
    deserialization error problem. Please clarify if this is
    what you had in mind :
    1) Every Client does a 'bind' on start-up.
    2) Every Client does a de-register when they log-off.
    If the answers to the points above are 'yes', I'm not
    sure what the implications are from a performance
    standpoint on a environment with a large number of
    users, including mobile ones.
    There was a design pattern presented at the Forum (I
    can't remember which one) which talked about having a
    remote SO do the bind to various SO's and Clients get a
    reference to the <<realSO>> proxy via this remote SO.
    Somewhere in the pattern was a way to get around
    deserialization errors, but I just can't remember how !
    Thanks.
    Eric
    Sorry to be late jumping into this thread - I've been chasing other
    issues the last couple days.
    I did not get to see <bigger>Fabrizio Genesio's presentation at Forum,
    although I certainly wanted to, because his topic was somewhat similar to
    mine. And Ravi's comments about de-coupling and making plug and play
    components almost sound like they came out of my abstract.
    Yes, Geoff, you can remove the supplier plan, bind to a distributed
    service dynamically at run time, and not get a deserialization error.
    There are a couple of tricks, but the code attached illustrates that it
    works.
    When you create your interface, also create a "dummy" or generic class
    that implements that interface. I like to put the dummyClass and the
    interface in the same library, because when you need one, you usually
    need the other. The dummyClass should have no "real" code, and no
    supplier dependencies. Just put in do-nothing methods that implement all
    of the interface methods, and return nil or zero where needed, so you
    don't get compiler warnings.
    Then create the real implementation in a separate project, which has the
    interface library as a dependency. The realClass must be a subclass of
    the dummyClass that is in the interface library. This is essential to
    make the dynamic binding work without the supplier dependencies. This
    service project does NOT need to be a supplier to the client. All the
    client needs is the interface library.
    When you instantiate the service, you will instantiate and register the
    realClass. When your client does the BindObject, it can bind to the
    dummyClass, because the realClass "IsA" dummyClass. And you can cast the
    returned object to the interface, because the dummyClass does implement
    the interface.
    The reason you do not get deserialization errors is fairly simple. You
    have essentially created your own proxy using the dummyClass, which
    exists on the client. It does not matter that the proxy has no code,
    because it will never get called.
    The realClass is anchored on the server, and does not need to be
    recreated on the client for any reason. Serialization and
    deserialization do not even occur with the realClass, therefore you get
    no errors. However, if you try to send the client a reference to the
    realClass, other than by way of the BindObject, then you most certainly
    will get the dreaded deserialization error.
    Hope this helps,
    Jeanne
    </bigger>At 07:23 PM 5/20/99 -0500, you wrote:
    >
    >
    -----Original Message-----
    From: [email protected]
    [mailto:[email protected]]
    On Behalf Of Geoff Puterbaugh
    Sent: Thursday, May 20, 1999 2:03 PM
    To: Kalidindi, Ravi CWT-MSP
    Cc: 'Jean-Baptiste BRIAUD'; '[email protected]'
    Subject: Re: Object location manager
    When I tried this, it didn't work. Aside from the
    fact that you can't dynamically load interfaces,
    to the best of my knowledge (but you can dynamically
    load classes which implement interfaces), the
    suggested scheme simply fails.
    But you have to be careful about what you're doing.
    You have to really REMOVE the supplier plan for
    the service object you're trying to reference,
    and you have to create real applications which
    are running outside of the repository. At least
    two separate applications which are running from
    distributions, not the repos.
    If you do that, you'll find that BindObject
    works just fine, but assigning the object
    returned by BindObject to the interface will
    produce a run-time error: 'This class does
    not implement this interface.'
    I can send or publish some code which demonstrates
    this failure if you like. I'd be delighted to
    learn that I've made a mistake somewhere.
    But my theory is that once you remove supplier
    plan A from the application, Forte no longer
    includes plan A in the application distribution,
    and so your application at run-time just has
    no information about class A or SO A.
    All my best,
    Geoff
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive<<URL:http://pinehurst.sageit.com/listarchive/>
    >
    >
    >
    =========================================
    Jeanne Hesler <<[email protected]>
    MSF&W Software, Product Development
    (217) 698-3535 ext 207
    http://www.msfw.com
    =========================================
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • HT5290 When I try to update software such as pages, etc. this error message comes up:  There was an error in the App Store. Please try again later. (20)

    When trying to download updates for Pages etc, I get this error message:  There was an error in the App Store. Please try again later. (20)

    Hello almauck,
    Thank you for the details of the issue you are experiencing when trying to update Pages on my iMac.
    I recommend signing out of the App Store and signing back in and then trying the update again:
    Sign out
    Choose Store > Sign Out.
    Sign in using an Apple ID
    Choose Store > Sign In, or click Sign In in the Quick Links section. The Quick Links section is located in the right part of the window shown when you click Featured, Top Charts, or Categories in the toolbar.
    Enter your Apple ID and password, and then click Sign In.
    Mac App Store: Sign in and out
    http://support.apple.com/kb/PH11499
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Unable to Update iPhoto after upgrading to Maverick.  Error "There was an error in the App Store. Please try again later. (20)".  Please help.

    Hello,
    I just updated my software to Mavericks and I have been trying to update iPhoto on my system without success.  Error from App Store is "There was an error in the App Store. Please try again later. (20)".
    Can anyone help with this please.
    Thank you.

    Try this:
    Make sure this checkbox is checked in the System/Sharing preference pane:
    If it is, uncheck it and then recheck and try ordering again.
    OT

  • Error while activating Data Store Object

    Hi Guru's,
    When I try to activate a data store object i get the error message :
         The creation of the export DataSource failed     
         No authorization to logon as trusted sys tem (Trusted RC=2).     
         No authorization to logon as trusted sys tem (Trusted RC=2).     
         Error when creating the export DataSource and dependent      Program ID 4SYPYCOPQ94IXEGA3739L803Z retrieved for DataStore object ZODS_PRA

    Hi,
    you are facing a issue with your source system 'myself', check and repair it. Also check if the communication user (normally ALEREMOTE) has all permissions needed.
    kind regards
    Siggi

  • Error message when installing updates. "There was an error in the App store. Please try again later" (20)

    I've been trying to install recent updates for numbers, pages, and keynote, I get a message that says "There was an error in the App store. Please try again later." (20).  I tried several times over the last few days and continue to get the same error  message.
    Kat

    Thank you Catherine & MrToaster - Yes - I've just updated to my new credit card. All the details were correct, inc authorisation code but App Store kept prompting me to update iMovie then, not allowing me to (There was an error in the App Store. Please try again later. (20)).
    Your advice worked - I logged out and in again.
    The problem is that I'll definitely have forgotten your tip when my card next expires!

  • I am trying to download Yosemite. Repeatedly getting message:There was an error in the App Store. Please try again later."

    I am trying to download Yosemite. Repeatedly getting message:There was an error in the App Store. Please try again later."

    That cryptic error message might mean that the payment information in your account is invalid. Check with your credit-card issuer to see whether a charge was denied. If not, see below.
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • When I use my Apple ID for the last 12 hours I get this response:  "There was an error in the App Store. Please try again later. (4)".   How do I get around this?  Try two apple ID's.  Same thing.

    When I use my Apple ID for the last 12 hours I get this response:  "There was an error in the App Store. Please try again later. (4)".   How do I get around this?  Try two apple ID's.  Same thing. 

    What does it mean when I get...: Apple Support Communities
    'there was an error in the App Store....: Apple Support Communities

  • What does it mean when I get "there was an error in the App Store. Please try again later. (4)"?

    What does it mean when I get “there was an error in the App Store. Please try again later. (4)”?

    Sign out of the Mac App Store via the Store menu
    Quit the Mac App Store
    Log out of your Mac OS X user account (from the Apple menu)
    Log back in to your user account
    Launch the Mac App Store, sign in, and try downloading again
    You should be able to download any app trouble free now. If you still have problems, reboot your Mac.

  • HT1725 Why cant download from apple store? "There was an error in the App Store. Please try again later. (100)"

    Why cant i download application from apple store, they said :There was an error in the App Store. Please try again later. (100) and they suggest : Contact iTunes Support at http://www.apple.com/uk/support/itunes/ for assistance. pls help me

    Why cant i download application from apple store, they said :There was an error in the App Store. Please try again later. (100) and they suggest : Contact iTunes Support at http://www.apple.com/uk/support/itunes/ for assistance. pls help me

  • We could not complete your request. There was an error in the App Store. Please try again later. (13)

    We could not complete your request.
    There was an error in the App Store. Please try again later. (13)

    I am having a similar problem. I get one of two errors: "We could not complete your request. There was an error in the App Store. Please try again later. (null)" OR "We could not complete your purchase INSTALL_ERROR_DISTRIBUTION_SIGNED_BY_APPLE".
    I am having this trouble on a brand new MacBook Pro running OS X 10.7.1. My firewall is off and no virus software is installed.
    I can download and update apps on a different computer using OS X 10.6.8 just fine.
    Any other recommendations?

  • What does this error mean? There was an error in the App Store. Please try again later. (100)

    what does this error mean? There was an error in the App Store. Please try again later. (100)

    I have the same problem and thought it might be related to moving to Denmark. My app store account was set up for USA and then the error number in parentasis was (13). After changing the profile to Denmark the number changed to (100), like yours

  • I am getting this error: "There was an error in the App Store. Please try again later. (4)"???

    There was an error in the App Store. Please try again later. (4)

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • HT5699 There was an error in the App Store. Please try again later. (100)

    This Message Apper
    When
    I Buy OS x 10.8.5
    There was an error in the App Store. Please try again later. (100)

    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Cookies/com.apple.appstore.plist
    Right-click or control-click the line and select 
    Services ▹ Reveal
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Desktop, leaving the window open. Relaunch the application and test. If there's no change, quit again and put the item you moved back where it was, overwriting the one that may have been created in its place. Otherwise, delete the item you moved.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • TS1424 There was an error in the App Store. Please try again later. (100)

    Just got a new iMac  27inch 3.4ghz and set it up today. Switching from my old G5 2005, Protools HD setup to a Logic Pro environment.
    I have had macs for more then a decade and the same apple ID for about as long. When trying to purchase Logic Pro 9 on the Apple App Store Application, the store won't let me purchase Logic Pro. Neither on the iMac I just bought, nor my older Mac Book Pro for 2007.  I keep getting this same error code dialog box. .
    "We could not complete your request  There was an error in the App Store. Please try again later. (100)",
    I hit okay and then get this. . .
    Please contact iTunes support to complete this transaction.
    I have already done as reccommended and chatted with a tech support person live until we got cut off. I also emailed through the iTunes Support site and am waiting to hear back, just wondering what you all are thinking.
    I already tried going into iTunes and was able to authorize my computer with my apple ID, havn't tried song purchase yet but will.
    I am running the latest of everything, including iTunes f6 and App Store 1.1.2 . . . I am only running OS 10.7.3 and have not updated to 10.7.4 as I have heard there have been problems with logic pro on this version.
    Thanks!
    "nebraskahands"

    I have the same problem and thought it might be related to moving to Denmark. My app store account was set up for USA and then the error number in parentasis was (13). After changing the profile to Denmark the number changed to (100), like yours

Maybe you are looking for

  • Error giving a default value to a date column in the attribute settings.

    When im giving a default value to a date column in the attribute settings i get this error when im running my jsp page (bc4j web application): Error Message: JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value: 31-dic-2099 Ho

  • I'm a newbie, but i need to compile gnomad2

    i read the sicky guide, http://bbs.archlinux.org/viewtopic.php?id=1590, but gnomad2 doesn't appear when i do finde /var/abs/ -iname "*gnomad2*" i know from where i can get it, but where do i put it? that's why i stopped because downloading the pkgbui

  • Apache message instead of web address HELP?

    This message comes up when I try to access a particular website. I can access the site from other computers but not this one. I have tried various links with no success. Great Success ! Apache is working on your cPanel® and WHM™ Server If you can see

  • Naming Photo's

    Hi, I have quite a few pictures in iPhoto imported from my digital camera. Now some I used in iMovie and it is very easy to pick which photo you want as you can just see them although smaller in the iPhoto option in iMovie. However I wanted to use a

  • How get OBJECT_ID for using ARCHIV_BARCODE_GLOBAL function?

    Hello experts: Do you know how can I get the object_id that I must fill for using ARCHIV_BARCODE_GLOBAL function? Please any help is very helpfull. Best regards and thanks in advance for your time. Miriam