Problem with ActiveX / Excel / LV7.1 in program which worked on an older LV7.1 installation...

Hi,
I have a LV7.1 program which worked when ran on an older LV7.1 installation. 
I installed Office XP and LV7.1 and can open the program with no problems.  After opening I ctrl+shift+click the run button to force a recompile and the arrow becomes broken.
All the errors I have found are the same: Invoke Node contains unwired or bad terminal.
Below is a screenshot of one of the erroneous block diagrams.  I am hoping the error is recognizable.
The only two issues I can think of are:
1. I am running Windows 7- perhaps the ActiveX does not work the same way?  I am currently installing Windows XP to see if this corrects the problem.
2. Perhaps there was an Office toolkit or something used along with LV7.1 to create this program?  If so, any ideas on what it was and where I can get a hold of it? 
Thanks,
Dave
Solved!
Go to Solution.

Thanks Bob.  Yes, the invoke node in the picture was the one throwing the error.
I know next to nothing about ActiveX.  I right clicked the refnum control on the front panel and created a new invoke node on the block diagram (wasn't sure exactly how to link to the existing invoke node).  I rewired all the old connections and deleted the old invoke node.  Seems to have taken care of the problem.
Would the object model mismatch been caused by different versions of Offie being installed?  I was thinking about trying Office 97 as well but if rewiring fixes all the problems I guess I won't need to.
Thanks again,
Dave

Similar Messages

  • Problems with ActiveX Callbacks in LabVIEW 7

    Have encountered an interesting problem with ActiveX "Reg Event Callback" in LV7 (WinXP):
    In a nutshell, when a lot of events fire in rapid succession, the user-interface locks up.
    The events still fire, and the front panel controls update, but the front panel will not respond to clicks. Interestingly, if the block diagram is open, you can stop it and turn on execution highlighting, etc...
    - I've discovered that the problem we're encountering is related to multiple events firing before the (reentrant) callback VI has finished executing from the 1st event.
    - by watching the Performance data in task manager, and tracking the # of handles used by LabVIEW, I find that when this happens, the # of handles increases, b
    ut never decreases until you stop the VI
    - I would expect several (nearly) instantaneous events to launch multiple copies of that callback VI, and I can believe that would increase the # handles, but I would expect that LabVIEW would catchup shortly thereafter and the # handles would return to its starting count.
    As an aside, using the old ActiveX event and callback method with the exact same version of the activeX control does not have this problem, events just queue up and then fire appropriately.
    Anyone seen anything like this?
    Anyone (NI guys) have any ideas?
    Follow up question (NI guys): when will the support for the old ActiveX event stuff dry up?
    Thanks in advance,
    Ben
    Ben Zimmer
    [email protected]
    Software Developer
    Meikle Automation

    Hi Ben,
    The error message warns about the use of three ActiveX Event VIs that will no longer be supported in future versions of Labview. Following version 6 of Labview, the use of ActiveX Event VIs is shifting to the use of Register Event Callback VI instead. In looking at your screenshots, I did not see any use of the older ActiveX Event VIs. If possible, try attaching the actual VI to the post and I will take a look at that.
    At least in terms of support, phone support currently exists for Labview 6 and 7. With the release of Labview 8, support for Labview 6 will slowly be phased out. In this case, phone support for the ActiveX Event VIs will no longer continue as they are no longer included in the versions of Labview for
    which phone support is provided. However, Discussion Forums and web-based resources would be your best venue of support for those features.
    I would strongly recommend that you migrate to replacing ActiveX Event VIs to using the Register Event Callback VI. The following is a KnowledgeBase article describing the transition of ActiveX in Labview:
    Migrating from the ActiveX Event VIs to Using the Register Event Callback Node
    Also, are you using the Automation Open/Close VIs? These two VIs will allow acquire/release informatio nof the ActiveX object. I have attached a couple example programs that are included in Labview to help demonstrate this concept.
    Hope this helps!
    Kileen Cheng
    Applications Engineer
    National Instruments
    Attachments:
    ActiveX_Event_Callback_for_Excel.llb ‏944 KB
    ActiveX_Event_Callback_for_IE.llb ‏972 KB

  • Problems with Activex bridge

    I am having problems with my VB 6.0 program that uses a Java Activex Bridge. When I shut down my VB 6.0 application the service control manager logs a message in the event log that the program terminated unexpectedly.
    I have done some analysis and I have realised that the service control manager outputs this message only when my VB application creates the Java activex object. It appears that for some reason the Java object does not destruct cleanly.
    I have got 2 versions of Java plug-in 1.3.0 and 1.3.0_02. Only 1.3.0_02 is enabled. I am not sure whether are any known issues with the version of the plug-in I am using which causes this behaviour.
    I will be grateful for any suggestion which would help me in resolving the above problem.

    Check the registry. The activeX has a CLSID, the CLSID points to a jar file (HKCR/CLSID/{$CLSID}) does this jar exist?
    Does the beans.ocx used exist. Is it used in a plug-in that works (in the control panel there a Java Plug in for each version).

  • Problem with activeX objects

    hi all,
    i am having a problem with activeX objects.
    my activeX ( Tree View) is wrking fine with windows2000
    but when i am trying the same code with XP its saying dll missing.
    do these activeX depends on OS also..
    plz help me.

    hey Vishwas!
    did you register the .dll?
    do you work with vb.net?
    which ServicePack do you have in Windows XP?
    greetz
    Matthias

  • Problem with an excel file

    Dear All,
    I have a problem with an EXCEL file, i'm in a domain with windows server 2003 and all of the computer have windows 7, a user had open 3 weeks ago a fil excel after she gone on holiday so the file remain open (i don't know how) by she.
    I've try with all unlocker program to make the file deletable, but not work... it is very strange because if i try to open it with the account of the user that open the file appears always the same error (open read only)...
    Could you help me?
    thanks

    Hi,
    You may end the Excel process first, the “PsTools” have a pskill command that you can use to end a process remotely.
    Here’s a simple command:
    pskill \\computer –u username -p password  excel.exe
    For more information, please see the KB below:
    http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
    Best Regards

  • Problems with a simple stop watch program

    I would appreciate help sorting out a problem with a simple stop watch program. The problem is that it throws up inappropriate values. For example, the first time I ran it today it showed the best time at 19 seconds before the actual time had reached 2 seconds. I restarted the program and it ran correctly until about the thirtieth time I started it again when it was going okay until the display suddenly changed to something like '-50:31:30:50-'. I don't have screenshot because I had twenty thirteen year olds suddenly yelling at me that it was wrong. I clicked 'Stop' and then 'Start' again and it ran correctly.
    I have posted the whole code (minus the GUI section) because I want you to see that the program is very, very simple. I can't see where it could go wrong. I would appreciate any hints.
    public class StopWatch extends javax.swing.JFrame implements Runnable {
        int startTime, stopTime, totalTime, bestTime;
        private volatile Thread myThread = null;
        /** Creates new form StopWatch */
        public StopWatch() {
         startTime = 0;
         stopTime = 0;
         totalTime = 0;
         bestTime = 0;
         initComponents();
        public void run() {
         Thread thisThread = Thread.currentThread();
         while(myThread == thisThread) {
             try {
              Thread.sleep(100);
              getEnd();
             } catch (InterruptedException e) {}
        public void start() {
         if(myThread == null) {
             myThread = new Thread(this);
             myThread.start();
        public void getStart() {
         Calendar now = Calendar.getInstance();
         startTime = (now.get(Calendar.MINUTE) * 60) + now.get(Calendar.SECOND);
        public void getEnd() {
         Calendar now1 = Calendar.getInstance();
         stopTime = (now1.get(Calendar.MINUTE) * 60) + now1.get(Calendar.SECOND);
         totalTime = stopTime - startTime;
         setLabel();
         if(bestTime < totalTime) bestTime = totalTime;
        public void setLabel() {
         if((totalTime % 60) < 10) {
             jLabel1.setText(""+totalTime/60+ ":0"+(totalTime % 60));
         } else {
             jLabel1.setText(""+totalTime/60 + ":"+(totalTime % 60));
         if((bestTime % 60) < 10) {
             jLabel3.setText(""+bestTime/60+ ":0"+(bestTime % 60));
         } else {
             jLabel3.setText(""+bestTime/60 + ":"+(bestTime % 60));
        private void ButtonClicked(java.awt.event.ActionEvent evt) {                              
         JButton temp = (JButton) evt.getSource();
         if(temp.equals(jButton1)) {
             start();
             getStart();
         if(temp.equals(jButton2)) {
             getEnd();
             myThread = null;
         * @param args the command line arguments
        public static void main(String args[]) {
         java.awt.EventQueue.invokeLater(new Runnable() {
             public void run() {
              new StopWatch().setVisible(true);
        // Variables declaration - do not modify                    
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JLabel jLabel3;
        private javax.swing.JPanel jPanel1;
        // End of variables declaration                  
    }

    Although I appreciate this information, it still doesn't actually solve the problem. I can't see an error in the logic (or the code). The fact that the formatting works most of the time suggests that the problem does not lie there. As well, I use the same basic code for other time related displays e.g. countdown timers where the user sets a maximum time and the computer stops when zero is reached. I haven't had an error is these programs.
    For me, it is such a simple program and the room for errors seem small. I am guessing that I have misunderstood something about dates, but I obviously don't know.
    Again, thank you for taking the time to look at the problem and post a reply.

  • HT200169 Having a problem with Logic 9 on a Mac Pro.Working on a lenghty song and apparently session got corrupted.Doesnt let me export tracks,program crashes.Already tried start brand new session with the tracks imported into it but still wont export.Sug

    Hello,having a problem with Logic 9 on a Mac Pro.Working on a lenghty song and apparently session got corrupted.Doesnt let me export tracks,program crashes.Already tried start brand new session with the tracks imported into it but still wont export.Suggestions?

    Thanks, Ian. Yeah, that's how I do it now...or with the controls in the left side pane. Still, I would have liked that quick on-the-spot edit capability...especially while sketching.
    Ian Turner wrote:
    Sorry Mark, you are out of luck as it does not do that - it works the same as L8. The way I would achieve that with more accuracy and control would be to route all the tracks you want to fade to a Bus then use volume automation on the bus. To do this you will need to add a standard audio track, then re-assign it using (Control Click on the track header) to the Bus track. You can then automate volume/plugins etc on the Bus track.
    Ian

  • I have a problem with a few emails i wrote which were in the outbox. The outbox disappeared all of a sudden with my mails... However they were not sent since the email address was not correct (just 3 initials). Is there a way to get it back somewhere?

    Hello,
    I have a problem with a few emails i wrote which were in the outbox. The outbox disappeared all of a sudden with my mails... However they were not sent since the email address was not correct (just 3 initials). I was waiting to find out the correct email address of that person, put in in and then sen it...Is there a way to get it back somewhere on the ipad or in some cached folder?
    Many thanks for an answe to this.
    Swisslady2

    There is no cache where the emails would be stored on the iPad, but you could try quitting the mail app and then launch it again and see if the emails return.
    Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Tap the home button. Then try mail again.

  • HT204152 hello i have a problem with app store cant download program get this error verification required and no accept my visa card

    hello i have a problem with app store cant download program get this error verification required and no accept my visa card

    what i can start to download and updated programs

  • There is a problem with my apple watch.it is not working well .There is a problem in its charging .The repairers says that contact to your company and ask them to provide you its software. Please help me.

    There is a problem with my apple watch.it is not working well .There is a problem in its charging .The repairers says that contact to your company and ask them to provide you its software.
    Please help me.

    Please be aware that you are not communicating with Apple when you post in these forums. These are user-to-user support forums, so in almost all cases the only people who will reply to your posts are, like me, your fellow users.
    As to your issue, Apple does not and never has made a wristwatch as such. The only thing close to a watch that they have made was the 6th-generation iPod nano:
    http://support.apple.com/kb/ht1353#iPod_Nano_6G
    which has a clock feature and which some people have worn as a wristwatch. Is that what you mean?
    Message was edited by: varjak paw

  • Vine.co can not watch videos on other browsers do not have the problem with firefox firefox there just did not work, delete cookies, history

    vine.co can not watch videos on other browsers do not have the problem with firefox firefox there just did not work, delete cookies, history

    I think this problem may be caused by Yahoo's changes making it incompatible with the klatest version of FireFox.
    This is suddenly affecting many many people who use Firefox and are members of Yahoo Groups. All these people say they themselves changed nothing and have not been locked out before when using Firefox. But suddenly, within the last week, they are.
    What did Mozilla do or what did Yahoo do to cause this problem? I can say that I was not blocking cookies and after trying a number of things to fix it, I went to Yahoo's home page and navigated to my group from here.
    This problem is not anything a user did. Either Firefox is at fault or Yahoo is. I want to know which company is at fault and when they are going to fix it.

  • Hello. Having a problem with skype. i am online, all buttons work, however i can not make a video call the button simply doesnt work. Messages works. voice calls works. Please help.

    Hello. Having a problem with skype. i am online, all buttons work, however i can not make a video call the button simply doesnt work. Messages works. voice calls works. Please help.

    Sounds like you need to contact skype.

  • When i try to order prints i get an error message saying there is a problem with my network and my network is working

    when i try to order prints i get an error message saying there is a problem with my network and my network is working. How can i solve this problem?

    Try a different media. I have good luck using Maxell discs.

  • I have problem with my Notebook fan. it don't work. what can i do ?

    hi.
    my name is maziyar.
    i have problem with my notebook fan
    it does not work. and it got hot.
    what can i do ?
    i don't know why.
    can you help me ?
    there is any where in IStanbul (Turkey) that i can show my Notebook.
    thanks
    maziyar kosarifar

    Hi,
    I would recommend not using your notebook if the system fan has failed to avoid further damage to other components.
    To contact HP, start Here.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • I continue to have problems with links in email, they don't  Work.

    I continue to have problems with links in email, they don't work. When I called apple support she said to hard boot by holding off and home keys and restart. However this is only since the new release of the operating system,  it happens ever day and it's getting OLD.. Any solutions?

    Yes, almost daily since the iOS update. Is there a permanent solution. And does the hard reboot hurt the iPad?

Maybe you are looking for