Visio Automation Problem

kareshikareshi Member Posts: 9
Hi all.
I want to do export into visio and have encounter one problem:
(i working with office 2007 = visio 12.0)

I've declare visio automation local variables for my report. All is ok. (compiling etc)
//automation : 'Microsoft Visio 12.0 Type Library'.Application
Then i want to export as txt (for .fob all is ok) my report, and import it (for example in the same database)
And then i getting next error:
---------------------------
Microsoft Dynamics NAV Classic
---------------------------
{00021A98-0000-0000-C000-000000000046} 4.c:{00021A20-0000-0000-C000-000000000046}:'Microsoft Visio 12.0 Type Library'.Application is neither recognized as a GUID nor as the name of an Automation server.
Check to see if the entry is misspelled.

---------------------------
OK   
---------------------------

Just can't find what's wrong. (this automation exists in registry as i see, same problem exists when using other pc)

local variables are:
Name	DataType	Subtype	Length
VisioApplication	Automation	'Microsoft Visio 12.0 Type Library'.Application	
VisioDocument	Automation	'Microsoft Visio 12.0 Type Library'.Document	
VisioPage	Automation	'Microsoft Visio 12.0 Type Library'.Page	
VisioMaster	Automation	'Microsoft Visio 12.0 Type Library'.Master

Please Help! :)

ps Here are links to fob and txt file (visio >= 12 must be installed):
(fob is for 6sp1)
http://public.blu.livefilestore.com/y1p ... b?download
http://wyor5q.blu.livefilestore.com/y1p ... 92/tmp.txt

Just try to import txt - it will fail
Then import fob - it is ok. Then export fob as txt and import your txt - it will fail.
Sign In or Register to comment.