Windows application using Visio drawing control problem

L

Lee Newson

Hi,

I am having a slight problem with a windows application i have written that
uses the Visio drawing control.

There is a bit of history with this. Firstly the app works fine on my
machine (development environment) however to begin with i could not get the
app to deploy to a different machine. Every time i tried to run the app it
would fall over with a fatal exception. to solve this i had to install
Visio on the remote machine... this struck me as wrong as i was unde the
impression that using a drawing control meant that you did not have to have
the application it was for installed on a users machine. but anyway i have
got passed the faftal exception by installing visio.

The problem i get when i try to run this now is...

"Exception from HRESULT : 0x86DB09C6"

I have done a search on google for this and i came back with a problem
locating the stencil file.

i have tried pointing to several different locations for this... i have
tried pointing to the 1033 folder, i have tried pointing to a copy of the
stencil that i placed in a document library on sharepoint, i have also tried
including the stencil in the solution and then accessing using the
application.path method... none of these worked and i am now out of ideas.

Has anyone come accross this problem before and know a solution or does
someone know something else i can try...

Any comments or help are greatly appreciated

regards

lee
 
L

Lee Newson

OK... not to worry... i thought it was not finding the stencil... it turns
out that the path i was using to find the src for the drawing control was
wrong.

cheers anyway

Lee
 
J

Jeff at Bennet-Tec.com

Lee
i was unde the impression that using a drawing control
meant that you did not have to have the application it
was for installed on a users machine.

It all depends on the drawing control you use.
The Visio Drawing control absolutely requires that a separate
Visio license be purchased and Visio installed for every end-user
who runs your application based on the Visio Drawing control

If this restriction causes you problems you may want to look
at other drawing controls.

Example - our MetaDraw control
( www.Bennet-Tec.com/btproducts/MetaDraw/MetaDraw.htm)
With MetaDraw you only need a license for the developers,
not for end-users of compiled EXE applciations you create.

* * Please include a copy of this message with your reply

Jeff Bennett
Jeff@ Bennet-Tec.Com

* Bennet-Tec Information Systems, Inc
* 50 Jericho Tpk, Jericho, NY 11753
* Phone 516 997 5596, Fax - 5597
* RELIABLE Components Make You Look Sharp!
* TList/Pro * ALLText HT/Pro * MetaDraw *
* Custom Software Development Services Too.
* WWW.Bennet-Tec.Com

=================== ===================
 

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