![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Convert Visio 2000 vsd's to 2007 I need to convert some 12,000 visio 2000 vsd's contained in some 15,000 folders into visio 2007 format. (overwrite original 2000 vsd's) getting the files and piping into loop is no problem but i am unsure about how to go about the actually conversion. - |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Convert Visio 2000 vsd's to 2007 Interesting... Now, you may have an easier time doing this in VBScript/VBA than PowerShell/COM. I'll look around... Marco "voodooking" <voodooking@xxxxxx> wrote in message news:97B7B893-2FA7-4B17-9A21-4BE46DC19791@xxxxxx Quote: > I need to convert some 12,000 visio 2000 vsd's contained in some 15,000 > folders into visio 2007 format. (overwrite original 2000 vsd's) > getting the files and piping into loop is no problem but i am unsure about > how to go about the actually conversion. > - |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Convert Visio 2000 vsd's to 2007 For example, with COM, this can open a Vision diagram: PS>$visio=new-object -com vision.application PS>$visio.documents.open("C:\my.vsd") That's as far as I've gotten so far. Marco "Marco Shaw [MVP]" <marco.shaw@xxxxxx_SPAMgmail.com> wrote in message news:#BJYO9XBKHA.5992@xxxxxx Quote: > Interesting... > > Now, you may have an easier time doing this in VBScript/VBA than > PowerShell/COM. > > I'll look around... > > Marco > > "voodooking" <voodooking@xxxxxx> wrote in message > news:97B7B893-2FA7-4B17-9A21-4BE46DC19791@xxxxxx Quote: >> I need to convert some 12,000 visio 2000 vsd's contained in some 15,000 >> folders into visio 2007 format. (overwrite original 2000 vsd's) >> getting the files and piping into loop is no problem but i am unsure >> about >> how to go about the actually conversion. >> - |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Convert Visio 2000 vsd's to 2007 yeah thats about as far as i got ##################################################### # convert visios to 2007 $AllFILES=(gci C:\CVS-Configs\configs | where {$_.Extenstion -eq ".vsd"}) foreach ($VSD in ($ALLFILES)) { $vs=($VSD.fullname) $visio=new-object -com visio.application $visio.documents.open("$vs") } #################################################### "Marco Shaw [MVP]" wrote: Quote: > For example, with COM, this can open a Vision diagram: > PS>$visio=new-object -com vision.application > PS>$visio.documents.open("C:\my.vsd") > > That's as far as I've gotten so far. > > Marco > > "Marco Shaw [MVP]" <marco.shaw@xxxxxx_SPAMgmail.com> wrote in message > news:#BJYO9XBKHA.5992@xxxxxx Quote: > > Interesting... > > > > Now, you may have an easier time doing this in VBScript/VBA than > > PowerShell/COM. > > > > I'll look around... > > > > Marco > > > > "voodooking" <voodooking@xxxxxx> wrote in message > > news:97B7B893-2FA7-4B17-9A21-4BE46DC19791@xxxxxx Quote: > >> I need to convert some 12,000 visio 2000 vsd's contained in some 15,000 > >> folders into visio 2007 format. (overwrite original 2000 vsd's) > >> getting the files and piping into loop is no problem but i am unsure > >> about > >> how to go about the actually conversion. > >> - |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Convert Visio 2000 vsd's to 2007 Is a 3rd party helper out of the question? I just found this... I've not tried this yet, but might tomorrow: http://visioautomation.codeplex.com/ Marco "voodooking" <voodooking@xxxxxx> wrote in message news:97B7B893-2FA7-4B17-9A21-4BE46DC19791@xxxxxx Quote: > I need to convert some 12,000 visio 2000 vsd's contained in some 15,000 > folders into visio 2007 format. (overwrite original 2000 vsd's) > getting the files and piping into loop is no problem but i am unsure about > how to go about the actually conversion. > - |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Convert Visio 2000 vsd's to 2007 http://www.c-sharpcorner.com/Forums/...ThreadID=60734 Try: PS>$visio.activedocument.saveas($new_name) "voodooking" <voodooking@xxxxxx> wrote in message news:A10D4F1F-360D-435B-B81D-3B32E439DF37@xxxxxx Quote: > yeah thats about as far as i got > ##################################################### > # convert visios to 2007 > $AllFILES=(gci C:\CVS-Configs\configs | where {$_.Extenstion -eq ".vsd"}) > foreach ($VSD in ($ALLFILES)) > { > $vs=($VSD.fullname) > $visio=new-object -com visio.application > $visio.documents.open("$vs") > > } > #################################################### |
My System Specs![]() |
| | #7 (permalink) |
| | Re: Convert Visio 2000 vsd's to 2007 Mmm automate tools and there really are lots of Windows-based tools available, for Windows PowerShell to automateI Quote: > Is a 3rd party helper out of the question? > but remember that is just what PowerShell is - an automation tool meant to move data from tool to tool until one is done! Quote: > I need to convert some 12,000 visio 2000 vsd's > contained in some 15,000 folders for regex, folders, files, AD and more), will also help here! "Log Parser" - Bing http://www.bing.com/search?q=%22Log+Parser%22 And surely after all these years, any PowerShell user can help one automate Log Parser too! As always enjoy the automation of tools within the Windows-based, ..NET aware, WPF accessible, admin's automation tool, powershell.exe! |
My System Specs![]() |
| | #8 (permalink) |
| | Re: Convert Visio 2000 vsd's to 2007 yea i finally went with ..saveas("blahblahbla"+".vxd") wanted to stick with .vsd's but i can always do a second run and convert vxd's back to vsd's and they'll be in 2007 format - not elegant but wrkz : ) "Flowering Weeds" wrote: Quote: > > Mmm automate tools and there really are > lots of Windows-based tools available, > for Windows PowerShell to automateI > Quote: > > Is a 3rd party helper out of the question? > > > It may be for some companies > but remember that is just what > PowerShell is - an automation > tool meant to move data from > tool to tool until one is done! > Quote: > > I need to convert some 12,000 visio 2000 vsd's > > contained in some 15,000 folders > Remember Log Parser (the data parser, > for regex, folders, files, AD and more), > will also help here! > > "Log Parser" - Bing > http://www.bing.com/search?q=%22Log+Parser%22 > > And surely after all these years, > any PowerShell user can help > one automate Log Parser too! > > As always enjoy the automation > of tools within the Windows-based, > ..NET aware, WPF accessible, > admin's automation tool, > powershell.exe! > > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Jet Database Engine on Vista and Visio 2007 | Vista General | |||
| Money 2000 data need to convert to 2001 or later | .NET General | |||
| Can't get Office Visio 2007 to load on Vista | Vista General | |||
| Q&A: With Microsoft Office Visio 2007, Every Picture Tells a Richer Story | Vista News | |||
| Visio 2007 beta | Vista installation & setup | |||