Jump to content

Why LabVIEW can't find Excel VBA help file


Recommended Posts

I use the labview activex node to access the Excel's property and method.

1) installed the Labview and Microsoft Office 2003 completely in the default directory

2) right click on the "visible"(one property of excel application), and select "help for visible", then the LV pops a alert-"Help file not found: C:\Program Files\Microsoft Office\OFFICE11\VBAXL10.CHM".

3) I seached and found the "VBAXL10.CHM" is located under "C:\Program Files\Microsoft Office\OFFICE11\1033"

Any guys konw why?

and how to let LV knows that VBAXL10.CHM is located under "C:\Program Files\Microsoft Office\OFFICE11\1033"?

BTW, if I uninstall Microsoft Office 2003 and installed the Microsoft Office XP completely, and repeat the procedure listed above, then the LV can load Excel help file correctly.

Thanks!

Link to comment

QUOTE (xinbadaz @ May 6 2008, 01:47 AM)

I use the labview activex node to access the Excel's property and method.

1) installed the Labview and Microsoft Office 2003 completely in the default directory

2) right click on the "visible"(one property of excel application), and select "help for visible", then the LV pops a alert-"Help file not found: C:\Program Files\Microsoft Office\OFFICE11\VBAXL10.CHM".

3) I seached and found the "VBAXL10.CHM" is located under "C:\Program Files\Microsoft Office\OFFICE11\1033"

Any guys konw why?

and how to let LV knows that VBAXL10.CHM is located under "C:\Program Files\Microsoft Office\OFFICE11\1033"?

BTW, if I uninstall Microsoft Office 2003 and installed the Microsoft Office XP completely, and repeat the procedure listed above, then the LV can load Excel help file correctly.

Thanks!

This is a bug in the type library for above Active X component. That typelibrary contains a directory entry that points to the same directory as the type library itself but the help file name in there is only the file name itself and no subdirectory. It's not a LabVIEW fault at all since LabVIEW should not have to worry about the language ID of help files and accordingly not have to search in subdirectories of the expected location for that file but the typelibrary should point at the right locations directly.

As to how to let LabVIEW know how to find the help file there is not so much you can do since editing the typelibrary is not really an option. I would just copy said help file to where the typelibrary says it is and be done with it or upgrade to a newer office version if I would use Excel over Active X at all.

Rolf Kalbermatter

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.