Using Visio InterOp in VB.Net - Loading Visio silently

Discussion in 'Microsoft Dot NET Framework Forms' started by Dean Richardson, Jul 31, 2007.

  1. Hello,

    I am having problems loading the visio application silently. When I
    load word in the background in VB.NET, it remains hidden and the user
    doesn't know its loaded.

    However, when I load Visio in the background, the window pops up and
    then disappears. Is this a fault with the visio interop libraries, or
    can this be fixed?

    At the moment, I am using the same code that opens word to open visio.

    Is there a better way to open visio in VB.NET?

    Thanks in Advance.

    Dean
     
    Dean Richardson, Jul 31, 2007
    #1
    1. Advertisements

  2. Dean Richardson

    RobinS Guest

    It might be easier to help you if you post the code you are using.

    Robin S.
    ---------------------------------
    "Dean Richardson" <> wrote in message
    news:...
    > Hello,
    >
    > I am having problems loading the visio application silently. When I
    > load word in the background in VB.NET, it remains hidden and the user
    > doesn't know its loaded.
    >
    > However, when I load Visio in the background, the window pops up and
    > then disappears. Is this a fault with the visio interop libraries, or
    > can this be fixed?
    >
    > At the moment, I am using the same code that opens word to open visio.
    >
    > Is there a better way to open visio in VB.NET?
    >
    > Thanks in Advance.
    >
    > Dean
    >
     
    RobinS, Aug 20, 2007
    #2
    1. Advertisements

  3. Dean Richardson

    sjover

    Joined:
    May 11, 2011
    Messages:
    1
    Likes Received:
    0
    I've the same problem
    I'd like to create a Visio Document silently but Visio is opened!!!

    This is my code:

    Dim vApp As Microsoft.Office.Interop.Visio.Application
    Dim vDoc As Microsoft.Office.Interop.Visio.Document
    vApp = New Microsoft.Office.Interop.Visio.Application
    vDoc = vApp.Documents.Add("")
    vDoc.SaveAs("c:\temp\Item1.vsd")
    vDoc.Close()
    vApp.Quit()
    vDoc = Nothing
    vApp = Nothing
     
    sjover, May 11, 2011
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Richa

    Visio like drawing capability in VB .Net

    Richa, Oct 12, 2003, in forum: Microsoft Dot NET Framework Forms
    Replies:
    2
    Views:
    1,822
  2. M.M Ansari

    How to create VISIO organizational chart in VB.NET

    M.M Ansari, May 24, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    1
    Views:
    1,207
    James Westgate [Crainiate]
    May 24, 2004
  3. DraguVaso

    running *.reg-file silently

    DraguVaso, Jul 5, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    7
    Views:
    279
    Marc Scheuner [MVP ADSI]
    Jul 6, 2004
  4. Guest

    where find a 'color comboBox' as used in Visio?

    Guest, Aug 9, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    3
    Views:
    671
    Morten Wennevik
    Aug 10, 2004
  5. gurry

    .Net form as child of Visio window

    gurry, Apr 9, 2008, in forum: Microsoft Dot NET Framework Forms
    Replies:
    0
    Views:
    190
    gurry
    Apr 9, 2008
Loading...

Share This Page