none
Exception in VS 2005 and Win 7

    Question

  • Hi

    I am trying to debug in my Test application in VS 2005 and OS is win-7 (Administrative privilage).

    I want to run the visio with GetObject , but it through an exception in GetObject function.

    Cannot create ActiveX component. Dim

     

    VisioApplication As Visio.Application= GetObject(, "Visio.Application")

    How to get ride of this , I couldnt debug my application in win 7.

    Thanks

    Jeeban


    Thanks Jeeban
    Monday, May 31, 2010 10:25 AM

Answers

All replies

  • Is visio installed? Are you building a VSTO or ActiveX applications? What is the application type (can't build  a type any if you only have the x86 installed)?

    Can you build and run any of the .Net applications from the visio sdk (goes to verifying that every thing that needs to be installed and activated is working correctly)

    al

     

    Monday, May 31, 2010 2:23 PM
  • Ya Edlund

    Everthing is installed. I think it may be the permission issue because i have win 7 os.This programe is running fine with XP os .

    This is just a Test Application, trying to get the visio application.

    If VisioApplication As New Visio.Application, then it is working.But the GetObject or CreateObject is not working.

    Thanks

    Jeeban


    Thanks Jeeban
    Tuesday, June 1, 2010 4:25 AM
  • Ya automatically the GetObject command works,

    I think the installation of VS2005 SP1 works.


    Thanks Jeeban
    Thursday, June 3, 2010 5:23 AM