CreateObject CC do not work

Hi,
I have some problems to create a VBS Object for Photoshop and Illustrator. It's work with InDesign but not with Photshop and Illustrator:
Set appRef = CreateObject("Illustrator.Application") // OK
Set appRef = CreateObject("Photoshop.Application") // OK
Set appRef = CreateObject("InDesign.Application") // OK
Set appRef = CreateObject("Illustrator.Application.CC.2014") // NOT OK
Set appRef = CreateObject("Photoshop.Application.CC.2014") // NOT OK
Set appRef = CreateObject("InDesign.Application.CC.2014") // OK
I don't understand why this notation works only with InDesign. Have somebody an idea how to solve this?

The version numbers are a bit odd because of the 5.5 release we did and the CS and CC branding. You want:
Photoshop.Application.60 for 13.x.x
Photoshop.Application.70 for 14.x.x
Photoshop.Application.80 for 15.x.x
Here is my test script results. Tries to launch and quit Photoshop.
d:\Files\VBScripts>cscript TestLaunch10.vbs 60
Trying to launch Photoshop.Application.60
DOM library
13.1.2
C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Seconds to launch: 19
Done
d:\Files\VBScripts>cscript TestLaunch10.vbs 70
Trying to launch Photoshop.Application.70
DOM library
14.2.0
C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\
Seconds to launch: 24
Done
d:\Files\VBScripts>cscript TestLaunch10.vbs 80
Trying to launch Photoshop.Application.80
DOM library
15.2.3
G:\...secretlocation...
Seconds to launch: 18
Done

Similar Messages

  • Web Service is not working in COldfusion 8

    Hi,
    I am using the following code for creating the web service.
    this code was perfectly working in Coldfusion 7,
    however not working in Coldfusion 8.
    <cfscript>
        try {
            ws = CreateObject("webservice", CurrentURL & "IntouchDataService.cfc?wsdl");
        } catch (any e) {
            WriteOutput("Error occured while invoking the Web Service at: ");
            WriteOutput('<a href="#CurrentURL#IntouchDataService.cfc?wsdl">#CurrentURL#IntouchDataService.cfc?wsdl </a>');
            WriteOutput('<hr /><h2>');
            WriteOutput(e.message);
            WriteOutput('</h2><hr />');
            WriteOutput(e.detail);
            WriteOutput('<hr />');
            WriteOutput(e.StackTrace);
    </cfscript>
    Follwoing error i got:
    coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 1 semantic error compiling "E:/ColdFusion8/stubs/WS-2123243560/coldfusion/xml/rpc/CFCInvocationException.java": < 10. public class CFCInvocationException extends org.apache.axis.AxisFault implements java.io.Serializable { . . . 88. } > *** Semantic Error: A class file was not generated for the type "coldfusion.xml.rpc.CFCInvocationException" because a library method that it depends on was not found. See system messages for more information. Found 1 semantic error compiling "E:/ColdFusion8/stubs/WS-2123243560/com/intouchsupport/www/IntouchDataService/TestWebServ iceLocator.java": < 10. public class TestWebServiceLocator extends org.apache.axis.client.Service implements com.intouchsupport.www.IntouchDataService.TestWebSe
    Also i did lot of googling to solve this issue but no luck.
    also i found following blog about this issue also and i did the give steps however problem not solved.
    http://tjordahl.blogspot.com/2007/09/coldfusion-8-getting-started-code.html
    Can somebody help me to sort out this issue?
    thanks
    Prashant Gupta

    Hi,
    I got solution to my problem of webservice is not working in CF8.
    the problem was
    we have already a "rt.jar" file in a location and we defined this location in CF Admin >> java jvm >> classpath
    so this file was conflicting.
    i simply removes this file path from CF Admin.
    and restart the CF services.
    and my web service start working.

  • ODBC Connection Pooling not working with 10g On Windows 2003

    I have a bog standard Windows 2003 machine and installed Oracle 10g on it. It seems that the ODBC Connection pooling is not working.
    I am using ASP and every time I try and render a simple page it is taking 4-5 seconds which is the time necessaru to create a database connection. ( Machine is 2.8 Ghz Xeon with 2 gigs of Ram)
    The following VB Code can be used to test that the pooling is not working. It creates 2 connections to the database. On oracle 10g on windows 2003, it takes 5 seconds to create the first connection, and another 5 seconds to create the second connection.
    When you run the same program on windows 2000 and oracle 9, the first connection take 3 seconds, and the second 0.05 seconds. ( The shorter time being due to the connection pooling)
    time1=timer()
    set conn=createobject("adodb.connection")
    Conn.Open "dsn=oracleDSN;uid=yourusername;pwd=yourpassword"
    time2=timer()
    msgbox time2-time1
    conn.close
    set conn=nothing
    time1=timer()
    set conn=createobject("adodb.connection")
    Conn.Open "dsn=oracleDSN;uid=yourusername;pwd=yourpassword"
    time2=timer()
    msgbox time2-time1
    conn.close

    ODBC Connection Pooling is controlled by the ODBC Driver Manager and defaults to off for every driver on every platform. Have you enabled connection pooling for your driver in the ODBC Data Source Administrator?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • VBScript not working in OBI11g iBots in Win 2008 Server r2 - 64bits

    Hi,
    we are facing issues whilw running vbscript from OBI11g 64 bit (11.1.1.5.0 (Build 110427.0752 64-bit) in Win2008 64bit server.
    its running fine in win2003 32bit Server.
    The VBScript works as follows...
    1. Connects to Oracle DB (Oracle 11g 64 bit driver)
    2. Gets a max(Date) from a Table
    3 Creates a folder with that max(date) on shared drive.
    The script is working fine when running standalone - by double-clicking the .vbs file.
    But not working from the iBot.
    its thowing the below error:
    *[nQSError: 66013] [Line:18 Column:1]*
    *[nQSError: 66016] Unknown error code '0x8007007E'.*
    Line 18 -> Set adoConnection = CreateObject("ADODB.Connection")
    Its failing in "CreateObject" line.
    But everything works fine in win2003(32 bit)//OBI11g(32 bit)//Oracle 10g(32bit)
    we think, its a 32/64 bit issues from the OBI side... but couldn't figure out the solution.
    Please let me know if u need any more info.........
    waiting for your reply......

    '* Create objects to connect Database
    Option Explicit
    Dim adoConnection, adoRecordset
    Dim myDateString,strCon, strSQL
    Dim objFSO, objFolder, strDirectory,objFolderName
    Dim objTargetFolder
    Dim objSourceDirectory,objTargetDirectory,strDirectoryFolder
    DIm strzip,wshell,strdel
    '* Define the TNS Entry
    strCon = "Driver={Oracle in OraClient11g_home1};Dbq=ORADB;uid=XXXXXX;pwd=XXXXXX;"
    '* Define SQL Statement
    strSQL = "select to_char(max(A.DATE_ID),'DD-MON-YYYY') as CDT from daily_load_table a"
    '* Open Connection
    Set adoConnection = CreateObject("ADODB.Connection")
    adoConnection.ConnectionString = strCon
    adoConnection.Open
    Set adoRecordset = CreateObject("ADODB.Recordset")
    Set adoRecordset.ActiveConnection = adoConnection
    set wshell = CreateObject("WScript.Shell")
    adoRecordset.Source = strSQL
    adoRecordset.Open
    myDateString = adoRecordset.Fields("CDT").Value
    adoRecordset.Close
    adoConnection.Close
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    strDirectory = "D:\Scripts\tmp\"
    strDirectoryFolder= "D:\Scripts\tmp"
    objFolderName=strDirectory+myDateString
    Set objFolder = objFSO.CreateFolder(objFolderName)

  • In administrator mode drag n drop does not work

    when i run my photoshop cs5 in administrator mode using "run as Administrator ... ", drag and drop does not work.

    This is related to my current project in visual basic 2010 express edition and Windows 7 (32bit).
    1. My application always run in administrator mode.
    2. In this application i used createobject("Photoshop.Application") method to reference and run scripts directly from program.
    3. When i run Photoshop in normal mode, error is thrown as can't create ActiveX connection.
    4.Why ?

  • WSDL causing CF server to not work

    Hello all,
         I have a strange situation that I am not sure how to fix.  I have a website that uses web services on a different server than what the site is hosted on.  Recently the CF server was not working properly.  We rebooted it and it worked for about a minute then crapped out again.  We found that the webservices on the other server had been stopped for some reason.  Once those were turned back on, the CF server was able to run everything just fine and would not freeze up at all.  The problem is that the web services can sometimes shut off like that, and it causes our main website to stop functioning until the web service server is rebooted and/or the webservices get turned back on.  I am curious if anyone has experienced something similar and knows of a solution.  I am not sure why the web services not running could cause the CF server to completely crap out.  If anyone has any advice as to how to protect the main site, that uses ther CF server, from breaking if the web services get shut off or that other server goes down.  I understand that parts of the site that use the web services would not work, but I can't have the rest of the website break bc the web services are not avilable for a small portion of the site.  We use a URL to connect to the web service, like below.  Any help would br appreciated.  Thanks.
    ws = createObject("webservice", "#Application.WsURL#/CustomerProfile/services/CustomerProfilePort?wsdl");

    Is your mother on an Auto Pay Plan or does she use a charge card to pay for the $100.00 ? I know this will not make any sense but in plan booklet it states  and I will print exactly what its says "  You will forfeit the money in your account if you have activated service without a Refill Card and did not make an outbound call within 60 days."  I always use a prepaid card and have not made a call within the 60 days and have never been cancelled.  I'm not sure what that means but you might want to check with customer service and see if they can give you any details.  Is the money from before August still showing up in the account?

  • Change Theme VBS Not working... Thoughts?

    I was asked to move this to scripting... Any help is appreciated.
    This is the Script we use today for Windows 7, but this does not work for Windows 8 / 8.1.  When running it keeps bringing up the Desktop Icon Settings Box???
    Set WshShell = WScript.CreateObject("WScript.Shell")
    WshShell.Run "rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:""ThemeLocation\MY.theme"""
    Wscript.Sleep 1600
    WshShell.AppActivate("Desktop Properties")
    WshShell.Sendkeys "%FC"
    WshShell.Sendkeys "{F4}"

    There's no guarantee that calling rundll32.exe to execute a shell32.dll function is going to work. I would guess it's even a side-effect that it "works" in Windows 7. It's important to understand that the rundll32.exe was designed only to run exported dll
    functions with a very specific signature. These blog postings provide some background:
    Throwing garbage on the sidewalk: The sad history of the rundll32 program
    What can go wrong when you mismatch the calling convention?
    What's the guidance on when to use rundll32? Easy: Don't use it
    Perhaps if you were to explain the goal/purpose?
    Bill

  • OSS Notes 882741 not working

    Hi,
      After I install MNS Messanger 7.5, I can not login to my BW system anymore, I follow the OSS notes 882741, create the (REG_EXPAND_SZ) file with the value "%SystemRoot%\system32\drivers\etc", but it still not working, anybody can help me?
    Thanks,

    Hi,
    I met the same problem like as you said, so I have developed a tools (please save as following VB script in a file, the file name should be XXXX.vbs), you can run this file when you can not login SAP GUI, it will automatically change the correct databasepath fields value. Though this way is not final solution, but it can resolve issue temporarily.
    Good luck.
    Tony
    please save as below code as a VBS file-------
    Dim ReadComputerName
    Set ReadComputerName=WScript.CreateObject("WScript.Shell")
    Dim oldvalue,RegPath
    RegPath="HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\DatabasePath"
    oldvalue=ReadComputerName.RegRead(RegPath)
    MsgBox("Please click OK to change old value----
    "&oldvalue)
    Dim WSHShell
    Set WSHShell = WScript.CreateObject("WScript.Shell")
    WSHShell.RegWrite RegPath, "c:\windows\system32\drivers\etc"
    MsgBox("Thank you, please try to use SAP now. Any problem please contact with Tony 3353")

  • BitLocker Automatic lock is not working

    I turned on BitLocker to one of my partitions. I wanted an Auto Lock option, for which I tweaked the registry. The following is the code, which I actually found in the
    EightForums.
     Windows Registry Editor Version 5.00                                                                                       
    ; Created by: Shawn Brink
    ; http://www.eightforums.com
    ; Tutorial: http://www.eightforums.com/tutorials/21325-lock-drive-add-context-menu-bitlocker-drives.html
    [HKEY_CLASSES_ROOT\Drive\shell\lock-bde]
    "AppliesTo"="System.Volume.BitLockerProtection:=1 OR System.Volume.BitLockerProtection:=3 OR System.Volume.BitLockerProtection:=5 NOT C:"
    @="Lock Drive..."
    "HasLUAShield"=""
    "MultiSelectModel"="Single"
    [HKEY_CLASSES_ROOT\Drive\shell\lock-bde\command]
    @=hex(2):77,00,73,00,63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,\
      00,6c,00,6f,00,63,00,6b,00,2d,00,62,00,64,00,65,00,2e,00,76,00,62,00,73,00,\
      20,00,25,00,31,00,00,00
    I added the above code to the registry. You can see the screen shot below.
    And, I also pasted a .vbs file with the following code in the System32 folder.
    ' Created by: Shawn Brink
    ' http://www.eightforums.com
    ' Tutorial: http://www.eightforums.com/tutorials/21325-lock-drive-add-context-menu-bitlocker-drives.html
    Drive = ""
    Last = Wscript.Arguments.Count - 1
    For n = 0 To Last
     Drive = Drive & " " & Wscript.Arguments.Item(n)
    Next
    Drive = Replace(Drive,":\",":")
    CreateObject("Shell.Application").ShellExecute "manage-bde.exe", "-lock -forcedismount " & Drive, "", "runas", 0
    Then, I got a LockDrive option in the right-click menu which helped me to lock the drive without rebooting. (As shown in the following screenshot).
    The option worked properly for a few days and now, when I click on "LockDrive", it is not working.
    How to repair this tweak and make the "LockDrive" option in the right-click menu work properly?
    I am running Windows 8.1 Pro x64.

    Hi,
    I suppose that any security update break this down.
    Please check if there is any update installed before this issue. Try a system restore to see if this feature works well.
    To narrow down the cause of this issue, please run command to lock the Bitlocker drive manually to see what's going on:
    Run cmd.exe as administrator by right click and run as....
    Type following command line:
    manage-bde -lock x:
    x = drive letter you want to re-lock.
    If this command can work fine, there should be something wrong with the script you get from other forum.
    You can try to use Process monitor to capture the events when you use the right-click menu item, and check if there is any access denied or file not found error.
    Process Monitor v3.05
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    How to use, please refer to this article:
    Using Process Monitor to capture system events
    http://www.sophos.com/en-us/support/knowledgebase/119038.aspx
    Kate Li
    TechNet Community Support

  • VBE 2010. Forms Not Working

    Hello. I am currently undertaking a project for my coursework and I have stumbled upon a problem. The code can not open up a form. I have used the code previously and only today it is not working. I was wondering If I
    have somehow changed the project settings.
    Here is the close I have been using:
    FrmAdminHomePage.Show()
    Also note that this code is working on different projects.
    Many Thanks.

    Private Sub btnLogOn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogOn.Click
            MsgBox("Logging you on.")
            Dim EnteredUserID As String = txtboxUserID.Text
            Dim EnteredUserPIN As String = txtboxPIN.Text
            Dim UserTypeLocal As String
            Dim EnteredUserIDLength As Integer = Len(EnteredUserID)
            Dim EnteredUserPINLength As Integer = Len(EnteredUserPIN)
            Dim Validation As Boolean = True
            Dim ExcelApplication As Excel.Application
            Dim ExcelWorkBook As Excel.Workbook
            Dim ExcelWorkSheet As Excel.Worksheet
            Dim rowcounter As Integer = 1   'This is a counter to count the rows searched.
            Dim CorrectUserCredentials As Boolean = False
            Dim EmptyCell As Boolean = False
            If EnteredUserIDLength <> 4 Then
                MsgBox("The entered ID must be four digits long")
                Validation = False
            End If
            If EnteredUserPINLength <> 4 Then
                MsgBox("The entered PIN must be four digits long")
                Validation = False
            End If
            If Validation = True Then
                Try
                    ExcelApplication = CreateObject("Excel.Application")
                    ExcelWorkBook = ExcelApplication.Workbooks.Open(Directory + "\MainStorage.xlsx") 'This is the book where the UserID's, PIN's User Types are stored.
                    ExcelWorkSheet = ExcelWorkBook.Worksheets(UserCredentialsSheet)    'This is the sheet where the UserID's, PIN's User Types are stored.
                Catch
                    MsgBox(Err.Description)
                End Try
                Try
                    Do Until CorrectUserCredentials = True Or EmptyCell = True
                        If ExcelWorkSheet.Cells(rowcounter, UserID_UserCredentialsSheet).value = EnteredUserID And
                            ExcelWorkSheet.Cells(rowcounter, UserPIN_UserCredentialsSheet).value = EnteredUserPIN Then
                            UserTypeLocal = ExcelWorkSheet.Cells(rowcounter, UserIdentifier_UserCredentialsSheet).value
                            CorrectUserCredentials = True
                        End If
                        If ExcelWorkSheet.Cells(rowcounter, UserID_UserCredentialsSheet).value = Nothing Then
                            EmptyCell = True
                            MsgBox("Your user details can't be confirmed please try again. If you fail to log on again speak to a member of the admin team.")
                            txtboxUserID.Text = ""
                            txtboxPIN.Text = ""
                        Else
                            rowcounter = rowcounter + 1
                        End If
                    Loop
                Catch
                    MsgBox(Err.Description)
                Finally
                    ExcelWorkBook.Close()   'This closes the workbook to ensure it is not locked.
                    ExcelApplication.Quit()
                End Try
                UserTypeGlobal = UserTypeLocal
                UserIDGlobal = EnteredUserID
                If CorrectUserCredentials = True Then
                    If EnteredUserPIN = PresetPIN Then
                        FrmChangePIN.Show()
                    Else
                        If UserTypeGlobal = UserTypeAdmin Then
                            FrmAdminHomepage.Show()
                            Me.Close()
                        End If
                    End If
                End If
            End If
        End Sub
    Above is the code. Please ignore the logic behind it, I know it works as have used breakpoint to test it. Many Thanks

  • Not work tablet UI on Prestigio 5080 PRO tablet

    I read that browser.ui.layout.tablet = "1" can fix this problem. But it not works. I can work only in pnone interface that is not good for my 8'' tablet.

    Would it be possible for you to share the problematic pdf and OS information  with us at [email protected] so that we may investigate?
    Thanks,
    Adobe Reader Team

  • Why self-defined access sequences of free goods can not work?

    Hi gurus,
    I have maintained access sequences of free goods self-defined.but when i creat the SO it does not work!
    when i used the standard access sequences ,it is OK .
    Can anybody tell me why?
    thanks in advance

    Dear Sandy,
    Go to V/N1 transaction select your self defined access sequence then go in to the accesses and fields and check all fields are activated.
    Make sure that these fields are flowing in your sales order.
    I hope this will help you,
    Regards,
    Murali.

  • Adobe bridge raw not working with windows vista in photoshop cc, why?

    adobe bridge raw not working in photoshop cc, is there a fix?

    Your sure your using photoshop cc on windows vista?
    I was under the impression that photoshop cc would not even install on windows vista.
    What version of camera raw do you have?
    In photoshop under Help>About Plugin does it list Camera Raw and if so which version is it?
    (click on the words Camera Raw to see the version)
    Camera raw doesn't work if it's a camera raw file or some other file type such as jpeg or tif?
    What camera are the camera raw files from?
    Officially camera raw 8.3 is the latest version of camera raw that will work on windows vista.

  • Adobe Bridge CS5 in windows 7 not working?

    Adobe Bridge CS5 in windows 7 not working. I was using bridge perfectly for last 2 years. It stops working since 3 days. I tried to install updates. Showing some error to install.
    Tried to install creative cloud..again some error. Error code : 82
    Could you please advice how I can fix my adobe bridge.

    https://www.youtube.com/watch?v=xDYpTOoV81Q&feature=youtu.be
    please check this video I uploaded..this is what happens when I click adobe bridge.. just blinks and go off. bridge not working on task manager

  • ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW

    ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW

    BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
    -and step by step http://forums.adobe.com/thread/1440508?tstart=0
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html

Maybe you are looking for

  • Why aren't the install add-ons exceptions saving in the options - security panel?

    When I close Firefox 3.6.12, then re-open it, my add-on exceptions under options - security panel are not saving. It clears out all of the sites every time. Why?

  • JDeveloper can not compile special file

    Hello, I am using JDeveloper 10g ( version 9.0.5.2 ). I have developed a project using ADF model and developing work ( coding, compiling,debugging,..) ok. But, this morning i open project again compile it ok.But affter i add some new lines code into

  • HTML for head is in the next release

    Hi, Do you know when the HTML for <head> will be ready? This is a real pain to have to update all of this again when you make a change to a page.

  • How to stop the phone from turning on when on charge?

    I just got a new iphone 5 yesterday.  It was installed with 6.0.1 so I upgraded to 6.1. I switched it off and put it on charge from power plus, to give it a full charge.  Then in the middle of the night it turned on. This disturbed our sleep.

  • Project Admin & Contributor cource code access control

    I am setting up access control on a TFS 2013.2 TFSVC project To deny access by default I added the Contributors group in the root of the source tree and set all permissions to deny, then on individual source folders I set the permissions for specific