Using ScriptStart in VC++ doesn't seems to be working.

Hi,
I am a software a developer.  I am using Diadem 9.x evaluation version.  While I try to run Scriptstart function in VC++ using OLE.  It seems its failing.  The below is the code sequence.
Please help,
ITOCommand dispToCmd ;
COleVariant oleVariant;
if( dispToCmd.CreateDispatch("diadem.tocommand", err) == FALSE)
pServer->m_log << "DIAdem Instancing Failure. \n";
throw err;
dispToCmd.SetBNoMsgDisplay( TRUE );
pServer->m_log << "Message display disabled in DIAdem. \n";
dispToCmd.SetBNoErrorDisplay( TRUE );
pServer->m_log << "Error display disabled in DIAdem. \n";
Sleep(4000);
oleVariant = _T("");
oleVariant = _T("T1:='"+ _bstr_t(pServer->m_strJobId) +"'");
oleVariant = _T("");
oleVariant = _T("ScriptStart('D:\\Test.VBS')");
CoUninitialize(); // Uninitialize the COM Library
Thanks,
Subbaraj.

Hello Tom!
Have you run DIAdem with admin rights after installing? This is necessary to register the DIAdem OLE Server.
If you did it please try this  VBS code in Windows (Paste it to a file with a vbs extension and doubleclick it in the explorer):
Option Explicit
Dim oToCommand
Set oToCommand = CreateObject("DIAdem.ToCommand")
You can also check the registration in the registry. Try to find out if this Key HKEY_CLASSES_ROOT\CLSID\{285E4FB2-F633-11D1-85DC-008048D9A408}\LocalServer32 exists and its value is your DIAdem executable.
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  

Similar Messages

  • The scaling selection using SHIFT doesn't seem to be working for me all of a sudden.......how can I resolve ?

    The scaling selection using SHIFT doesn't seem to be working for me all of a sudden.......how can I resolve ?
    Specifically, when I select and object I used to be able to hold SHIFT while re-sizing the object and keeping it in scale.
    All of a sudden, I don't have that option as my SHIFT key doesn't seem to activate within AI
    B.Marks

    B,
    You may have something disturbing Illy so she gets confused, see Item 7 in 5) below for usual suspects, or you may have what appears to be a preference corruption, see 1) - 4) and 6) below.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • We tried the window.ResizeTo and window.MoveTo methods using the javascript. It doesn't seem to be working in the version 9.0.1. Please suggest any alternative .

    Hi,
    We tried the window.ResizeTo and window.MoveTo methods using the javascript. It doesn't seem to be working in the version 9.0.1. Please suggest any alternative .
    Thanks,
    Avinash

    This is no longer allowed for security reasons (bug 565541).<br>
    See https://support.mozilla.org/nl/questions/880032<br>
    https://developer.mozilla.org/en/DOM/window.moveTo<br>

  • How do I import a web page as PDF? The import feature in my file dropdown menu doesn't seem to be working.

    If I remember correctly, firefox for linux previously had an option to import a web page as PDF. Now it doesn't seem to be working that way anymore. I am using Ubuntu 10.04 Lucid Lynx with the most recent Firefox program.

    That's just the standard notice when you install an addon from the AMO web site.
    Wasn't the '''Install Now''' button active?
    Sometimes you have to wait for up to 4 seconds for that button to be active - IOW, not greyed-out.

  • The sound on my Mac Pro doesn't seem to be working since installing OS X Yosemite - help!

    The sound on my Mac Pro doesn't seem to be working since installing OS X Yosemite - help!

    I had a smilier issue... If you're using external speakers (as opposed to the ones on the display), you may need to re-select them in System Preferences. Some preference choices seem to reset with the Yosemite install.

  • I recently bought a iPhone and iMessage just doesn't seem to be working. It won't let me send messages to my friends with emails. Help? Haha

    I Recentl. Bought an iPhone and iMessage just doesn't seem to be working. It won't let me send a message to my friends with emails? Or iPods I don't know

    Read these:
    Using iMessage
    http://support.apple.com/kb/HT3529
    Troubleshooting iMessage activation:
    http://support.apple.com/kb/TS4268

  • The iTunes "buy" button doesn't seem to be working. I click it and nothing happens. Anyone know why? Thanks.

    The iTunes "buy" button doesn't seem to be working. I click it and nothing happens. Anyone know why? Thanks.

    Apple made some sort of programming change on 12.26.12 to their iTunes system that suddenly made the Buy button non-functional specifically in the directly-out-of-the-box Snow Leopard (10.6.3). [I had Leopard, same as you, 10.5.8, and that was still working then. I installed Snow Leopard a couple of days ago to my MacBook, and discovered the Buy Button didn't work.
    First step: Pull down "Software Update" from the Apple menu (that annoying thing we always ignore.) If you're using Snow Leopard 10.6.3, it'll upgrade you for free to 10.6.8, and that should solve your iTunes problem. (I don't know if there are any upgrades for 10.5.8, but unlike the other ungodly system upgrades, Snow Leopard is only $20. Because Apple is growing increasingly stupid, you can't buy it online--you have to call customer care.)
    Hope this helps. Let me know if it does.

  • The image came up on my screen saying that I need to connect my iPod to iTunes, but I have a passcode, so it won't allow me to. And I want to try and turn it off, but my touch screen doesn't seem to be working either. HELP!

    The image came up on my screen saying that I need to connect my iPod to iTunes, but I have a passcode, so it won't allow me to. And I want to try and turn it off, but my touch screen doesn't seem to be working either, so I can't even turn it off since you need to "slide to power off." HELP! I'm leaving on Thursday morning for six and a half weeks, and I absolutely need my iPod with me. I was just at the Apple store today for problems I was having with ANOTHER product, and I don't really want to drive all the way out to where my nearest store is (which is not very near) if I can figure this out at home. My iPod was working totally fine earlier today and last night, so I don't know what happened! Please, please, PLEASE HELP!

    Now it's allowing me to reboot (hold down power button and home button and restart), but every time it just comes up to the same thing: the connect to iTunes page. Which is not possible. And I refuse to restore my iPod. PLEASE HELP.

  • TS1363 i have a new iphone 5 and although I had a little trouble downloading all my apps and music, i did this successfully but now when I connect to my itunes, itunes doesn't see it and also bluetooth doesn't seem to be working.Can  Anyone help

    I have a new iphone 5 and although I had a little trouble downloading all my apps and music, I did this successfully but now when I connect to my itunes, itunes doesn't see it and also bluetooth doesn't seem to be working.Can  Anyone help?

    Hey leafxxx,
    Thanks for the question, and welcome to Apple Support Communities.
    The following resource provides troubleshooting steps if your iPhone is not displayed in iTunes when connected:
    Apple - Support - iPhone - iTunes Troubleshooting Assistant
    http://www.apple.com/support/iphone/assistant/itunes/
    For more detailed instructions, see this article:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Enjoy your new iPhone 5!
    Matt M.

  • After copying a movie to the harddisk of my MacBook I wanted to also copy it to my iPad, but for this you first have to copy it to the library in iTunes, but this doesn't seem to be working. So how can I get this movie to the library ? And to the iPad ?

    After copying a movie to the harddisk of my MacBook I wanted to also copy it to my iPad, but for this you first have to copy it to the library in iTunes, but this doesn't seem to be working. So how can I get this movie to the library ? And to the iPad ?

    How is it not working?  And how are you doing it?  Drag the movie onto the iTunes icon on the Dock...  what happens?

  • I bought Photoshop 12/premier package but all I get from premier is the Read Me bit on my computer. The download doesn't seemed to have worked

    I bought PS Elements 12 and Premier as a package but the Premier does not seem to have downloaded...All I have is the "READ ME" pages and no programme

    Noel elliot
    What is your computer operating system, and is it 32 or 64 bit?
    At this time, is Premiere Elements 12 listed in Control Panel/Programs as an installation product?
    Where did you purchase this Photoshop Elements 12/Premiere Elements 12 bundle - from Adobe as an online download or from an authorized reseller offering the box packing with installation discs? From your "The download doesn't seemed to have worked", I am assuming that this was an online download from Adobe.
    On your computer, you should have started with 4 installation files
    Photoshop Elements 12. An .exe file and .7z file specific for Photoshop Elements 12...and file targeted appropriately for 32 or 64 bit computer.
    Premiere Elements 12. An .exe file and .7z file specific for Premiere Elements 12...and file targeted appropriately for 32 or 64 bit computer.
    You double click the .exe first and afterward as indicated .7z.
    Each of these products will have its own serial number.
    Do you now have those components. If not, then you need to start again with the download to get those files on your computer in order to start the product installation.
    Please review and consider. Any questions or need further clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • What to do when BBC video/iPlayer "This content doesn't seem to be working. Try again later" Firefox 3.6.13, XP

    Videos & iPlayer do not work on BBC site. I get error message "This content doesn't seem to be working. Try again later". Content is viewable on MS Internet Explorer 8.

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • "Arrange by" doesn't seem to be working properly. What to do?

    "Arrange by" doesn't seem to be working properly. What to do?

    Properly conveys nothing. Details if you want help.

  • IWeb E-mail me icon doesn't seem to be working!

    I have just updated my webpage using iWeb 2.0.4 (I'm still running Mac OS 10.4.11) and my "E-mail me" icon doesn't seem to work anymore. I tried it in both Safari and Firefox and neither browser recognizes this as a hotspot. I checked and my e-mail address is setup, so I don't know what else to try! Any ideas anyone?
    Thanks

    The email button and the hit counter sit in the footer of the webpage. The photo of the plane looks as though it may be blocking it.
    In iWeb do a Shift - Command - L to show the layout and drag the photo out of the footer.

  • Uninstall doesn't seem to be working...

    I've just upgraded to CS5.5 from CS3. I want to uninstall CS3 and have gone to Applications/Utilities/Adobe Installers/ Add or remove CS3... as instructed in other posts. But this doesn't seem to do anything after asking me for my password. Nothing happens. I have looked on the original install disk but can't find a deinastaller. I'm using a Mac Lion 10.7.2. What should I do?

    I just solved a CS3 uninstall issue I've been fighting for many days. Like many people with similar problems (in multiple posts I read) my problems began when I tried to migrate my CS3 suite via Mac's Migration Assistant utility to a new system. Apparently this is not the route to go for Adobe apps. After this expereince, I would now recommend deactivate and uninstall and then re-install from disc when possible.
    I literally tried to uninstall and re-install 5 times, I then also tried the oft referenced CS Cleaner Tool a couple times and that didn't work either. I researched and stumbled upon an app/utility called AppDelete via:
    www.reggieashworth.com/appdelete
    I am not associated w/ company, I have nothing to gain: this is a legit, satisfied, (elated) consumer review!
    I still had all my apps in Applications following my last install attempt. I purchased the app via site for  $7.99. In one fell swoop, I simply grabbed and dragged all my CS apps to the AppDelete 'garbage can'. It listed and found a bunch of 'hidden' files within preferences, library, etc. It listed all associated files, gives you the option of deselecting files/settings, and then quickly removed them.
    Really wish I'd found this before about 10+ wasted hours of inserting discs!!

Maybe you are looking for