Help, cannot set references to Photoshop.Application in VBA

Hello,
I have used CS5 in the past and have had a well-functioning VBA program (running within Access 2010) that ran fine, opens 32-bit Photoshop, and controlled photoshop CS5 normally, allowing me to manipulate photos, read metadata, etc.  (It was my understanding that at least for CS5, scripting programs including VBA needed to run the 32 bit version of Photoshop, not the 64 bit version.)
I installed CS6 about 6 months ago and the VBA program continued to work just fine, provided it still opened the 32 bit version. (I had to be sure I was not running 64 bit Photoshop when I started the VBA program).  CS5 was still installed but not being used.
I just uninstalled CS5, leaving CS6 installed.  For some reason, this left the VBA program disrupted in that the References (which you set in the VBA code window with Tools > References) no longer appear to be valid.  I am unable to set a new Reference to Photoshop.Application and the program has become unusable.  That is, the "Available References" no longer list Adobe Photoshop CS6 Type Library or Adobe Photoshop CS6 Object Library.  I browsed to the the file C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\TypeLibrary.tlb to add this reference manually.  The programs still does not compile (i.e., Dim appRef As New Photoshop.Application  causes an error "User Defined Type not defined").  I get the same failure to compile if I browse to and install a reference to the 32-bit version, C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\TypeLibrary.tlb.  In the past, I also had a reference to the "Adobe Photoshop CS6 Object Library".  I have tried to manually set this to C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Photoshop.exe or to the 64 bit version of Photoshop.exe, but these files are not accepted and I do not otherwise know the file location of the Object Library. 
I very much need help from someone who knows how to fix this problem in transitioning from CS5 to CS6 for using VBA.
Thank you,
EGibbon

There are global keys that get overwritten with each version of Photoshop. Photoshop.Application for example gets set for each install of Photoshop. When you uninstalled CS5 those keys got removed.
Can you install CS6 again? You don't need to uninstall. Just install again if it will let you.
I have a script that wil set them but I don't really like to use it on other folks machines as it messes with the registry and I don't want to make it worse for you.

Similar Messages

  • Create Object with "Photoshop.Application"

    Cannot create an object reference to Photoshop CC using Excel 2011 and vba, is there missing files with the standard installation?

    Hi;
    I have been writing VBA code for many years and have always used Windows up till now, I am attempting to do things on a MAC I can easily do in Windows. I have for years used macros written by myself referencing Adobe Photoshop and also Microsoft Access from within Excel. I have used what is termed 'Late binding" to create objects for the above applications. I understand Access is not useable on the MAC but I believe I should be able to use the macros I have written with slight modifications for file locations. Typically nearly the first executable statement in these macros are as follows
    Dim appRef as Object
    set appRef = CreateObject("Photoshop.Application")
    the second statement when executed allows me the opportunity to use Photoshop (Versions 7 -> CS5 have been successful) to reference all the procedures and functions that would appear on the desktop when using Photoshop.
    According the scripting PDF manual for CS6 they use the same syntax for the VBScript examples. I believe this should work with Photoshop CC. I think when I installed the cloud version I opted for "Typical" installation" instead of maybe selecting "Custom Installation". How do I achieve the use of the above technique? As stated earlier I have used this since Photoshop 7. Any help would be greatly appreciated.
    Thank you,
    Robert Firman

  • Cannot install my costco photoshop 12 please help.  it is now installing itself.  Will take it back tomorrow.

    I have been working on installing this software for weeks now and am at the end.  The first time the organizer installed but the editor wouldn't.  I have uninstalled and reinstalled multiple times and am ready to take this application back to the store.  I have a Vista machine.

    It still didn't work.  I paid for Photoshop 12 at Costco.  The organizer downloaded just fine but when I tried to use the editor, the screen appeared asking for my Adobe sign on, I signed on, and then the application just churned.  I had to use task manager to stop it.  Per your instruction, I downloaded Photoshop 13 from the site, it downloaded fine and then asked for my Adobe sign on and then just churned.  I can now access Photoshop 13 organizer but still can't get editor.
    This is ridiculous.  Last night I did the msconfig.exe and followed the instructions on changing the start up menu and disabling everything.
    I am furious about this.  It looks like you want me to pay for Photoshop Elements 13 when I can't get 12 to work.  This is a Vista machine.
    Elena Wright
    Rajshree <[email protected]> wrote:
    Rajshree  created the discussion
    "cannot install my costco photoshop 12 please help.  it is now installing itself.  Will take it back tomorrow."
    To view the discussion, visit: https://forums.adobe.com/message/6870350#6870350
    >

  • When I try to create a calendar announcement in my iCloud calendar thru my PC / Outlook, it says 'the set of folders could not be opened. The information store could not be opened'. Can anyone help?  This means I cannot set any calendar events thru my PC.

    When I try to create an iCloud calendar announcement / event on my PC thru Outlook, I get the message 'the set of folders could not be opened.  The information store could not be opened'.
    I cannot set any calendar events for my shared calendar.  Can ayone help?

    If you upgraded to Windows 8 you may need to update the iCloud control panel for Windows to version 2.1 (see http://support.apple.com/kb/TS4463).

  • I need help, i can't download free applications in App store. they answer me "your request cannot be processed Error code:1009". and after they said "we could not complete your request. There was an error in the App Store. Please try again later (nul

    i need help, i can't download free applications in App store. they answer me "your request cannot be processed Error code:1009".
    and after they said "we could not complete your request. There was an error in the App Store. Please try again later (null)".
    COMPUTER DETAILS: MacBook Pro 13-inch, Mid 2012 OS X Version 10.9.5; Processor 2,5GHz Intel Core i5; Memory 4 Go 1600 MHz DDR3.
    Thanks beforehand!!!

    Error
    what is error code 1009?

  • I cannot download updates to Photoshop Elements 9.  I get an error message that my serial number is not recognized or eligible.  Can you help with this?

    I cannot download updates to Photoshop Elements 9.  I get an error message that my serial number is not recognized or eligible.  Can you help with this?

    Hi,
    Which operating system are you running on?
    What updates are you trying to download?
    The last update was 9.0.3 - check by loading the editor and going to Help -> About Photoshop Elements
    The last supported Camera raw is ACR 6.5 - check by loading the editor and going to Help -> About Plug-ins -> Camera Raw
    Do you have a reason to update?
    Brian

  • Need help on  ORA-02074: cannot SET NLS in a distributed transaction

    Hi All,
    I am Writing a plsql Code like this
    DECLARE
    op_job_id NUMBER;
    op_object_version_number NUMBER;
    x_job_definition_id NUMBER;
    op_name VARCHAR2(1000);
    L_VERIFY_FLAG VARCHAR2(1);
    l_error_message VARCHAR2(2000);
    BG_ID NUMBER;
    lv_job_group_id APPS.per_job_groups.job_group_id@SYSTEM_LINK_VISMA%TYPE;
    CURSOR C1 IS SELECT * FROM EBS_PER_JOBS_STG;
    BEGIN
    FOR H1 IN C1
    LOOP
    BEGIN
    IF H1.BUSINESS_GROUP_NAME IS NOT NULL THEN
    SELECT BUSINESS_GROUP_ID,job_group_id INTO BG_ID,lv_job_group_id
    FROM APPS.PER_JOB_GROUPS@SYSTEM_LINK_VISMA
    WHERE DISPLAYED_NAME=H1.JOB_GROUP_NAME;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    L_VERIFY_FLAG := 'E';
    l_error_message := 'Entered Job Group Name is Wrong';
    END;
    -->> JOB GROUP ID <<--
    APPS.hr_job_api.CREATE_JOB@SYSTEM_LINK_VISMA
    (p_business_group_id => BG_ID
    ,p_date_from => H1.DATE_FROM
    ,p_approval_authority => H1.APPROVAL_AUTHORITY
    ,p_emp_rights_flag => H1.EMP_RIGHTS_FLAG
    ,p_benchmark_job_flag => H1.BENCHMARK_JOB_FLAG
    ,p_job_group_id => lv_job_group_id
    ,p_job_information1 => H1.JOB_INFORMATION1
    ,p_job_information2 => H1.JOB_INFORMATION2
    ,p_job_information3 => H1.JOB_INFORMATION3
    ,p_job_information4 => H1.JOB_INFORMATION4
    ,p_job_information5 => H1.JOB_INFORMATION5
    ,p_job_information6 => H1.JOB_INFORMATION6
    ,p_job_information7 => H1.JOB_INFORMATION7
    ,p_segment3 => H1.JOB_CODE --JOB_CODE
    ,p_segment6 => H1.JOB_NAME --JOB_NAME
    ,p_job_id => op_job_id
    ,p_object_version_number => op_object_version_number
    ,p_job_definition_id => x_job_definition_id
    ,p_name => op_name);
    dbms_output.PUT_LINE('OUTPUT JOB NAME CREATED : '||op_name);
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.PUT_LINE('Error Message Is: '||SQLERRM);
    END;
    i am running it in Another database Using database link connecting to Apps.
    when i am running it am getting the following Error:
    Error Message Is: ORA-02074: cannot SET NLS in a distributed transaction
    ORA-06512: at "APPS.HR_KFLEX_UTILITY", line 2423
    ORA-06512: at "APPS.HR_KFLEX_UTILITY", line 2380
    ORA-06512: at "APPS.PER_JBT_UPD", line 468
    ORA-02074: cannot SET NLS in a distributed transaction
    ORA-06512: at "APPS.HR_JOB_API", line 878
    Please help me on this, this is quite urgent to me.
    thanks
    sri

    Please see these docs.
    ORA-02074: Cannot SET NLS in a Distributed Transaction [ID 556391.1]
    Portal Used To Call PO_CHANGE_API1_S: ORA-20001: ORA-02074: Cannot SET NLS In A Distributed Transaction [ID 561246.1]Why are Concurrent Programs Calling FND_GLOBAL.APPS_INITIALIZE Using DBLinks Failing? [ID 466800.1]
    ORA-02074 when Executing set_nls over a DB Link [ID 132679.1]
    Thanks,
    Hussein

  • Moved Photoshop Application to my Desktop for easy access and now recieving an error message, help?

    Installed CS6 Design and Web Premium, then moved Photoshop Application to my Desktop from Program Files for easy access and now recieving an error message, saying application is unable to start correctly. Can anyone help me troubleshoot this please?

    Move the application back where it belongs, with all it's support files.
    You can make a SHORTCUT to the application, and place it on the desktop if you wish.

  • Error : cannot set up certs for trusted CAs, help !

    Hi !
    I am attempting to use the javax.crypto classes in order to decrypt and encrypt
    information.
    But i get the follow message when i change the executing directory :
    -> cannot set up certs for trusted CAs
    If i decompress all follow jar files:
    jce1_2_1.jar;
    sunjce_provider.jar;
    local_policy.jar;
    US_export_policy.jar;
    my applicattion doesn't work. ...
    But if i use jar files, everything is ok and only in a "unique" directories ....
    Why ?
    [email protected]

    Hi Sri,
    I am working on a similar problem. In fact, while I write a simple stand-alone program, everything works fine for me.
    As soon as I embed the very same class into my application, I also get the error you see. The major difference I see between my application and the stand-alone program is the class loading, which my application does via its specialized class loaders. However, I failed to catch the encryption code in my class loader between the call to
    SecretKeyFactory.getInstance("PBEWithMD5AndDES").generateSecret(k);
    and the error.
    You have any idea how to track the issue down?
    Regards,
    Jack

  • I am correctly login Safari but since this afternoon I cannot get the creative cloud application to work. Help

    I am correctly login Safari but since this afternoon I cannot get the creative cloud application to work. Help

    I am correctly login Safari but since this afternoon I cannot get the creative cloud application to work. Help

  • Problem with my iTunes store, cannot search, stays in one application that I already purchased. Please help!

    Problem with my iTunes store, cannot search, stays in one application that I already purchased. Please help!

    Go to Settings, Store, Apple ID, Sign out and then sign back in again and have another go.
    Also, try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. The screen will go blank and then power ON again in the normal way.] It is app and data safe!

  • Cannot set up iPad since my email and apple id are the same.  Help?

    I cannot set up my new iPad since the apple ID and the email are the same, any suggestions?

    Anything here to help? http://support.apple.com/kb/HE37

  • Cannot launch LR. Photoshop crashes after few seconds. How can i fix this? Thx for help

    Cannot launch LR. Photoshop crashes after few seconds. How can i fix this? Thx for help

    Hi members & mvp's
    I face same problem, after creating Adobe ID and after installing Creative Cloud app, the installed Ps and Lr can't be launched... Lr at all, no action, but Ps works for a few seconds. I could achieve "system info" from help menu as follows:
    Adobe Photoshop Version: 2014.0.0 20140508.r.58 2014/05/08:23:59:59  x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 2
    Logical processor count: 4
    Processor speed: 1895 MHz
    Built-in memory: 3990 MB
    Free memory: 1477 MB
    Memory available to Photoshop: 3303 MB
    Memory used by Photoshop: 70 %
    I guess my PC is powered enough, but I'm afraid other trial versions and registry rubbish are locking CC server communication. Do you know some tool to clean up previous installation of Adobe products?
    Thanks in advance!
    Jose

  • Can anybody help me setting up my new IPad  I getting Germany language on my app store application.?.... I change the language option un the setup but it's still in German.

    Can anybody help me setting up my new IPad  I getting Germany language on my app store application.?.... I change the language option on the setup but it's still in German.

    Are you in Germany when connecting to the App store?  How long has it been doing this?

  • Photoshop CS5: no photoshop application help available

    I did Photoshop Mac CS5 install (upgrade). The application seems to be functioning normally. However, when searching for Photoshop help under the 'Help' menu there do not seem to be any PS help available. When doing search for any topic the only returned results are for the location of PS menu items. I already know where the menu items are. Anyone know how I can get access to basic PS feature and usage help? I don't want to have to go out and buy a PS 'missing manual'.

    The search on the Mac only searches the menus. Under the Help menu, there is also "Photoshop Help" which will open the real help files for Photoshop.

Maybe you are looking for