open adobe illustrator application

chidambaram

Well-known member
Joined
Dec 27, 2007
Messages
62
Location
Chennai,India
Programming Experience
Beginner
hi everybody,

i need to open an adobe illustrator document using VB.NET.

My code is
VB.NET:
        Try
            Dim illusapp As New Illustrator.Application
            Dim illusdoc As Illustrator.Document
            'illusapp.Visible = True
            illusdoc = illusapp.Open("C:\Documents and Settings\Acer OEM User\Desktop\Sample\one.eps")
            illusdoc.Activate()
        Catch ex As Exception
            MsgBox(ex.ToString())
        End Try

If illustrator application is already opened then the specified file is open and visible to us.

But if the application is not opened previously then the file is not visible to us.

i cant able to set the visible property. It shows the error as "Read only property"

How can i make it as visible?

Thanks in advance....
 
Back
Top