CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2007
    Posts
    68

    Creating an instance of MS Project Application fails in VB .Net

    In my VB .Net code, I am trying to create to launch MS Project Application.
    Dim prjApp As Microsoft.Office.Interop.MSProject.Application = New Microsoft.Office.Interop.MSProject.Application

    But I am getting the exception as follows:

    "Creating an instance of the COM
    component with CSSID {36D27C48-A1E8-11D3-BA55-00C04F72F325} from the
    IClassFactory failed due to the following error: 80010001".

    Note: This exception happens in 64 bit Windows 7 German OS. But the same code runs successfully in 32 bit Win XP (German and English) and 64 bit Windows 7 English OS.

    I have even tried the following steps in German 64 bit Win 7
    1. Running the application in Administrator mode
    2. Setting UAC to low.
    3. Re-installing MS Project in German 64 bit Win 7.

    But still the problem occurs. Can some one please help me in resolving this issue.
    Last edited by zuhrs; April 18th, 2012 at 09:33 PM.

  2. #2
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: Creating an instance of MS Project Application fails in VB .Net

    The Office Interop version on the "64 bit Windows 7 German OS" is older that the version on the developing system...

    see this MSDN Thread for more info..
    Attached Images Attached Images  
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured