Help, cannot set references to Photoshop.Application in VBA


hello,

 

i have used cs5 in past , have had well-functioning vba program (running within access 2010) ran fine, opens 32-bit photoshop, , controlled photoshop cs5 normally, allowing me manipulate photos, read metadata, etc.  (it understanding @ least cs5, scripting programs including vba needed run 32 bit version of photoshop, not 64 bit version.)

 

i installed cs6 6 months ago , vba program continued work fine, provided still opened 32 bit version. (i had sure not running 64 bit photoshop when started vba program).  cs5 still installed not being used.

 

i uninstalled cs5, leaving cs6 installed.  reason, left vba program disrupted in references (which set in vba code window tools > references) no longer appear valid.  unable set new reference photoshop.application , program has become unusable.  is, "available references" no longer list adobe photoshop cs6 type library or adobe photoshop cs6 object library.  browsed the file c:\program files\adobe\adobe photoshop cs6 (64 bit)\typelibrary.tlb add reference manually.  programs still not compile (i.e., dim appref new photoshop.application  causes error "user defined type not defined").  same failure compile if browse , install reference 32-bit version, c:\program files (x86)\adobe\adobe photoshop cs6\typelibrary.tlb.  in past, had reference "adobe photoshop cs6 object library".  have tried manually set c:\program files (x86)\adobe\adobe photoshop cs6\photoshop.exe or 64 bit version of photoshop.exe, these files not accepted , not otherwise know file location of object library. 

 

i need knows how fix problem in transitioning cs5 cs6 using vba.

 

thank you,

 

egibbon

there global keys overwritten each version of photoshop. photoshop.application example gets set each install of photoshop. when uninstalled cs5 keys got removed.

 

can install cs6 again? don't need uninstall. install again if let you.

 

i have script wil set them don't use on other folks machines messes registry , don't want make worse you.



More discussions in Photoshop Scripting


adobe

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?