Help with FileTreePanel Modification

Is it possible to turn these labels into check boxes?
import java.awt.BorderLayout;
import java.awt.Component;
import java.io.File;
import java.util.*;
import javax.swing.*;
import javax.swing.border.EmptyBorder;
import javax.swing.filechooser.FileSystemView;
import javax.swing.tree.DefaultTreeCellRenderer;
import javax.swing.tree.TreeNode;
* @author Kirill Grouchnikov
public class FileTreePanel extends JPanel {
      * File system view.
     protected static FileSystemView fsv = FileSystemView.getFileSystemView();
      * Renderer for the file tree.
      * @author Kirill Grouchnikov
     private static class FileTreeCellRenderer extends DefaultTreeCellRenderer {
           * Icon cache to speed the rendering.
          private Map<String, Icon> iconCache = new HashMap<String, Icon>();
           * Root name cache to speed the rendering.
          private Map<File, String> rootNameCache = new HashMap<File, String>();
           * (non-Javadoc)
           * @see javax.swing.tree.DefaultTreeCellRenderer#getTreeCellRendererComponent(javax.swing.JTree,
           *      java.lang.Object, boolean, boolean, boolean, int, boolean)
          @Override
          public Component getTreeCellRendererComponent(JTree tree, Object value,
                    boolean sel, boolean expanded, boolean leaf, int row,
                    boolean hasFocus) {
               FileTreeNode ftn = (FileTreeNode) value;
               File file = ftn.file;
               String filename = "";
               if (file != null) {
                    if (ftn.isFileSystemRoot) {
                         // long start = System.currentTimeMillis();
                         filename = this.rootNameCache.get(file);
                         if (filename == null) {
                              filename = fsv.getSystemDisplayName(file);
                              this.rootNameCache.put(file, filename);
                         // long end = System.currentTimeMillis();
                         // System.out.println(filename + ":" + (end - start));
                    } else {
                         filename = file.getName();
               JLabel result = (JLabel) super.getTreeCellRendererComponent(tree,
                         filename, sel, expanded, leaf, row, hasFocus);
               if (file != null) {
                    Icon icon = this.iconCache.get(filename);
                    if (icon == null) {
                         // System.out.println("Getting icon of " + filename);
                         icon = fsv.getSystemIcon(file);
                         this.iconCache.put(filename, icon);
                    result.setIcon(icon);
               return result;
      * A node in the file tree.
      * @author Kirill Grouchnikov
     private static class FileTreeNode implements TreeNode {
           * Node file.
          private File file;
           * Children of the node file.
          private File[] children;
           * Parent node.
          private TreeNode parent;
           * Indication whether this node corresponds to a file system root.
          private boolean isFileSystemRoot;
           * Creates a new file tree node.
           * @param file
           *            Node file
           * @param isFileSystemRoot
           *            Indicates whether the file is a file system root.
           * @param parent
           *            Parent node.
          public FileTreeNode(File file, boolean isFileSystemRoot, TreeNode parent) {
               this.file = file;
               this.isFileSystemRoot = isFileSystemRoot;
               this.parent = parent;
               this.children = this.file.listFiles();
               if (this.children == null)
                    this.children = new File[0];
           * Creates a new file tree node.
           * @param children
           *            Children files.
          public FileTreeNode(File[] children) {
               this.file = null;
               this.parent = null;
               this.children = children;
           * (non-Javadoc)
           * @see javax.swing.tree.TreeNode#children()
          public Enumeration<?> children() {
               final int elementCount = this.children.length;
               return new Enumeration<File>() {
                    int count = 0;
                     * (non-Javadoc)
                     * @see java.util.Enumeration#hasMoreElements()
                    public boolean hasMoreElements() {
                         return this.count < elementCount;
                     * (non-Javadoc)
                     * @see java.util.Enumeration#nextElement()
                    public File nextElement() {
                         if (this.count < elementCount) {
                              return FileTreeNode.this.children[this.count++];
                         throw new NoSuchElementException("Vector Enumeration");
           * (non-Javadoc)
           * @see javax.swing.tree.TreeNode#getAllowsChildren()
          public boolean getAllowsChildren() {
               return true;
           * (non-Javadoc)
           * @see javax.swing.tree.TreeNode#getChildAt(int)
          public TreeNode getChildAt(int childIndex) {
               return new FileTreeNode(this.children[childIndex],
                         this.parent == null, this);
           * (non-Javadoc)
           * @see javax.swing.tree.TreeNode#getChildCount()
          public int getChildCount() {
               return this.children.length;
           * (non-Javadoc)
           * @see javax.swing.tree.TreeNode#getIndex(javax.swing.tree.TreeNode)
          public int getIndex(TreeNode node) {
               FileTreeNode ftn = (FileTreeNode) node;
               for (int i = 0; i < this.children.length; i++) {
                    if (ftn.file.equals(this.children))
                         return i;
               return -1;
          * (non-Javadoc)
          * @see javax.swing.tree.TreeNode#getParent()
          public TreeNode getParent() {
               return this.parent;
          * (non-Javadoc)
          * @see javax.swing.tree.TreeNode#isLeaf()
          public boolean isLeaf() {
               return (this.getChildCount() == 0);
     * The file tree.
     public JTree tree;
     * Creates the file tree panel.
     public FileTreePanel() {
          this.setLayout(new BorderLayout());
          File[] roots = File.listRoots();
          FileTreeNode rootTreeNode = new FileTreeNode(roots);
          this.tree = new JTree(rootTreeNode);
          this.tree.setCellRenderer(new FileTreeCellRenderer());
          this.tree.setRootVisible(false);
          final JScrollPane jsp = new JScrollPane(this.tree);
          jsp.setBorder(new EmptyBorder(0, 0, 0, 0));
          this.add(jsp, BorderLayout.CENTER);
     public static void main(String[] args) {
          SwingUtilities.invokeLater(new Runnable() {
               public void run() {
                    JFrame frame = new JFrame("File tree");
                    frame.setSize(500, 400);
                    frame.setLocationRelativeTo(null);
                    frame.add(new FileTreePanel());
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    frame.setVisible(true);

I found this using Google, but I don't know how to go about doing it.
"Making a tree with check boxes has been done before and doing a web search will reveal several examples of such. Simply adding JCheckBox as the rendering component of the nodes is not enough since the rendering is static, and you have to manually add listeners to check and uncheck the box."

Similar Messages

  • Help with CSS modifications...

    Hi!
    Finally got this up online for temporary testing. Here are
    the items I'd like to modify...not sure how to tweak the code/css.
    1) for starters, the links on the left hand continously move
    down when I hit return in order to add more content on the page.
    I'd like for everything in the left hand panel to be completely
    static, and so the links fit into that transparency block within
    the background image. (they are in a table now, before I had them
    outside of a table, but I had a difficulty controlling them) When
    we correct these to move up, the contact phone #, etc, will move up
    where they should be positioned as well.
    2) if you click on one of the links, the remainder of the
    links all receive the 'visited' state visual; it's reading as one
    cohesive element. That should not be, as they are independent.
    3) I'm trying to control the "join our mailing list" to move
    up into the sign up box, and in turn, this will bring up my main
    paragraph closer to the top of this cell.
    As you will see, I'm attempting to control this with CSS as
    much as I can.
    Thank you for your help; I really appreciate it!
    www.fasttag.com/prestige-lane-testing-phase

    > 1) for starters, the links on the left hand continously
    move down when I
    > hit
    > return in order to add more content on the page. I'd
    like for everything
    > in the
    > left hand panel to be completely static, and so the
    links fit into that
    > transparency block within the background image. (they
    are in a table now,
    > before I had them outside of a table, but I had a
    difficulty controlling
    > them)
    > When we correct these to move up, the contact phone #,
    etc, will move up
    > where
    > they should be positioned as well.
    They are moving because a) they are in a table that is nested
    in a table
    cell, b) the table cell in which that table is nested has no
    vertical
    alignment specified, c) with no vertical alignment specified,
    you get the
    default, which is MIDDLE, and d) as the outer table grows in
    height, the
    middle point of the cell in which the navigation table is
    nested also
    migrates lower.
    The solution is to assign the CSS style vertical-align:top to
    td.navlinks.
    > 2) if you click on one of the links, the remainder of
    the links all
    > receive
    > the 'visited' state visual; it's reading as one cohesive
    element. That
    > should
    > not be, as they are independent.
    This is because they are all linking to the same target.
    Visit one, and all
    become visited.
    <tr>
    <td><a href="
    http://www.fasttag.com">FastTag</a></td>
    </tr>
    <tr>
    <td><a href="
    http://www.fasttag.com">Greenlight
    Keycard</a></td>
    </tr>
    <tr>
    <td><a href="
    http://www.fasttag.com">Pocket
    Concierge</a></td>
    </tr>
    <tr>
    <td><a href="
    http://www.fasttag.com">Other
    Hotel Products</a></td>
    > 3) I'm trying to control the "join our mailing list" to
    move up into the
    > sign
    > up box, and in turn, this will bring up my main
    paragraph closer to the
    > top of
    > this cell.
    The " " is not a layout tool. Don't use it as if it
    were -
    <h1
    class="signup">    SIGN
    UP!</h1>
    If you want that content spaced over from the left, use a
    padding-left style
    on the .signup class.
    Do not use background-attachment on that <h1> -
    .signup {
    height: 50px;
    width: 99px;
    border: 1px solid #C5C19D;
    margin-top: 20px;
    margin-left: 420px;
    margin-right: 20px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #591F00;
    font-size: 13px;
    background-image: url(images/signup-gradient.jpg);
    background-repeat: repeat-y;
    background-position: 10px;
    background-attachment: fixed;
    Replace your markup for that <h1> and <td> with
    this -
    <td width="546" height="261" valign="top"><h1
    class="signup"
    style="padding-left:10px;width:89px;">SIGN UP!<br>
    <span class="joinmailinglist"
    style="margin-left:0;">Join our
    <br>mailing list</span></h1>
    Finally, validate your page, and fix the errors. You have
    table heights,
    for example....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "r_tist" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi!
    >
    > Finally got this up online for temporary testing. Here
    are the items I'd
    > like
    > to modify...not sure how to tweak the code/css.
    >
    > 1) for starters, the links on the left hand continously
    move down when I
    > hit
    > return in order to add more content on the page. I'd
    like for everything
    > in the
    > left hand panel to be completely static, and so the
    links fit into that
    > transparency block within the background image. (they
    are in a table now,
    > before I had them outside of a table, but I had a
    difficulty controlling
    > them)
    > When we correct these to move up, the contact phone #,
    etc, will move up
    > where
    > they should be positioned as well.
    >
    > 2) if you click on one of the links, the remainder of
    the links all
    > receive
    > the 'visited' state visual; it's reading as one cohesive
    element. That
    > should
    > not be, as they are independent.
    >
    > 3) I'm trying to control the "join our mailing list" to
    move up into the
    > sign
    > up box, and in turn, this will bring up my main
    paragraph closer to the
    > top of
    > this cell.
    >
    > As you will see, I'm attempting to control this with CSS
    as much as I can.
    >
    > Thank you for your help; I really appreciate it!
    > www.fasttag.com/prestige-lane-testing-phase
    >
    >
    >

  • LSMW - Need help with Sales Order (Modification VA01)

    Hi,
    I need help with an LSMW for Sales Order (VA01).
    I need to do the following:
    1. Copy the Standard Sales Order LSMW
    2. They (users) would like to be able to pick the batch (lot) from the sales order.
    3. Also, they would like to have functionality, where from the list of Sales Order numbers, they would be able to switch one part number for another.
    Please help with the above 3 needs.
    Thanks,
    Laura

    Hi
    Run transaction SE38, insert your program (RVINVB10), select DOCUMENTATION option and press display
    Just only you need to consider the BDC program needs to read afile with all informations to create a sales order, so you have to create a program to prepare a file arraged as RVINVB10 needs, the documentaion explains how the file has to be created.
    Max

  • Can I populate a text field in one PDF with the modification date of a different file ?

    Rather convoluted problem here but I'm trying to place a text field on a PDF document that serves as the main menu page for a library of interlinked PDF documents
    The complete library contains over 7,000 files and additions are added and documents changed almost daily.
    We currently use batch files to open the main menu from it's shortcut and this runs a check on a sync log file (.txt) to ascertain when the last time the user synchronised with the server to get the latest copy of the files.
    Between a certain time range they are told how long it has been since they sync'ed and are offered the option to sync before opening, after a prescribed timeframe they cannot enter without synchronising. We use Allways Sync to conduct the file synchronisation with our mother files on our server.
    What I'd like to do is take advantage of Allways Syncs automatic synchronisation options to synchronise on log on and at prescribed idle periods there after.
    This works fine but I'd like the text field on the main menu PDF to say when the last synchronisation took place - easy if the main menu is the last file modified .. just use info.modDate.
    However, the main menu is rarely modified therefore I wish to import the text to populate the text field from a different file.. either by interrogating the other files modifictaion data (though I doubt Acrobat can do this) or by simply importing some text stored in another file (a .txt file?) which has previously been created by batch file commands.
    Any assistance would be greatly appreciated.
    Regards,
    Nifty Styles
    (Norfolk, England)
    P.S.  I'm using Acrobat 8.3.1. Professional on Windows XP (SP3).

    Thank you for all your help above.
    Just to confirm your advice, am I right with the following conclusions? :
    1. The script (function) to fill the text field with the modification date of a different PDF file needs to be stored in a folder level .js file.
    2. The document containing the text field needs to call the .js function either within the document script or within the custom script property of the text field itself.
    Further to that can you just advise on the syntax for accessing the modification date of the other document.
    Do I need to assign a variable to the address of the file to be used, and then use this variable in the text form filling script (as below) or can I use a direct file reference at the .modDate command.
    var LastSync = "C:\sync\bin\lastsync.pdf";
    var strMsg = util.printd("h:MM tt",LastSync.modDate) + " on ";
    strMsg += util.printd("dddd, d mmmm, yyyy",LastSync.modDate);
    this.getField("LastSyncDate").value = strMsg;
    If the syntax is totally different to the above I would be very grateful for some guidance in the right direction.
    I much appreciate your time to help me ... I'm almost there.
    Kind Regards,
    Nifty

  • Noob needs help with Logic and Motu live setup.

    Hello everyone,
    I'm a noob / semi noob who could use some help with a live setup using 2 MOTU 896HD's and Logic on a Mac.
    Here's the scenario:
    I teach an outdoor marching percussion section (a drumline and a front ensemble of marimbas and vibes). We have an amazing setup of live sound to amplify and enhance the mallet percussion. There is a yamaha PA system with 2 subs and 2 mains which are routed through a rack unit that processes the overall PA balance. I'm pretty sure that the unit is supposed to avoid feedback and do an overall cross-over EQ of the sound. Other then that unit, we have 2 motu896hd units which are routed via fire-wire. I also have a coax cable routing the output of the secondary box to the input of the primary box (digital i/o which converts to ADAT in (i think?)..?
    Here's the confusion:
    There are more then 8 inputs being used from the ensemble itself, so I need the 16 available inputs to be available in Logic. I was lead to believe that the 2nd motu unit would have to be sent digitally to the 1st motu unit via coax digital i/o. Once in Logic, however, I cannot find the signal or any input at all past the 8th input (of the 1st unit).
    Here's the goal:
    All of my performers and inputs routed via firewire into a Mac Mini running OSX and Logic pro.
    I want to be able to use MainStage and run different patches of effects / virt. instruments for a midi controller keyboard / etc.
    I want to be able to EQ and balance the ensemble via Logic.
    Here's another question:
    How much latency will I be dealing with? Would a mac mini with 4gb of ram be able to handle this load? With percussion, I obviously want the sound as latency free as possible. I also, however, want the flexibility of sound enhancement / modification that comes with Logic and the motu896hd units.
    Any help would be REALLY appreciated. I need the routing assistance along with some direction as to whether or not this will work for this type of application. I'm pretty certain it does, as I have spoken with some other teachers in similar venues and they have been doing similar things using mac mini's / logic / mainstage / etc.
    Thanks in advance,
    Chris

    You'll definitely want to read the manual to make sure the 896HDs are connected together properly. ADAT is a little tricky, it's not just a matter of cabling them together. Go to motunation.com if you need more guidance on connecting multiple devices. Beyond that initial hookup, here are a couple of quick suggestions:
    1. Open CueMix and see if both devices are reported there. If not, your connections aren't correct. Be sure to select 44.1kHz as your sample rate, otherwise you are reducing the number of additional channels. For instance at 88.2kHz you would get half the additional channels via ADAT.
    2. You may need to create an aggregate device for the MacBook to recognize more than the first 896HD. Lots of help on this forum for how to do that. Again, first make sure you have the 896HDs connected together properly.
    3. As for latency with Mainstage on the Mini, no way to know until you try it. Generally MOTU is fantastic for low latency work but Mainstage is a question mark for a lot of users right now. If the Mini can't cut the mustard, you have a great excuse to upgrade to a MacBook Pro.

  • Little bit of help with the duplication process needed

    Hi
    I trying to duplicate a database from one server to a remote server. They are both running windows server 2003 (my first problem) , the primary server is running oracle 11gR1 and the (hopefully) receiving server is running 11gR2(is that going to be a problem?) and I'm a little stuck on some parts of the process.
    The book I'm using says to edit the listener.ora file to include a SID_DESC of the remote database. Here is my listener.ora file with the modifications
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CGARDMSTR)
    (ORACLE_HOME = G:\app\administrator\product\11.1.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = CGARDMSTR)
    (ORACLE_HOME =G:\app\administrator\product\11.1.0\db_1)
    (SID_NAME = CGARDMSTR)
    *(SID_DESC* *=*
    *(GLOBAL_DBNAME* *=* cgard)
    *(ORACLE_HOME* *=F:\oracle\product\11.2.0\dbhome_1)*
    *(SID_NAME* *=* cgard)
    (bold is what i added)
    it then said to chnage my tnsnames.ora
    CGARD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = cgard)
    CGARD5DE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = CGARD5DEV)
    CGARDMST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = CGARDMSTR)
    cgard =
    *(DESCRIPTION =*
    *(ADDRESS = (PROTOCOL = TCP)(HOST = live.host.local)(PORT = 1521))*
    *(CONNECT_DATA =*
    *(SERVER = DEDICATED)*
    *(SERVICE_NAME = cgard)*
    I changed the local domain to host for business reasons
    The next step was to create a initialization parameter file which I am guessing is a pfile and hopefully not a spfile. It then says to only enter one param db_name and the conversion params if the filesystem is diffrent. Problem is I don't know what to do with this file, if I am suppose to switch the second database to this file then surly I would need some more params? Anyway thats the first of many questions.
    When I try to run through the rman commands it describes it also trips up:
    RMAN> connect auxiliary sys/*********@live.host.local
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-04006: error from auxiliary database: ORA-12170: TNS:Connect timeout occurr
    ed
    The other database is up and connectable via sqldevloper so I'm guessing it was my configuration of listener and tnsnames
    Ok to reiterate my questions are:
    1) what needs to be in the pfile I create for the database thats going to receive the backup and what do I do with that file when I have made it?
    2) I am pretty sure my listener and tsunamis config is completely wrong so can I have some pointers on fixing that?
    3) Was the reason I could not connect to the receiving database my tns and listener config or is it something else?
    Quite a few other questions but untill I know some more about the above I doubt I will be able to ask properly.
    Also if this helps the book I am using is Expert Oracle Database 11g Administration and the page is 835(the method that begins on that page) and I am willing to write out the whole method if you need more details.
    Oh and if you havent figured it out I am very new to this so if some of this sounds very wrong or just stupid just say what I need to change and I will get right on it.
    Thanks
    Alex

    Ok so I have made some progress. Here is where I am currently at:
    RMAN> RUN
    2> {
    3> SET NEWNAME FOR DATAFILE 1 TO 'F:\oracle\oradata\cgard\file1.dbs';
    4> SET NEWNAME FOR DATAFILE 2 TO 'F:\oracle\oradata\cgard\file2.dbs';
    5> SET NEWNAME FOR DATAFILE 3 TO 'F:\oracle\oradata\cgard\file3.dbs';
    6> SET NEWNAME FOR DATAFILE 4 TO 'F:\oracle\oradata\cgard\file4.dbs';
    7> SET NEWNAME FOR DATAFILE 5 TO 'F:\oracle\oradata\cgard\file5.dbs';
    8> SET NEWNAME FOR TEMPFILE 1 TO 'F:\oracle\oradata\cgard\temp1.dbs';
    9> duplicate target database
    10> to cgard
    11> from active database
    12> pfile='F:\oracle\product\11.2.0\dbhome_1\database\initCGARD.ora';
    13> }
    executing command: SET NEWNAME
    starting full resync of recovery catalog
    full resync complete
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting Duplicate Db at 19-NOV-10
    using channel ORA_AUX_DISK_1
    contents of Memory Script:
    set newname for datafile 1 to
    "F:\ORACLE\ORADATA\CGARD\FILE1.DBS";;
    set newname for datafile 2 to
    "F:\ORACLE\ORADATA\CGARD\FILE2.DBS";;
    set newname for datafile 3 to
    "F:\ORACLE\ORADATA\CGARD\FILE3.DBS";;
    set newname for datafile 4 to
    "F:\ORACLE\ORADATA\CGARD\FILE4.DBS";;
    set newname for datafile 5 to
    "F:\ORACLE\ORADATA\CGARD\FILE5.DBS";;
    backup as copy reuse
    datafile 1 auxiliary format
    "F:\ORACLE\ORADATA\CGARD\FILE1.DBS"; datafile
    2 auxiliary format
    "F:\ORACLE\ORADATA\CGARD\FILE2.DBS"; datafile
    3 auxiliary format
    "F:\ORACLE\ORADATA\CGARD\FILE3.DBS"; datafile
    4 auxiliary format
    "F:\ORACLE\ORADATA\CGARD\FILE4.DBS"; datafile
    5 auxiliary format
    "F:\ORACLE\ORADATA\CGARD\FILE5.DBS"; ;
    sql 'alter system archive log current';
    executing Memory Script
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting backup at 19-NOV-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=143 device type=DISK
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00001 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\SYS
    TEM01.DBF
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:23:
    52
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00004 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\USE
    RS01.DBF
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:24:
    24
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00002 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\SYS
    AUX01.DBF
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:24:
    43
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00003 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\UND
    OTBS01.DBF
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:25:
    17
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00005 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\RMA
    N01.DBF
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 11/19/2010 16:25:55
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:25:
    55
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    RMAN>
    I did issue the commands:
    C:\Documents and Settings\Administrator>rman target /
    Recovery Manager: Release 11.1.0.6.0 - Production on Fri Nov 19 13:55:40 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: CGARDMST (DBID=3160500813)
    RMAN> connect catalog rman/rman
    connected to recovery catalog database
    RMAN> connect auxiliary sys/**********@cgard
    connected to auxiliary database: CGARD (not mounted)
    So I am not quite sure what it wants. I read somewhere about a password file but I don't understand how it will help, also most things I have looked at wernt clear on how to do it. I took a stab anyway:
    G:\app\administrator\product\11.1.0\db_1\BIN>orapwd file=orapwcgard password=*********** entries=20 ignorecase=n
    Was run on the original database host.
    File was then copied to "F:\oracle\product\11.2.0\dbhome_1\database" on the receiving database's host it was then renamed to PWDcgard.ora as there was file there already with that name.
    It did not help(same error).
    The book I am using mentions the 'PASSWORD FILE' param to be used with the duplicate command but I cant find a example on how to use it so any help with that would be great.
    Thanks for the effort so far guys its really appreciated.

  • Help with Unique Key Insert!!!

    I need help with this <<removed by moderator>>
    When i try to do an insert "A" into a DB table, the transaction fills the info on creation mode, but is not doing the same at modification mode.
    Here i send the insert, i don't if the problems comes from sintaxis:
    INSERT zpsprctr_det FROM TABLE it_planif ACCEPTING DUPLICATE KEYS.
    tabal base datos es la zpsprctr_det
    Any ideas please let me know
    Moderator Message: Gun-to-the-head-deadline removed
    Edited by: kishan P on Mar 31, 2011 12:24 PM

    Hi,
    with
    INSERT dbtable FROM TABLE itab ACCEPTING DUPLICATE KEYS.
    you will insert several lines in a database table from an internal table. Duplicate keys are ignored, the 1st entry is written.
    To update them, you should use
    MODIFY dbtable FROM TABLE itab.
    This updates all lines that are existing or inserts all lines that are still missing.  If you have duplicate keys here, the last entry will do the last update.
    Regards,
    Klaus

  • Help with Print Layout Designer

    Hi all,
    I'm not sure if I should post this here or not, I already posted it in the Business One Forum.  Moderator(s)  if this is not the proper place please delete it and let me know that it is not the appropriate venue.
    I need some help with Print Layout Designer.  I am running 2005A SP01, and my customer wants a modification to the Sales Backorder Report.  They want to add the column "In Stock" to both the report as displayed on the screen and the printed document.  The report rendered to the screen has the In Stock, but it is not checked as visible.  I check it and In Stock shows up as designed.  The part I am having problems with is the printed document. I opened the PLD from the Backorder Report, and saved it under a different name.  I resized some of the columns in the repetitive area (header and data) to make room for the In Stock column.  I CAN add the text field Instock as free text and enter "In Stock" as the content.  I looked at the "backorder" column in the PLD, and it is a text field with the source System Variable and the variable is 109.  I would assume that all I need to do in my added column is to set the source to System Variable and enter the variable number.  That is the problem; I can't find the variable number for that column.  I looked on the report rendered to the screen with system information on and the variable is "3 #000027825,OnHand".  I looked at the Back Order column of the report rendered to the screen and the variable is "3 #000028725,OpenCreQty".  I found a spreadsheet that is supposed to contain a list of system variables for 2007A, but the document type for this report is BRDR and that document type does not appear in the list of document types in that spreadsheet.  I looked for a similar spreadsheet for 2005A SP01 but didn't find one.  I DID find a document "How To Customize Printing Templates with the Print Layout Designer".  According to that document, I should be able to get the system variable from the report rendered to the screen with System Information turned on.  Can anyone help?
    TIA,
    Steve

    I haven't dealt with this before so I can't be certain, but here are my thoughts.
    The Backordered Qty is probably a calculated field, so that's why it's a system variable. The In Stock is a defined field, so you probably can use the file and field number, OITM, OnHand. I would look at maybe the stock number or description to see how those are setup on the form instead of the backordered qty field.

  • Please help with video streaming

    I'm trying to play a video on a web page. I got the below
    script from
    a website tutorial, but it does not work correctly. The
    script will
    play a video in both IE and firefox browsers, but in IE, it
    will not
    show the video player controls even though I have added more
    than
    enough height.
    <OBJECT ID="MediaPlayer" WIDTH="208" HEIGHT="300"
    CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    STANDBY="Loading Windows Media Player components..."
    TYPE="application/x-oleobject">
    <PARAM NAME="FileName" VALUE="videofilename.wmv">
    <PARAM name="autostart" VALUE="true">
    <PARAM name="ShowControls" VALUE="true">
    <param name="ShowStatusBar" value="false">
    <PARAM name="ShowDisplay" VALUE="false">
    <EMBED TYPE="application/x-mplayer2"
    SRC="videofilename.wmv"
    NAME="MediaPlayer"
    WIDTH="208" HEIGHT="300" ShowControls="1" ShowStatusBar="0"
    ShowDisplay="0" autostart="1"> </EMBED>
    </OBJECT>

    That is an older site but there is a lot of information there
    8)
    John Malone
    =========
    "Canned Heat" <[email protected]> wrote in message
    news:[email protected]...
    |A followup. The site you linked to (mediacollege) does have
    a wealth
    | of info. However, for anybody else reading this post I did
    want to
    | point out that it is the same site is where I got the
    script (in my
    | original post) that didn't work. It was located here:
    |
    |
    http://www.mediacollege.com/video/format/windows-media/streaming/index.html
    |
    | So I would recommend using Joh's much simpler script, not
    the one from
    | mediacollege referenced above.
    |
    | Again, thanks John.
    |
    |
    |
    | On Fri, 23 Mar 2007 11:06:56 -0500, "John Malone" <John
    Malone@no
    | spam.com> wrote:
    |
    | >Well I couldn't get it to work in IE7..
    | >And you get the prompt to "click here to activate this
    control"
    | >here is a sample >
    | >
    | >
    http://www.xmas-i-am.com/test/video2.htm
    Autoplay when page loads.
    | >
    | >If you look at the source code on the page you will see
    I am using an external script
    | >file...
    | >This takes care of the outlined player (in IE) with the
    prompt to "click here to
    | >activate".
    | >By changing the script you can load the page without
    starting the movie.
    | >
    | >Like this..>
    | >
    http://www.xmas-i-am.com/test/video.htm
    | >
    | >Steal the code and the script (test.js or auto.js) and
    your good to go...
    | >
    | >Or look at .....>
    | >
    | >
    http://www.midistudio.com/MPlayer9/index.htm
    | >and read how......
    | >This is mostly for MIDI music but can work with video
    with minimal modifications.
    | >
    | >Also here is a good site...
    | >
    http://www.mediacollege.com/video/streaming/formats/
    | >You will need to follow the links>> to get a
    wealth of information.
    | >
    | >Hope this helps...
    | >
    | >Just an after thought...
    | >
    | >Beware of bandwidth limitations of your site this could
    cost you money!!!
    | >
    | >On that sample site(at the top) is a movie (1.3 Megs)
    that is viewed enough to cause
    the
    | >usage to be about 3 Gigs a month. (now)
    | >But at times (September) that goes up to 10~20 Gigs and
    at it's peak I had 17 Gigs a
    week
    | >usage.
    | >(It is the 911 Flash movie)
    | >
    | >Hope this helps......
    | >
    | >John Malone
    | >===============
    | >"Canned Heat" <[email protected]> wrote in message
    | >news:[email protected]...
    | >| Thanks for taking the time to test it. I want to make
    sure, tho, that
    | >| we're not talking about two different things.
    | >|
    | >| The script plays videos fine for me too. However, the
    problem is that
    | >| when playing with IE the video controls such as play,
    pause, etc are
    | >| not displayed.
    | >|
    | >| When you played it did you see the controls in IE?
    | >|
    | >| I have tested it on three machines, ones with the
    same IE version as
    | >| yours, and I get no controls. I only see the controls
    in firefox.
    | >|
    | >| Thanks,
    | >| -Dan
    | >|
    | >|
    | >| On Thu, 22 Mar 2007 15:48:02 -0500, "Eugene J. Maes"
    | >| <[email protected]> wrote:
    | >|
    | >| >Your script works fine in ie 6 with my wmv file.
    | >| >
    | >| >gene
    | >| >"Canned Heat" <[email protected]> wrote in
    message
    | >|
    >news:[email protected]...
    | >| >> I'm trying to play a video on a web page. I
    got the below script from
    | >| >> a website tutorial, but it does not work
    correctly. The script will
    | >| >> play a video in both IE and firefox
    browsers, but in IE, it will not
    | >| >> show the video player controls even though I
    have added more than
    | >| >> enough height.
    | >| >>
    | >| >> <OBJECT ID="MediaPlayer" WIDTH="208"
    HEIGHT="300"
    | >| >>
    CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    | >| >> STANDBY="Loading Windows Media Player
    components..."
    | >| >> TYPE="application/x-oleobject">
    | >| >> <PARAM NAME="FileName"
    VALUE="videofilename.wmv">
    | >| >> <PARAM name="autostart" VALUE="true">
    | >| >> <PARAM name="ShowControls"
    VALUE="true">
    | >| >> <param name="ShowStatusBar"
    value="false">
    | >| >> <PARAM name="ShowDisplay"
    VALUE="false">
    | >| >> <EMBED TYPE="application/x-mplayer2"
    SRC="videofilename.wmv"
    | >| >> NAME="MediaPlayer"
    | >| >> WIDTH="208" HEIGHT="300" ShowControls="1"
    ShowStatusBar="0"
    | >| >> ShowDisplay="0" autostart="1">
    </EMBED>
    | >| >> </OBJECT>
    | >| >
    | >|
    | >
    |

  • Help with if statement in cursor and for loop to get output

    I have the following cursor and and want to use if else statement to get the output. The cursor is working fine. What i need help with is how to use and if else statement to only get the folderrsn that have not been updated in the last 30 days. If you look at the talbe below my select statement is showing folderrs 291631 was updated only 4 days ago and folderrsn 322160 was also updated 4 days ago.
    I do not want these two to appear in my result set. So i need to use if else so that my result only shows all folderrsn that havenot been updated in the last 30 days.
    Here is my cursor:
    /*Cursor for Email procedure. It is working Shows userid and the string
    You need to update these folders*/
    DECLARE
    a_user varchar2(200) := null;
    v_assigneduser varchar2(20);
    v_folderrsn varchar2(200);
    v_emailaddress varchar2(60);
    v_subject varchar2(200);
    Cursor c IS
    SELECT assigneduser, vu.emailaddress, f.folderrsn, trunc(f.indate) AS "IN DATE",
    MAX (trunc(fpa.attemptdate)) AS "LAST UPDATE",
    trunc(sysdate) - MAX (trunc(fpa.attemptdate)) AS "DAYS PAST"
    --MAX (TRUNC (fpa.attemptdate)) - TRUNC (f.indate) AS "NUMBER OF DAYS"
    FROM folder f, folderprocess fp, validuser vu, folderprocessattempt fpa
    WHERE f.foldertype = 'HJ'
    AND f.statuscode NOT IN (20, 40)
    AND f.folderrsn = fp.folderrsn
    AND fp.processrsn = fpa.processrsn
    AND vu.userid = fp.assigneduser
    AND vu.statuscode = 1
    GROUP BY assigneduser, vu.emailaddress, f.folderrsn, f.indate
    ORDER BY fp.assigneduser;
    BEGIN
    FOR c1 IN c LOOP
    IF (c1.assigneduser = v_assigneduser) THEN
    dbms_output.put_line(' ' || c1.folderrsn);
    else
    dbms_output.put(c1.assigneduser ||': ' || 'Overdue Folders:You need to update these folders: Folderrsn: '||c1.folderrsn);
    END IF;
    a_user := c1.assigneduser;
    v_assigneduser := c1.assigneduser;
    v_folderrsn := c1.folderrsn;
    v_emailaddress := c1.emailaddress;
    v_subject := 'Subject: Project for';
    END LOOP;
    END;
    The reason I have included the folowing table is that I want you to see the output from the select statement. that way you can help me do the if statement in the above cursor so that the result will look like this:
    emailaddress
    Subject: 'Project for ' || V_email || 'not updated in the last 30 days'
    v_folderrsn
    v_folderrsn
    etc
    [email protected]......
    Subject: 'Project for: ' Jim...'not updated in the last 30 days'
    284087
    292709
    [email protected].....
    Subject: 'Project for: ' Kim...'not updated in the last 30 days'
    185083
    190121
    190132
    190133
    190159
    190237
    284109
    286647
    294631
    322922
    [email protected]....
    Subject: 'Project for: Joe...'not updated in the last 30 days'
    183332
    183336
    [email protected]......
    Subject: 'Project for: Sam...'not updated in the last 30 days'
    183876
    183877
    183879
    183880
    183881
    183882
    183883
    183884
    183886
    183887
    183888
    This table is to shwo you the select statement output. I want to eliminnate the two days that that are less than 30 days since the last update in the last column.
    Assigneduser....Email.........Folderrsn...........indate.............maxattemptdate...days past since last update
    JIM.........      jim@ aol.com.... 284087.............     9/28/2006.......10/5/2006...........690
    JIM.........      jim@ aol.com.... 292709.............     3/20/2007.......3/28/2007............516
    KIM.........      kim@ aol.com.... 185083.............     8/31/2004.......2/9/2006.............     928
    KIM...........kim@ aol.com.... 190121.............     2/9/2006.........2/9/2006.............928
    KIM...........kim@ aol.com.... 190132.............     2/9/2006.........2/9/2006.............928
    KIM...........kim@ aol.com.... 190133.............     2/9/2006.........2/9/2006.............928
    KIM...........kim@ aol.com.... 190159.............     2/13/2006.......2/14/2006............923
    KIM...........kim@ aol.com.... 190237.............     2/23/2006.......2/23/2006............914
    KIM...........kim@ aol.com.... 284109.............     9/28/2006.......9/28/2006............697
    KIM...........kim@ aol.com.... 286647.............     11/7/2006.......12/5/2006............629
    KIM...........kim@ aol.com.... 294631.............     4/2/2007.........3/4/2008.............174
    KIM...........kim@ aol.com.... 322922.............     7/29/2008.......7/29/2008............27
    JOE...........joe@ aol.com.... 183332.............     1/28/2004.......4/23/2004............1585
    JOE...........joe@ aol.com.... 183336.............     1/28/2004.......3/9/2004.............1630
    SAM...........sam@ aol.com....183876.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183877.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183879.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183880.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183881.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183882.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183883.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183884.............3/5/2004.........3/8/2004............     1631
    SAM...........sam@ aol.com....183886.............3/5/2004.........3/8/2004............     1631
    SAM...........sam@ aol.com....183887.............3/5/2004.........3/8/2004............     1631
    SAM...........sam@ aol.com....183888.............3/5/2004.........3/8/2004............     1631
    PAT...........pat@ aol.com.....291630.............2/23/2007.......7/8/2008............     48
    PAT...........pat@ aol.com.....313990.............2/27/2008.......7/28/2008............28
    NED...........ned@ aol.com.....190681.............4/4/2006........8/10/2006............746
    NED...........ned@ aol.com......95467.............6/14/2006.......11/6/2006............658
    NED...........ned@ aol.com......286688.............11/8/2006.......10/3/2007............327
    NED...........ned@ aol.com.....291631.............2/23/2007.......8/21/2008............4
    NED...........ned@ aol.com.....292111.............3/7/2007.........2/26/2008............181
    NED...........ned@ aol.com.....292410.............3/15/2007.......7/22/2008............34
    NED...........ned@ aol.com.....299410.............6/27/2007.......2/27/2008............180
    NED...........ned@ aol.com.....303790.............9/19/2007.......9/19/2007............341
    NED...........ned@ aol.com.....304268.............9/24/2007.......3/3/2008............     175
    NED...........ned@ aol.com.....308228.............12/6/2007.......12/6/2007............263
    NED...........ned@ aol.com.....316689.............3/19/2008.......3/19/2008............159
    NED...........ned@ aol.com.....316789.............3/20/2008.......3/20/2008............158
    NED...........ned@ aol.com.....317528.............3/25/2008.......3/25/2008............153
    NED...........ned@ aol.com.....321476.............6/4/2008.........6/17/2008............69
    NED...........ned@ aol.com.....322160.............7/3/2008.........8/21/2008............4
    MOE...........moe@ aol.com.....184169.............4/5/2004.......12/5/2006............629
    [email protected]/27/2004.......3/8/2004............1631
    How do I incorporate a if else statement in the above cursor so the two days less than 30 days since last update are not returned. I do not want to send email if the project have been updated within the last 30 days.
    Edited by: user4653174 on Aug 25, 2008 2:40 PM

    analytical functions: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions2a.htm#81409
    CASE
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#36899
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/04_struc.htm#5997
    Incorporating either of these into your query should assist you in returning the desired results.

  • I need help with Sunbird Calendar, how can I transfer it from one computer to the other and to my iphone?

    I installed Sunbird in one computer and my calendar has all my infos, events, and task that i would like to see on another computer that i just downloaded Sunbird into. Also, is it possible I can access Sunbird on my iphone?
    Thank you in advance,

    Try the forum here - http://forums.mozillazine.org/viewforum.php?f=46 - for help with Sunbird, this forum is for Firefox support.

  • Hoping for some help with a very frustrating issue!   I have been syncing my iPhone 5s and Outlook 2007 calendar and contacts with iCloud on my PC running Vista. All was well until the events I entered on the phone were showing up in Outlook, but not

    Hoping for some help with a very frustrating issue!
    I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud  2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel.  I even uninstalled iCloud on the PC and downloaded it again (same version). 
    The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.”  After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
    Sound familiar?  Any ideas on how to solve this iCloud/Outlook issue?  Thanks much in advance!

    Hoping for some help with a very frustrating issue!
    I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud  2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel.  I even uninstalled iCloud on the PC and downloaded it again (same version). 
    The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.”  After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
    Sound familiar?  Any ideas on how to solve this iCloud/Outlook issue?  Thanks much in advance!

  • Help with HP Laser Printer 1200se

    HP Support Line,
    Really need your assistance.  I have tried both contacting HP by phone (told they no longer support our printer via phone help), the tech told me that I needed to contact HP by e-mail for assistance.   I then sent an e-mail for assistance and got that reply today, the reply is as follows  "Randall, unfortunately, HP does not offer support via e-mail for your product.  However many resources are available on the HP web site that may provide the answer to your inquiry.  Support is also available via telephone.  A list of technical support numbers can be round at the following URL........."  The phone numbers listed are the ones I called and the ones that told me I needed to contact the e-mail support for help.
    So here I am looking for your help with my issue.
    We just bought a new HP Pavillion Slimline Desk Top PC (as our 6 year old HP Pavillion PC died on us).  We have 2 HP printers, one (an all-in-one type printer, used maily for copying and printing color, when needed) is connected and it is working fine with the exception of the scanning option (not supported by Windows 7).  However we use our Laser Printer for all of our regular prining needs.  This is the HP LaserPrinter 1200se, which is about 6 years old but works really well.  For this printer we currently only have a parallel connection type cord and there is not a parallel port on the Slimline HP PC.  The printer also has the option to connedt a USB cable (we do not currently have this type of cable).
    We posed the following two questions:
    1.  Is the Laser Jet 1200se compatible with Windows 7?
    and if this is the case
    2.  Can we purchase either a) a USC connection cord (generic or do we need a printer specific cord)? or b) is there there a printer cable converter adapater to attach to our parallel cable to convert to a USB connection?
    We do not want to purchase the USB cable if Windows 7 will not accept the connection, or if doing this will harm the PC.
    We really would appreciate any assitance that you might give us.
    Thank you,
    Randy and Leslie Gibson

    Sorry, both cannot be enabled by design.  That said, devices on a network do not care how others are connected.  You can print from a wireless connection to a wired (Ethernet) printer and v/v.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Going to Australia and need help with Power converters

    Facts:
    US uses 110v on 60hz
    Australia 220v on 50hz
    Making sure I understood that correctly.  Devices I plan on bringing that will use power are PS3 Slim, MacBook Pro 2008 model, and WD 1TB External HDD.  My DS, and Cell are charging via USB to save trouble of other cables.
    Ideas I've had or thought of:
    1.  Get a power converter for a US Powerstrip, and then plug in my US items into the strip and then the strip into an AUS Converter into Australian outlet.  Not sure if this fixes the voltage/frequency change.
    2.  Get power converters for all my devices.  But, not sure if my devices needs ways of lowering the voltage/increasing frequency or something to help with the adjustment.
    3.  Buy a universal powerstrip, which is extremely costly and I wouldn't be able to have here in time (I leave Thursday).  Unless Best Buy carrys one.  

    godzillafan868 wrote:
    Facts:
    US uses 110v on 60hz
    Australia 220v on 50hz
    Making sure I understood that correctly.  Devices I plan on bringing that will use power are PS3 Slim, MacBook Pro 2008 model, and WD 1TB External HDD.  My DS, and Cell are charging via USB to save trouble of other cables.
    Ideas I've had or thought of:
    1.  Get a power converter for a US Powerstrip, and then plug in my US items into the strip and then the strip into an AUS Converter into Australian outlet.  Not sure if this fixes the voltage/frequency change.
    2.  Get power converters for all my devices.  But, not sure if my devices needs ways of lowering the voltage/increasing frequency or something to help with the adjustment.
    3.  Buy a universal powerstrip, which is extremely costly and I wouldn't be able to have here in time (I leave Thursday).  Unless Best Buy carrys one.  
    Check the specs on input voltage/frequency of your power supplies.
    Many laptop power supplies are "universal/global" and are specced something like 80-265 volts AC 50/60 Hz, but not all.  These will just need a connector adapter.
    Unsure about the PS3 Slim - if it isn't universal it could be difficult as you'll need a 110/220 transformer, one big enough (power-handling wise) for the PS3 will be very bulky.
    For the external WD HDD, if it doesn't have a universal supply, you're probably best off just finding a new wallwart for it that is capable of running on 220/50.
    *disclaimer* I am not now, nor have I ever been, an employee of Best Buy, Geek Squad, nor of any of their affiliate, parent, or subsidiary companies.

  • Creation of context sensitive help with pure FM 12 usage doesn't work

    Hi,
    I hope somebody is able to help me with a good hint or tip.
    I am trying to create a context-sensitive Microsoft Help with FM12 only using the abilities of FM (no RoboHelp). For some reasons, my assigned ID's are not used in the generated chm file and therefore the help does not work context-sensitively.
    What did I do?
    - I created my FM files and assigned topic aliases to the headers. I did this two ways: a) using the "Special" menue and assigning a CSH marker and/or b) setting a new marker of type "Topic Alias" and typing the ID. I used only numeric IDs like "2000" or "4200",
    - I created a .h file (projectname.h) - based on the format of the file projectname_!Generated!.h (I read this in some instructions). So the .h file (text file) looks like this:
    #define 2000 2000 /* 4 Anwendungsoberfläche */
    #define 2022 2022 /* 4.1.1 Menü Datei */
    #define 2030 2030 /* 4.1.3 Menü Parametersatz */
    #define 2180 2180 /* 6.6.7 Objektdialog Q-Regler */
    #define 2354 2354 /* 6.9.2 Objektdialog Extran Parameter */
    #define 2560 2560 /* 6.9.5 Objektdialog Extran2D Parametersatz */
    - I published the Microsoft HTML Help. A projectname_!Generated!.h has been created. My IDs were not used in this file:
    #define 2000    1
    #define 2022    2
    #define 2030    3
    #define 2180    4
    #define 2354    5
    #define 2560    6
    - When I open the .chm file and look in the source code, the ID even is totally different. It is not the one, I assigned in FM, it is not the one which I assigned in the projectname.h file and it even is not the one, which was put in the projectname_!Generated!.h file. It is a generated name starting with CSH_1 ...n in a consecutive way numbered.
    Example:
    <p class="FM_Heading1"><a name="XREF_72066_13_Glossar"></a>Gloss<a name="CSH_1"></a>ar</p>
    What goes wrong? Why does FM not take my assigned IDs? I need to use these IDs since our programmers are using those already - I had to re-create the whole online help but the programs stay untouched.
    Please help!
    Many thanks
    Mohi

    Hi Jeff,
    thanks for your note!
    The text in my marker is just a number like "2000" or "4200". As said, I created manually a my.h file and used this marker there. E.g.
    #define 2000 2000.
    Whereby the first 2000 (in my opinion) is the marker text and the second 2000 is the context ID which the programmers are using for the context sensitive call of the help. My definitions in the my.h file were translated to #define 2000 1 (in the my_!Generated!.h file). The source code "translates" the context ID into CSH_8.
    I am still confused :-/
    Thanks
    Mohi

Maybe you are looking for