"Unspecified Error" placing DrawingControl on a form

VISIO

    Sponsored Links

    Next

  • 1. I need to add the Change Text Direction Icon to my toolbar.
    I found how to do it in the Help section and went to "Tools" then "Options" but I do not have a "Regional tab" in the options box. I have tried some other thing too but no success. Any Ideas? This is in Visio 2007. jcreek -- Thanks for your Help
  • 2. How to assign a macro to a toolbar button?
    Hi, I have recorded a macro in Visio 2003. I would like to assign it to a new button on a new toolbar (or even an existing toolbar). I can't find a way to do this. I used to make these macro buttons in Excel and Word but I think the procedure has been changed. Any advice would be appreciated. Thank you in avance. AJZ
  • 3. how to 'add shapes' after reverse engineering a large db
    how to 'add shapes' after reverse engineering a large db: folks: i reverse engineered a large oracle db (509 tables, plus views and stored procedures, etc etc). if i eliminate all 'views' from the selection criteria, i can copy the list of tables from the 'tables and views' frame to the diagram frame, and a relationship diagram will get populated. but if i keep all tables and views, and do the same, visio 2003 will stop responding. not sure what's wrong? the process i'm using, selecting all tables from 'tables and views' and dragging to the diagram frame may be all wrong. but i can't find any reference to how else to do it. i could use some help here. the only book i have is 'visio 2003 inside/out', and the reverse engineering chapter is somewhat sparse on this whole subject. thanks, ron
  • 4. Are Visio & VBox related & what are they.
    I've been periodically getting the error message about Vbox!(0010-0016-0120) not being able to load or something & it clearly is fouling up Outlook. I can only find two instances of Vbox & none of Visio on my computer. One is Program Files\Act\vbox?430.dll (Can't make out what the ? is) The weird thing is that ACT! is a contacts data base. The second is in Windows\System 32, same file name...both are 323KB application extensions. HELP! I have no idea why this just started up. Thanks.
  • 5. hyperlinks open in ful screen mode
    I have inserted hyperlinks to go to another Visio drawing. Is there a way I can have the linked to Visio drawing also display in full screen mode?

"Unspecified Error" placing DrawingControl on a form

Postby Vic Spainhower » Sat, 12 Feb 2005 09:27:53 GMT

Hello,

I'm re-posting this message in hopes of getting a reply. I have a 30-day 
Visio Evaluation kit which now only has about 2 weeks left. I'm creating a 
VB6 app and using the DrawingControl. However, as soon as I place the 
control on the form I get "Unspecified Error" and I'm unable to add the 
control to the form. I've uninstalled/Re-installed which did not help.

Any ideas?

Vic 



Re: "Unspecified Error" placing DrawingControl on a form

Postby Chris Roth [ Visio MVP ] » Tue, 08 Mar 2005 07:30:27 GMT

Try placing the control on the form via code.

I've had many problems with the visio control disappearing from the (VS.NET) 
designer after weeks of coding. You then have to go in and re-add the 
control, wondering all the time which code you've broken.

So what I did was write a wrapper class that adds the visio control to a 
Panel control at startup. It's a strategy primarily aimed at .NET, but it 
might work for your VB6 problems too.

-- 

Hope this helps,

Chris Roth
Visio MVP









Similar Threads:

1.Unspecified Error

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?

Thanks

Asif

2.Visio Control throws "Unspecified Error" if installed Visio version is Trial Version

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

3."Unspecified error" Visio 2007 PRO - Trial

Hello All,

There is a thread reporting a similar problem, but for some reason I
can only reply to the author and not to the group, so I decided to
open a new thread.
Anyway, here is the problem:
We did the development using Visio 2007 STD, then decided to test our
program on Visio 2007 PRO. We downloaded the trial version and
discovered that the drawing control cannot
be instantiated. IClassFactory2:: CreateInstance returns E_FAIL. At
the same time, a popup message comes up "An unspecified error has
occured". The message is not helpful at all. We figured out that we
needed to activate the trial version in order to be able to
instantiate the drawing control, but we would like to be able to
display a more helpful error message, just in case some user gets into
the same situation.
We experimented with RequestLicKey and GetLicInfo, which were both
successful and did not give a clue that CreateInstance would fail.
CreateInstanceLic fails in the same fashion.

Thanks,
Sorina

4.Visio Control throws "Unspecified Error" if installed Visio versio

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


"Asif" wrote:

> 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
> 

5.Unspecified Error

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?

Thanks

Asif



Return to VISIO

 

Who is online

Users browsing this forum: No registered users and 45 guest