Creating a Simulation-based Final Test in Captivate 4.0

Can I create a simulation-based SCORM-Compliant Final Test in Captivate 4.0 that can be tracked by an LMS?
I want to be able to create a final test that is simulation-based, not knowledge-based and have it load to an LMS which would keep track of each learner's scores and test attempts. I have created a sample simulation-based test around software use so I could make sure that Captivate tracks right/wrong responses and results appear as expected on the quiz Summary screen. My question is, will it load successfully to an LMS assuming I've set the publishing preferences correctly or do I need to follow some set of rules for what a final test should include based on Captivate's and an LMS's functionality?
The "rules" I have received in the past for creating a scored final test have been to 1) always create a knowledge-based test with either multiple choice questions or true-false questions. 2) The Final Test is in a separate file with no test introduction or post-test summary. I'm sure these rules came from somewhere because I have seen them followed in more than one company. However, I'm hopeful that it is now possible for me to create a  more challenging and realistic simulation-based test --- can I? Are there any new rules I should keep in mind for this type of test in order to make sure that the published package conforms with a standard LMS's requirements?
Thanks so much for your help!

Hello,
A lot depends on the LMS too, not only on CP. I have been creating software simulation assessments, and been successful in loading them up to our LMS (blackboard based). In those simulations I use a mix of scored interactivities (such as clicking, choosing menu options) and question slides. You have to decide which interactivities will be scored, and added to the Total score. Some tips: try to label your interactivity objects (such as click boxes) because it will be easier to understand the results page on the LMS (if the LMS is able to give you the data stored). Check and double check the view 'Advanced Interaction' which gives you a global view of the scored questions and interactions. I had to do some 'trial and error' attempts before finding the right way to publish, but am not sure my settings will be the right one for every LMS. P.e. our LMS can return only the first or the last score, if you want to have multiple attempts. If it is a real final assessment I will rarely allow multiple attempts. Be sure to block the possibility to go back. Perhaps this blog could help you (some nice widgets for quiz slides):
http://blogs.adobe.com/captivate/2009/09/widgets_to_streamline_your_qui.html
Hoping to have been of some help,
Lilybiri

Similar Messages

  • LSO Web based training with Final Test

    Hi,
    Our requirement is to have E-learning course with a final exam in it, qualification should be imparted after successful completion of the exam. We have been able to do it by creating and structuring E-learning course in Authoring environment as multiple learning objects. Final test is attached to the learning net as a test element created in the learning net. With this way of course structuring, we have been able to achieve our objective of offering the E-learning with an exam in it for compliance certification, but system does not store the test results (you will get test feed back as pass/fail and final % score, but not at the item level as you can get in On-Line exam).
    Figured that if you create exam as Post test (for Learning net), results are stored, but course can be passed/completed or reached to 100% as soon as you complete all the objects in the learning net (without the final exam). Post
    test is linked to the learning net, but not as learning object.
    My question is, how to make post test mandatory to set the course completed. Learning progress should not reach 100% before passing the final exam.
    Really appreciate your help to figure this out.
    Thanks,
    Jaya

    Hi Ravi,
    Delivery method we have used is 'Web based training'.
    I also tried using Learning objectives on the learning net and on the Item group of the test. Set the course completion specifications to account for both Learning objects and learning objectives. Now learning progress is getting stuck at 50% even though final all objects and final exam is successfully completed.
    Noticed that learning objectives are not being transfered to the participant in the backend.
    Any help is greatly appreciated.
    Thanks and regards,
    Jaya

  • To create a simulation tutorial of an iPad App using Adobe Captivate 08.

    To create a simulation tutorial of an iPad App using Adobe Captivate 08.
    The solution I got is to use Reflector App to mirror the iPad on to the PC and then record the screen. And to show user taps (essential for creating a simulation) through the reflector, NRTouchPoints, a UIWindow subclass that simulates user touches on the screen, has to be included in the application. Has anyone tried this out? Is this suggestion feasible?

    After developing the .swf, I'm creating a .apk (Android application
    package) file which includes the finished .swf file (at 720x1280), 3 icon
    files  (one of which is used as the button on the Android screen to start
    the app), the required .xml file (which holds the necessary info on how
    Android uses the .apk file).
    The finished .apk file is then uploaded to the Android device using the adb
    (Android Debug Bridge) commands in a command prompt.
    Gary Giurbino*
    eLearning Developer
    *Enterprise *Product Docs & Communication
    W: 650.214.2462
    [email protected]
    <http://www.google.com/>*
    1600 Amphitheatre Pkwy
    Mountain View, CA 94043

  • How to create a simulation using Captivate 8 ?

    I want to create a simulation for a tool which would ask for promts to enter values in input boxes, click buttons etc. The instructions should come one by one before a user is promted to enter value in the respective input boxes and click on buttons. How to create it ? I also want to edit the instruction texts after the recording is done. Please help!!

    That is what Captivate was originally designed for: software simulations. Use that kind of New project, Record Software simulation (is also on the Welcome screen, New) and be sure to check Training (better, check also Assessment and Demo). What will happen can be checked in Preferences, Recording, Modes (settings for the 3 recording modes). The text that will be added (you can choose the language before capture) can be edited in a file with extension rdl. Each slide that will be captured, you'll hear a camera click. Both text, click boxes and TEB's will be added automatically but it never hurts to insert an extra slide during capture using the Print Screen button (see Keys for the shortcuts in Preferences). After ending capture with the keyboard key End, you'll have three files (if you checked the 3 modes) that you can edit easily: text will be in a normal text caption or in a shape if you checked that preference and allows normal editing. Same for TEB's, click boxes, highlight boxes. I tend to change the default highlight box before capture using a bright color and more width for the border than the very fine light blue one that is default in most themes.

  • Can I have multiple pre tests and a final test?

    Hi,
    I want to create  unit whereby I have small pre-tests (5) to check knowledge, they must get answer ciorrect to continue. Then i want to create a final test at the end of the project.
    Is this posisble or do i need to have different projects?
    Many thanks
    FS

    I think trying to get feedback to work with Survey Questions using Advanced Actions would be a lot more trouble than it's worth. 
    Also, using Pretest questions is not the answer because they're very limiting in other ways. They MUST all be at the beginning of the project BEFORE the main quiz, and they disable the playbar for the entire module. (This is by design.)  The way Pretests currently work is not usually what authors are looking for.
    If setting ordinary quiz question slides to zero points and deselecting the option to Include in Quiz is NOT enough for you, then I suggest you resort to creating your own 'question' slides via other methods such as building them from default interactive objects available in Captivate.  You can use widgets or buttons or Smart Shapes or Text Entry boxes to replicate most of the other question types.

  • Pre Tests in Captivate

    In one of the Developer Forum articles it mentions the
    ability to use pre-tests in Captivate.
    There is no documentation in HELP or in Knowledgebase on how
    to assign questions to a pre-test as opposed to a post-test, to
    give full credit for & ability to by-pass content w/ all
    correct answers in a pre-test.
    And... if any incorrect pre-test answers, to send learner
    through content & post-test, but in this case, only score user
    on answers in post-test, not all questions in course... Any
    suggestions? Thanks....

    You may be thinking that pre-testing is an actual feature of
    the product, which is not the case.
    Captivate only knows tests... its up to you to design them to
    be useful as a pre-test or a post-test. How you do this is
    determined by the delivery environment your content will be
    accessed from and an understanding of Captivate's reporting
    abilities.
    For example, you mentioned that you want to "give full
    credit", which implies that you're doing centralized reporting in
    some way. The type of reporting you're doing will determine how you
    create your course.
    If you're using an LMS via the SCORM standard, all navigation
    and pass/fail logic must reside in the LMS, so you just build your
    pre-test and make the LMS use the score from that determine whether
    the user passes the overall course. If they don't pass, make them
    take everything, if they do pass, give them credit for the whole
    thing.
    If your particular LMS doesn't let you do that and you can't
    find a way to trick the LMS into doing what you want (say, by
    assigning much higher score values to the questions in the pre-test
    to artificially give the user a score high enough to pass the
    entire course), then you may be out of luck. That's the nature of
    SCORM, and has nothing to do with Captivate.
    Bottom line, there's no documentation because Captivate is
    not intended to fit into any particular system or scheme. It's
    merely a tool that lets you create building blocks that you can
    (hopefully) slot into a separate solution using a "standards-based"
    interface, such as AICC/SCORM, or one of the other options listed
    in the Quiz Manager.
    The reality is that each deployment environment, especially
    the "standards-based" ones, have their own quirks and deployment
    requirements, so how you make Captivate work in your particular
    environment is unfortunately left up to you. That's just the nature
    of the game.

  • Pre-Test in Captivate with rating scale questions

    What I want to do with Captivate:
    - First an Pre-Test with 35 Questions the learner has to answer. I have to use a scale from 1 to 6.
    - These questions belong to 13 groups of questions
    - The Results of the questions are to be summed up in grouping variables
    - The Score in the variables are responsible, which of the eLearning-Moduls should be highligthed in the TOC
    - At last the TOC should be displayed
    - I want to use for every of the following moduls an own project (to reduce the size of every project)
    - I have to import this all in the LMS ILIAS (Scorm 1.2 and Scorm 2004)
    - the learner should be able to interrupt the application at any time and resume again
    I have seen the Thread "how to make a Pre Test in Captivate 4" and I work out the script-example inside the Captivate-Help  and the ebook from Rick Stone.
    What is the recommendation
    1. to realize the slides with the questions (they should be self-created, but how to do?)
    2. to realize the code in the advanced actions
    3. to realize the working-together of the project with pre-test and toc and all the following modules
    Perhaps, someone has an example for me.
    Best regards
    Winfried

    Hello Winfried,
    Spent a couple of hours yesterday to work out a proposition. Must confess that I realized it in CP5, mostly to save some time with the Advanced Actions but it could be done in CP4 too. Beware: I did not bother a lot about the layout, graphics, just tried to find a workflow that will achieve your goal only using Captivate (no widgets, no to be written Flash-SWF's) within a reasonable amount of time. There is quite a lot of copy/paste possible, repetitive tasks that are a bit monotonous, sorry about it, and some discipline is necessary.
    To start with: I made some choices to simplfy.
    You showed me a screenshot with buttons to click on (little bit like the Likert Question slide) but I have preferred to have the user introduce a number from 1 to 6, which means you'll need a legend to explain on each page. If you really want the six buttons later on, you should look for a widget or a Flash SWF that returns a value = clicked button (1 to 6). To achieve this in Cp alone would be a tremendous work. You should have to take into account that a user can change his mind and click on another button... With my system (typing a number) this is no issue.
    Choose to put 13 questions on each slide, one for each question group. This makes it possible to prepare one slide and copy it twice (to have 39 possible questions). There will have to be done some minor changes on the copies, but most of the work can be taken over. If you prefer to have less questions/slide that would be also possible, but then you'll have different copies (p.e. a slide with 7 and a slide with 6 questions).
    Choose to have a submit button for each question that will trigger an advanced action. Mostly need this to check after completion of a slide if all questions have been answered. If you do not like those many 'Submit' buttons, in CP5 this could be easily replaced, in CP4 it will take some more working time.
    First screenshot of a question slide:
    In this screenshot you'll see 13 questions with 13 Text Entry Boxes. For the TEB I provided the Submit button and only the Failure Caption (red one: put all of them in the same spot). The value entered in the TEB is stored in a user variable, so I needed 13 user variables for this slide, labeled them:
    v_1  v_2   .... v_13.
    Same user variables will be used on the next question slide (if you have less questions/slide you'll need less user vars of this kind).
    TEB is validated for the values 1 up till 6. If another number is entered the Failure Caption shows up.
    The blue Text Captino (Please, answer all...) is initially hidden when entering the slide (action for On Enter slide).
    Each Submit button triggers an Advanced action (labeled first AddGroup1) on success (slightly different, you'll need 13 of then, but copy can limit the work), with variables:
    created one variable 'v_counter' to store the number of correct answers on the slide, will be used to check if all questions have been answered; this counter is set to the value 0 on entering the slide
    created 13 group variables  v_G1  v_G2.... v_G13 to store the total score per group
    labeled actions like AddGroup1:
    increments counter with 1
    adds value stored in v_1 to the variable v_G1
    because playhead shouldn't move on the Timeline, set the system var rdcmndGotoFrame = rdInfoCurrentFrame
    in the 12 copies of this action, only second action has to be changed
    Next button allows the user to go to the next slide, but triggers another advanced action, that I labeled TestCompleteSlide1. You'll need a slightly different action for each Question slide, but again copy does most of the work. This action:
    checks if the variable counter is different from 13
    if it is different:
    the blue Text Caption is showed to insist on answering all the questions (this is what had to be changed on copy, because each text caption has its proper ID, blue Text Caption on second question slide has a different ID from that on first)
    rdcmndGotoFrame = rdInfoCurrentFrame - 2 to put back the playhead
    if it is 13, jump to next slide
    Last slide is TOC: The modules to be taken will be marked with a green circle in this screenshot and get a click box over the name and the green circle. Those not to be taken will be marked with a red triangle and not have a click box. You'll have to configure the click boxes to open the proper module. Initially all click boxes are there but invisible. Same for all green circles and red triangles. They will get visible based on checking the value of the grouping variables v_G1  v_G2.... v_G13. Just a screenshot here, if you confirm that you want to try my proposition, will explain further. This was rather easy in CP5, will not be in CP4, that is why I didn't yet work it out in CP4:
    Lilybiri

  • How to create a report based on a DataSet programatically

    I'm working on a CR 2008 Add-in.
    Usage of this add-in is: Let the user choose from a list of predefined datasets, and create a totally empty report with this dataset attached to is. So the user can create a report based on this dataset.
    I have a dataset in memory, and want to create a new report in cr2008.
    The new report is a blank report (with no connection information).
    If I set the ReportDocument.SetDataSource(Dataset dataSet) property, I get the error:
    The report has no tables.
    So I must programmatically define the table definition in my blank report.
    I found the following article: https://boc.sdn.sap.com/node/869, and came up with something like this:
    internal class NewReportWorker : Worker
          public NewReportWorker(string reportFileName)
             : base(reportFileName)
    public override void Process()
             DatabaseController databaseController = ClientDoc.DatabaseController;
             Table table = new Table();
             string tabelName = "Table140";
             table.Name = tabelName;
             table.Alias = tabelName;
             table.QualifiedName = tabelName;
             table.Description = tabelName;
             var fields = new Fields();
             var dbField = new DBField();
             var fieldName = "ID";
             dbField.Description = fieldName;
             dbField.HeadingText = fieldName;
             dbField.Name = fieldName;
             dbField.Type = CrFieldValueTypeEnum.crFieldValueTypeInt64sField;
             fields.Add(dbField);
             dbField = new DBField();
             fieldName = "IDLEGITIMATIEBEWIJS";
             dbField.Description = fieldName;
             dbField.HeadingText = fieldName;
             dbField.Name = fieldName;
             dbField.Type = CrFieldValueTypeEnum.crFieldValueTypeInt64sField;
             fields.Add(dbField);
             // More code for more tables to add.
             table.DataFields = fields;
             //CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo info =
             //   new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
             //info.Attributes.Add("Databse DLL", "xxx.dll");
             //table.ConnectionInfo = info;
             // Here an error occurs.
             databaseController.AddTable(table, null);
             ReportDoc.SetDataSource( [MyFilledDataSet] );
             //object path = @"d:\logfiles\";
             //ClientDoc.SaveAs("test.rpt", ref path, 0);
    The object ClientDoc referes to a ISCDReportClientDocument in a base class:
       internal abstract class Worker
          private ReportDocument _ReportDoc;
          private ISCDReportClientDocument _ClientDoc;
          private string _ReportFileName;
          public Worker(string reportFileName)
             _ReportFileName = reportFileName;
             _ReportDoc = new ReportDocument();
             // Load the report from file path passed by the designer.
             _ReportDoc.Load(reportFileName);
             // Create a RAS Document through In-Proc RAS through the RPTDoc.
             _ClientDoc = _ReportDoc.ReportClientDocument;
          public string ReportFileName
             get
                return _ReportFileName;
          public ReportDocument ReportDoc
             get
                return _ReportDoc;
          public ISCDReportClientDocument ClientDoc
             get
                return _ClientDoc;
    But I get an "Unspecified error" on the line databaseController.AddTable(table, null);
    What am i doing wrong? Or is there another way to create a new report based on a DataSet in C# code?

    Hi,
    Have a look at the snippet code below written for version 9 that you might accommodate to CR 2008, it demonstrates how to create a report based on a DataSet programmatically.
    //=========================================================================
    +           * the following two string values can be modified to reflect your system+
    +          ************************************************************************************************/+
    +          string mdb_path = "C:
    program files
    crystal decisions
    crystal reports 9
    samples
    en
    databases
    xtreme.mdb";    // path to xtreme.mdb file+
    +          string xsd_path = "C:
    Crystal
    rasnet
    ras9_csharp_win_datasetreport
    customer.xsd";  // path to customer schema file+
    +          // Dataset+
    +          OleDbConnection m_connection;                         // ado.net connection+
    +          OleDbDataAdapter m_adapter;                              // ado.net adapter+
    +          System.Data.DataSet m_dataset;                         // ado.net dataset+
    +          // CR variables+
    +          ReportClientDocument m_crReportDocument;          // report client document+
    +          Field m_crFieldCustomer;+
    +          Field m_crFieldCountry;+
    +          void CreateData()+
    +          {+
    +               // Create OLEDB connection+
    +               m_connection = new OleDbConnection();+
    +               m_connection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + mdb_path;+
    +               // Create Data Adapter+
    +               m_adapter = new OleDbDataAdapter("select * from Customer where Country='Canada'", m_connection);+
    +               // create dataset and fill+
    +               m_dataset = new System.Data.DataSet();+
    +               m_adapter.Fill(m_dataset, "Customer");+
    +               // create a schema file+
    +               m_dataset.WriteXmlSchema(xsd_path);+
    +          }+
    +          // Adds a DataSource using dataset. Since this does not require intermediate schema file, this method+
    +          // will work in a distributed environment where you have IIS box on server A and RAS Server on server B.+
    +          void AddDataSourceUsingDataSet(+
    +               ReportClientDocument rcDoc,          // report client document+
    +               System.Data.DataSet data)          // dataset+
    +          {+
    +               // add a datasource+
    +               DataSetConverter.AddDataSource(rcDoc, data);+
    +          }+
    +          // Adds a DataSource using a physical schema file. This method require you to have schema file in RAS Server+
    +          // box (NOT ON SDK BOX). In distributed environment where you have IIS on server A and RAS on server B,+
    +          // and you execute CreateData above, schema file is created in IIS box, and this method will fail, because+
    +          // RAS server cannot see that schema file on its local machine. In such environment, you must use method+
    +          // above.+
    +          void AddDataSourceUsingSchemaFile(+
    +               ReportClientDocument rcDoc,          // report client document+
    +               string schema_file_name,          // xml schema file location+
    +               string table_name,                    // table to be added+
    +               System.Data.DataSet data)          // dataset+
    +          {+
    +               PropertyBag crLogonInfo;               // logon info+
    +               PropertyBag crAttributes;               // logon attributes+
    +               ConnectionInfo crConnectionInfo;     // connection info+
    +               CrystalDecisions.ReportAppServer.DataDefModel.Table crTable;+
    +               // database table+
    +               // create logon property+
    +               crLogonInfo = new PropertyBag();+
    +               crLogonInfo["XML File Path"] = schema_file_name;+
    +               // create logon attributes+
    +               crAttributes = new PropertyBag();+
    +               crAttributes["Database DLL"] = "crdb_adoplus.dll";+
    +               crAttributes["QE_DatabaseType"] = "ADO.NET (XML)";+
    +               crAttributes["QE_ServerDescription"] = "NewDataSet";+
    +               crAttributes["QE_SQLDB"] = true;+
    +               crAttributes["QE_LogonProperties"] = crLogonInfo;+
    +               // create connection info+
    +               crConnectionInfo = new ConnectionInfo();+
    +               crConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;+
    +               crConnectionInfo.Attributes = crAttributes;+
    +               // create a table+
    +               crTable = new CrystalDecisions.ReportAppServer.DataDefModel.Table();+
    +               crTable.ConnectionInfo = crConnectionInfo;+
    +               crTable.Name = table_name;+
    +               crTable.Alias = table_name;+
    +               // add a table+
    +               rcDoc.DatabaseController.AddTable(crTable, null);+
    +               // pass dataset+
    +               rcDoc.DatabaseController.SetDataSource(DataSetConverter.Convert(data), table_name, table_name);+
    +          }+
    +          void CreateReport()+
    +          {+
    +               int iField;+
    +               // create ado.net dataset+
    +               CreateData();+
    +               // create report client document+
    +               m_crReportDocument = new ReportClientDocument();+
    +               m_crReportDocument.ReportAppServer = "127.0.0.1";+
    +               // new report document+
    +               m_crReportDocument.New();+
    +               // add a datasource using a schema file+
    +               // note that if you have distributed environment, you should use AddDataSourceUsingDataSet method instead.+
    +               // for more information, refer to comments on these methods.+
    +               AddDataSourceUsingSchemaFile(m_crReportDocument, xsd_path, "Customer", m_dataset);+
    +                              +
    +               // get Customer Name and Country fields+
    +               iField = m_crReportDocument.Database.Tables[0].DataFields.Find("Customer Name", CrFieldDisplayNameTypeEnum.crFieldDisplayNameName, CeLocale.ceLocaleUserDefault);+
    +               m_crFieldCustomer = (Field)m_crReportDocument.Database.Tables[0].DataFields[iField];+
    +               iField = m_crReportDocument.Database.Tables[0].DataFields.Find("Country", CrFieldDisplayNameTypeEnum.crFieldDisplayNameName, CeLocale.ceLocaleUserDefault);+
    +               m_crFieldCountry = (Field)m_crReportDocument.Database.Tables[0].DataFields[iField];+
    +               // add Customer Name and Country fields+
    +               m_crReportDocument.DataDefController.ResultFieldController.Add(-1, m_crFieldCustomer);+
    +               m_crReportDocument.DataDefController.ResultFieldController.Add(-1, m_crFieldCountry);+
    +               // view report+
    +               crystalReportViewer1.ReportSource = m_crReportDocument;+
    +          }+
    +          public Form1()+
    +          {+
    +               //+
    +               // Required for Windows Form Designer support+
    +               //+
    +               InitializeComponent();+
    +               // Create Report+
    +               CreateReport();+
    +               //+
    +               // TODO: Add any constructor code after InitializeComponent call+
    +               //+
    +          }+//=========================================================================

  • Is anyone else trying to use Edge Animation to create software simulations?

    We're in the process of evaluating Edge Animate to create software simulations. We want to use it because it has many great HTML5 functions. We're also evaluating Captivate7 - which also has an HTML5 option - but it lacks some of the functionality we're looking for. Like the ability to show users a 'hint' when they hover their cursor over an object. Why that functionality isn't there already - I still can't figure out. It would be create if Adobe could take some of the functionality in Edge Animate and incorporate it into Captivate! It would make an awesome product!
    If you're attempted or were successful creating a software simulation using Edge Animate - I would be interested in hearing how you accomplished it. Also looking for some best practices around this idea.
    I think Edge Animate would be an amazing product for software simulation if it incorporates a few enhancements.
    In the timeline - allow the user to nest things. The timeline can get unwieldy quickly. Would be nice to be able to nest items and then twirl the nested items to hid them - like in AE.
    Enable AE functionality with the ability to play one Edge Animate piece inside another.
    Provide the ability to add video with transparent backgrounds. We wanted to have someone walk on screen and appear as if they were walking on the software. Can't do it in Edge Animate!
    If you have any other ideas or suggestions for creating software simulations in Edge Animate - would be great to hear from the community

    Hi there,
    Thanks for your suggestions! We're looking at ways to make the timeline more flexible as far as nesting and/or hiding elements, so hopefully these types of improvements will come as Animate continues to grow. Just wanted to quickly pop in to address a few of your bullet points - hopefully, other Animate users can answer regarding whether they use Animate for software simulation.
    Your first two points (I think) can be at least somewhat addressed by using symbols. Each symbol has its own timeline which can contain many elements, but it will appear as a single element in the main (Stage) timeline.
    Regarding video, there's currently only one HTML5 browser that natively supports video with alpha transparency: Chrome, using video encoded to the webm format. See here for more info: Alpha transparency in Chrome video - HTML5Rocks Updates
    Once other browsers start incorporating native support for video with transparency, this could be pretty cool. But as of now, native browser support is still quite limited.
    Thanks,
    Joe

  • Create RSA keys based on p and q

    Is there a way to create a KeyPair based on p and q (BigIntegers or byte[])
    The reason i need this is because i need to encrypt files that need to be decrypted in a c# program (and vice versa). The encryption needs to be RSA (so no DES or....) although i know that there is not really a need for asymetric encryption.
    The problem is I can generate a keypair in Java but then i cannot get the data for that keypair in c# (and vice versa).
    In c# i can create an equivalent of a keyPair based on p and q or on so if there would be a way to get the p and the q of a generated keypair that would also help (or all the other paramets, d, n, e, phi,....).
    Thanks

    You can generate a PKCS8 private key bytes and X509 public key byte using something like
                final KeyPairGenerator rsaKeyPairGenerator = KeyPairGenerator.getInstance("RSA");
                rsaKeyPairGenerator.initialize(2048); // or whatever size you want
                final KeyPair rseKeyPair = rsaKeyPairGenerator.generateKeyPair();
                // The private key as PKCS8 bytes
                final byte[] privateKeyAsBytes = rseKeyPair.getPrivate().getEncoded();
                // The public key as X509 bytes
                final byte[] publicKeyAsBytes = rseKeyPair.getPublic().getEncoded();then you can import the X509 into C# (C# must have a way of importing an X509).
    OR
    do a similar thing in C# and export the X509 public key and import it into Java.
    The private key should only be used by either the C# or Java application (not both) and I would expect whichever needs the private key should generate the key pair.

  • Need to create a transformation based on Update Rules Logic

    Hi,
    I have an existing complex Update Rule. I need to manually create a Transformation based on this Update Rule logic. The Start Routine of the Update Rule comprises of:
    1) All data declarations in the Global Area
    2) The local coding area consists of various select statements from various r/3 tables used later for mapping. It also calculates and stores values in the Data Package final internal table for few infoobjects that are not present in the Source object but and are used to populated data in the target.
    3) then we have the various one to one individual Infoobject mappings/constants and many individual infoobject routines that pick result from the comm_structure
    I am not very clear as to where each of the above coding logic should be put in the transformation coding area...... I can see four main coding areas in the transformation....global area, 2nd Global Area, Method Start_Routine and Method Inverse_Start_Routine........... I think the global data declarations(point 1 above) should be put in the Global declaration area of the start routine. The local area of the update rule logic (point 2 above) that contains select statements should be put in 2nd Global part or should it be put in Method Start_routine????? Point 3 above for individual filed mappings will be done through Rule groups. Also can anyone let me know what is the methos inverse_start_routine used for?????
    Thanks.

    Hi,
    Point 1 you mentioned should be put under2nd Global declaration part of start routine.
    Point 2 should be put under Method Start_routine.
    Point 3 as you only mentioned can be done by individual field rule mappings.
    Method inverse_start_routine
          This subroutine needs to be implemented only for direct access
          (for better performance) and for the Report/Report Interface
          (drill through)
    Not very clear though about Inverse routine. But definetly not being used for the case you mentioned.
    Hope it helps.

  • Create a simulated software environment

    Captivate captures the screens, interactions you click on. How can you create a simulation that mirrors as close as possible to the real software environment? Menus, text fields, checkboxes are all selectable and it evaluates you if you clicks at the right thing or enter the right text.
    Is it possible?
    Thanks,

    You need to capture the drop-down menus separately (probably using something like SnagIT) then place them on your Captivate slides to be activated by mouseover.  There are a couple of ways to pull this off.
    One way is to have the menu capture images set up as rollover image objects.  But they're not clickable objects.  So that way doesn't really work too well
    The other way is far more complex but at least it works.  You need to use Event Handler widgets on the slide that detect rollover events on hidden highlight boxes placed as hit areas where the drop-down menus are activated.  The Event Handler will then jump the user to another slide that shows the dropdown menu in its open position.  On that slide you have rollover image objects placed on top of the drop down menu so that rolling over the drop down menu options triggers images to appear that look like the rollover states of each menu item.  Then you have these images attached to more Event Handler widgets that are set to listen for mouse click events on these rollover images.  When clicked, each separate menu item will then jump the user to still other slides that reflect what they would see in the app if they had chosen those options.
    Are you getting the idea?

  • Is there a way to create a collection based on the "previous import"?

    is there a way to create a collection based on the "previous import"? that would make it easy to mobile sync the last import to my ipad, and do further picking/rejecting while away from my laptop.

    well, yes, of course i could do it that way. i guess i wasn't specific enough. is there a way to create a smart collection, with the photos in the "previous import" as members of the smart collection.  earlier i mentioned about using this smart collection to mobile sync with my ipad, to do further flagging.
    so my intention, use a smart collection to mobile sync with my ipad, and the smart collection to include the photos from my previous import.
    i guess another way to ask the question, is there a way to create a smart collection, by using some rule or condition in the smart collection, to automatically include previous import photos.
    the documentation says that "previous import" is a collection, even though it shows up in the catalogue side bar section. but i see no way to choose that collection when making a smart collection.
    jd

  • Create a JTable based on an ArrayList containing instances of a class.

    I have a class, IncomeBudgetItem, instances of which are contained in an ArrayList. I would like to create a JTable, based on this ArrayList. One variable is a string, while others are type double. Not all variables are to appear in the JTable.
    The internal logic of my program is already working. And my GUI is largely constructed. I'm just not sure how to make them talk to each other. The actually creation of the JTable is my biggest problem right now.

    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.util.ArrayList;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.AbstractTableModel;
    public class TableDemo extends JPanel {
         private boolean DEBUG = false;
         public TableDemo() {
              super(new GridLayout(1, 0));
              ArrayList<MyObject> list = new ArrayList<MyObject>();
              list.add(new MyObject("Kathy", "Smith", "Snowboarding", new Integer(5),
                        new Boolean(false)));
              list.add(new MyObject("John", "Doe", "Rowing", new Integer(3),
                        new Boolean(true)));
              list.add(new MyObject("Sue", "Black", "Knitting", new Integer(2),
                        new Boolean(false)));
              list.add(new MyObject("Jane", "White", "Speed reading",
                        new Integer(20), new Boolean(true)));
              JTable table = new JTable(new MyTableModel(list));
              table.setPreferredScrollableViewportSize(new Dimension(500, 70));
              table.setFillsViewportHeight(true);
              // Create the scroll pane and add the table to it.
              JScrollPane scrollPane = new JScrollPane(table);
              // Add the scroll pane to this panel.
              add(scrollPane);
         class MyObject {
              String firstName;
              String lastName;
              String sport;
              int years;
              boolean isVeg;
              MyObject(String firstName, String lastName, String sport, int years,
                        boolean isVeg) {
                   this.firstName = firstName;
                   this.lastName = lastName;
                   this.sport = sport;
                   this.years = years;
                   this.isVeg = isVeg;
         class MyTableModel extends AbstractTableModel {
              private String[] columnNames = { "First Name", "Last Name", "Sport",
                        "# of Years", "Vegetarian" };
              ArrayList<MyObject> list = null;
              MyTableModel(ArrayList<MyObject> list) {
                   this.list = list;
              public int getColumnCount() {
                   return columnNames.length;
              public int getRowCount() {
                   return list.size();
              public String getColumnName(int col) {
                   return columnNames[col];
              public Object getValueAt(int row, int col) {
                   MyObject object = list.get(row);
                   switch (col) {
                   case 0:
                        return object.firstName;
                   case 1:
                        return object.lastName;
                   case 2:
                        return object.sport;
                   case 3:
                        return object.years;
                   case 4:
                        return object.isVeg;
                   default:
                        return "unknown";
              public Class getColumnClass(int c) {
                   return getValueAt(0, c).getClass();
          * Create the GUI and show it. For thread safety, this method should be
          * invoked from the event-dispatching thread.
         private static void createAndShowGUI() {
              // Create and set up the window.
              JFrame frame = new JFrame("TableDemo");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              // Create and set up the content pane.
              TableDemo newContentPane = new TableDemo();
              newContentPane.setOpaque(true); // content panes must be opaque
              frame.setContentPane(newContentPane);
              // Display the window.
              frame.pack();
              frame.setVisible(true);
         public static void main(String[] args) {
              // Schedule a job for the event-dispatching thread:
              // creating and showing this application's GUI.
              javax.swing.SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        createAndShowGUI();
    }

  • How to create the web based report without enterprise portal?

    Hi experts,
    We don't have enterprise portal but I like to create the web based version of the existing Bex reports and which option is the best to distribute this web based report using information broadcasting?
    Can I use report designer for this?
    Thanks in advance.
    Sharat.

    Hi Sharat
    In BI 7.0 the Queries which u devoleped can be broad casted by using two ways .
    1. Enterprise portal
    2.Web Application Designer(WAD)
    So you can choose any of the option, For the Option 1 you should have seperate server for the EP or else For option 2 you have to make some setting in the BI system to enable the Web reports..
    Reagrds
    Satish

Maybe you are looking for

  • Preformatted RTF string in XML data for BI Publisher merge

    Hi I have been presented to the question: Can we send a preformatted RTF text as one of the input fields in XML stream to BI Publisher (mail)merge? We're using the MS Word plugin to create a RTF template. Effectively we want to merge RTF text using R

  • How do I add a lightroom gallery/slideshow to my BC site?

    I've tried to "publish" my slideshow gallery to first my blogger to no avail and now to my BC site that I have created.  Why aren't any of these Adobe apps compatible or able to integrate/communicate with one another?  I refuse to believe that there

  • How to display Error for a particular text box programaticaly

    Hello All, I have 5 text boxes in a form and I have a requirement where if user click on any of the text boxes then i need to pass the id to class A and show the error description related to that text box in faces message. I have created class A in w

  • Can FCPX "upconvert" & export DVD video at 960x540?

    My video needs are basic -- mostly editing short clips, but often they're imported from standard DVDs from the pre-HD era. But as an audio pro, I'm accustomed to very flexible and precise editing controls. Frustrated with iMovie, I'm considering purc

  • Adobe CS3 - Will Not Install

    I just bought Adobe CS3 today but when I click on the install file, it does nothing. I have searched the web for help, but the one or two solutions I did manage to find seem far beyond me. I am on Windows Vista. Anyone have any solutions? Any respons