Instantiate Shell32.Shell object in Windows 8

Hi,
I want to instantiate the Shell32.Shell object in Windows 8. I have created a small console project in VS 2012, added reference to Microsoft Shell Controls and Automation. When running the following code
namespace Shell32Test
class Program
static void Main(string[] args)
object shell = new Shell32.Shell();
The invalid cast exception occurs.
Details of the exception:
System.InvalidCastException was unhandled
  HResult=-2147467262
  Message=Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.Shell'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{286E6F1B-7113-4355-9562-96B7E9D64C54}' failed due
to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
  Source=Shell32Test
  StackTrace:
       at Shell32Test.Program.Main(String[] args) in c:\Users\christ.ADLIB\Documents\Visual Studio 11\Projects\Shell32Test\Shell32Test\Program.cs:line 8
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:
Any ideas how to solve this issue?
Thanks,
C.

The solution that worked for me is as following:
public Shell32.Folder GetShell32NameSpaceFolder(Object folder)
Type shellAppType = Type.GetTypeFromProgID("Shell.Application");
Object shell = Activator.CreateInstance(shellAppType);
return (Shell32.Folder)shellAppType.InvokeMember("NameSpace",
System.Reflection.BindingFlags.InvokeMethod, null, shell, new object[] { folder });
I'm developing in Windows 8 and the program is run in Windows 7 and Windows Server 2008.

Similar Messages

  • File Server Resource Manager will not load WMI Objects on Windows 8.0/8.1 Preview with Hyper-V and Server Tools Loaded

    Hi Folks,
    I have a problem getting "File Server Resource Manager" to start properly because WMI objects are not loading??? I don't understand this at all because I am able to access them with other Apps, etc. I have been over my Services list as well but
    have not yet discovered which Service turns on/off "File Server Resource Manager". I have looked in Windows\System32\ and I can not find SrmSvc. I found other Srm's there though. I also found the FSRM Snapin which generates the Figure below but I
    can not find it in the WMI Browser. I believe the Firewall is OKAY since I have been over that thoroughly. I do have the Server Tools Installed for Windows 8.0 or Windows 8.1 Clients as well as the Windows Updates applied, which is where I got "File Server
    Resource Manager" in the first place. I have had WMI and Powershell 3.0 Package, installed since Windows 7 but I run a repair on them anyway.
    I have read through "File Server Resource Manager could not load WMI objects on Windows Server 2012
    Article ID: 2831687" but since I don't seem to have SrmSvc the solution doesn't help me. I haven't been able to find a similar one for the Windows Client.
    If there is anything you could share on this problem I would be much obliged.
    Thanks again,
    Crysta
    PhotM Phantom of the Mobile

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    As the question is off topic here, I am moving it to the
    Where is the Forum... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Instantiate a ABAP Object Dynamically

    I would like to get some guidance on Dynamically instantiating objects within ABAP.
    I have worked with Java.  Within Java I am able to instantiate a Java object through the use Class.forName (see example below):
    className = "com.vz.it.cleansheet.eFine.db.query.WBRDMTWKCNDATABEAN";
    try {
         singleton = (Object) Class.forName(classname).newInstance();
         } catch (ClassNotFoundException cnf) {
                   System.out.println("SingletonRegistry - Couldn't find class "}
    Is there a similar procedure in ABAP OO to enable dynamically instantiating a ABAP object?
    I would appreciate any advice.
    Thanks,
    Rick

    You can instantiate an object dynamically,  here is a sample program.  Notice that we are creating an object passed on what class is named in the selection screen.
    report zrich_0001.
    *       CLASS lcl_car DEFINITION
    class lcl_car definition.
      public section.
        data: car type string.
    endclass.
    *       CLASS lcl_car IMPLEMENTATION
    class lcl_car implementation.
    endclass.
    *       CLASS lcl_truck DEFINITION
    class lcl_truck definition.
      public section.
        data: truck type string.
    endclass.
    *       CLASS lcl_truck IMPLEMENTATION
    class lcl_truck implementation.
    endclass.
    data: r  type ref to object.
    parameters: p_class(20) type c default 'LCL_TRUCK'.
    start-of-selection.
      create object r type (p_class).
      check sy-subrc = 0.
    Regards,
    Rich Heilman

  • Instantiate com.waveset.object.Type into Type[]

    I am trying to instantiate com.waveset.object.Type into Type[]. I am trying execute method exportObjects(Type[] types, java.lang.String filename, BulkMonitor monitor). I can write it in java doing something like _wsSess.exportObjects(new Type[]{Type.findType(type)}, out, null); but having trouble doing in xpress or javascript. Please help. Thanks.

    Hi,
    To get all the types, you can use:
    <invoke name='getTypes' class='com.waveset.object.Type'/>
    to get specific ones:
    <block>
    <set name='typeList'>
    <list>
    <invoke name='getType' class='com.waveset.object.Type'>
    <s>Resource</s>
    </invoke>
    <invoke name='getType' class='com.waveset.object.Type'>
    <s>User</s>
    </invoke>
    </list>
    </set>
    <invoke name='toArray'>
    <ref>typeList</ref>
    </invoke>
    </block>
    hope this helps
    Regards
    Arjun

  • Fit object in window?

    Does Illustrator for CS5.5 offer the oportunity to fit the object which is active in window?  --or are the fit in window options limited to "All" or "Page"?
    I find that when I'm working on an object that I must move in close to finesse a curve and then, ideally, would like to fit thet obect that I'm working on in the window to see if my tweaks are satisfactory.
    At present I must. A zoom in to the points and/or curve I wish to adjust then B "fit page in window"  then C zoom in again to the object I'm rendering then D center the object on screen. Seems like a lot of uncessary steps --particularly when I must repeat over and over during the rendering process.
    Back in the day, Freehand solved this problem most elegantly with a "Fit Object In Window" command. The selected object would fill the screen --dead center everytime, no fuss.
    Am I being nostalgic for a funcntion which Adobe doesn't value or have I overlooked the command in the menu somewhere?
    Your assitance is greatly appreciated!

    I see. Thank you Kurt.
    Well it took Adobe a couple of deccades to realize that some of it's Illustrator users might want multi-paged documents. Perhaps in the coming deccades they'll get around to this otherwise very common command.
    I'll go in search of those scripts and see how they work out.

  • Scheduling unix shell scripts from windows using DOS batch files

    Hi,
    I want to schedule unix shell scrips using windows scheduled. I have the option of scheduling the DOS batch files. But not able to connect to telnet using DOS. Please let me know if there is an option.
    Regards,
    -Anand

    Drive letters are user specific. When you run jboss it runs as you, with your shared drives. When you run it as a service, it runs as guest or another user so your drive letters are meaningless.
    Either setup the user or use UNC

  • How to instantiate a java object (using JNI)?(n'more)

    hey bschauwe, thanks for your last post, you were guessing but your 4th guess was right on the money of how id like to do it.
    "4. An alternative way to return data to java from C is to instantiate a java object (using JNI), then use JNI to call that object's setters, then return the object at the end of the C routine."
    I know now how to get the object's setters, I am just unsure how to instantiate a java object from the native C code using JNI. Also you said to returnt he object at the end of the c routine, that is just a good ol' return statement right? no other functions to release memory or anything are needed? So basically it would be something like:
    JNIEXPORT jobject retObj JNICALL Java_AbfaRegion_getJSourceData
      (JNIEnv *env, jobject thisObj)
            //instantiate the java object on retObj????
            //call setters with values from the c structures...
            //return retObj??? no other memory releasing needed?
    }Thanks again for all your help,
    Shane

    K sounds straight forward enough, the index in my book had nothing on <init> and I wasnt aware of the NewObject call. So my final (well for demonstration purposes) code should look something like:
    JNIEXPORT jobject retObj JNICALL Java_AbfaRegion_getJSourceData
      (JNIEnv *env, jobject thisObj)
         jclass clazz;
         jclass clazzTemp;
         jmethodID mid;
         jint val;
         jobject tempObj;
            //first instanciate the object
         clazz = (*env)->GetObjectClass(env, retObj);
         mid  = (*env)->GetMethodID(env, clazz, "<init>", "()V");     
            //Get Object
         tempObj = (*env)->NewObject(env, clazz, mid);
            //get Class reference to instantiated class
         clazzTemp = (*env)->GetObjectClass(env, tempObj);
            //Start calling setters to set the object up.
         mid = (*env)->GetMethodID(env, clazzTemp, "SetHeight", "(I)V");
         (*env)->CallVoidMethod(env,tempObj, mid, struct->myHeight);
            //set more members ...
            //return the object back to java with its members filled out.
            //before returning do I need to call (*env)->DeleteLocalRef(tempObj); ??
            return tempObj;
    }So is this how i do it for a function that is nativly defined as:
    public native JSources getJSourceData();?
    if this is right, then im cooking, and cannot thank you enough!
    -Shane

  • VB Script WScript.CreateObject("WScript.Shell") 80070005 error Windows RT

    I get an error that says ActiveX component can't create object: 'sapi.spvoice'
    code:800A01AD
    This vbs works on windows 8.1 and everything since 95 but not here. And I know it has sapi voice translator because it has screen narrator. Why doesn't it work. Also I get the same type of error when I try to create WScript.Shell.
    and im using administrator

    This may be as good as it gets for you in WinRT
    http://code.msdn.microsoft.com/windowsapps/Speech-synthesis-sample-6e07b218
    Matt Kleinwaks - MSMVP MSDN Forums Moderator - www.zerosandtheone.com

  • Pass commands to UNIX shell opened in Windows XP OS

    I am currently running Labview 7.1 on a Windows XP box.  I use Exceed to open a UNIX shell to do work in UNIX from my windows machine.  I can open the UNIX shell with the sys exec vi but how do I pass commands to the UNIX shell I opened?

    Purp1eOne wrote:
    I went to the sourceforge site to take a look and started the install process but after looking at the install instructions it says I need a run time engine of 8 or greater which I don't have:
    Kind of a novice here but I don't think this will work with LabView 7.1, will it?
    Also make sure you have
    the LabVIEW 8.2.1 Run-Time Engine installed.
    View Member Profile
    ipsmenu.register( "post-member-26", '', 'popmenubutton-new', 'popmenubutton-new-out' );
    Jul 17 2006, 08:53 PM
    Post
    #1
    Group: JKI Team
    Posts: 167
    Joined: 10-July 06
    Member No.: 7
    Note: The LabVIEW 8.0.1 and 8.2.1 run-time engines can co-exist
    together with the LabVIEW 8.5 (and newer) run-time engine. You still
    need to install the run-time engine's listed below to use VIPM, even if
    you have a newer version of LabVIEW installed.
    VIPM 1.1 and 2.0
    VIPM 1.1 and 2.0 require the LabVIEW 8.2.1 run-time engine installed on your machine.
    See also:Where do I get the LabVIEW 8.2.1 Run-Time Engine?
    VIPM 1.0
    VIPM 1.0 requires the LabVIEW 8.0.1 run-time engine installed on your machine.
    See also:
    Smercurio is right, and their is no OpenG package for the newer VIs so you will actually want to get them directly from CVS.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • SQL 2012 install fails with 'Object reference not set to an instance of an object" On windows 8.1 Hyper-V

    Hi All,  
    Could you please help me here? On my Laptop which is running on windows 8.1 Operation system, I enabled the Hyper-V client feature and setup the Windows Fail-over Clustering using Windows 2012 Standard Edition. So, there are three machines which are running
    on the Hyper-V. Below are the machine details;
    1st machine - Working as Domain controller and its name is "ACONDomainGroup" and allocated to
    1GB RAM to use.
    2nd machine - Working as Node1 and its name is "AconNODE1W2K12STD"
    and allocated to 2.5GB RAM to use.
    3rd machine - Working as Node1 and its name is "AconNODE1W2K12STD"
    and allocated to 1.5GB RAM to use.
    and the windows virtual cluster name is "AconWinCLTR". While I am doing the SQL Cluster Installation, I am getting below mentioned error. all systems have 4.5 .net installed. May you please guide me where and what i am missing to complete sql clustering.....
      Update Source:                 MU
    User Input Settings:
      ACTION:                        InstallFailoverCluster
      AGTDOMAINGROUP:                <empty>
      AGTSVCACCOUNT:                 <empty>
      AGTSVCPASSWORD:                <empty>
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  MULTIDIMENSIONAL
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      COMMFABRICENCRYPTION:          0
      COMMFABRICNETWORKLEVEL:        0
      COMMFABRICPORT:                0
      CONFIGURATIONFILE:             
      ENU:                           true
      ERRORREPORTING:                false
      FAILOVERCLUSTERDISKS:          <empty>
      FAILOVERCLUSTERGROUP:          
      FAILOVERCLUSTERIPADDRESSES:    <empty>
      FAILOVERCLUSTERNETWORKNAME:    <empty>
      FEATURES:                      
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      IACCEPTSQLSERVERLICENSETERMS:  false
      INDICATEPROGRESS:              false
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL
    Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft
    SQL Server\
      INSTANCEID:                    <empty>
      INSTANCENAME:                  <empty>
      ISSVCACCOUNT:                  NT AUTHORITY\Network
    Service
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      MATRIXCMBRICKCOMMPORT:         0
      MATRIXCMSERVERNAME:            <empty>
      MATRIXNAME:                    <empty>
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      RSINSTALLMODE:                 DefaultNativeMode
      RSSHPINSTALLMODE:              DefaultSharePointMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 <empty>
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         <empty>
      SECURITYMODE:                  <empty>
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 <empty>
      SQLSVCPASSWORD:                <empty>
      SQLSYSADMINACCOUNTS:           <empty>
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  false
      UIMODE:                        Normal
      UpdateEnabled:                 true
      UpdateSource:                  MU
      X86:                           false
      Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup
    Bootstrap\Log\20140420_052344\ConfigurationFile.ini
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup
    Bootstrap\Log\20140420_052344\SystemConfigurationCheck_Report.htm
    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented
    Exception type: System.NullReferenceException
        Message: 
            Object reference not set to an instance of an object.
        HResult : 0x80004003
        Data: 
          HelpLink.EvtType = 0x9AF1AE5E@0x44A889F9
          DisableWatson = true
        Stack: 
            at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.ShouldRuleRun(Rule
    rule)
            at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.IsRuleSkipped(Rule
    rule)
            at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.LoadRule(String
    ruleId, List`1 ruleProperties, XmlSchema ruleSchema, XmlElementParserFactory elementParser)
            at Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngine.LoadRules(IEnumerable`1
    ruleIds)
            at Microsoft.SqlServer.Configuration.InstallWizard.RunRuleProgressController.Initialize()

    Dharmendra, the log details are incomplete are not sufficient enough for I guess anyone to help. Besides, from the details above, I can see that the Failover Cluster Disks are not selected:-
    FAILOVERCLUSTERDISKS:          <empty>
      FAILOVERCLUSTERGROUP:          
      FAILOVERCLUSTERIPADDRESSES:    <empty>
      FAILOVERCLUSTERNETWORKNAME:    <empty>
    Please mark the answer as helpful if i have answered your query. Thanks and Regards, Kartar Rana

  • Getting the document object cross-window

    Hello,
    I've been working on this application in which I have 2 windows.
    Now the main window needs to make a call to the sub window sending a single function.
    I have the following code to create the window:
    var options = new air.NativeWindowInitOptions();
    options.systemChrome = "none";
    options.type = "lightweight";
    options.resizable = true;
    options.maximizable = true;
    var winwid = 600;
    var winhei = 500;
    var mainWidowPos = new Array();
    var mainWindowPos = getTopLeft(winwid,winhei); //This function is to calculate the center of the screen
    var windowBounds = new air.Rectangle(mainWindowPos[0],mainWindowPos[1],winwid,winhei);
    newHTMLLoader = air.HTMLLoader.createRootWindow(true, options, true, windowBounds);
    newHTMLLoader.load(new air.URLRequest(url));
    Now that that window is created I need to make a call from window 1 to window 2 (the newly created one, the title of the window is SCR2_BILL).
    Maybe this table can clear it up:
    Window 1 (main)
    Window 2 (created by code)
    This code is in window 1 and is being called:
    for (var i = 0; i < air.NativeApplication.nativeApplication.openedWindows.length; i++) {
         if(air.NativeApplication.nativeApplication.openedWindows[i].title == "SCR2_BILL") {
              air.NativeApplication.nativeApplication.openedWindows[i].window.htmlLoader.stage.nativeWindow.hideBill();
    function hideBill() {
         document.getElementById('bill').style.display = 'none';
    The link does not exist because air.NativeApplication.nativeApplication.openedWindows[i].window.htmlLoader.stage.nativeWin dow is not an object. Does anyone know what the object is after openedWindows[i] which I can use to call functions from the document?
    Thanks in advance,
    Roelof
    PS: the code window 2 is executing is working, it has been tested.

    Hi Scott,
    Use ProcessMonitor from Microsoft and look in the logs to see if there are any Access Denied errors. Also look in the IIS logs and Event viewer to see if anything there is being logged.
    Anti-virus software logs is another place to look....
    Pop up blocker in the Browser maybe or possibly adding the new server name to the trusted list.... Domain permissions possibly...
    If you browse the App from the Server does that work?
    Don

  • How to use session object in windows application

    hi, I am programming in jdeveloper. i need to know that while i m making a web application i can use a session object for the particular session. now i m builiding a windows application for my final semester and i need to insert product id and then it should go to another frame and there it can store multiple information for a particular product id.
    e.g
    product id : 001
    next frame.
    filter name.
    filter position.
    when these are added then it should be able to add more filters for the same product id and i dont understand how to do that.
    Please let me know as i am lost and dont know how to proceed further. if some body wants to have a look on the codes he is most welcome.
    Waiting for an answer
    thank you

    Hi,
    in Swing applications you don't have a session object to store data. You can use a helper class though to act as a temporary memory. Just create a static class that has a hashtable method to add / read / remove data
    Frank

  • Running a shell command in windows

    Hi All,
    I am facing trouble trying to run the unix command in windows. I know that Runtime.getRuntime().exec(command) has to be used for this purpose. I have a slightly different requirement , i.e it is not simply executing the command.
    Before I execute a command say " export $KEY_SETTINGS " I need to invoke the mks shell and then execute a shell (which sets few variables).
    So the code which is written (not working though :( ) is
    osCommand = "export $KEY_SETTINGS "
    pathMKS = "C:\\temp1\\mksnt\\mksnt\\sh.exe";
    pathENV = "C:\\\\temp1\\\\temp2\\\\Environ.sh";
    command[0] = "cmd";
    command[1] = "/c";
    command[2] = pathMKS + " -c " + "\". " + pathENV + " ; " + osCommand + "\"";
    report.println("Comanda="+ command[0] + ' ' + command[1] + ' ' + command[2]);
    Process process = Runtime.getRuntime().exec(command);
    bufferedreader = new BufferedReader(new InputStreamReader(process.getInputStream()));
    bufferedreaderErr = new BufferedReader(new InputStreamReader(process.getErrorStream()));
    for(int i = 0; (s = bufferedreader.readLine()) != null && i < 1; i++) {
    commandOut = commandOut + s + "\n";
    report.println("Print env:" + s);
    while((s = bufferedreaderErr.readLine()) != null) {
    commandErr = commandErr + s + "\n";
    if (!commandErr.equals("")) {
    throw new RuntimeException("Error running command: " + command[2] + "\n. Error: " + commandErr);
    The error I am getting is
    "Error running command: C:\oracle\mksnt\mksnt\sh.exe -c ". C:\\oracle\\appl\\Apps.sh ; export $KEY_SETTINGS "
    Error: Export: not found.
    Please help me out in this.
    Best Regards
    Shrey

    Resending it again

  • Dispose objects during window closing

    I use vb to call java application through batch file (.bat) to connect to another java app to send message. Since the java application is executing in command prompt window, if the window accidentally closed, is it possible to close the connection, terminate loop, dispose objects properly during window closing? most importantly, the program at the other side knows the the connection is closed and message stop sending by the java app? Any suggestion?
    Thanks.

    Does your app have a fixed main window from where you launch other windows? If so, don't call System.exit(0) in windowClosing event for any of those windows except the main window and it would solve your problem.
    Otherwise you would need to somehow keep track of all the open windows in your application and in the windowClosing method you would check to see how many windows are open currently. If the window being closed is the only window open at that time, call System.exit(0). Else don't call it.
    Hope this helps.

  • Problem calling COM Object on Windows Server 2008 x64

    Hi,
    We are using 32 bits COM object called in Coldfusion page on 32 bits OS. It works fine since few years.
    Now we need to use it on x64 Windows Server 2008 and 64bits IIS.
    As I 've seen (http://www.coldfusionjedi.com/forums/messages.cfm?threadid=87869C67-B1 9B-288F-F32B6E8BAB3228CA ),a 64 bits process can only call 64 bits DLL.
    So we created a 64 bits Wrapper like this : http://www.dnjonline.com/article.aspx?id=jun07_access3264
    But  calling 64 bits COM Object still raises the same error (" The cause of  this exception was that: java.lang.RuntimeException: Can not use  native  code: Initialisation failed") whereas it works fine with a 64 bits  executable created in .NET for example.
    Is there a known issue about this subject?
    Sorry for english , I'm a french developper.
    Thanks in advance.

    Can somebody please share the solution for this issue?
    I am facing similar issue with Windows 2012 R2 x64 OS and Excel 2007(32-bit) combination.
    I tried couple of things like Excel is able to Open an existing workbook on my system but fails to
    create a new Workbook as done by invoking the "Add" command. It fails with Error 800a03ec.
    I tried creating the two folders i.e. C:\Windows\SysWOW64\config\systemprofile\Desktop & C:\Windows\system32\config\systemprofile\Desktop, but could not get it working.

Maybe you are looking for

  • Case function in where clause

    i insert the below rows in a table cash_book. PRJ_CODE PRJ_NAME 1203 SHIFA 1203 SHIFA 1203 SHIFA 1202 FATIMA 1202 FATIMA 1203 SHIFA if i select 1202 code then return 1202 code rows, if i select 1203 then returns 1203 code rows, if i select other than

  • Wirerless router

    Afternoon, I want to have wireless internet access. My Verizon DSL box is a MODEL 6100G. Do I need Verizon to send me a new router to have wireless access or can it be done with what I have?

  • Open AR Invoice-Drafts via UI-Api

    Hy All! Im loocking for a way to open the window of a AR Invoice-DRAFT using the UI. I need to open a specific Draft that i added bevore via DI, so i know the DocEntry aso. of my Drafts. I can't open the invoice-form, set it to "Search" mode and sear

  • How to add properties to Channels in Portal Server 7

    hi, When in the Portal Server Console in the Manage Containers and Channels section I can easily edit the properties for the configured items. Now I want to add a property to, let's say, the SearchProvider or the preconfigured Search of the Developer

  • Zen Wont Turn On... Somebody... Please HELP ME

    I recently bought a Creative Zen Micro, and it was working great! til one day i was listening to it til it just died. Then i went to charge it and it wouldnt charge! the light wouldnt come on or anything. I couldnt turn it on or charge it since. But