VSL file not found

B

Blardo

Hello,

I have modified a VSL file, originally created in C++ for Visio 2002 in
Visual Studio 6, now modified with Visual Studio 2005.
On one pc, with Visio 2007 installed, it works fine,
on an other pc, wit Visio 2007 SP1 installed, I can't see it in the add-on
list. If I replace it by the original VSL, everything looks fine, but when
putting the updated one back, it is hidden again. Since the original one
shows and the new one doesn't, I don't think it's a security issue (and at
first side the security settings on the working pc and the failing pc seemto
be the same). Anyone a clue? Or maybe Visio is keeping a log somewhere where
it stores failures like this?
 
P

Paul Herber

Hello,

I have modified a VSL file, originally created in C++ for Visio 2002 in
Visual Studio 6, now modified with Visual Studio 2005.
On one pc, with Visio 2007 installed, it works fine,
on an other pc, wit Visio 2007 SP1 installed, I can't see it in the add-on
list. If I replace it by the original VSL, everything looks fine, but when
putting the updated one back, it is hidden again. Since the original one
shows and the new one doesn't, I don't think it's a security issue (and at
first side the security settings on the working pc and the failing pc seemto
be the same). Anyone a clue? Or maybe Visio is keeping a log somewhere where
it stores failures like this?

Are you sure that the original VSL wasn't signed with a security
certificate? If the new VSL file isn't then at certain security
settings it will fail silently.
 
N

Nikolay Belyh

I have modified a VSL file, originally created in C++ for Visio 2002 in
Visual Studio 6, now modified with Visual Studio 2005.
On one pc, with Visio 2007 installed, it works fine,
on an other pc, wit Visio 2007 SP1 installed, I can't see it in list.

Hello,

I think you forgot to install VC++ runtime libraries (i.e. dependent
dlls) to the PC where it does not work. At least this is AFAIK the
common reason why application that worked with VC6 can stop working
after being recompiled with VC2005 on a PCs where Visual Studio is not
installed...

If this is the case then you can do one of the following:
- Compile your project to include the runtime statically (can be set
in project settings)
- Install the VC++ runtime libraries to the target machine.
- Include the VC++ runtime libraries in your setup.

To check if this is actually the case, you can use the DEPENDS tool
from VS.

Kind regards, Nikolay.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top