Visio Control throws "Unspecified Error" if installed Visio versionis Trial Version

A

Asif

Hi all,

I am using Visio 2007 in my application using VB.NET. Applications
run
normally on any machine which has licensed version of Visio 2007 but
if I run the same application on machine which has Trial version of
Visio 2007 Visio control throws "Unspecified Error".

I even tried to add control through code but it gives the same error.

Is there any way to check either installed Visio Version is Trial or
not or some other workaround to solve this problem?

Thanks

Asif
 
A

Al Edlund

There was a recent (within the last month or so) request that showed up
regarding working with trial code. The failure pretty definitely fired off a
licensing error via .net. I'd start by putting in an error handler to capture
the detailed/parent error and then work from there.
al
 
B

BTIS Jeff

It is my understanding that if you use Visio control in your
VB .NET application then every one of your users will need
a Visio license.

There are alternative controls you can use for most
diagramming, drawing type applications without
such a requirement. Our own MetaDraw control
is one example.


-----


Jeff Bennett
Jeff @ Bennet-Tec.Com

Bennet-Tec Information Systems, Inc
50 Jericho Tpk, Jericho, NY 11753
Phone 516 997 5596, Fax - 5597
WWW.Bennet-Tec.Com

RELIABLE Component Software
and Software Development Services
* TList/Pro * ALLText HT/Pro * MetaDraw *

====================== ======================
 
A

Asif

There was a recent (within the last month or so) request that showed up
regarding working with trial code. The failure pretty definitely fired off a
licensing error via .net. I'd start by putting in an error handler to capture
the detailed/parent error and then work from there.
al








- Show quoted text -

Can you please give me few lines of code about handling such error ?

Thanks in advance.
 
A

Al Edlund

The simplest is to do a try...catch...endtry with a msgbox as the handler to
give you the detail data. If it is a a licensing error then your stuck and
can't test on the trial code.
al
 

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