CreateObject() with ID CS2 broken in Vista (VBA)?

I posted earlier under a fairly ambiguous subject, so I am re-trying here--forgive the dual post, please...
but I think I have narrowed it down. It appears to be a problem with InDesign CS2 and Vista. I can't get any application to call CreateObject successfully without an "Out of memory" error on the call: even from the command line using .vbs.
Does ANYONE have any idea what's going on? Or any ideas? Ole, you out there?
Thanks,
jdb

I'll try that. In the meantime, here's something for you. The following script (saved as test.vbs) actually WORKS from the command prompt "cscript test.vbs":
' BEGIN CODE
Dim WSHShell
Dim myInDesign
Dim myDocument
Dim myMessage
Set WSHShell = CreateObject("WScript.Shell")
WSHShell.Run """C:\Program Files\Adobe\Adobe InDesign CS2\InDesign.exe""", 0, False
Set myInDesign = CreateObject("InDesign.Application.CS2")
myInDesign.Activate
Set myDocument = myInDesign.Open("C:\Users\Joel\_Template.indd")
set myMessage = new progMessage
myMessage.setMessage(myInDesign.ActiveDocument.name)
myMessage.Display
myInDesign.Quit
Set myInDesign = Nothing
Class progMessage
Private messageText
public sub setMessage(s)
messageText = s
end sub
public sub Display
msgbox "Message: " & messageText
end sub
end class
' END CODE
So, you CAN create classes within vbs (at least those run from the command prompt and from within InDesign) AND it seems to create the InDesign object just fine. Weird. This code snippet may help your diagnosis...
UPDATE:
Now, it's not working from the command line. It IS working from the .vbs script in InDesign. Weird. It's always fun trying to find an error when it occurs inconsistently!
Thanks,
jdb

Similar Messages

  • Question about CS2 on Windows Vista 64 bit

    Hi! I am having the following problem with trying to use CS2 on a new machine running Windows Vista (64bit). Can anyone shed some light or suggest a solution? Thanks!
    I recently tried to install my CS2 suite on an HP G70t, running 64-bit Windows Vista. I installed, uninstalled, and installed again the CS2 suite. The installation goes OK, but when I start the programs, Illustrator simply shuts down, InDesign gives an error message that the serial number is invalid, and Photshop gives the followng error message: "Your Photoshop username, organization, or serial number is missing or invalid. The application
    cannot continue and must now exit. " I verfied my activation and registration with a phone call to HP Customer Service --these are fine. I tried to use the Adobe web support, but they refuse to provide any assistance for CS2.

    Thanks, Michael. I had read in one of the Adobe documents that although CS2
    didn't support Vista, it had been reported that it did upload and work with
    minimal problems. Perhaps that just isn't true.
    Appreciate your response.
    Tom
    Quoting Michael Kazlow <[email protected]>:
    CS2 is not Vista compatible no less Vista 64 compatible.
    >

  • Installing CS2.3 on Vista via CS2.0

    I know the compatibility of CS2.0 and Vista have been thoroughly discussed. I also know that Adobe says CS 2.3 should work without major issues. Here's my situation.
    My old XP computer died so I upgraded to a new computer with Vista. I would like to install my CS2.3 onto the new computer. However, I purchased the software as a student licensing version of CS2.0 with a free upgrade to 2.3. That is, I received CDs to install 2.0, mailed in for my free upgrade and received upgrade disks to bring everything up to 2.3.
    My question: Is 2.0 compatible enough that I will be able to install it long enough to run the upgrade install to 2.3?
    Alternatively: Will Adobe allow me to upgrade from 2.3 to a student license of CS4? I'm still a student and can provide that proof, but I can't really find prices for student licensing (or even education version) upgrades.
    Thanks.

    CS2 IS NOT supported under Vista. Many folks have reported success, however.
    The CS2 to CS2.3 upgrade is simply Acrobat Professional 8 and
    Dreamweaver 8 on separate disks.
    Do a custom install of CS2 and do not install Acrobat 7. Follow that up
    with the installation of Acrobat 8 and immediately run any Adobe updates.
    Post any followups in the Windows forum but be prepared to be told to
    upgrade to CS4 (which you can do for a limited time at the same price as
    a CS3 to CS4 upgrade) to solve any compatibility problems.
    Bob

  • CS2 on new vista 64bit serial # error

    im tryn to install my cs2 on a new computer that has vista. my install went fine but when i open up one of my cs2 programs it says invalid or missing info ei. serial # username etc... please help how can i make my cs2 work in vista thanks [email protected]

    God bless you Chris Mitchener. I had the exact same problem you did after installing CS2 on my new Dell with Vista 64. Whenever I tried to open an Adobe program, I'd get an invalid or missing serial number error and the program would close. Following your advice, I uninstalled and then reinstalled CS2 and when it asked whether to install in the "Adobe (x86)" folder I deleted the ( and ) characters and then it worked, or at least it seems to have worked. I never would have thought to do this if it weren't for you. I wonder how many others are having this exact same problem.
    Thanks a million,
    Ed Randall

  • Problems with Photoshop CS2 I originally purchased this software several years ago. At time I was running Microsoft Windows XP. This computer recently was replaced with  a Dell running Windows 8.I reloaded my CS2 on this computer & it ran fine with a few

    Problems with Photoshop CS2
    I originally purchased this software several years ago. At time I was running Microsoft Windows XP.
    This computer recently was replaced with a Dell running Windows 8.I reloaded my CS2 on this computer & it ran fine with a few exceptions as follows;
    when the software comes up initially I get a message that says “could not complete your request because of program error”. Hitting OK allows me to continue using the software .
    When I try to activate a function using CTLR or ALT keys I get this message “required application failed to load and the product cannot continue. Please reinstall the application”. This causes the application to abort.
    Reloading my CS2 continues to generate the same messages when I depress the CTLR or ALT keys.

    Your original copy is obsolete and Adobe is offering a free replacement you are entitled to. Download and use that and that should clear it up for you.
    https://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.ht ml
    Download this copy of CS2 and use the serial number provided next to the download link.

  • I've got a wireless network with one iMac and a Vista PC, on the Vista PC is through USB a printer connected. How can i print from my iMac to that particular printer ?

    I've got a wireless network with one iMac and a Vista PC, on the Vista PC is through USB a printer connected. How can i print from my iMac to that particular printer ?

    You need to turn on Printer Sharing on both the PC and OS X. I can't help you on Vista but in OS X it's System Preferences - Sharing - check the Printer Sharing box.

  • IPhone 3G 2.1 connection error with iTunes 8 on Windows Vista Enterprise

    I was previously able to connect my iphone with my work computer (Windows Vista Enterprise) and it would recognize my phone. However, since I updated my iphone to version 2.1, it will not recognize the phone and gives me the following error message:
    "iTunes could not connect to the iphone because an unknown error occured (0xE8000024)."
    I am able to connect my phone with version 2.1 to my home computer running Windows XP SP2.
    Any idea what may be causing the connection error in Windows Vista?

    Hey TranceCadet,
    This could be caused by a USB connection issue.
    Make sure the iPhone is directly connected to a high speed USB port on the PC and not plugged into a hub, monitor, or keyboard. Disconnect any other USB devices, other than the keyboard and mouse.
    This article has some general USB troubleshooting tips: http://support.apple.com/kb/TS1286
    You may also want to disable or reconfigure any security software. This article will walk you through putting the PC in a selective startup mode, which will bypass most application conflicts.
    http://support.apple.com/kb/HT2292
    Jason

  • HOW TO MAKE A HIGH DEFINITION AUDIO DVD WITH PREMIERE CS2

    I have been working with my CS2 Premiere to create some auto play high definition, audio-only DVDs that are autoplay.  To clear the air, yes I know that CS4 will permit 24bit-96 kHz.  For the time being 16 bit-48 kHz, is still better (marginally) than CD, but it permits greater playing times.  Yes, I know that the autoplay without menues "feature" is bogus, and was never corrected by Adobe.  So much for their interest in their customers.
    I found a simple workaround for the autoplay/no menues feature.  Just make a DVD-RW with menues.  Then use DVD-DeCryper/Shrink/Nero - whatever to make an autoplay DVD onto a permanent disc.  It works well.
    Here is my latest crazy problem: How to get really long playing time.  I know I can make high qualitye DVD-A's up to 3 hours using Minatonka Bronze.  Unfortunately, DVD-A discs are worthless as they cannot play in 90% of DVD players, but they prove the time point.
    I have three 48 kHz files that I created in Adobe Audion.  The were 1.599, 0.911, and 0.974 GBs in size.  That added up to 3.480.  The playing time is about 2:30 Hours; quite a bit less than 3 hours.   I tried burning a DVD with these, audio-files-only.  I checked lowest quality video, used no video, and got an Export To DVD error that I had "insufficient" space on the 4.7 GB disc!  So, I used the two latter files, which added to only 1.884 GB.  Premiere did not baulk, and it successfully burned a DVD that played.  Then I added the 1.599 GB file, and, once again, it produced an error.  This was clearly not going to work.
    At this point, I realized that Audition had done what it liked to do: It had saved the 16 bit-48 kHz files as 32 bit-48 kHz!  So, I went back to Audition and used EDIT to change the files to genuine 16 bit-48 kHz files.  When I opened them in Premiere, Premiere reported 16 bit-48 kHz files.  Their sizes were now, 0.799, 0.456, and 0.487 GB.  Please note that this totals 1.742 GB.  This is less than the 1.884 GB I had successfully used before.   Once again, I was getting the "inssufficient" space error.  This is nuts.  The disc can hold 4.3+ GB, but won't fit 1.742.GB.
    So, anybody got some ideas?
    Mike

    Jim,
    I cannot believe you are wasting my time and the space of this forum with your irrelevances.  It would have been better had you just tried to answer my question, which is the purpose of these forums.  Why engage in useless chatter?
    I said nothing about any great sonic difference betweein 16/48 and 16/44 digital audio; I said "marginally."   In English that means very little difference.  I'm not going to prove to you with distortion and frequency response plots that there is some minor difference, it is a fact of life.  You, in fact, just stated a difference.  The difference between a 24 kHz cutoff and a 22 kHz custoff  is a difference which you give, to back up your absurd statement that there is no difference.  This can actually translate to a minor, difference in THD at higher audio frequencies, but who cares?   Well, you apparently care, because your beligerant non-reply to my question was that "fewer...would notice ."  In English that means that some would notice.
    What my question had to do with MP3 junk, or multichannel sound, I don't know.  Why should I do, as you suggest, and make DVD-A's when one needs only stereo?  This is a Premier forum, not a DVD-A forum.  Why not bother DVD-A junkies on Minatonka fourms?  DVDs can handle stereo PCM very nicely.  Classic Audio has marketed their 24/96 DADs for many years and so have a few other companies.   They have been well received by some "golden eared" types.  I hope they don't upset you.  There is a good possibility that DVD may only be around as a "legacy" feature on BLU RAY in future years.  DVD-A was DOA years ago and SACD may go just away; DVD-A is almost that.  So, PCM stereo sound DVD's are a good bet that the resultant disc will be playable on many people's players as well as future players.  The longer playing time that may be available would make listening to concerts easier, rather than breaking them up into segments.
    If you want to argue my motives, or tastes, I suggest you go to another forum and discuss you theories.  If you actually have something productive to say about the problem I pointed out, that would be welcome.
    Mike

  • Can't Access Supplementary Editing with Photoshop CS2

    I was a user of Elements3 for a long time mainly because I liked that the catalog's "edit with" feature worked with Photoshop CS2.  I recently got a new PC with Windows 7 so I could not install PSE 3. I downloaded PSE9 trial version to see if all worked well and it was worth the purchase.  The problem I am having is that I cannot seem to get my Photoshop (CS2) as a supplementary editing option.  When I try it tells me this
    But if I don't add it like it says, there is not a Photoshop option when I go to the "edit with" list.
    I don't know if this is right, but from the little bit of research I did it thinks I am trying to add Elements again because the Elements program exe file starts with "Photoshop" so when it reads the Photoshop.exe file it thinks it is a duplicate.  I tried creating a copy and renaming the Photoshop.exe file which almost worked.  Elements allowed me to select it as a supplementary editor and afterwards Photoshop was an edit option.  I tried to edit a photo with it and while the program opened, it then got an error message and ended up closing before the photo came up for editing.
    Can someone give me a fix to use Photoshop as my editor.  I really liked how I could edit in PS and keep a neat catalog of edited versions with the Elements versioning capability.  If I can't do it I probably won't end up purchasing the PSE9 program.

    I have the identical problem trying to use Photoshop as the editor from Photoshop Elements 11.
    Please can some-one let us in on the secret of how to get PSE to recognise that a full Photoshop is installed.
    Thanks
    Dave

  • Memory Problems with Photoshop CS2 - RAM not being utlized

    I am having memory issues with Photoshop CS2. I have a G5 dual 2.5 with 8 GB of RAM. PS CS2 keeps hanging on me when I'm doing fairly routine tasks with a fairly complex low-res .psd file. It includes several nested layers...etc.
    I noticed while running activity monitor that Photoshop is utilizing a very small percentage of my system's RAM. Approximately 475 MB of the total 8 GB RAM and 1.07 GB of harddrive space for the scratch disk. This seems odd as there is over 6 GB of free RAM while this is happening.
    I've uploaded a screen capture of my activity monitor while Photoshop is hanging. Note that the CPU percentage is above 98%. That's an awful lot of RAM going unused.
    http://www.tramad.com/Memory.png
    Any idea what's going on here? Could it be a corrupt file or font?

    Doesn't completely make sense as I've been using this particular machine for almost two years without any problems working in much more complex and much larger high-res .psd files. I doubt that's what the issue is here. I'm starting to think the file became corrupted...
    Hard to believe that Adobe/Apple haven't issued a fix for the RAM issue yet.
    I also run routine CRON maintenance using Cocktail and have no other issues with any software....

  • Error with Contribute 3 on Windows Vista

    Hi
    With Contribute 3 on Windows Vista, does anyone know if
    anything can be done about the following error:
    Error 1904.Module
    C:\Windows\system32\Macromed\Flash\Flash.ocx
    Failed to register. HRESULT -2147220473. Contact
    Your support personnel
    MMxtp has stopped working
    A problem caused the program to stop working correctly.
    Windows will close the program and notify you if a solution
    is available.
    Many thanks
    lukaro

    I've got the same problem. Adobe support are hopeless since
    they bought Macromedia. "We don't support Contribute 3 any longer.
    You'll have to upgrade to CS3". Downloaded CS3 trial. Same
    problems. "Sorry, we don't support trial versions of products" What
    a bunch of wankers. How the hell do they expect anyone to buy their
    products if 1. they don't work and 2. they don't support them. I'll
    find something else to buy from now on.

  • How to place a word document in a TextFrame with InDesign CS2 scripting (JavaScript)?

    I´m newbie with InDesign CS2 Scripting (JavaScript). I need some help to understand the way to place a Word document in an indesign template, using JavaScript(.jsx).
    Thank you for the help,
    Peter

    //PlaceTextFileInFrame.jsx
    //An InDesign CS3 JavaScript
    //Places a text file in a text frame.
    var myDocument = app.documents.add();
    //Set the measurement units to points.
    myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
    myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
    //Create a text frame.
    var myTextFrame = myDocument.pages.item(0).textFrames.add({geometricBounds:myGetBounds(myDocument, myDocument.pages.item(0))});
    //Place a text file in the text frame.
    //Parameters for TextFrame.place():
    //File as File object,
    //[ShowingOptions as Boolean = False]
    //You'll have to fill in your own file path.
    myTextFrame.place(File("/c/test.txt"));
    function myGetBounds(myDocument, myPage){
    var myPageWidth = myDocument.documentPreferences.pageWidth;
    var myPageHeight = myDocument.documentPreferences.pageHeight
    if(myPage.side == PageSideOptions.leftHand){
    var myX2 = myPage.marginPreferences.left;
    var myX1 = myPage.marginPreferences.right;
    else{
    var myX1 = myPage.marginPreferences.left;
    var myX2 = myPage.marginPreferences.right;
    var myY1 = myPage.marginPreferences.top;
    var myX2 = myPageWidth - myX2;
    var myY2 = myPageHeight - myPage.marginPreferences.bottom;
    return [myY1, myX1, myY2, myX2];

  • What causes all my emails with embedded media to always be downloaded with the media broken or removed? How do I solve it?

    Whenever people send me emails with embedded videos or pictures, the email always comes in without the media. It will have just the empty box outline where it supposed to be with a tiny broken page icon in the top left-hand corner.
    I can't seem to find the cause and the solution and this has been happening for a few years already. Does it have anything to do with my account still being POP and not IMAP? What are the possible reasons and their solutions? Please help, thank you.

    I am not an expert in this area, but I think I might know what is going on. There is a difference between an 'embedded' picture and an 'attached' picture.
    An embedded picture has a link to the actual picture. If the link is to a site which is not accessible (such as the sender's own computer) then you will get a broken link.
    An attached picture is the actual picture file (.jpg, etc.) so you can always view it. If you check 'Display Attachments Inline', then when you scroll down through the email, the attachments will show up.
    So, bottom line: If the sender embeds a picture, it needs to link to a publicly accessible URL. Otherwise, it needs to be attached.

  • HT1178 Can the time capsule be used with a pc running Windows Vista , 7 or 8 as a backup drive

    Can the time capsule be used with a pc running Windows Vista , 7 or 8 as a backup drive. If so what software do I need to buy?

    Can the time capsule be used with a pc running Windows Vista , 7 or 8 as a backup drive.
    Yes, on XP, Vista and 7. Have not tried 8.
    If so what software do I need to buy?
    Genie Timeline Pro does a very nice job...and it is similar to Apple's Time Machine.  It's not cheap though.  Check with the Genie folks for more info and compatibility with Windows 8.
    Genie Timeline Pro | Overview | Time Machine Backup Software for ...
    Other users may have some other suggestions.

  • Using an Osprey 100 card with Acrobat Connect Pro and Vista

    Intrigued by a comment I saw on another forum, I tried setting each of the EXE files associated with an Osprey 100 card install in Vista to run in compatability mode for XP SP2, and my Osprey card analog inputs started working (at LAST!!) with Acrobat Connect Pro in Vista. This lets me attach VCRs/DVDs or any device with analog outputs to Acrobat Connect Pro without having to buy a new generation of Osprey or other Vista compatible analog capture cards.
    Perhaps this will help someone.

    I believe I figured it was somewhere between Flash 5 and Flash 6. I say this because while the resulting presentations could be opened in QuickTime (which only uses Flash 5) a better result would be achieved by viewing in the browser. Either that, or QuickTime's Flash 5 support isn't complete.

Maybe you are looking for

  • Is there an app that reminds to talk about something with a contact while you call him?

    I'm looking for an app that will remind me every time I talk with someone about things I have to talk with that person or contact. I've tried an app called: 'call about' but it doesn't work on new iOS 7. Suggestions anyone?

  • Hardware scan failed with result code WWF00F008-WJDZ3F

    This kept erroring so when I ran this test I had ; Disabled Wired LAN Turned on Wireless Confirmed that I can access Internet Turned off Firewall Product : W520 4282CTO Bios : 8BET62WW (1.42) All drivers are latest and windows up to date. I am using

  • Bridge CS3 crash

    One of my Macs (G5 Power Mac, 10.4.11, CS3) crashes when browsing certain folders on my Xserve (2009 Xserve, 10.5 Server, Nehalem proc, AFP connections, active directory). One consistency is that it always crashes when browsing to folders containing

  • How can I resolve Exception : "Count Field Incorrect" error

    Hi all, I am experiencing with "Count Field incorrect" error. What's wrong with it? How can I resolve it? This error is occured at UPDATE function of SQL. My JSP page is to update the old record. Sometimes, "Update statement error" message appear. Th

  • Vendor X in  not defined in Company code  Y

    Hi Guys, I did the setting in OBYA (intercompany settings) for the two company codes X and Y. However, when I am psoting the doc by FB01 getting the error "Vendor X in  not defined in Company code  Y". In OBYA, it show the setting. thnks