CFCS with RemoteObject Pathing

Hello
What is the way to corrrect path access CFCs with RemoteObject? I'm so frickin frustrated I have no hair left.
Look at the post in this forum I believe I'm not the only one. However, no Adobe can post a simple answer.
No matter how I see my fully qualified parent cfc, I get the message to standard error that it cannot find the component.

I use the last grazing available on Adobe site CF 7.02 and autonomous FB2. My flex working directory is the default value.

Can you please explain in plain simple English the correct way to way a cfc with FB2 and < mx:RemoteObject / >

aaaaarrrrrggggggg!

Thank you

Peter,

2 things you have posted above should be defined to get this working for a typical Web Server installation.

1.) open the services - config.xml in C:\CFusionMX7\wwwroot\WEB-INF\flex\ file
find and change the value of

http://{server.name}:{server.port}{context.root}/flex2gateway/"class="flex.messaging.endpoints.AMFEndpoint"/ >
TO
http://localhost/flex2gateway/"class="flex.messaging.endpoints.AMFEndpoint"/ >
Port number is optional, 80 is default as usual.

(2.) in FlexB right click your project folder, and then click Properties > flex compiler
and paste this line into the area of additional args.

-services "C:\CFusionMX7\wwwroot\WEB-INF\flex\services-config.xml" - local en_US.

That's all!

However, I believe that there are bugs in FB2 to watch. When you change the properties and click on apply. The flex build path likes to reset the output folder of
c:\cfusionmx7\wwwroot\bin which will then cause your page does not and you get a 404 error in the browser. You will need to make sure that reset you the path to your projects output folder again.

These issues with Remoting are the reasons why all the FLEX examples show that how in the cfroot rather than in your webroot.

Thanks for your help Peter. See you soon!

Tags: Flex

Similar Questions

  • AIR of CFCS with RemoteObject

    I have problems of access to a CFC on my local server to ColdFusion from an AIR application.  I get an error that I can not connect to http://localhost:8501 / flex2gateway /

    I know that my CF8 server runs.  I've already activated Flash remoting in the administration console see

    Here's my MXML application file, located in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Test2\src:

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:WindowedApplication ' http://www.Adobe.com/2006/MXML "layout ="absolute"creationComplete =" init () "> "
    < mx:Script >
    <! [CDATA]
    Import mx.rpc.events.FaultEvent;
    Import mx.rpc.AsyncToken;
    Import mx.controls.Alert;
    Import mx.rpc.events.ResultEvent;

    private function init (): void
    {
    var token: AsyncToken = service.getdata ();
    token.addResponder (new mx.rpc.Responder (resultHandler, faultHandler));
    }

    private void resultHandler(result:ResultEvent):void
    {
    Alert.Show (result. Result.ToString ());
    }

    private void faultHandler(fault:FaultEvent):void
    {
    Alert.Show (Fault.Fault.ToString ());
    }
    []] >
    < / mx:Script >

    < mx:RemoteObject id = 'service '.
    " endpoint =" http://localhost:8501 / flex2gateway / "
    destination = "ColdFusion".
    source = "test1.messageService" / >

    < / mx:WindowedApplication >

    Here's my CFC which is C:\ColdFusion8\wwwroot\Test1\messageService.cfc

    < cfproperty >
    < name cffunction = "getdata" access = "remote" returntype = "string" >
    < cfreturn "it's the return message" >
    < / cffunction >
    < / cfproperty >

    "' Delete the last / endPoint ="http://localhost:8501 / flex2gateway"

  • CFC and RemoteObject

    I currently have an application that calls a CFC via RemoteObject, and results are the filling of a datagrid control. How can I pass an argument to the CFC and then reload the new data. Basically, I need to be able to modify the WHERE clause in the query of my unit based on the user action.

    No spachehog your method name must remain unchanged, you send the arguments when you call the Number, so let's say that your application calls the Office receiver in a button, the code will look like this with a parameter binding.

  • Problem with current path function screws...

    Hello world...

    Yesterday my application suddenly started to behave in a weird way...

    I have a Sub VI, in which I currently have function of path of screws. I created my app executable. launched and observed the current path of screws gives me some stupid trail all of a sudden.

    It should give me...            Program files\application\app.exe\subVI.vi

    but I'm files\application\app.exe\D:\Application name\sub directory\subvi.vi program

    "D:\Application name\sub directory\subvi.vi", this is the path where the real VI was located on the development computer

    While preparing the exe, I have selected "same as appellant" in the destination domain.

    and you know what?... This occurs only for a project.all other applications are very well... and still I created a test project and tried to reproduce this problem in that. but I'm way in the test EXE project...

    I don't know if I'm the first person to get that kind of weird error with current path of screw...

    I solved my problem at present using the property node: App Dir that I just wanted to know where my EXE is installed...

    Thank you

    Anil

    You're running in one of the new features in LabVIEW 2009. In order to solve the problem where by LabVIEW could end up having tons of screws outside the executable if LVLib or LVClasses was used, NOR changed the internal structure of a LabVIEW EXE to have folders rather than just a flat file list. This is a great advantage if your like me and use classes and lvlibs, but means that the old logic for dynamically calling screws must be changed a bit

    If you want the old behavior, check the advanced settings in the build definition and look for a setting called "8.x File layout" (or something like that).

  • How to create a shortcut with relative path

    Hi all

    I'm a Linux user, so I don't have enough experience to solve this problem.

    How can I create a shortcut with relative path?

    Usually it is easy to create a shortcut with the absolute path for example:
    Windows accepts shortcut path with absolute c:\bin\app.exe, but he does not accept the following relative path:
    .\bin\app.exe

    Hi mbnoimi,.

    Thank you for using the Microsoft Answers Forums!

    To make a shortcut path parent here is a simple solution. Create a shortcut to cmd.exe running the start command to open the current directory. Then set the MDC in the
    The shortcut properties.

    Follow these steps:

    Make a new shortcut to: cmd.exe /c start.

    Now, right-click on it and get the properties of the shortcut (shortcut tab).

    The shortened full path must have been set to this:
    %windir%\system32\CMD.exe /c start.

    Set the directory to "start in" (i.e. DLG) to be a relative path:
    (Example for a shortcut on the desktop

    )
    ...\SendTo

    Click on "change icon...". "and set" look for icons in this. "
    "file:" to:
    %SystemRoot%\system32\shell32.dll

    and press ENTER. Standard folder icon will probably be in the
    bottom right.

    Now you can copy this file and simply change the "start in:" directory
    to book new related shortcuts.

    NOTE: The steps above are just an example so try this at your own risk. And check if it works.

    Hope this information was useful.

    Let me know if it worked.

    All the best!

    Thank you and best regards,

    R uma - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Creating a shortcut with relative paths

    I'm trying to set up a folder so that I can copy a group of files from USB drives, and I want to place a shortcut to open the Powerpoint Viewer into a subfolder of this folder to copy.   When I put in place a regular shortcut, it creates the full path: 'C:\Users\xx\Documents\Thumb Drive Files\With CAD Drawings\Product présentation Files\pptview.exe training', and when they are copied on a USB key, it will not work because it seeks the path 'C:', rather than the relative path in the folder, \With CAD Drawings\Product Training Presentation Files\pptview .exe.  I don't remember how to set this up with relative paths.

    You can't go with shortcut, you use a batch file on the root of the drive that has an order of relative path for the first command in it.

  • How to add several tracks with offset path?

    Hello

    I would like to create a script that can create multiple strokes with offset path (incremental or material (user will enter value))

    Is it possible to add several traces? I have found no examples in the script reference or elsewhere.

    Note: Mixtures does not give exactly the same results because sometimes especially when you are dealing with fonts outline paths is to be wrongly mixed a way.

    I'd be happy if someone give at least the main command loop.  I'll try to rest and will share here because I find the solution.

    Thank you

    Best regards.

    question.jpg

    OK, I'm going to assume your sub windows through the capture in the opening screen post.

    This is a completely different approach.

    This example uses executeMenuCommand so is only compatible with CS6 +.

    and Windows is only used from VB

    //-------------------------------------------------------------------
    
    // Offset Path in apperence panel
    
    // Script by Qwertyfly
    // contact [email protected]
    // version 0.1 beta
    
    //-------------------------------------------------------------------
    
    //number of offset paths
    var Qty = 5;
    
    //amount to offset
    var Offset = -5;
    
    //units to offest in
    var Unit = "px"; 
    
    //time to wait in milliseconds before sending keys.
    // more time is slower but more stable
    // I was able to run this with it set to 0, but a little bit of a pause is a good idea.
    var wait = 10;
    
    //-------------------------------------------------------------------
    function FillDialog_Windows(distance){
        var VB = [
            'WScript.Sleep ' + wait + '',
            'Set WshShell = WScript.CreateObject("WScript.Shell")',
            'WshShell.SendKeys "' + distance + '"',
            'WshShell.SendKeys "{ENTER}"'
            ].join('\n');
        var VBgo = new File('~/go.vbs');
        VBgo.open('w');
        VBgo.write(VB);
        VBgo.close();
        VBgo.execute();
    }
    function MakeStroke(offset){
        app.executeMenuCommand('Adobe New Stroke Shortcut');
        FillDialog_Windows(offset);
        app.executeMenuCommand('Live Offset Path');
    }
    
    for(var i = 1; i		   
  • Max nested levels reached on item with RemoteObject

    Hello:

    We have an application that uses RemoteObject (with AMFPHP) connections to send a custom PHP class object. This object has several levels deep, with objects nested inside the main one. We have noticed that, after having reached a certain level, the RemoteObject accidents serialization throw this error:

    TypeError: Error #1034: Type coercion failed: cannot convert Object@7e30f89 to mx.messaging.messages.IMessage.

    We tried to send a lighter object, without property, just nested levels. The same thing happens. In the example:

    var params:Object = {};
    params['test'] = {0:{1:{2:{3:{4:{5:{6:{7:{8:{9:{10:{11:{12:{13:{14:{15:{16:{17:{18:{19:{20:{21:{22:{}}}}}}}}}}}}}}}}}}}}}}}};
    remoteObject.runService(params);
    

    If the object has fewer levels, it works:

    params['test'] = {0:{1:{2:{3:{4:{5:{6:{7:{8:{9:{10:{11:{12:{13:{14:{15:{16:{17:{18:{19:{20:{21:{}}}}}}}}}}}}}}}}}}}}}}};
    

    So, it seems that the RemoteObject has a maximum depth of 24 levels? Maybe 23, I m do not know. Sending in JSON is not an option, because I lost all the typed classes and objects inside the main object.

    Can anyone provide a good approach to deal with this problem?

    Thanks in advance!

    Solved: http://stackoverflow.com/questions/22936444/max-nested-levels-reached-on-object-sent-with-remoteobject

  • Is it possible to make a button with multiple paths?

    Hello and good day everyone

    I want to make a flash game with a map leading to various locations for example school or beach like this http://www.yotreat.com/sites/default/files/190-160_1286.jpg

    If the player goes to the school she will find the Professor and if the player goes to the beach will be the coach.

    How can I make the player (for example) converses with the teacher at school, back to the main map and go to the beach to talk with the coach, but if she goes to school, even once, dialogue with the teacher is not the same with the first dialogue?

    = > > > It is possible to make a button with different paths to go? As if you watched the a-frame, then you press the same button again need you to part B? < < < =.

    Sorry for my confusing description... I hope you get the idea >, <
    IM so desperate... I searched for articles about this since yesterday and I still can't find one to solve this problem of mine.
    Making games is my dream... I've done a few very simple games, but I want to try a new level of difficulty

    Please help me? (> o <)

    Learn how to design solutions of programming requires learning what tools you have for you and how you can manipulate them according to your needs.  It doesn't matter if you make the games or anything else.

    Only you know the details around your design idea, but there are probably a number of management solutions with a single button to do different things.

    One way would be to use an array of information (such as the numbers of framework/labels) and have a counter that changes values when you use a button and this counter is used to index to select an element in the array.  So when you start the meter/index is 0, and he chose the images [0] table frames.  During treatment the counter/index is incremented by 1 so that the next deadlines [1] is selected.

    This same kind of approach could be used to keep track of how far went into a series of interactions, such as when you want to have a conversation with a character pick up where it left off instead to start over again.

    The key to everything that is store/keeping track of information.

  • Sharing of CFCS with Flex projects

    I am building a large application that runs our company to replace the old CF/Flash app that I built myself over the past 6 years.
    I use Flex and Cold Fusion CFCS to build the application from scratch.
    This application will consist of 100 lots of smaller applications that handle:
    User management, inventory, specifications, contracts, invoices, missing reports and damage, racing truck etc.

    First of all, I built our ordering system, and then I built the system of inventory.
    I built as separate Flex projects and saw that they used a lot of the same CFC (that I created in each project) and that down the line, I have to change many CFCS and Actionscript (models) if valuables projects I made any changes to the tables of database they called.

    I want to create a set of objects of value of CFCS and Actionscript can be used by any project I'm doing on this site.

    I create these CFCS and files as with "Create CFC" Wizard of Cold Fusion.

    I have seen that I have to change the way I worked in separate projects.

    I thought to do a Flex project with many applications in it, but it seems that it fits well over time and could become a mess.

    It seems to me that in order to make a library Flex project that stops my .as models files and I might add that the library to each project, but I don't think I can call CFCS in this way.

    I could make and publish a Flex project that does nothing but keep the EFA and point my call of remote object to this project but I would not be able to call the .as files, unless I've referenced this project and this solution began to feel like one of my hacks classics that would be a bad choice over time

    Any advice on the errors of global architecture that I do and how I should build to put these assets available to all of my projects/scheme?

    If you want to use the same as classes in several projects, you certainly want to use a Flex library. Your ActionScript classes will be back in a SWC that you can use in the libraryPath of any another Flex project.

    I create and maintain CFCS separately of Flex projects. The reason is that you need to treat them as if you bought them from a third party and want to keeping them on a separate development cycle. For example, A project moves to version 1.5 and needs a change to one of the CFC. You don't want to have to deal with project B who always uses the version 1.0. If you were to buy these CFCS starting from somewhere, how would you be excited? Use it as a guideline.

    Your commune THAT classes that are the counterparts of CFC probably not say much without CFC. So I would include in this library Flex an interface class (RemoteObject) with CFCS that the EFA is independent. Once again, if you need to add or change an AS file in response to a change in the CFC, you have better version control keep these together. Yet once, treat it as a third-party product.

    If your library Flex (in the FORM of classes + RemoteObject calls) now becomes your API for your applications.

    One final note: your projects seems ideal for Flex 2.0.1 Modules. I wrote them a quick presentation on my blog and you can read more about them in the Flex livedocs under creating modular Applications..

    Good luck!

  • CFC and the path of the component

    Hello
    I know I must have missed something fundamental here, but I'll be b * d if I can find the answer.
    I searched so I hope someone can help it for days to research.

    Local development on Dreamweaver CS3 SWC component path is: -.
    'Sentinelsystems.actual.includes.Steves.CFCNAME '.
    Everything works perfectly, the world s a nice place.

    Now when you load the entire site to a remote server in the path above obviously won't work.
    The path because on the server remote must be fair: -.
    "moderates. Steves.CFCNAME ".

    This translates the error that CF is not my CFC

    Now, I know that it is a problem I can not find the answer.
    Oh by the way I don't have server access remote coldfusion so the fix must be in the code or my development environment.

    Pointers would be greatly appreciated
    See you soon
    Steve text text

    It is unlikely that your path will begin with a. ((dot) so I would check double that)

    insofar as your local path, you would install in fact just a mapping named "includes", stressed

    C:\ColdFusion8\wwwroot\Sentinelsystems\actual\includes

    so now, you need to reference a C:\ColdFusion8\wwwroot\Sentinelsystems\actual\includes\Steves CFC

    as includes.steves.

  • Problem with remoteObject...


    Hi, I'm HelloWorld_ro and HelloWorld_ws apps. I can get the ws app to work, however, when I try the app remoteObject, I get the following error thrown:

    (mx.rpc::Fault) #0
    errorID = 0
    faultCode = "Client.Error.MessageSend".
    faultDetail = "error Channel.Connect.Failed NetConnection.Call.Failed: HTTP: failed".
    faultString = "send failed".
    message = "faultCode:Client.Error.MessageSend faultString: error faultDetail:'Channel.Connect.Failed"Send failed"NetConnection.Call.Failed: HTTP: failed '."
    name = "Error".
    rootCause = (Object) #1
    Code = "NetConnection.Call.Failed".
    Description = "HTTP: failed".
    Details = "" http://websrvr01/flex2gateway/ " "
    Level = "error".

    I am running CFMX 7.02 on Tomcat 5.5 and see the following in the log:

    [Flex] 14:34:20.359 [INFO] [Configuration] starting Adobe Flex Data Services Express 2
    [Flex] 14:34:20.359 [INFO] [Configuration] Adobe Flex Data Services Build: 142467
    [Flex] 14:34:20.421 [INFO] [Configuration] my Endpoint-cfamf created with security: no
    to the URI: http://{server.name}:{server.port}{context.root}/flex2gateway/

    I compile the application with: - services "C:\webapps\cfusion\WEB-INF\flex\services-config.xml" - local en_US

    my services-config. XML looks like this:

    <? XML version = "1.0" encoding = "UTF-8"? >
    <>services-config

    < services >
    < id = "coldfusion-flashremoting-service" service
    Class = "Flex.Messaging.services.RemotingService"
    messageTypes = "flex.messaging.messages.RemotingMessage' >"

    < adapter >
    < adapter-definition id = "CF-object" class = "coldfusion.flash.messaging.ColdFusionAdapter" default = "true" / > "
    < / adapters >

    < destination id = "ColdFusion" >
    <>channels
    < Channel Ref = "my-cfamf" / >
    < / channels >
    Properties of <>
    < source > * < / source >
    <!-define the access level of the invoked--> cfc and resolution rules
    < access >
    <!-use ColdFusion mappings for CFCS, by default, only the SWC files under your webroot can be found. ->
    false < use-mappings > < / use-mappings >
    <!-'public and remote' or just 'remotely' methods to be called->
    < method access level > distance < / access method-level >
    < / access >

    < property cases >
    <! - the property names of CFCs - >
    < force-cfc-tiny > false < / force-cfc-lowercase >
    <! - query column names - >
    < force-query-tiny > false < / force-query-lowercase >
    <! - the struct keys - >
    < force-struct-tiny > false < / force-struct-lowercase >
    < / property cases >
    < / properties >
    < / destination >

    < / service >
    < / services >

    <>channels
    < channel-definition id = "my-cfamf" class = "mx.messaging.channels.AMFChannel" >
    "" < endpoint uri = ' http://{server.name}:{server.port}{context.root}/flex2gateway/ ' class="flex.messaging.endpoints.AMFEndpoint"/ >
    Properties of <>
    > extension of the poll < false < / mark-enabled >
    < serialization >
    false < instantiate-types > < / instantiate types >
    < / serialization >
    < / properties >
    < / channel-definition >
    < / channels >

    < record >
    < class = "flex.messaging.log.ConsoleTarget target" level = "All" > "
    Properties of <>
    [Flex] < prefix > < / prefix >
    < includeDate > false < / includeDate >
    < includeTime > true < / includeTime >
    < includeLevel > true < / includeLevel >
    < includeCategory > true < / includeCategory >
    < / properties >
    <!--
    possible values:
    DataService.General
    DataService.Transaction
    DataService.Hibernate
    DataService.coldfusion
    Message.*
    Message.General
    Message.Data. *.
    Message.Data. (-name of the operation)
    where the name of the operation is one of create, extra, get, update, remove, batch,
    page, County, get_or_create, create_and_sequence, multi_batch, processed, get_sequence_id,.
    association_add, association_remove, fillids, refresh_fill, update_collection
    Message.Command. *.
    Message.Command. (-name of the operation)
    where the operation name is a subscribe, unsubscribe, poll, poll_interval, client_sync,.
    server_ping, client_ping, cluster_request, login, logout
    Message.RPC
    Message.ColdFusion
    Service. *
    Service.Cluster
    Service.HTTP
    Service.Message
    Service.Remoting
    Endpoint.*
    Endpoint.General
    Endpoint.Deserialization
    Endpoint.AMF
    Endpoint.HTTP
    Endpoint.RTMP
    Security
    MessageSelector
    Configuration
    Resources
    ->

    < filter >
    < model > Endpoint.* < / pattern >
    < model > service. * < / pattern >
    < model > Configuration < / pattern >
    < model > Message.* < / pattern >
    < / Filters >
    < / target >
    < / recording >

    <>System
    < / system >

    < / services-config >


    "Any idea why I get: Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: failed '?

    Thanks in advance

    I discovered that I have to add - context-root /cfusion the additional compiler arguments.

    See http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=583&threadid = 1210639

  • UDL connection with relative path database file

    Hi all

    I use the shipper of the property to retrieve the test of the database settings. I Specifies the database to read by using a .udl file.

    When opening a connection to database (using the step of database type) open I'm able to specify the location of the .udl file as follows:

    "FILE NAME=C:\\Development\\IW_EST_2\\TesterSoftware\\TS\\Database\\DatabaseConnection.udl;"

    It works fine for now. However, I'm developing on the computer that will be deployed on the sequence. It is for this reason that I would use a relative path.

    Is it possible to do? If so, how?

    Thank you very much

    Cam.

    You can use a UNC naming convention to specify the location of the UDL.

    A UNC name will replace a drive letter with a machine name and the share name.

    Example of a connection string, I use every day:

    "FILE NAME=\\\netapp1\\shared\\STE\\SPOTS.udl".

    (note that the quadruple backslashes before the name of machine)

  • problems with the path to the launchexecutable() file name

    Hello

    I use launchexecutable() to open a .ini file in Notepad.

    If I specify the name of path as launchexecutable (like Notepad. EXE D:\\Documents and Settings\\T0128779\\Bureau\\filename.ini), the file opens perfectly. The problem I have is that I have a string that stores the name of path, but without the two slashes between for example the string contains the name of path as D:\Documents and Settings\T0128779\Bureau\filename.ini

    launchexecutable doesn't seem to work with this string. What I am doing wrong?

    Thank you

    Rohit

    SINNAS wrote:

    launchexecutable "(Notepad. Stringname EXE")

    It will not work. You should have a look at the examples of the BCI using LaunchExecutable. You will find how to do:

    sprintf ('%s' Notepad.exe tempstr, stringname);

    LaunchExecutable (tempstr);

  • No idea how I can follow all currently open files (or windows) to a file text or other sort of newspaper? Something similar to the Applications tab in the Manager of tasks, but with a path

    I am interested in creating a batch file or executable that will keep track of all of the currently open windows (files and applications)

    so that when Windows restarts I can more easily return to what I was doing before.
    This can be done either by connecting each operation on the file - open and remove items in the list when an item (file or window) is closed (logging only at this time here)
    , or by checking every 5-10 seconds that windows and files are currently open.
    I tried using TaskList, and OpenFiles to it but cannot do things, plus those also do not provide a path to open files - I want to keep the paths so that the items can be recovered (reopening) with a single click.   Any ideas how to do this?   I use Windows 7 Professional.
    My idea is to have the possibility to go back to all that I was working on, without having to memorize the list...  It is very useful for people who keep a lot of files and windows open most of the time, especially if for some reason any Windows crashes or stops the case (e.g. restart after an update...).    MS Office products can do it (by saving temporary files and allows you to recover if the program was not closed properly), a Web browser can do (keeping a story and using the session management)-why Windows can't do
    ?
    In addition, if there is such list of open windows and files then it might be possible to keep also some history and ' files/windows' recently closed, similar to how Google Chrome can show recently closed tab.
    The application that I'm developing (for my own personal use, although I would offer it to someone else) will be:
    -keep a history and a current list of open files/windows, including a path for each file opened.
    -Files/windows closed are removed from the list "now open" and moved to the list of "recently closed", which has a maximum length.
    -file/window close operations should be associated with the user control. Otherwise, opens the files that are closed
    by Windows when the judgment is no longer will be identified as open.
    -an option would be to ensure, somehow, that this request is always closed during a regular shutdown process first.
    -Another option is to simply assume that there is no problem, if Windows broke down, and that the user is reminded to close the application before you stop.
    -Another option is to have the traceable list, a user can go back a few steps up a point until Windows began to close.
    -Another option is to have the "last sitting" identified as, for example 2 minutes before closing, while keeping a list of items opened after that date.
    -list "recently closed" items that are too old (have been pushed to the bottom of the list and beyond of the length limit are moved to history.
    -l' history can be defined for a limited time or can be cleaned manually or automatically (periodically), or we can set a limit on the length for the history list.
    * the application/batch/executable is located in the Windows startup folder and it:
    -is launched at Windows startup
    -after start (automatically or manually) will display a dialog box containing a list of the items that were open before windows stop - see Creating session above.
    -user can deselect items in the list if he or she does not want to open them. "Uncheck the items of list moves to the ' recently closed" list or history.
    -by identifying which items are not kept, or simply to keep everything, the user clicks on a single button and the application opens to all items that are always enabled.  To avoid slowing down the system, an option is available to open files, in which case a flow can be set.  Defining a priority list, it is also an idea.
    If you think you have a good idea for this or want to work on it with me, please contact me at * address email is removed from the privacy *.
    If you are able to do it yourself, let me know.

    It all sounds very complicated for me, I wish you well in your efforts.

    Here is what that will be helpful?

    Handle v3.46
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896655.aspx

    Sysinternals process utilities
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb795533

    Sysinternals and disc utilities file
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb545046

Maybe you are looking for