The use of SMS for ThinReg an application with elevated permissions

I ran a very specific scenario that left me speechless for awhile. I thought I'd share incase any who found themselves in the same position. Here's the scenario:

I have a ThinApp application that resides on a network share. I used "PermittedGroups = domain users" in the package.ini to ensure the application was used only on campus for purposes of licensing. I tried ThinReg the application for all users (.\thinreg.exe/r/a network\appname.exe) on about 300 computers using SMS. Most of these users are local administrators on their computers , but not all. Therefore, in cases where the user is not a local administrator, the registration script would fail. The great advantage of SMS gives us when deploying applications is that we can elevate permissions and perform the installation under the local SYSTEM account. With MSI and these that works beautifully, but in this scenario, there is not. The problem is that the local SYSTEM account is not a member of the group "Domain users" and therefore was not allowed to run (or ThinReg) executable file. I've thought about it a while and decided to add the domain group "Computers in the domain" to the PermittedGroups list. To my disappointment, it does not solve the problem. After much trial and error, I changed the Package.ini to read PermittedGroups = domain users; SYSTEM

It worked! SMS is able to raise the installation so that account SYSTEM and the application successfully ThinReg. "Domain users" are able to run the application, while local users are not. I even tried to create a new user account called SYSTEM on my test XP machine to see if I could it crazy that way, but the OS won't let you create a user account with this name. I'm not entirely sure why this works; the PermittedGroups = parameter is designed to contain groups, not users. If someone saw, I would be happy to hear it. If not, hope it can help someone.

~ spence

Hey Spence,

Interesting. What version of ThinApp did you use? We changed Thinreg in 4.0.1 so it doesn't look like PermittedGroups when you use the switch/a, for exactly the reason why you have described. Of course, PermittedGroups is always checked when executing.

Tags: VMware

Similar Questions

  • How to get the use of memoery of an individual application

    Hello

    Now, I'm developing an application like a task manager. And I looked through the api system, but I have not found any api

    who can get the use of memoery to an individual application. Is there an API for it? Such as what is being implemented in

    system management applications since OS6 that we can see the CPU usage and the use of memoery to applications.

    Anyone know who?

    Another question, applications storage which will be an application is just the size of the cod files, is that correct?

    Advanced thanks.

    Welcome on the support forums.

    There is no api for this. everything that is used in the options, it is not available to us.

  • When will the new raw update for Adobe Lightroom 4 with support Nikon D750 version come?

    Hello Adobe,

    When will the new raw update for Adobe Lightroom 4 with support Nikon D750 version come?

    Best regards

    Frank

    There will be an update to Lightroom 4. The only way that you can work with your raw D750 files is to use the autonomous and free DNG Converter to create DNG copies. If you want to be able to work on the NEF files, then you must upgrade to Lightroom 5. Lightroom does not use plug in Camera Raw. everything is part of the Lightroom program. If you want to stay up-to-date with Lightroom, you must follow the path of update/upgrade. This means than buying each new major version of Lightroom or you subscribe to plan creative cloud.

  • How to add data to the table using Manager POST for restful Apex application

    Hi all

    I managed to create a service application web Manager restful using GET for the Restful service module. I am able to get the data in row on the presentation of a table row id in the application. But I can't find an appropriate example, how the new data in the table can be posted or deleted. I created a POST handler for a URI scheme and look forward on how to proceed. Any help would be really appreciated.

    Source for the POST Manager:

    Start

    insert into ALL_BOOKS values(:id,:book);

    end;

    Also created 2 parameters id and the book.

    Hi jerry2134,

    jerry2134 wrote:

    I managed to create a service application web Manager restful using GET for the Restful service module. I am able to get the data in row on the presentation of a table row id in the application. But I can't find an appropriate example, how the new data in the table can be posted or deleted. I created a POST handler for a URI scheme and look forward on how to proceed. Any help would be really appreciated.

    Source for the POST Manager:

    Start

    insert into ALL_BOOKS values(:id,:book);

    end;

    Also created 2 parameters id and the book.

    Check out the following tutorials OBE, that explains the creation of GET and POST RESTful Web Services and how to use them in the APEX.

    Also what yo mean "looking forward on how to proceed? Do you want to or created for use/consume in your Oracle APEX application hosted RESTful web services?

    If Yes, in your Application, you must create a RESTful Web Service reference -> shared components. Then, create a form/report based on Web Service reference.

    Kind regards

    Kiran

  • Windows does not start after the use of CD "" Toshiba Recovery and Applications/drivers ".

    Well my Toshiba Satellite A205-S5814 laptop was very slow and I was getting very frustrated with it, so I decided pop in the CD "Toshiba Applications/Drvers" perhaps to restore my laptop to factory settings and run perfect once again.

    As I was doing this operation and tried fixing it, the thing finished and off the laptop. And when I turned it back on, Windows will now start and give me the Windows Boot Manager screen. My laptop had Vista on it and I even tried to install Windows XP Home Edition on it with a disk I had. But whenever he's going to do, he says he can find t any hard drive? But for sure, there is a hard drive!

    I do not understand what has happened and why this Toshiba drive ruined my laptop. Before I used this drive my laptop has always works and works OK, it has been slow but still booted Vista and stuff ran. Can someone please help me or tell me what to do, I think that Toshiba has messed up my laptop with disc here, and I don't think that we should have to pay so he can get fixed.
    Please help me.

    Hello!

    I don t think that the Toshiba Recovery disk ruined your laptop.

    If I am right on the recovery disk is Vista and it was installed before. I think the installation going something wrong.
    When you get the Windows Boot Manager you can fix your computer? You can reinstall Vista without the recovery disk when you choose this option, then Toshiba product recovery.

    When you install Windows XP, you need a SATA driver. If you don t use one, you will get this error which can t find hard drives.
    You can download it on the Toshiba site and after booting from the XP CD, you must press F6 to load drivers from a floppy external drive or use you nLite to create a disc with drivers.

    Good bye

  • The use of DAQmxWriteDigitalScalarU32 for write channels share the same ports?

    Hello

    I have a USB-6509 and NOR-DAQmx installed 15.5.1. Using the ANSI c api.

    Is it possible to create several independent channels that use different lines of the same port?

    DAQmxCreateTask("",&th1)

    DAQmxCreateDOChan(th1,"Dev1/line0:4","",DAQmx_Val_ChanForAllLines)

    DAQmxStartTask (th1)

    DAQmxCreateTask("",&th2)

    DAQmxCreateDOChan(th2,"Dev1/line5:9","",DAQmx_Val_ChanForAllLines)

    DAQmxStartTask (th2)

    ....

    and repeat for the following strings:

    Dev1 / line0:4
    Dev1 / line5:9
    Dev1 / line10:14
    Dev1 / line15:19
    Dev1 / line24:28
    Dev1 / line29:33

    So I can use DAQmxWriteDigitalScalarU32 to write to each task independently?

    for example:

    DAQmxWriteDigitalScalarU32 (th1, 1, 10, 0 x 1, NULL)

    DAQmxWriteDigitalScalarU32 (th2, 1, 10, 0 x 2, NULL)

    DAQmxWriteDigitalScalarU32 (th3, 1, 10, 0 x 3, NULL)

    ...

    DAQmxWriteDigitalScalarU32 (th6, 1, 10, 0 x 6, NULL)

    These tasks will interfere with each other because they use the same port, but are assigned different lines?

    If this isn't the case, I bits to the data, if the task/channel does not start at the Px.0 line?

    Thank you!

    Yes, as long as you use the same line on different channels, they must not interfere with each other for this reason, you can create a channel by line if you wish

    The reference to using the DAQmxWriteDigitalScalarU32 function:
    "A sample of the integer unsigned 32-bit unique, wrote to a task that contains a single digital output channel. "Use this format for devices with up to 32 lines per port.

    http://zone.NI.com/reference/en-XX/help/370471AC-01/daqmxcfunc/daqmxwritedigitalscalaru32/

    So yes, the DAQmxWriteDigitalScalarU32 can write on each task independently

  • The use of Teamviewer for remote access to another PC from a PC

    Hello

    I have TWO PC, but unfortunately two PC has the same IP I checked ipconfig.

    I called ISP regarding on the same IP between two PCs.

    Is it possible that a PC can access second tool PC remotely using the Teamviewer software, even if TWO PC IP addresses are the same now?

    Your comments will be appreciated.

    Thank you

    Hi Altman,

    TeamViewer is a third party software. For support on the use of this product go to TeamViewer Support Center.

    Note:   software use of third parties, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • Need help on the use of Partition for a SELECT statement

    -Hello everyone,
    -This my request. I'm a junior developer of the APEX.
    -database version is 11g version 4.0 apex
    DEFINE startmonth = "Aug 2012";
    DEFINE endmonth   = "Oct 2012";
    WITH  all_months  AS
    (
       SELECT ADD_MONTHS(to_date('&startmonth','MON YYYY'), ROWNUM-1) AS which_month
       ,      ADD_MONTHS(to_date('&startmonth','MON YYYY'), ROWNUM  ) AS next_month
       from all_objects
       where
       rownum <= months_between(to_date('&endmonth','MON YYYY'), add_months(to_date('&startmonth','MON YYYY'), -1))
    )
    ,
    lt_event_type_a AS
    ( select event_type, active, e_id 
      from lt_event_type
      where active = 1
    )
    ,
    engagement_event_a as
    (SELECT * FROM engagement_event
     where active =1
     )
    
    select lt_ev.event_type,TO_CHAR (am.which_month, 'Mon YYYY')  AS month, count(ce.engagement_id) as monthly_events_per_event_type
      from lt_event_type_a lt_ev
      
      left join engagement_event_a ev  on
        lt_ev.event_type = ev.event_type
      
      left join court_engagement ce on
        ev.e_eng_id = ce.engagement_id
         and ce.court_name like '%' --will be filtered with a court_name parameter
     
      right join all_months am on
        ce.date_joined_court <= LAST_DAY(am.which_month) 
        and (ce.date_terminated is null or ce.date_terminated > LAST_DAY(am.which_month) )
     group by rollup(lt_ev.event_type, am.which_month)
     order by lt_ev.event_type, am.which_month ;
     
    - and the results are
     EVENT_TYPE                                         MONTH             MONTHLY_EVENTS_PER_EVENT_TYPE
    -------------------------------------------------- ----------------- -----------------------------
    Absent without leave                               Sep 2012                                      1 
    Absent without leave                               Oct 2012                                      1 
    Absent without leave                                                                             2 
    Court Appearance                                   Sep 2012                                      2 
    Court Appearance                                   Oct 2012                                      3 
    Court Appearance                                                                                 5 
    Incentive granted                                  Aug 2012                                      1 
    Incentive granted                                  Sep 2012                                      2 
    Incentive granted                                  Oct 2012                                      1 
    Incentive granted                                                                                4 
    Judicial direction                                 Oct 2012                                      1 
    Judicial direction                                                                               1 
    Police report                                      Sep 2012                                      2 
    Police report                                      Oct 2012                                      2 
    Police report                                                                                    4 
    Positive test                                      Sep 2012                                      1 
    Positive test                                      Oct 2012                                      1 
    Positive test                                                                                    2 
    Sanction imposed                                   Aug 2012                                      1 
    Sanction imposed                                   Sep 2012                                      1 
    Sanction imposed                                   Oct 2012                                      1 
    Sanction imposed                                                                                 3 
                                                                                                    21 
    
     23 rows selected 
     
    - but the condition is that I list all types of event in the search list
    -with a total number of events by event type for each month in a number of calendar months (user will select months like August 2012 or a range of month August 2012 - October 2012)
    -the query above just list all the events (see table engagement_event) that have the date_join_court and date_terminated meets the required conditions.
    -I wonder, is it possible to enumerate all types of event, then monthly for each event type with the total as
      EVENT_TYPE                                         MONTH             MONTHLY_EVENTS_PER_EVENT_TYPE
    -------------------------------------------------- ----------------- -----------------------------
    A very long long name                              Aug 2012                                      0 
    A very long long name                              Sep 2012                                      0 
    A very long long name                              Oct 2012                                      0 
    A very long long name                              Total                                           0 
    Absent without leave                               Aug 2012                                      0 
    Absent without leave                               Sep 2012                                      1 
    Absent without leave                               Oct 2012                                      1 
    Absent without leave                               Total                                         2 
    Court Appearance                                   Aug 2012                                      0 
    Court Appearance                                   Sep 2012                                      2 
    Court Appearance                                   Oct 2012                                      3 
    Court Appearance                                   Total                                         5 
    Incentive granted                                  Aug 2012                                      1 
    Incentive granted                                  Sep 2012                                      2 
    Incentive granted                                  Oct 2012                                      1 
    ......
    -I tried to use PARTTTION, but still, it does not produce the correct result,
    -Here's a version shortened the tables related to the query
    -Thank you very much in advance.
    --create lookup table for event type
     CREATE TABLE "LT_EVENT_TYPE" 
       ("E_ID" NUMBER, 
         "EVENT_TYPE" VARCHAR2(50 BYTE), 
         "DATE_CREATED" DATE, 
         "ACTIVE" NUMBER(2,0) DEFAULT 1
       ) 
    
     --create table court_engagement
      CREATE TABLE "COURT_ENGAGEMENT" 
       (     "ENGAGEMENT_ID" NUMBER, 
         "COURT_NAME" VARCHAR2(50 BYTE), 
         "DATE_REFERRED" DATE, 
         "DETERMINATION_HEARING_DATE" DATE, 
         "DATE_JOINED_COURT" DATE, 
         "DATE_TERMINATED" DATE, 
         "TERMINATION_TYPE" VARCHAR2(50 BYTE), 
         "DATE_CREATED" DATE, 
         "ACTIVE" NUMBER(2,0) DEFAULT 1, 
         "DEFENDANT_ID" NUMBER
       )
       --create table engagement_event
       CREATE TABLE "ENGAGEMENT_EVENT" 
       (     "EVENT_ID" NUMBER, 
         "E_ENG_ID" NUMBER, 
         "EVENT_TYPE" VARCHAR2(50 BYTE), 
         "START_DATE" DATE, 
         "END_DATE" DATE, 
         "RELATED_SERVICE_ID" NUMBER, 
         "DATE_CREATED" DATE, 
         "ACTIVE" NUMBER(2,0)
       )
    -------
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (9,'A very long long name',to_date('02/11/12','DD/MM/RR'),0);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (6,'Excellent performance',to_date('27/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (7,'Sanction imposed',to_date('27/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (8,'Incentive granted',to_date('27/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (2,'Police report',to_date('25/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (1,'Court Appearance',to_date('25/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (3,'Judicial direction',to_date('25/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (4,'Positive test',to_date('25/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (5,'Absent without leave',to_date('27/09/12','DD/MM/RR'),1);
    ----------
       
    REM INSERTING into COURT_ENGAGEMENT
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (13,'BBB',null,null,to_date('01/09/12','DD/MM/RR'),to_date('14/09/12','DD/MM/RR'),'Graduated',to_date('03/10/12','DD/MM/RR'),1,4);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (16,'BBB',null,null,to_date('15/09/12','DD/MM/RR'),to_date('07/11/12','DD/MM/RR'),'Did not Graduate',to_date('04/10/12','DD/MM/RR'),1,4);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (20,'AAA',null,null,to_date('07/10/12','DD/MM/RR'),null,'Did not Graduate',to_date('08/10/12','DD/MM/RR'),1,10);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (30,'BBB',null,null,to_date('04/09/12','DD/MM/RR'),null,null,to_date('05/11/12','DD/MM/RR'),1,19);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (21,'AAA',null,null,to_date('07/10/12','DD/MM/RR'),null,null,to_date('10/10/12','DD/MM/RR'),1,11);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (15,'AAA',null,null,to_date('02/10/12','DD/MM/RR'),null,null,to_date('03/10/12','DD/MM/RR'),1,3);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (23,'AAA',null,to_date('30/09/12','DD/MM/RR'),to_date('29/09/12','DD/MM/RR'),null,null,to_date('15/10/12','DD/MM/RR'),1,8);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (25,'AAA',null,to_date('10/10/12','DD/MM/RR'),to_date('20/09/12','DD/MM/RR'),null,null,to_date('18/10/12','DD/MM/RR'),1,15);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (27,'AAA',null,to_date('11/09/12','DD/MM/RR'),to_date('19/07/12','DD/MM/RR'),null,null,to_date('23/10/12','DD/MM/RR'),1,16);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (2,'BBB',to_date('01/10/12','DD/MM/RR'),to_date('01/10/12','DD/MM/RR'),to_date('29/09/12','DD/MM/RR'),null,'Did not Graduate',to_date('27/09/12','DD/MM/RR'),1,2);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (28,'AAA',null,to_date('03/10/12','DD/MM/RR'),to_date('01/10/12','DD/MM/RR'),null,null,to_date('24/10/12','DD/MM/RR'),1,17);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (17,'AAA',null,null,to_date('08/10/12','DD/MM/RR'),to_date('11/10/12','DD/MM/RR'),'Did not Graduate',to_date('04/10/12','DD/MM/RR'),1,6);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (18,'AAA',null,null,to_date('03/09/12','DD/MM/RR'),to_date('16/10/12','DD/MM/RR'),'Graduated',to_date('05/10/12','DD/MM/RR'),1,7);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (19,'BBB',null,null,to_date('01/10/12','DD/MM/RR'),to_date('09/10/12','DD/MM/RR'),'Graduated',to_date('05/10/12','DD/MM/RR'),1,9);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (22,'AAA',null,null,null,null,null,to_date('11/10/12','DD/MM/RR'),1,12);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (24,'AAA',to_date('08/10/12','DD/MM/RR'),to_date('01/10/12','DD/MM/RR'),to_date('04/10/11','DD/MM/RR'),null,'GangNam Style',to_date('17/10/12','DD/MM/RR'),1,14);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (26,'BBB',null,to_date('17/10/12','DD/MM/RR'),to_date('16/10/12','DD/MM/RR'),null,null,to_date('18/10/12','DD/MM/RR'),1,7);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (29,'AAA',null,null,to_date('20/09/12','DD/MM/RR'),null,'GangNam Style',to_date('30/10/12','DD/MM/RR'),1,18);
    
    ---------------
    REM INSERTING into ENGAGEMENT_EVENT
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (8,18,'Incentive granted',to_date('01/10/12','DD/MM/RR'),null,null,to_date('05/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (21,2,'Police report',to_date('20/09/12','DD/MM/RR'),to_date('02/10/12','DD/MM/RR'),null,to_date('24/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (7,2,'Court Appearance',to_date('02/10/12','DD/MM/RR'),to_date('16/10/12','DD/MM/RR'),12,to_date('03/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (11,19,'Court Appearance',to_date('02/10/12','DD/MM/RR'),null,null,to_date('05/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (13,21,'Court Appearance',to_date('01/10/12','DD/MM/RR'),to_date('11/10/12','DD/MM/RR'),null,to_date('10/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (18,24,'Incentive granted',to_date('01/10/12','DD/MM/RR'),to_date('15/10/12','DD/MM/RR'),null,to_date('17/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (20,2,'Police report',to_date('16/09/12','DD/MM/RR'),to_date('18/09/12','DD/MM/RR'),10,to_date('23/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (24,17,'Court Appearance',to_date('16/10/12','DD/MM/RR'),null,null,to_date('25/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (26,30,'Judicial direction',to_date('01/10/12','DD/MM/RR'),null,null,to_date('06/11/12','DD/MM/RR'),0);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (9,2,'Court Appearance',to_date('01/09/12','DD/MM/RR'),to_date('15/09/12','DD/MM/RR'),10,to_date('05/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (12,20,'Judicial direction',to_date('07/10/12','DD/MM/RR'),null,null,to_date('08/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (17,24,'Sanction imposed',to_date('16/10/12','DD/MM/RR'),to_date('31/10/12','DD/MM/RR'),null,to_date('17/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (23,13,'Court Appearance',to_date('01/10/12','DD/MM/RR'),null,34,to_date('24/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (5,2,'Positive test',to_date('01/10/12','DD/MM/RR'),to_date('10/10/12','DD/MM/RR'),1,to_date('02/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (10,19,'Judicial direction',to_date('01/10/12','DD/MM/RR'),null,null,to_date('05/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (19,25,'Absent without leave',to_date('18/10/12','DD/MM/RR'),null,null,to_date('18/10/12','DD/MM/RR'),1);
    -Thanks for reading this.

    Ann

    Please give sample data and expected results.

    Hope below is what you'd expect - yet, I would like to ask a clarification - you have a filter 'where active = 1.
    And yet, you want these types in the output. I commented on this to my query filter.
    You can change accordingly

    WITH  all_months  AS
    (
       SELECT ADD_MONTHS(to_date('&startmonth','MON YYYY'), ROWNUM-1) AS which_month
       ,      ADD_MONTHS(to_date('&startmonth','MON YYYY'), ROWNUM  ) AS next_month
       from all_objects
       where
       rownum <= months_between(to_date('&endmonth','MON YYYY'), add_months(to_date('&startmonth','MON YYYY'), -1))
    )
    ,
    lt_event_type_a AS
    ( select event_type, which_month,next_month
      from lt_event_type, all_months
      --where active = 1
    )
    ,
    engagement_event_a as
    (SELECT * FROM engagement_event
     where active =1
     )
    
    select lt_ev.event_type,TO_CHAR (lt_ev.which_month, 'Mon YYYY')  AS month,
          count(ce.engagement_id) as monthly_events_per_event_type
      from engagement_event_a ev
      left outer join court_engagement ce on
       ( ev.e_eng_id = ce.engagement_id
            and ce.court_name like '%' )
      right outer join lt_event_type_a lt_ev   on
        (ce.date_joined_court <= LAST_DAY(lt_ev.which_month)
        and (ce.date_terminated is null or ce.date_terminated > LAST_DAY(lt_ev.which_month) )
        and lt_ev.event_type = ev.event_type
        )
     group by rollup(lt_ev.event_type, lt_ev.which_month)
     order by lt_ev.event_type, lt_ev.which_month ;
    
    EVENT_TYPE                                         MONTH    MONTHLY_EVENTS_PER_EVENT_TYPE
    -------------------------------------------------- -------- -----------------------------
    A very long long name                              Aug 2012                             0
    A very long long name                              Sep 2012                             0
    A very long long name                              Oct 2012                             0
    A very long long name                                                                   0
    Absent without leave                               Aug 2012                             0
    Absent without leave                               Sep 2012                             1
    Absent without leave                               Oct 2012                             1
    Absent without leave                                                                    2
    Court Appearance                                   Aug 2012                             0
    Court Appearance                                   Sep 2012                             2
    Court Appearance                                   Oct 2012                             3
    Court Appearance                                                                        5
    Excellent performance                              Aug 2012                             0
    Excellent performance                              Sep 2012                             0
    Excellent performance                              Oct 2012                             0
    Excellent performance                                                                   0
    Incentive granted                                  Aug 2012                             1
    Incentive granted                                  Sep 2012                             2
    Incentive granted                                  Oct 2012                             1
    Incentive granted                                                                       4
    Judicial direction                                 Aug 2012                             0
    Judicial direction                                 Sep 2012                             0
    Judicial direction                                 Oct 2012                             1
    Judicial direction                                                                      1
    Police report                                      Aug 2012                             0
    Police report                                      Sep 2012                             2
    Police report                                      Oct 2012                             2
    Police report                                                                           4
    Positive test                                      Aug 2012                             0
    Positive test                                      Sep 2012                             1
    Positive test                                      Oct 2012                             1
    Positive test                                                                           2
    Sanction imposed                                   Aug 2012                             1
    Sanction imposed                                   Sep 2012                             1
    Sanction imposed                                   Oct 2012                             1
    Sanction imposed                                                                        3
                                                                                           21 
    
     37 rows selected 
    
  • Use a locally swc file to optimize the use of bandwidth for an LMS

    Hello.

    I have an LMS (learning management system), which also uses elements of the virtual world as avatars, games with great graphics etc...

    Bandwidth here in Spain is bad to say the least. Games like world of warcraft ship a CD to put heavy graphics on your local hard drive. It would be a great idea for our e-learning system. Is the best way to use a CFC which is impossible to decompile? It would save a lot of headaches.

    Well, what I'm trying to ask is how can I protect our graphics piracy if installed on the pc local users.

    Thank you in advance.

    You may simply want DRM. Here are some links to check out:

    Documents from Adobe:

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/FLA sh/net/drm/DRMManager.html

    The use of Adobe News:

    http://help.Adobe.com/en_US/AS3/dev/WSe3d2d52902616553-41317b6911d1b4b fb29 - 8000.html

    By the way, the images are data binary just so you can encrypt them with something fast like RC4, use a library, for example:

    https://code.Google.com/p/As3Crypto/

    Ultimately if someone REALLY wants your content, there is no 100% average hackproof. I would implement a reasonable attempt at DRM or encryption, but really measure against the performance hit you'll take to do, with the knowledge that you really cannot guarantee protection in any case.

  • The use of queues for the buffering

    Hello

    In my application, I'm scanning my computer com ports, seeking information on the buffer. What I want to do is run a Comsumer s/producer achetiecture so that I can constantly scan the com ports, and as soon as I get on the buffer data, it is sent to a queue. Queue, and then runs another loop that makes some manipulations of database, and it is this manipulation, I want to go back and keep sweeping him agrees more data.  My problem is I want to be able to start and stop the program at any time, but I don't want to lose any information on the queue buffer. The manipulation of the database takes about 800 ms and com ports scan takes about 50 ms.

    Basically, I want program blocking when I hit the "stop" button control, but if it contains data on the buffer, I want that he do the manipulation of data to all data on the buffer, then the output so I don't lose any information.

    Thank you.

    Gerardo

    Since you have a queue, why not just add a Boolean value to your queue (ie: cluster) that you change value when the button is pressed.  It will inform the other part of the program in order to process the remaining data, then stop.  Very simple with little extra treatment.

    R

  • tab of the use of space for vSphere 6.0 disk...

    Hello everyone,

    in vsphere 5.x, there is a tab that shows the use of the disk of all or selected virtual machines.

    In short where he in vsphere 6.0 or have it remove altogether? If so, how can we get the information now?

    Concerning

    Harro Nehlsen Nehls

    what you hear is storage views

  • Tips for creating an application with web services please?

    I created a simple application for a client who interacts / monitors a device VISA with LV 2009.  The architecture is essentially a state machine with a timeout for VISA calls that retrieve the current state.

    The client asked that the app will also be controlled via the web and asked me to set up a demo with one or two simple functions.  I have the experience to bring charges against the Server Web LV7 model, but not with web services.

    So here's what I did...

    (1) added a line to my application that would inject actions in the state machine.

    (2) created a simple VI pushes these actions in the queue and plans to use it as the Web Service.

    And then I followed the examples for Web Services, thinking that the Web server is running in the same program as the development environment, such as the version LV7.  This doesn't seem to work.

    Could someone give me a quick overview on how best to do that, or to report an article?  I have simple working WS, but here are a few questions...

    @ Jed Davidow:

    We met this difficulty with our web app (LV 2009) as well.  Because now we feel the solution the easiest way is to activate the VI server in your main application (EXE) VI and place calls to its hierarchy of web services in the open Application > VI Open > call by Ref > close VI > structure to close the Application.

    Although we try to minimize the use of the present in web services, it makes sense for some resources shared and accessible throughout the world as references to database, configuration globals, etc.

    I also note that there seems to be an instability that we have not been able to identify which may (or not) be attributed to the use of this technique.  The symptom is LabVIEW from memory immediately at some point.

    I am currently looking into migration towards 2010 LV, and it seems that the same constraints between instances of the application are in place.  I expect that, but I was expecting some more simplified with the next version of LV interprocess communication methods.

    --

    James

  • Windows Update runs continuously after the installation/purchase program for Dell Latitude E6530 with Windows 7 Pro 64-bit

    Hello

    I bought a Dell Latitude E6530 'renovated', that was the end of the lease. (It was not defective). I started up and installed Dell help. I have had no trouble to do a few minor update of drivers. However, when I try to update Windows it just runs and.

    I checked the Windows Update with the troubleshooting Diagnostic Utility. I made sure that there is no infection or rootkits on your computer. I followed several suggestions I found the title of Microsoft Support positions and renamed the folder of Distribution system, as well as a few things of the reset. I have register/authenticate online with Microsoft Windows software.

    When I run the troubleshooter, it says registration for the Service is missing or damaged, and he said it suits him, but he can't solve "problems installation of recent updates. However, when I run it again, it is said that he correct once again.

    Any suggestions?

    Melissa

    Check this thread - it helped a lot of us:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-update/Windows-7-update-solution/f39a65fa-9d10-42E7-9bc0-7f5096b36d0c

    Kimmo

  • write for the use of google map in my application

    How to use Google maps instead of Blackberry maps in the development of blackberry applications.

    If you have an idea about this pls share with me.

    Oh but there is an official public API to show a particular location, landmarks, etc. - it's the Google Static Maps API:

    http://code.Google.com/APIs/maps/documentation/staticmaps/

    It is very easy to use. Simply format you a URL, ask that and get you a PNG image that you can view in your application. A legal question to know is that you are supposed to only use the images produced in this way in a web page.

  • Post adjustment Application items in the apex.server.process for a * process application *.

    We were spending the entirety of our method of apex.server.process htmldb_get request the favorite (and documented and supported!). It has worked well so far for the AJAX JavaScript process call, as long as the process of AJAX in question was one * Page * level process. However, when we try to eat a * application * process, it just doesn't seem to work.

    For the examples below, we have two elements of Application named PRS_PRODUCT_PROFILE_ID and PRS_PROFILE_OPERATION. We have a process to request on request (* not * a process page!) named MAINTAIN_PRODUCT_PROFILE_2.

    Here are the previous htmldb_get approach (which works fine):

    function resynchronizeProductProfile (productProfileID)

    {

    var profileOperation = 'EDIT_PROFILE ';

    var ajaxRequest = new htmldb_Get (null, $v ('pFlowId'), 'APPLICATION_PROCESS is MAINTAIN_PRODUCT_PROFILE_2', 0);

    ajaxRequest.add ("PRS_PRODUCT_PROFILE_ID", productProfileID);

    ajaxRequest.add ("PRS_PROFILE_OPERATION", profileOperation);

    var resynchronizeResult = ajaxRequest.get ();

    ajaxRequest = null;

    Return resynchronizeResult;

    }

    Here's the (what I think is the) same call using the new approach of apex.server.process:

    function resynchronizeProductProfile (productProfileID)

    {

    var resynchronizeResult;

    $s ("PRS_PRODUCT_PROFILE_ID", productProfileID);

    $s ('PRS_PROFILE_OPERATION', 'EDIT_PROFILE');

    Apex. Server.Process ("MAINTAIN_PRODUCT_PROFILE_2"

    , {pageItems: ' #PRS_PRODUCT_PROFILE_ID, #PRS_PROFILE_OPERATION '}

    , {dataType: "text"}

    Async: false,

    complete: function (ajaxResponse)

    {

    var resynchronizeResult = ajaxResponse.responseText;

    }

    });

    Return resynchronizeResult;

    }

    However, in the new version, arguments don't appear to be preparing when the MAINTAIN_PRODUCT_PROFILE_2 application process is called. PRS_PROFILE_OPERATION, for example, is on "even if above, you can see that it is, in fact, pre-programmed on 'EDIT_PROFILE '.

    As a general rule, the call to apex.server.process sets the item values in the page and in the session in a single step. This doesn't seem to be the case with elements of the Application (although it works very well for the items on the Page).

    What's up with that? Everyone see my mistake?

    Thank you

    -Joe

    Post edited by: Joe Upshaw

    Joe,

    Using the pictures I showed you can simply use your application objects in the process. This is exactly the same as what htmldb_Get: when you use. add(), you provide a key pair / value that will be added to the respective tables, it is just behind the scenes. By manually adding to the table with apex.server.process, you get the same exact behavior and apex define elements of page/application corresponding to the value in the table of p_arg_names with the value in the p_arg_values table.

    When test you it in your demo application by assigning the value of the page element, and then using the 4 button (point), you can see that the question of the application session state has changed by inspecting the session state of the elements of the application through "session" in the developer toolbar. (it's in the "apex of ajax samples - forum" app)

    Of course, you can use the scalar parameters x # to provide values for the process, but why would you do the extra arch? If the elements of the application would set the restrictions, you still get the same result as if they were not, and they are easily manipulated through the same ajax call. I added an extra button with an ajax call using x 01. I never had problems with the help of the scalar parameters.

Maybe you are looking for