Launching Illustrator from browser/c# doesn't display AI desktop

I have written code to interface Adobe Illustrator CS4 with Microsoft CRM. When the user chooses to create artwork for an order an approval template is opened, product and order info is added to the doc, and it is sent to the customer for approval.
All I really need to do is execute the doJavaScript command.
The problem I have is that if Illustrator isn't already started manually that it starts with no visible desktop. Oddly enough, if something like the layers dialog is expanded that will display but not the main Illustrator desktop. illustrator.exe is definitely running. If I try to execute doJavaScript when the AI desktop isn't visible then it fails with the error "The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))".
I see examples posted here for starting AI from C# or VB with something like Illustrator.Application app = new Illustrator.Application(); but when I try that there is no desktop. The same thing happens from a web page with var ai = new ActiveXObject("Illustrator.Application"); I can see the startup messages for Illustrator display but the AI desktop never shows. All of this works fine if AI is already started before I execute commands against it.
The application.visible property is True even though it isn't visible.
Having to launch AI manually before working with artwork would be a minor annoyance and not a showstopper but I'd rather have it start automatically when it isn't running and the user selects the command to create or open artwork for an order.
Microsoft CRM is basically one big web site so anything relevant for a web app should work if an alternative launch method is needed. Also, it only supports Internet Explorer.
Any ideas?
Thanks.

Thanks for the suggestion but there is no second argument for the activex object creation.
Oddly enough doJavaScript will execute from a web page even with no Illustrator UI being displayed if you create the ActiveXObject from VBScript and not JavaScript.AI crashes though with an error 147:21 and tells you to restart your pc. :-/
If I run from a vbs file I get the same result as from a web browser. I suppose I could write a script to check to see if AI is running and use a wsh shell object to launch AI before creating the activeX object but I wouldn't expect to need to.
Is it supposed to be possible to launch Adobe Illustrator if it is not running outside of an already running Adobe application?

Similar Messages

  • Browser player doesn't display my site as it is built in Flash?

    I"m using FlashCS3 I am developing a site. When I run the swf file using "test movie" or even by going to the folder containing the .swf file and not through the Flash program it plays perfectly as I want it look. But when I upload it to the site and hit it with my browser it doesn't display the same way???
    In fact the browser shoes a background that I replaced with the partially transparent filter effect you see when played locally??   I have looked all through my movie clips and can not find where i tcould insert the old background?
    I have made some snaps of what it looks like when played through the player outside of the flash editor (but this is the same as when played through the editor) and another pic of what it looks like on the web.
    I am using Actionscript 2.0 mode for publishing, Flash player 8 or better, Bottom Up with compress movie and export hidden layers checked.

    ok i found the solution here by deleting the corrupted library
    http://portablevideo.blogspot.com/2008/12/music-player-database-problems.html 
    now one of these below is for the music and one for the photos and i didnt have a problem with the photos but did it anyways and now the player can see my music:
    these are the files that need deleting in order to get rid of the corrupted library.
    Storage Drives: (Mass storage E, Memory Card F)
    \private\101ffca9\harvesterdbvx_x.dat
    \private\10281e17\[string]mpxvx_x.db
    \private\10281e17\[string]pcvx_x.db 
    TIP: Connect the device in USB mass storage mode (File Transfer), to locate the private folder from the PC.
    TIP: STRING and x_x will change depending on your phone. (my files had slightly different names than above on the n97)

  • IMac running 10.8.6 doesn't display entire desktop?  Reset display to various options and it doesn't display the entire desktop.

    iMac running 10.8.6 doesn't display entire desktop?  Reset display to various options and it doesn't display the entire desktop.  (asking for a friend, not my iMac)

    I think you wanted to say 10.6.8. 10.8.6 does not exist.
    The first thing I think is that zoom may be enabled. On Mac OS X 10.6.8, a way to disable it is to hold the Control key and scroll down with the mouse or trackpad until you can see the whole display. Another way would be to disable zoom in System Preferences > Universal Access

  • Need to Install Java SE 6 Runtime in order to launch Illustrator from Mac OS Yosemite?  But it's not available anywhere?

    Hello,
    Can anyone help me with this?  I upgraded to Yosemite, and now I can't launch Illustrator because it says I need Java SE 6 runtime in order to open it.  But that version is not available anywhere, not on Apple's website and not on Oracle's.  I did install the latest version of Java, but that didn't solve the problem.  Apparently Illustrator (and I assume all of the creative cloud apps) require version 6?  Any input is appreciated, this is SO frustrating ...

    yes.  but if you follow that link and click on "download" you get an Apple message that says "We're sorry.  We can't find the page you're looking for."  That was the first thing I tried.  Any other ideas?

  • Splash screen works from browser, not when double-clicked on desktop

    Hi,
    I am having trouble making a splash screen appear and have a specific question about it.
    The code is from the tutorial at:
    http://blogs.sun.com/thejavatutorials/entry/changing_the_java_web_start
    I have changed the codebase attribute of the jnlp element so it refers to my own server:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for ButtonDemo -->
    <jnlp spec="1.0+" codebase="https://justanexample.com/buttondemo" href="ButtonDemo.jnlp">
      <information>
        <title>ButtonDemo</title>
        <vendor>The Java(tm) Tutorial: Sun Microsystems, Inc.</vendor>
        <homepage href="http://java.sun.com/docs/books/tutorial/uiswing/examples/components/index.html#ButtonDemo"/>
        <icon href="mysplash.jpg" kind="splash"/>
        <description>ButtonDemo</description>
        <description kind="short">Demonstrates use of buttons within containers</description>
        <offline-allowed/>
      </information>
      <resources>
        <j2se version="1.6+"/>
        <jar href="ButtonDemo.jar"/>
      </resources>
      <application-desc main-class="components.ButtonDemo"/>
    </jnlp> This JNLP, the mysplash.jpg, and the ButtonDemo.jar are deployed to the web server, under a "buttondemo" subdirectory of the web server's DocumentRoot.
    If I access the JNLP from a browser (https://justanexample.com/buttondemo/ButtonDemo.jnlp), things work as expected:
    The first time "Java Loading" appears.
    The mysplash.jpg is cached and can be seen in the Resource list with "javaws -viewer."
    During the second and subsequent launches, the custom splash screen appears as expected.
    However, if I have the JNLP file on my desktop, and I open it from there with a double-click, I never see the splash screen.
    My question: Why is this? Shouldn't I see the splash screen after the first launch, even if I launched by double-clicking the JNLP file on my desktop?
    Why I care:
    While I've shown the problem using ButtonDemo, I am having the same issue with my own application. I'd like to have an icon on the desktop the user can click. I do have it working, but using a workaround I consider fragile and perhaps inappropriate.
    I am using the 1.6.0_18-b07 version of the JRE on Vista SP2.
    Thanks in advance for any explanation/help.
    Edited by: mmissire on Feb 10, 2010 7:52 PM

    I couldn't get this to work. For the benefit of anyone needing something similar, here's what I did to work around it.
    At install time, my app already unpacked some config files into a known place under the user's home directory. So I now unpack a splash screen there, as well.
    The desktop shortcut tells javaws to skip it's splash screen with -Xnosplash, and then tells the JVM to use a local one (with the -J"splash:" argument). Something like this worked well enough:
    C:\Windows\System32\javaws.exe -J"-splash:C:\Users\whoever\appname\splash.jpg" -Xnosplash "C:\Users\whoever\appname\app.jnlp"

  • Browser Menu Doesn't Display the "Bookmark" or "Go To" Options???

    I have a Blackberry World Edition.  Just recently, at times while using the browser, I will select the menu key to go to a bookmarked page, neither the bookmark option nor the "Go To" option are available.  At that point, I'm locked, all I can do is go back, select a page off of my history, or select site from an icon on my main menu.  It is very inconsistent, meaning, if I select some site from an icon, and keeping checking the menu key, the options usually reappear.  This is very strange.  Any help would be greatly appreciated.

    Hi and Welcome to the Forums!
    Anytime random strange behaviors creep in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Best!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • ProgressBar from NetBeans Palette doesn't display in IE

    Hi,
    I am using the Java Visual Web ServerFaces framework, which comes bundled with NetBeans. this includes a Palette of drag-n-drop components, including a progress bar.
    the progress bar works correctly in firefox. In IE, it shows as a thin line in the upper left corner, which has a "progress bar" tooltip if you mouse over it.
    how can i get a nice progress bar to show in IE??
    many thanks!

    thanks for the tip. the palette component Layout Panel let me place the progress bar where i wanted.
    BUT, the progress bar still doesn't work! the bar displays no progress.
    either i'm doing something really wrong, or everyone must be running into this problem-- i am simply using the "progressBar" component that comes bundled with NetBeans.
    thanks for the help :-)

  • New import from imoviehd6 file doesn't display in preview while skimming

    All i get is plain box. I have imported several hour of footage so far without any problems. I have seen others have different preview issues or it might be related. Any ideas on how to troubleshoot? This is my first real issue with imovie. I was holding breath until now. Nothing has changed on my system other than i downloaded JES video cleaner.
    I also want to add that if if drag footage to a project i can then see the footage.
    Message was edited by: Sheryl Kingstone

    Hello, Sheryl,
    Yes, iMovie 9 is supposed to save everything you do because it is designed to keep all the originals intact and just create references to your changes/edits. And, it is supposed to remember and 'save' all your edits to your project when you close it. However, if you have a crash or one of those 'iMovie has unexpectedly quit' episodes, all your edits from after the last save are lost. Another reason to like iMovie 6--you can save your movie whenever you want. Some people have experience loss of edits in iM 8/9 even if doing everything correctly; no crashes, but the new edits were not there when iMovie was reopened. I havent used it so I cannot speak from experience....just from reading here.
    And, I have been following your posts with Steve Mullen's re: quality of videos--what settings, interlacing, etc. It is very informative....I don't have to ask anything because you posted either my questions or answers to them!

  • QuickTime 7.6.5 doesn't display controller on browser viewing

    This happened with QT 7.6.4 for Windows. When 7.6.5 came out, I uninstalled the old and freshly installed the new. But still...going to QuickTime.com for movie trailers and clicking to watch movies (not HD) for browser viewing doesn't display the QuickTime controller but instead a black empty blank void. Clicking in this void controls the movie being played. You just can't see the controller. Anybody having this issue?
    Running Windows 7 x64, 4GB Ram, nVidia 8800GTS 512.

    The "blank" controller for QuickTime formats in browsers is a known issue for Windows 64 bit OS's.
    Check your help files to earn more about 32 bit "compatibility" mode.

  • Graphs doesn't display on the crystal report server

    I have a graph that displays good on the developer and when saved on the server and run it from the server doesn't display the graph. Any thoughts why its not displaying?
    I also want to retrieve it from .net application using Managed RAS, is there any thing that I need to set for it display the graph output.

    I'm using the same code for all reports and it works fine....only problem is its not displaying graph reports.
    SessionMgr sessionMgr = new SessionMgr();
                EnterpriseSession enterpriseSession;
                ReportAppFactory reportAppFactory;
                ReportClientDocument reportClientDocument;
                EnterpriseService enterpriseService;
                InfoStore infoStore;
                InfoObjects infoObjects;
                InfoObject infoObject;
                // set the name of the CR server
                String crServerName = ConfigurationManager.AppSettings.Get("CRServerName");
                // set userid to logon to CR server
                String crUserID = ConfigurationManager.AppSettings.Get("CRUserID");
                //set pwd to logon to CR server
                String crPwd = ConfigurationManager.AppSettings.Get("CRPwd");
                //set userid to logon to database
                String dbUserID = ConfigurationManager.AppSettings.Get("DBUserID");
                //set pwd to logon to database
                String dbPwd = ConfigurationManager.AppSettings.Get("DBPwd");
                //pass Crystal enterprise logon credentials
                enterpriseSession = sessionMgr.Logon(crUserID, crPwd, crServerName, "secEnterprise");
                enterpriseService = enterpriseSession.GetService("InfoStore");
                infoStore = new InfoStore(enterpriseService);
                //pass the report Name to query and pass it to reportClientDocument
                infoObjects = infoStore.Query("Select SI_ID From CI_INFOOBJECTS Where SI_NAME='" + reportName + "' And SI_INSTANCE=0");
                infoObject = infoObjects[1];
                //Connecting to RAS (Report Aplication Server)
                EnterpriseService tempService = enterpriseSession.GetService("", "RASReportFactory");
                reportAppFactory = (ReportAppFactory)tempService.Interface;
                reportClientDocument = reportAppFactory.OpenDocument(infoObject.ID, 0);
                // Pass datbase logon credentials
                reportClientDocument.DatabaseController.logon(dbUserID, dbPwd);
    FileStream fs = null;
    BinaryWriter bw = null;
    rptFileName = u201CTestChartReport.pdf";
    fs = new FileStream(Server.MapPath("~/reports/" + rptFileName), FileMode.OpenOrCreate);
    bw = new BinaryWriter(fs);
    PrintOutputController rasPrintOutputController;
    CrReportExportFormatEnum rasReportExportFormat =   CrReportExportFormatEnum.crReportExportFormatPDF;
    rasPrintOutputController = reportClientDocument.PrintOutputController;
                ByteArray tempByteArray = rasPrintOutputController.Export(rasReportExportFormat, 0);
                Byte[] byteStreamOutput = tempByteArray.ByteArray;
    bw.Write(byteStreamOutput);
    String file = "reports/" + rptFileName;
    Response.Write("<scr" + "ipt>\r\n");
    Response.Write("open('" + file + "');\r\n");
    Response.Write("</scr" + "ipt>");

  • I'm using a 15" Macbook Pro running OSX6.8 and cannot upgrade. I have a subscription to Adobe CC but none of these work on this so I was on with Adobe for 5 hours trying to install and launch Illustrator, InDesign, Photoshop, Muse, and Acrobat Pro from CS

    I'm using a 15" Macbook Pro running OSX6.8 and cannot upgrade. I have a subscription to Adobe CC but none of these work on this so I was on with Adobe for 5 hours trying to install and launch Illustrator, InDesign, Photoshop, Muse, and Acrobat Pro from CS6. Well, InDesign is the only one that works and I have a ton of work due! I don't have a serial number for Photoshop or Illustrator except for CS3, and they don't work. InDesign gave me no problems. Illustrator says it can't work on this machine. Photoshop needs a serial number. I'm stumped and getting anxious and freaked out. Can anyone help? Adobe Chat is down right now.

    if you have a cc subscription, close ps > sign out and then back in to your cc desktop > open ps.
    ai cs6 requires:
    Multicore Intel processor with 64-bit support
    Mac OS X v10.6.8 or v10.7. Adobe Creative Suite 5, CS5.5, and CS6 applications support Mac OS X v10.8 and v10.9 when installed on Intel-based systems.*
    2 GB of RAM (8 GB recommended)
    2 GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash storage devices)
    1024 x 768 display (1280 x 800 recommended) with 16-bit video card

  • E61i internet browser doesn't display properly

    Hello,
    I never had any problems browsing the internet on my E61i. My Nokia is always switched on, but today I had to switch it off for a while. After switching in on again, I wanted to use the internet on it. The strange thing was that it wouldn't display any web page properly any more. Pages look messy, like the web browser doesn't how to handle HTML etc. and display it properly.
    I often visit web pages not specially made for PDA's, so when visiting these I had to scroll horizontally. That was ok. But now when visiting these pages I cannot scroll horizontally any more; the browser puts all web page contents beneath each other, if you know what I mean. Now I can only scroll vertically.
    The conclusion is that many web pages I used to visit have now become useless since the E61i web browser doesn't display them any more as they used to be displayed, the pages used to look like as if you visited them from a PC, but not any more.
    Does anybody have a clue?

    It sounds like a cache issue. When you view the page, that
    page is loaded into your (or your client's) browser's cache memory.
    This is done so that when you return to that page it will load
    faster (since it is already loaded into memory).
    This will only happen if a person has been to the page
    recently. There is a limit on the amount of information your
    browser will store in cache memory. The more you surf, the more
    likely it is that the page will be replaced in the cache memory
    with some other information.
    You (and your client) can, depending on what browser you are
    using, set your preferences so that all web pages will be
    completely reloaded every time you visit them. In IE 6 for Win:
    Tools>Internet Options>Settings> Select 'Every visit to
    the page'. You can also set your cache to be the minimum amount of
    space alotted. Note: This doesn't really work very well in IE 6 for
    WIN. I use firefox for reviewing changes because I have found IE 6
    is completely unreliable for viewing the latest.
    Most other browsers will allow you to hold down Shift and hit
    'refresh' to throw out the cache for that page and view the latest.
    As far as I know this is standard operating procedure for proofing
    new pages.
    If there is a coding technique to force a browser to use only
    the latest information, I don't know what it is.
    Good luck.

  • Media browser in Premiere CS 6 doesn't display list of hard drives!

    My media browser in Premiere CS 6 doesn't display list of hard drives. There is no dropdown of folders or anything to select the media from. Any suggestions as to why this is happening and how I can correct this?

    If Premiere is acting weird try this:
    Start Premiere with holding down shift+alt until welcome screen.
    See if that will help.

  • My Media Browser in Garageband doesn't display anything except the very first song I have in this mac.

    I have been always wanting to edit some songs and make a remix of it. However, the media browser in garageband in my macbook pro doesn't display any songs, except the very first song I added to my laptop. I have tried to do every suggestion from other forums (e.g. check the itunes library, etc) and none worked. One thing I realised is that I can still drag and drop the song directly from Finder to my Garageband timeline. Nevertheless, it annoys me whenever I open the media browser since this is not what my mac should do. I would be very grateful if someone could assist me with this matter.

    Have you checked, if the search field at the bottom of the Media Browser is cleared? It should be set to "All", if you click the looking glass. Otherwise the list will be filtered.
    And the drop-down menu should show "iTunes", if you want to see all songs.
    If these simple measures do not help, try the fix for "oddball" problems and remove the User Preferences - see the FAQ:
    http://www.bulletsandbones.com/GB/GBFAQ.html#oddballprobs
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    Regards
    Léonie

  • Every time I try to access the ASPX pages, the browser doesn't display the pages. Instead, a popup box asks if I want to open or save

    every time I try to access the ASPX pages, the browser doesn't display the pages. Instead, a popup box asks if I want to open or save

    What site is doing this? 99% of the time it is a problem with the headers sent from the web server.

Maybe you are looking for

  • Sxmb_moni system error

    Hi Experts , I found this error in SXMB_MONI.please help me what would be the error.I have checked in SMQ1,SMQ2 also but the queues are not strucked. <!--  ************************************   -->   <Trace level="1" type="T">User: PIECC</Trace>   <

  • Can not connect to itunes store ever since I did the update.

    I have tried everything from flushing my DNS, Reloading my itunes, checking my anti-virus software which is Symantec, Making sure my firewall enables itunes. One thing is that when i go into add or remove programs it asks if i want to repair itunes a

  • Change Sale order range number

    Hi,   I have implemented the number range selection in user exit MV45AFZZ for sale order.  Is there any BADI available which provide the same capability as MV45AFZZ ?? Regards, Kit

  • How to create a new database using Enterprise manager?

    hi all, thank you for all your support. i want to create a new database . I tried following these steps i am using Oracle 9i and windows XP 1, opened the enterprise manager by clicking from programs 2,selected launch standalone Application 3, from th

  • Plain HTTP

    Hi Experts,   I have the scenarion where an external web application needs to send so some data in the format of String (field=value) separated by a delimeter through HTTP. Now Here I want to develop an interface where i have to catch the string and