Director ActiveX Contractor Gig

Hello.
I'm in need of an advanced Director contractor to help on a
small piece which involves an ActiveX control.
This is a paid opportunity which could lead to a lot more
work.
No phone calls please. Please email brief experience level,
hourly rate and avialability to [email protected]
Thanks -
Patrick

FabienBipMedia wrote:
> i'm writing in C++ / DirectX (no MFC) and I would like
to play ".dcr"
> files with the activeX. I found on popcap website a c++
activeX
> interface sample to do it for Flash,
URL?
> but i can't find the equivalent
> for director.
> So where can i find the activeX functions documentation
or a sample
> for how to use them in C++ ?
This might help:-
http://groups.google.com/group/macromedia.director.basics/browse_frm/thread/a33fa8f2580db6 9f/76605a721c6df539?lnk=st&q=c%2B%2B+shockwave+activex+-flash&rnum=10&hl=en
Also, if you're using VS, if you add a reference to the SW
ActiveX control
in the Solution Explorer pane then you can look at what's
available in the
object browser (as in double-click the reference after you've
added it).
Other than that, I have no idea.
Andrew

Similar Messages

  • Install Application - TextArea inside JScrollPane

    I've been working on an install application to install another one of my programs (next/accept/next/ finish type of thing) and had a couple questions and would appreciate any help anyone can give.
    Some Background info:
    I made images and have them display as image icons through jlabels for the buttons and background. The labels have classes applying various mouselisteners (Mousepressed, MouseEntered, MouseExited, etc) changing the images and moving from screen to screen. I have my layout set to null, not for any particular reason, but because I have no formal education in layout managers.
    1) Is there a conical solution to moving through various windows? That is, right now I move through the various 'screens' with a check on an int called state, that gets incremented and decremented through forward and back buttons. I looked at some code given to us on a test by our teacher (we had to find bugs) and saw that he had implemented a fake "state" interface, with constants like "Account_State" to control where you were in the program. This seems a bit easier to read than ints, but is there a correct built in version of his states?
    2) On the second screen I have a license agreement (actually required for the application that gets installed), and a checkbox. The license is held inside of a JTextArea(scroll) inside a JScrollPane(textscroll). The JScrollPane is extending in weird ways. The following is a stripped down version of my code (it runs and demonstrates the problem):
    InstalleApp
    import javax.swing.*;
    import java.awt.*;
    public class InstalleApp {
        public static void main(String args[]) {
            InstalleFrame m = new InstalleFrame();
               Container content = m.getContentPane();
            m.setDefaultCloseOperation(3);
            m.setSize(550, 400);
            m.setUndecorated(true);
            m.setVisible(true);
            m.setTitle("Install");
    }InstalleFrame
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.JFrame;
    import java.awt.event.*;
    import java.awt.Rectangle;
    import java.awt.Font;
    import java.awt.BorderLayout;
    import java.util.*;
    import javax.swing.event.DocumentEvent;
    import javax.swing.event.DocumentListener;
    import java.awt.event.ActionEvent;
    import javax.swing.text.BadLocationException;
    import javax.swing.JSlider;
    import java.awt.Dimension;
    public class InstalleFrame
        extends JFrame implements ActionListener {
      public InstalleFrame() {
        try {
          jbInit();
        catch (Exception ex) {
          ex.printStackTrace();
      public void actionPerformed(ActionEvent e) {
      JScrollPane textscroll;
      private void jbInit() throws Exception {
        this.getContentPane().setLayout(null);
        this.getContentPane().setBackground(UIManager.getColor("window"));
        background.setBounds(new Rectangle(0, 0, 550, 400));
        readcheck.setOpaque(false);
        readcheck.setText("I have read and accept the license agreement");
        readcheck.setBounds(new Rectangle(31, 357, 319, 32));
        scroll.setWrapStyleWord(true);
        scroll.setLineWrap(true);
        scroll.setText(
            "Copyright ? 2006-2007 GonZor228.com \n\nBy using or distributing this " +
            "software (or any work based on the software) you shall be deemed " +
            "to have accepted the terms and conditions set out below.\n\nGonZor228.com " +
            "(\"GonZor\") is making this software freely available on the basis " +
            "that it is accepted as found and that the user checks its fitness " +
            "for purpose prior to use.\n\nThis software is provided \'as-is\', without " +
            "any express or implied warranties whatsoever. In no event will the " +
            "authors, partners or contributors be held liable for any damages, " +
            "claims or other liabilities direct or indirect, arising from the " +
            "use of this software.\n\nGonZor will from time to time make software " +
            "updates available.  However, GonZor accepts no obligation to provide " +
            "any support to free license holders.\n\nGonZor grants you a limited " +
            "non-exclusive license to use this software for any purpose that does " +
            "not violate any laws that apply to your person in your current jurisdiction, " +
            "subject to the following restrictions: \n\n1. The origin of this software " +
            "must not be misrepresented; you must not claim that you wrote the " +
            "original software.\n2. You must not alter the software, user license " +
            "or installer in any way unless given permission to do so.\n3. This " +
            "notice may not be removed or altered from any distribution.\n4. You " +
            "may not resell or charge for the software.\n5. You may not reverse " +
            "engineer, decompile, disassemble, derive the source code of or modify " +
            "[or create derivative work from] the program without the express " +
            "permission of GonZor.\n6. You must not use this software to engage " +
            "in or allow others to engage in any illegal activity.\n7. You may " +
            "not claim any sponsorship by, endorsement by, or affiliation with " +
            "GonZor228.com\n8. You acknowledge that GonZor owns the copyright and " +
            "all associated intellectual property rights relating to the software.\n\n" +
            " This software license is governed by and construed in accordance " +
            "with the laws of Australia and you agree to submit to the exclusive " +
            "jurisdiction of the Australian courts.\n\nBy clicking the \"I agree\" " +
            "button below, you agree to these software license terms. If you disagree " +
            "with any of the terms below, GonZor does not grant you a license " +
            "to use the software ? exit the window.\n\nYou agree that by your installation " +
            "of the GonZor?s software, you acknowledge that you are at least 18 " +
            "years old, have read this software license, understand it, and agree " +
            "to be bound by its terms.\n\nGonZor reserves the right to update and " +
            "change, from time to time, this software license and all documents " +
            "incorporated by reference. You can always find the most recent version " +
            "of this software license at GonZor228.com.  GonZor may change this " +
            "software license by posting a new version without notice to you. " +
            "Use of the GonZor?s software after such change constitutes acceptance " +
            "of such changes.\n\n1.\tOwnership and Relationship of Parties.\n\nThe " +
            "software is protected by copyrights, trademarks, service marks, international " +
            "treaties, and/or other proprietary rights and laws of the U.S. and " +
            "other countries. You agree to abide by all applicable proprietary " +
            "rights laws and other laws, as well as any additional copyright notices " +
            "or restrictions contained in this software license. GonZor owns all " +
            "rights, titles, and interests in and to the applicable contributions " +
            "to the software. This software license grants you no right, title, " +
            "or interest in any intellectual property owned or licensed by GonZor, " +
            "including (but not limited to) the software, and creates no relationship " +
            "between yourself and GonZor other than that of GonZor to licensee.\n\n" +
            "The software and its components contain software licensed from " +
            "GonZor. The licensor software enables the software to perform certain " +
            "functions including, without limitation, access proprietary data " +
            "on third-party data servers as well as GonZor?s own server. You agree " +
            "that you will use the software, and any data accessed through the " +
            "software, for your own personal non-commercial use only. You agree " +
            "not to assign, copy, transfer, or transmit the software, or any data " +
            "obtained through the software, to any third party. Your license to " +
            "use the software, its components, and any third-party data, will " +
            "terminate if you violate these restrictions. If your license terminates, " +
            "you agree to cease any and all use of the software, its components, " +
            "and any third-party data. All rights in any third-party data, any " +
            "third-party software, and any third-party data servers, including " +
            "all ownership rights are reserved and remain with the respective " +
            "third parties. You agree that these third parties may enforce their " +
            "rights under this Agreement against you directly in their own name.\n\n" +
            "2.\tSupport and Software Updates.\n\nGonZor may elect to provide " +
            "you with customer support and/or software upgrades, enhancements, " +
            "or modifications for the software (collectively, \"Support\"), in its " +
            "sole discretion, and may terminate such Support at any time without " +
            "notice to you. GonZor may change, suspend, or discontinue any aspect " +
            "of the software at any time, including the availability of any software " +
            "feature, database, or content. GonZor may also impose limits on certain " +
            "features and services or restrict your access to parts or all of " +
            "the software or the GonZor228.com web site without notice or liability.\n\n" +
            "3.  \tFees and Payments.\n\nGonZor reserves the right to charge fees " +
            "for future use of or access to the software in GonZor?s sole discretion. " +
            "If GonZor decides to charge for the software, such charges will be " +
            "disclosed to you 28 days before they are applied if such fees will " +
            "affect your use of the product.\n\n4.\tDisclaimer of Warranties by " +
            "GonZor.\n\nUse of the software and any data accessed through the software " +
            "is at your sole risk. They are provided \"as is.\"  Any material or " +
            "service downloaded or otherwise obtained through the use of the software " +
            "(such as the \"plug-in\" feature) is done at your own discretion and " +
            "risk, and you will be solely responsible for any damage to your computer " +
            "system or loss of data that results from the download and/or use " +
            "of any such material or service.  GonZor, its officers, directors, " +
            "employees, contractors, agents, affiliates, assigns, and GonZor?s " +
            "licensors (collectively ?Associates?) do not represent that the software " +
            "or any data accessed there from is appropriate or available for use " +
            "outside the Australia.\n\nThe Associates expressly disclaim all warranties " +
            "of any kind, whether express or implied, relating to the software " +
            "and any data accessed there from, or the accuracy, timeliness, completeness, " +
            "or adequacy of the software and any data accessed there from, including " +
            "the implied warranties of title, merchantability, satisfactory quality, " +
            "fitness for a particular purpose, and non-infringement.\n\nIf the " +
            "software or any data accessed there from proves defective, you (and " +
            "not the Associates) assume the entire cost of all repairs or injury " +
            "of any kind, even if the Associates have been advised of the possibility " +
            "of such a defect or damages. Some jurisdictions do not allow restrictions " +
            "on implied warranties so some of these limitations may not apply " +
            "to you.\n\n5. \tLimitation of liability.\n\nThe Associates will not " +
            "be liable to you for claims and liabilities of any kind arising out " +
            "of or in any way related to the use of the software by yourself or " +
            "by third parties, to the use or non-use of any brokerage firm or " +
            "dealer, or to the sale or purchase of any security, whether such " +
            "claims and liabilities are based on any legal or equitable theory." +
            "\n\nThe Associates are not liable to you for any and all direct, incidental, " +
            "special, indirect, or consequential damages arising out of or related " +
            "to any third-party software, any data accessed through the software, " +
            "your use or inability to use or access the software, or any data " +
            "provided through the software, whether such damage claims are brought " +
            "under any theory of law or equity. Damages excluded by this clause " +
            "include, without limitation, those for loss of business profits, " +
            "injury to person or property, business interruption, loss of business " +
            "or personal information. Some jurisdictions do not allow limitation " +
            "of incidental or consequential damages so this restriction may not " +
            "apply to you.\n\nInformation provided through the software may be " +
            "delayed, inaccurate, or contain errors or omissions, and the Associates " +
            "will have no liability with respect thereto. GonZor may change or " +
            "discontinue any aspect or feature of the software or the use of all " +
            "or any features or technology in the software at any time without " +
            "prior notice to you, including, but not limited to, content, hours " +
            "of availability.\n\n6.  \tControlling Law.\n\nThis software license " +
            "and the relationship between you and GonZor is governed by the laws " +
            "of Australia without regard to its conflict of law provisions. You " +
            "and GonZor agree to submit to the personal and exclusive jurisdiction " +
            "of the courts located within Australia. The United Nations Convention " +
            "on the International Sale of Goods does not apply to this software " +
            "license.\n\n7.\tPrecedence.\n\nThis software license constitutes the " +
            "entire understanding between the parties respecting use of the software, " +
            "superseding all prior agreements between you and GonZor.\n\n8.\tSurviving " +
            "Provisions.\n\nSections 1, and 3 through 5, will survive any termination " +
            "of this Agreement.\n\n---------------------------------------------------------------------------------" +
            "---\nIf you accept the terms of the agreements, click I Agree to continue. " +
            " You must accept the agreement to download and use the software. ");
        scroll.setBounds(new Rectangle(36, 36, 478, 305));
        this.getContentPane().add(readcheck);
        readcheck.setVisible(false);
       this.getContentPane().add(scroll);
       textscroll = new JScrollPane (scroll, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
                                                JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
        textscroll.setBounds(36,36,400,400);
          getContentPane().add( textscroll );
        this.getContentPane().add(background);
      JLabel background = new JLabel();
      JCheckBox readcheck = new JCheckBox();
      JTextArea scroll = new JTextArea();
    }Sorry about all the text for the agreement. I've tried a number of different things I got from searching the forums at different points in the code (setting the number of rows/columns, setting max and min sizes, etc etc) The code above that wraps the text I could have sworn I tried 3 times before it magically worked... I also tried using the awt component for textareas that had the scrollbars built in, but scrapped it after having even more difficulties with that one. I'm trying to get the textbox to only go down about 300 px and 300 px to the right. Using the graphical editor to change it produces a null pointer error at compile time(?!?). Can anyone help me to get the textbox to render as I want it to?
    Edited by: rpk5000 on Jan 27, 2008 9:43 AM

    for instance, boxlayout would work nicely with the installer frame (or dialog)
    import java.awt.Dimension;
    import java.awt.EventQueue;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.BorderFactory;
    import javax.swing.BoxLayout;
    import javax.swing.JButton;
    import javax.swing.JCheckBox;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    import javax.swing.SwingUtilities;
    import javax.swing.UIManager;
    public class InstalleFrame
        public InstalleFrame()
            try
                jbInit();
            catch (Exception ex)
                ex.printStackTrace();
        private JScrollPane textscroll;
        private JPanel contentPane = new JPanel();
        private JLabel background = new JLabel();
        private JCheckBox readcheck = new JCheckBox();
        private JTextArea scroll = new JTextArea();
        private void jbInit() throws Exception
            contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.PAGE_AXIS));
            contentPane.setBackground(UIManager.getColor("window"));
            contentPane.setBorder(BorderFactory.createEmptyBorder(15, 15, 15, 15));
            scroll.setWrapStyleWord(true);
            scroll.setLineWrap(true);
            String text = "Copyright ? 2006-2007 GonZor228.com \n\nBy using or distributing this "
                            + "software (or any work based on the software) you shall be deemed "
                            + "to have accepted the terms and conditions set out below.\n\nGonZor228.com "
                            + "(\"GonZor\") is making this software freely available on the basis "
                            + "that it is accepted as found and that the user checks its fitness "
                            + "for purpose prior to use.\n\nThis software is provided \'as-is\', without "
                            + "any express or implied warranties whatsoever. In no event will the "
                            + "authors, partners or contributors be held liable for any damages, "
                            + "claims or other liabilities direct or indirect, arising from the "
                            + "use of this software.\n\nGonZor will from time to time make software "
                            + "updates available.  However, GonZor accepts no obligation to provide "
                            + "any support to free license holders.\n\nGonZor grants you a limited "
                            + "non-exclusive license to use this software for any purpose that does "
                            + "not violate any laws that apply to your person in your current jurisdiction, "
                            + "subject to the following restrictions: \n\n\nblah, blah, blah,..."
                            + "\n\n";
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 5; i++)
                sb.append(text);
            scroll.setText(sb.toString());
            contentPane.add(readcheck);
            contentPane.add(scroll);
            textscroll = new JScrollPane(scroll,
                    JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
                    JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
            textscroll.setPreferredSize(new Dimension(400, 400));
            contentPane.add(textscroll);
            JPanel bottomPane = new JPanel();
            bottomPane.setOpaque(false);
            final JButton okButton = new JButton("OK");
            final JButton cancelButton = new JButton("Cancel");
            okButton.setEnabled(false);
            readcheck.setOpaque(false);
            readcheck.setText("I have read and accept the license agreement");
            readcheck.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    JCheckBox radioBtn = (JCheckBox)e.getSource();
                    if (radioBtn.isSelected())
                        okButton.setEnabled(true);                   
                    else
                        okButton.setEnabled(false);
            okButton.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    // TODO: whatever needs to be done here
            cancelButton.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    SwingUtilities.getWindowAncestor(contentPane).dispose();
            bottomPane.add(readcheck);
            bottomPane.add(okButton);
            bottomPane.add(cancelButton);
            contentPane.add(bottomPane);
            //readcheck.setVisible(false);
            contentPane.add(background);
        public JPanel getContentPane()
            return contentPane;
        public static void main(String[] args)
            EventQueue.invokeLater(new Runnable()
                public void run()
                    InstalleFrame install = new InstalleFrame();
                    JFrame frame = new JFrame("Install");
                    frame.getContentPane().add(install.getContentPane());
                    frame.setDefaultCloseOperation(3);
                    frame.setSize(550, 400);
                    frame.setUndecorated(false);  //**
                    frame.pack();  //**
                    frame.setLocationRelativeTo(null); //**
                    frame.setVisible(true);
    }

  • Download Menu Themes fail - Pre 11

    Premier Elements 11
    Desktop, Win7, Intel i7, 16 gig
    NVida GTX460 - this maybe the reason I went to Pre11 from Pre10 last year.
    New project with 7 video clips (Canon 1920x1080 .mts) and several dozen stills (.jpg), approx 1.3 hours.
    After downloading a menu theme (20-40 megs), screen shows a blank pane for Adjustments (see attached).   Tried downloading several different theme files, no good.
    Created several mini projects, same failure after downloading a menu theme.
    Archiving the project (trimmed) and loading to a notebook with Pre11 then was successful in downloading "Stages" menu theme. Made edits with no issues.   Brought revised project back to desktop and getting a "Project not compatible". 
    Loading a existing project created a year ago in Pre11 results in a "Project not compatible"
    Suspect the "menu theme" function in Pre11 has gotten hammered, no big issues with the rest of Pre11.   Question is what is the best course of action?
    My first goal is to preserve the projects I already have. (no Project Archiver versions - my bad)
    Can I de-install Pre11 and re-install w/o losing the many existing video projects going back several years?
    Is it time to move to version 13?   (not looking forward to the learning curve)
    Thanks in advance

    1. If you cleaned out the Adobe Premiere Elements Preview Field Folders, how much free hard drive space would you free up?
         4 gig.   The 11.0 directory on C contains 9.5 gig, including two Trimmed directories (2.5 gig each)
    2. What is this L drive to where the Media Cache (conformed audio) is directed. Free space 21.4 GB seems very low for such an active place.
         Just a 75 gig partition used for temp files and things like Pagefile.sys, have deleted some items now have 63 gig free.
    3. Your desktop system seems to be on the lower side for free hard drive space.
         Here is an overall picture:
    What is your Internet speed rating for Down/Up?
         Down 6 megabit (= 750 megabytes)  Up  650 kilobit
    4. Please remind me what the free hard drive space looks like at location for Adobe Premiere Elements Previews File Folder and Media Cache Files Folder on your computer which does not have this movie menu issue?
         On the laptop all Scratch Disks are pointed to C:, 57 gig empty.
    What happens if you switch out Online Folders - Desktop Online out, copy of other computer's Online Folder into Desktop where its own Online Folder had been previously located?
         Just did that, no change.   When I try to apply the "Stage" theme from Entertainment to a small test project, it instantly goes to the following screen with just gray in the Adjustments panes. Hitting Reset to no avail.
    The "Stage' directory has the same number of files and sizes on both the Laptop and Desktop.
    Currently, what about other Content Downloads, such as graphics, Instant Movies, etc. all the same problem as movie menus?
         Not entirely sure what you are asking.   Just did my first "Instant Movie" downloaded 260 meg of Crystal Glass and it appeared to build correctly.
    Overall,  do not see any indication that I have a failure to download files.   Still feels like Pre11 got damaged somewhere - so I am ready to do an de-install/install if I am not risking the .PREL files.
    Al

  • Acrobat Reader 7.0 und ActiveX in Director

    Acrobat Reader 7.0 verfügt nicht mehr über
    "pdf.ocx". Leider funktioniert deshalb meine mit Macromedias Director programmierte Anwendung nicht mehr richtig.
    Wie kann ich das ActiveX-Modul von Acrobat Reader 7.0 ansprechen?
    Warum funktioniert die LoadFile Methode nicht mehr?
    Kann ich pdf.ocx trotzdem auf dem System registrieren, auch wenn Acrobat Reader 7.0 installiert ist?
    Ekki Makosch

    Unfortunately, I've had no response to my post as of yet.
    Interestingly, I was playing around with it a little further. I was finally able to get acrobat reader 7 to start but only under the following conditions:
    - I created a new user with no files in the home directory
    - I logged in remotely via ssh and set my DISPLAY
    - I was then able to bring up acrobat reader 7. v8 still hangs right after the GUI comes up.
    I tried unset'ing all of the environment variables as my normal user and setting only the ones defined in the working environment above. v7 still would hang.
    I tried 'su - newuser' but v7 would still hang.
    I tried 'ssh newuser@localhost' and v7 would start.
    I tried logging in via ssh as my normal user and v7 hangs.
    Again, I'm stuck as to where to go from here.
    -B

  • Director MX 2004 ActiveX

    Hi
    Does anyone know a link to some documented help on how to use
    Director MX 2004 in AW7 ?
    There is mention of using an Active X is this the Shockwave
    ActiveX ? If so how do I use it to display Director movies?
    Help please I am on a trial and need to know if incorporating
    Director MX into AW7 works ok
    Thanks
    Kevin

    Yes, you need to use the Shockwave ActiveX control. This also
    means
    your target machines need the shockwave player installed
    also.
    You need to insert the ActiveX control and name it something
    unique.
    Then after the ActiveX on the flowline in a calc put :
    SetSpriteProperty(@"Director", #SRC,
    Filelocation^"directorfile.dcr")
    substitute @"Director" for whatever you called the icon.
    That should get you started.
    Mark
    kjedwards wrote:
    > Hi
    >
    > Does anyone know a link to some documented help on how
    to use Director MX 2004
    > in AW7 ?
    >
    > There is mention of using an Active X is this the
    Shockwave ActiveX ? If so
    > how do I use it to display Director movies?
    >
    > Help please I am on a trial and need to know if
    incorporating Director MX into
    > AW7 works ok
    >
    > Thanks
    >
    > Kevin
    >

  • Director 11.5 activex

    Hi guys, i'm trying to change visibility of ana WMP activex control so that it's shows when i click on a button,
    i used the sprite().visible property in the script but, problem is that change never happens until i stop the movie!!
    the same thing doesn't happen with other sprites on the stage, they appear and disappear instantaneously!!!
    am i missing someting!!
    and another problem is that that WMP activex is always on top of everything else on the stage no matter is it's order!!
    i would appreciate any help on that!!

    bullzyz wrote:
    thanx for your helpful reply and info, very interresting approach, i guess that is exactly what i should do, although a bit messy.
    If could ask another question here related to activex; do the destination systems that the projector would run need to have this activex control installed or does it get bundled with the projector published file. i think all new windows systems already have the WMP ocx but what about older ones! ?
    Thanx in advance!
    Here's the web page that will get you started on the wonderful journey of obtaining a license to distribute the windows media player installer with your software: http://www.microsoft.com/windows/windowsmedia/licensing/distribute.aspx

  • Crystal ActiveX Runtime Lib: Change text data source path at run time.

    We have some PCs running Crystal Reports 10 and some running CR 9 and 8.5. For each PC, we set up a System DSN ODBC data source (in Control Panel - Administrative Tools) for pulling data from text files to
    generate reports.
    Recently we wrote some routines (see the Visual Basic example at the
    end of this message) to change the path of the data files at runtime.
    According to the Crystal Reports Technical Reference Guide, we may use
    the method LogOnServer() of an Application object or an DatabaseTable
    object. However, we find that this does not work: the PrintOut()
    method only pulls data from the default path as configured for the
    System DSN, not from the path passed as the third parameter of
    LogOnServer(). It does not return any error message.
    We have also tried to use SetTableLocation() method, and it still does
    not work.
    Would any experts examine our code below and advise what we are missing? Thanks.
    For the following VB example, we have:
    System DSN Name: AP_WORKSHEET
    Driver: Microsoft Text Driver
    Database Directory: D:\0ood2 (i.e. the default path)
    Crystal Report Document: D:\3g\run\Vision\apcyto\Reports\crBlockWS.rpt
    (Which specifies that the data source text file name is BlockWS.txt)
    Purpose : We would like to read the data source text file from
    D:\0ood1 instead of the default path.
    Following is the code of the VB macro:
    Sub test()
    Rem In this version of the subroutine, we call
    Rem DatabaseTable.LogOnServer() and "Rem"ed out
    Rem Application.LogOnServer() and SetTableLocation().
    Rem We have un"Rem"ed each of them and "Rem"ed others and try to run.
    Rem In all runs, data are pulled from the default file
    Rem D:\0ood2\BlockWS.txt instead of D:\0ood1\BlockWE.txt.
    Dim crxapp As CRAXDRT.Application
    Dim crxRep As CRAXDRT.Report
    Dim crxDB As CRAXDRT.Database
    Dim crxTab As CRAXDRT.DatabaseTable
    Dim crxConnPs As CRAXDRT.ConnectionProperties
    Dim crxConnP As CRAXDRT.ConnectionProperty
    Dim apropSubLoc As String
    Dim apropConnBufStr As String
    Set crxapp = CreateObject("CrystalRuntime.Application")
    Rem
    crxapp.LogOnServer "p2sodbc.dll", "AP_WORKSHEET", "<CRWDC>DBQ=D:\0ood1",
    Set crxRep = crxapp.OpenReport
    ("D:\3g\run\Vision\apcyto\Reports\crBlockWS.rpt")
    Set crxDB = crxRep.Database
    Set crxTab = crxRep.Database.Tables(1)
    apropConnBufStr = crxTab.ConnectBufferString
    apropSubLoc = crxTab.SubLocation
    crxDB.LogOnServer "p2sodbc.dll", "AP_WORKSHEET", "<CRWDC>DBQ=D:\0ood1",
    Rem crxTab.SetTableLocation "D:\0ood1\BlockWS.txt", apropSubLoc, "DSN="
    Rem Set crxConnPs = crxTab.ConnectionProperties
    Rem Set crxConnP = crxConnPs.Item("DSN")
    Rem crxConnP.Value = "AP_WORKSHEET"
    Rem Set crxConnP = crxConnPs.Item("Database")
    Rem crxConnP.Value = "D:\0ood1\BlockWS.txt"
    Rem crxTab.Location = "BlockWS.txt"
    crxRep.DiscardSavedData
    crxRep.PrinterSetup (0)
    crxRep.PrintOut
    End Sub
    For VB macros, the problem exists in all of CR 8.5, 9 and 10. However,
    for another platform we are using, Unify Vision 4GL, it works for CR
    8.5 while not working for CR 9 and 10.
    Following is the source code in Unify Vision 4GL. This language may
    not be popular, but I thin you are about to see how it calls the
    Runtime Library methods LogOnServer(), OpenReport(), PrinterSetup() and
    PrintOut().
    %gfPrintCrystalReport
    BOOL FUNCTION gfPrintCrystalReport($reportName)
    BEGIN
    if NOTMKNOWN(GF:$oSeagateId) then
    create service of activex
    class 'CrystalRuntime.Application'
    object_ref into GF:$oSeagateId;
    if MKNOWN(GF:$oSeagateId) then
    begin
    /* TD23013: Database directories are dynamic to
    accommodate multiple user requirement of Citrix */
    send message LogOnServer to GF:$oSeagateId
    using
    ( 'PDSODBC.DLL', 'AP_WORKSHEET', '<CRWDC>DBQ='+GF:$WinTempDir,'','')
    identified by $msgHandle;
    if $msgHandle:MSG_STATE 'RESPONSE_PROCESSED'
    then
    begin
    display 'Crystal Reports cannot connect
    to the datasource ' for fyi_message wait;
    return (FALSE)
    end
    send message OpenReport to GF:$oSeagateId using
    ($reportName, 1)
    identified by $msgHandle returning
    $oCrystalReport
    if MKNOWN($oCrystalReport) then
    begin
    if (NOTMKNOWN(GF:$printerName)) then
    set GF:$printerName to
    $oCrystalReport->PrinterName;
    if GF:$printerName $oCrystalReport-
    PrinterName then
    send message SelectPrinter to
    $oCrystalReport
    using
    (GF:$driverName,GF:$printerName,GF:$portName)
    identified by $msgHandle;
    set $oCrystalReport-
    DisplayProgressDialog to FALSE;
    while TRUE
    begin
    DISPLAY NOTICE 'Print to : ' +
    GF:$printerName
    LABELS 'Ok'
    DEFAULT, 'Cancel', 'Printer Setup'
    RESULT INTO $userOption
    switch ($userOption)
    begin
    case 0 :
    send
    message PrintOut to $oCrystalReport
    using
    (PROMPT_USER, NUMBER_OF_COPIES, COLLATED, START_PAGE, STOP_PAGE)
    identified by $msgHandle;
    set
    $oCrystalReport to UNDEFINED
    return
    (TRUE);
    case 1:
    set
    $oCrystalReport to UNDEFINED
    return
    (FALSE);
    case 2:
    send
    message PrinterSetup to $oCrystalReport
    using
    (0)
    identified by $msgHandle;
    if
    GF:$printerName $oCrystalReport->PrinterName then
    begin
    set GF:$printerName to $oCrystalReport->PrinterName;
    set GF:$driverName to $oCrystalReport->DriverName;
    set GF:$portName to $oCrystalReport->PortName;
    end
    break;
    end
    end
    end
    end
    return
    (FALSE);
    END

    Hi Sydney,
    If you search the Developers help file you'll find info on using the method:
    How to change the data source
    This example demonstrates how to change the data source from native Access to an OLEDB (ADO) data source by using the ConnectionProperty Object, as well as how to change the table name by using the Location property of the DatabaseTable Object. CrystalReport1 is connected to the xtreme.mdb database found in the \Program Files\Crystal Decisions\Crystal Reports 10\Samples\En\Databases folder. The report is using the Customer table. A copy of the Customer table is added to the pubs database on Microsoft SQL Server.
    ' Create a new instance of the report.
    Dim Report As New CrystalReport1
    Private Sub Form_Load()
    ' Declare a ConnectionProperties collection.
    Dim CPProperties As CRAXDRT.ConnectionProperties
    ' Declare a DatabaseTable object.
    Dim DBTable As CRAXDRT.DatabaseTable
    ' Get the first table in the report.
    Set DBTable = Report.Database.Tables(1)
    ' Get the collection of connection properties.
    Set CPProperties = DBTable.ConnectionProperties
    ' Change the database DLL used by the report from
    ' native Access (crdb_dao.dll) to ADO/OLEDB (crdb_ado.dll).
    DBTable.DllName = "crdb_ado.dll"
    '  The connection property bags contain the name and value
    ' pairs for the native Access DLL (crdb_dao.dll). So we need
    ' to clear them, and then add the name and value pairs that
    ' are required to connect to the OLEDB data source.
    ' Clear all the ConnectioProperty objects from the collection.
    CPProperties.DeleteAll
    ' Add the name value pair for the provider.
    CPProperties.Add "Provider", "SQLOLEDB"
    ' Add the name value pair for the data source (server).
    CPProperties.Add "Data Source", "ServerA"
    ' Add the name value pair for the database.
    CPProperties.Add "Initial Catalog", "pubs"
    ' Add the name value pair for the user name.
    CPProperties.Add "User ID", "UserName"
    ' Add the name value pair for the password.
    CPProperties.Add "Password", "password"
    ' Set the table name. ' for SQL types it would be "database.dbo.table"
    DBTable.Location = "Customer"
    Screen.MousePointer = vbHourglass
    ' Set the report source of the viewer and view the report.
    CRViewer1.ReportSource = Report
    CRViewer1.ViewReport
    Screen.MousePointer = vbDefault
    End Sub

  • Error: This application required an Xtra (ActiveX...) that either does not exist or failed

    Hi All,
    im having trouble few days now , i hope someone can give me a lead here.
    i have a director mx file written in arabic, i open it in Director 11.5, the file behave strangely, very slow publishing process, very slow access to the xtra list.
    after publishing (shockwave and html), i open the html, the preloaded start to run but i can see its not reaching 100%, after a while i get the error massage:
    "This application required an Xtra (ActiveX...) that either does not exist or failed..." and firebox or IE crashes.
    In the movie extra list (Modify menu) i can see all extras, and all have "download if needed", but in ActiveX the "download if needed" grays out. i have no idea why
    things i try with no success:
    uninstall and reinstall shockwave player
    check the same file in another machine
    exclude and include xtras in Publish Settings > Files
    add activex.x32 from other places
    Hope for good news
    Win Xp sp3
    Thanks
    Shay

    In the movie extra list (Modify menu) i can see all extras, and all have "download if needed", but in ActiveX the "download if needed" grays out. i have no idea why
    Because AX controls aren't SW-safe. You will have to redesign your file to remove the ActiveX control if you want it to run in a browser.

  • Veiwing a PDf using Activex Direct to stage

    I'm new to Director, and to the scripting side especially. I have managed to complete all of my project except for when I get to a point I need to be able to have the users click on a button and have a PDF load in the PDF's Activex sprite. This is the code I have attached to the button:
    on mouseup
         sprite(17).src = the moviePath &"OSME.pdf"
    end
    When they click on the button, nothing happens, any ideas on why this wouldnt be loading?
    Thanks!
    Tim

    You shouldn't have to do anything with the AX sprite to make it work (assuming it implements a src property). I assume you have a copy of Buddy API for your platform already - if not, grab it from here. To install it you need to place it in the folder named Xtras inside the folder your authoring application is installed. You must be on Windows to be running AX controls, so you should put it in the 'Adobe Director 11\Configuration\Xtras\Scripting\' folder. Restart Director and the xtra should be available. To test that it's installed properly you could check the Scripting Xtras drop-down list in either your message window or a script window (it's the menu with an xtra icon) - you should see an entry for BudAPI.
    Now alter your script like so:
    on mouseUp
      tPath = the moviePath & "OSME.pdf"
      if baFileExists(tPath) then
        sprite(17).src = tPath
      else
        alert "File not found:" && tPath
      end if
    end
    Sorry, I can't seem to view your attachment - how do I access it?

  • OPC-Server + ActiveX

    Hi! I'm trying to communicate with some hardware via OPC and datasocket. The
    problem is the great and variing number of the channels for the data
    acquisition (400-1500 channels!). So I decided to automatize the "Browse to
    OPC item.vi" via ActiveX with every single item written into an array with
    its specific properties like datatyp, access right, OPC-URL and so on. For
    better understanding: Similar to the "List directory.vi" I want to analyse
    how many OPC-Server ("harddisks") at the local PC do exist, how many groups
    (directories) they contain, how many subgroups (subdirectories) there are
    and what kind of items (files) they contain. Additionally, I want to get
    some information of them and I want to build an array where all informati
    on
    (path, properties...) is stored in. I succeeded in displaying a string array
    with the installed OPC-servers, but that's all. Puuh, hard staff. I hope
    somebody can help me.

    For your information, there is a new TestStand Add-on "OPC DA Connect" which adds a StepType Palette dedicated to OPC Data Access.
    You can configure each step by browsing the OPC servers on your network and browsing variables within these servers.
    The browsing functionnality that you where looking for as been implemented in this toolkit.
    Hoping this helps.
    Jean-Louis SCHRICKE
    ├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
    ├ CTD - Certified TestStand Developer (2004 & 2007)
    └ CLD - Certified LabVIEW Developer (2003 & 2005)

  • ActiveX Xtra - projector doesn't terminate

    Hi all,
    Has anyone had problems with the projector not terminating
    correctly
    when working with the ActiveX Xtra? We are working on a
    Director
    application that uses some custom ActiveX controls. When the
    user
    quits the projector, the Process for the projector does not
    terminate. If you look in the Windows Task Manager and click
    on the
    Processes tab, the process for the projector is still there
    even
    after the user quits.
    I am using Director MX 2004 on Windows XP Pro. Users with
    other
    versions of Windows are also seeing the problem.
    One interesting note is that if we put the ActXPriv.x32 user
    interface component in the Xtras folder that the projector
    uses, the
    problem goes away (the process terminates correctly upon
    quitting).
    Unfortunately the documentation for the ActiveX Xtra says
    "Under no
    circumstances should the user interface component
    'ActXPriv.X32' be
    redistributed with a packaged Director multimedia title."
    Thanks for any help!
    Tom

    I just thought that you might fail to unregister your activeX component when you stop the projector (in case you deliver the component's dll to the user with your projector package). Say my component is called axvlc.dll. It is placed in the same directory as my stub projector (given by: _movie.pass)
    On startMovie -- I register the component:
         axRegSuccess = ActiveXControlRegister(_movie.path&"axvlc.dll")
         --axRegSuccess must be -1
    end
    on stopMovie -- I unregister it
          axUnRegSuccess = ActiveXControlUnRegister(_movie.path&"axvlc.dll")
          --axUnRegSuccess must be -1
    end

  • Mountain Lion: problem with Time Machine directories and spotlight indexing

    I'm using a fresh install of 10.8 Mountain Lion on a 2011 MBP.  It's a work laptop with many ASCII files containing numerical data (floating point numbers), with varying file extensions.  Some of the files are multi-gig, some are only a few hundred K, and there are tens of thousands of them.  Roughly 500G of numerical data.
    I can disable spotlight from indexing certain subdirectories of my home directory on the local drive.  However, when using Time Machine to backup, I seem to be entirely unable to prevent spotlight from attemping to fully index the external drive (Time Machine volume).   I actually let spotlight run for over 36 hours this weekend in a futile attempt for it to finish indexing the TM volume.   The /.Spotlight-V100 index on the external drive is roughly 100G and continuously written and overwritten.  /var/log/system.log had various "Merging failed" messages for temp spotlight files.  I deleted the index, let spotlight run again overnight, but it did not finish indexing.  "sudo fs_usage -f filesys mds mdworker mdimport mdworker32 | grep open" showed spotlight slowly chugging through the thousands of numerical files.
    I believe the problem is related to this old report from someone who noticed a leopard -> snow leopard change:
    http://hintsforums.macworld.com/showthread.php?t=106703
    http://forums.cnet.com/7723-6126_102-366184/snow-leopard-10-6-spotlight-indexing -and-disk-usage/
    However, I don't see an easy solution.  In ML, if you drag the TM volume to the spotlight privacy list it gives you a message about how you can't disable indexing of TM volumes because it's essential for TM.  I have not yet tried to manually put in some kind of .metadata_never_index file in the relevant TM volume directories (I am not sure if that will do anything, or perhaps break TM backups), but that's one possible next step.
    Anyone have ideas on how I can have my TM backups work but the spotlight indexing of all these data files (their subdirectories) disabled?   I'm not specifically TRYING to back up those data files with TM (they're duplicated elsewhere), they're just on the same machine as a bunch of other stuff I need backed up via TM.  Apple has a disaster on their hands for anyone trying to backup a machine which also has large data sets.

    I'm not aware of any avenue to tell spotlight to not index all or part of a backup.
    However, the indexing should work, even if takes a long time.
    I don't think this is a new issue and has been part of TM from the start.
    Realistically, it may be time to consider whether TM is the best choice for these data files?
    Are they very volatile do they change frequently both as to content of individual files and total set of files?
    If not, then a clone or syncing type of backup might be better suited for these files.
    I do not back up all my files via time machine. I keep photographs and music outside of Time Machine. to be sure they are backed up but via clones.
    To show why  this might the best take photographs. My photographs are basically immutable once they enter the system, but I may come back with 5000 images from a trip and whittle that down to a few hundred eventually. This would cause a lot of files to be saved in TM that are no longer wanted, - but are not easy to remove formthe backup. while the ones I want haven't changed. TM is not geared to make handling that easily.
    As a further aside, ideally one should back everything of value up twice via 2 different means.
    I've had backup drives fail.I've had TM logically fail (disk is fine -TM internal data structures bad).

  • Presentation Director - Docked?

    I have noticed that in Presentation Director there is a section in the settings labelled:
    "When notebook is docked."
    "Immediately apply this Scheme..."
    However, this section of the options is always greyed out for me, so I cannot select that option.  They option is unavailable regardless if the laptop is in the docking station or not.
    How do you use this docking feature with presentation director?
    ThinkPad T61 (7662-CTO) Core2Duo 2.2GHz 2 Gig RAM 1 Gig Turbo Memory 160 Gig HD 5400 rpm
    nVidia Quadro NVS 140M graphics Advanced Dock (2503)

     1. Make sure secondary is enabled..
                            ...when undocked click capture on normal setting in presentation director ...
    2.
    The nvidia driver and the windows display  settings has to enabled as attached as external] and the presentation director have to have the same resolution 1024x768 or whatever..? and the nvidia driver version(Old version  6.14.11.5666 9/27/2007) Rt click device manager display .. properties look at driver. If 5666
    (New version 6.14.11.7471 3/20/08 )(This driver also fixes Dual Monitor Display issue with Docking Stations)
     Download updated driver from lenovo.(7471 )3/20/08
    Then disable desktop manager
    Apply the following changes:
    1. Right Click on Desktop-Select  Nview Properties:
    Disable click ok.
    Open Nvidia control
    Right Click on Desktop and Select   Nvidia Control Panel
    Click on Change Powermizer Settings
    Select - Not manage my power consumption (Disable Powermizer)
    Setup in Nvidia Control panel:
     Use the following settings and  go to profiles and save.
     2. Go to Display Properties and use the following settings:
    NOTE: Make sure both LCD's are set at the same resolution! Ex 1280x1024 pixels.
    The NEC LCD in this example is the Default LCD:
    To move mouse from left to right, make sure Display 1 is on the left side in the Display properties.
    To undock, Press the Undock button on the Docking station and wait until Laptop goes into Sleep Mode and undocked. Press power button to put into normal mode.

  • ActiveX MS webbrowser no tab key

    Hi,
    I was successfully trying to load a web page in the MS
    webbrowser
    activeX control but the tab key is not recognized. Is there a
    way to
    jump beteween the fields of a web form when pressing the tab
    key?
    TIA

    I reserched the heck out of the same question. I could not
    find a way to get
    the tab key to do anything. I tried various things to track
    down where the
    tab key goes, but couldn't figure out how to get it to work.
    Over on
    mediamacros.com there's a behavior that has code to handle
    the tab key on a
    web browser, and I couldn't get that to work either.
    So I just used VB and made a shell for the browser. It
    actually worked
    better for everything. There was some Flash interactivity and
    something else
    that using the MS web browser in Director interfered with
    that was fixed
    using straight VB.
    TR
    "CastTen" <[email protected]> wrote in message
    news:ecurko$aci$[email protected]..
    > Hi,
    >
    > I was successfully trying to load a web page in the MS
    webbrowser activeX
    > control but the tab key is not recognized. Is there a
    way to jump beteween
    > the fields of a web form when pressing the tab key?
    >
    > TIA

  • Script for Director in Authorware

    Hello,
    I am new here and I hope that someone could help me.
    I have a Director movie and I want to play this in Authorware
    with the ActiveXcontrol. I see the movie playing but Authorware
    goes on running the complete flowline in the back while the
    Director movie is playing in front of it.
    I am not good in scripting in Authorware but I need a script
    that tells Authorware to play the Director movie, (and stay at that
    point of the flowline) and continue the flowline after the Director
    movie Quits. (The Lingo command Quit in the Director movie)
    Is there someone to help me?
    O.... something else, the stage of the Director File is the
    same size as the Authorware stage
    Thanks
    Marius

    To elaborate on what Erik has said, you'll need an
    interaction with an event
    response set up that will catch some sort of event set up
    with Director. I
    don't think anyone on here uses Director on here much, so
    they'd have to
    experiment with the files as much as you would. You may find
    that looking
    at the Flash ActiveX ShowMe gives you some ideas of things to
    look at while
    you're experimenting.
    HTH;
    Amy
    "Erik **AdobeCommunityExpert**"
    <[email protected]> wrote in
    message news:[email protected]...
    > I've not worked with Director in Authorware in a real
    long time.
    > If the Authorware presentation is continuing, then it
    needs to stop until
    > the Director movie says it's ok to move on.
    > In Flash, you could do this with a fsCommand or getURL
    function. Flash
    > would execute that function when done and you would
    setup an 'Event
    > Response' interaction in Authorware to wait for it.
    > Can Director send such an event?
    > Erik
    >
    > marius siroen wrote:
    >> Hello,
    >>
    >> I am new here and I hope that someone could help me.
    >>
    >> I have a Director movie and I want to play this in
    Authorware with the
    >> ActiveXcontrol. I see the movie playing but
    Authorware goes on running
    >> the complete flowline in the back while the Director
    movie is playing in
    >> front of it.
    >>
    >> I am not good in scripting in Authorware but I need
    a script that tells
    >> Authorware to play the Director movie, (and stay at
    that point of the
    >> flowline) and continue the flowline after the
    Director movie Quits. (The
    >> Lingo command Quit in the Director movie)
    >>
    >> Is there someone to help me? O.... something else,
    the stage of the
    >> Director File is the same size as the Authorware
    stage
    >>
    >> Thanks
    >> Marius
    >>
    >
    > --
    > Erik Lord
    >
    http://www.capemedia.net
    > Adobe Community Expert - Authorware
    >
    http://www.adobe.com/communities/experts/
    >
    >
    http://www.awaretips.net -
    samples, tips, products, faqs, and links!
    > *Search the A'ware newsgroup archives*
    >
    http://groups.google.com/groups?q=macromedia.authorware
    > *The Blankenship Caveat: Note that direct linking to
    http content
    > through any Authorware icon will likely fail if a proxy
    server is
    > present!*

Maybe you are looking for

  • What would you replace an ATI Radeon 9800 Pro (256MB) with?

    Hi, I started a thread before asking whether I could replace a 256MB card with a 128MB card, even though the interface was a different shape. But, as I know so little about Macs and graphics card, it seems wiser to ask What would you replace an ATI R

  • Material Document Output Message

    Hi I cutomize the Mat.Doc Output Message WE01 to ZE01. In OMJ3 I already removed the WE01 for the new plant. However still in the Plant#2000 material document picks up both message Where else i should remove ? Thanks MM

  • No To the cloud going to lightworks free

    The feature look great smooth relaible editor for any MAC, WIN, Linux who needs adobe! Me on the cloud hell no dont make me laugh

  • New Logic Board?

    Over at MacInTouch, reader Rickard Almqvist reports that Apple has updated the MacBook Pro logic board and that it "got rid of all whine." Is this true? Any aknowledgement of boardmembers? With wich week does it start? Has the strange noise from disp

  • Start up is taking hours...please help!

    Hi, i just purchased a Macbook pro 3 months ago. Just 2 days ago I downloaded Anti-virus barrier and scanned my comp, but from the next day the start up takes hours - OVERNIGHT. Please help!