This is VB for "create an instance of COM object Illustrator.Application". In order for this code to work you this COM object must be registered on the machine running the code.
You can achieve a similar thing in .NET using COM Interop (search google). If you are using Visual Studio it couldn't be simpler (as VS will generate a COM Interop assembly for you). Right click "references" in your project, goto add new reference. A dialog will popup which should have a "COM" tab. In this tab you should find an entry such as "Illustrator Application Object". Add this as a reference and your project should have access to a namespace like "Illusrator.ApplicationObject" which will have identical properties and methods used in your VB Application.
That's right. Now, read the rest of what he said - google for COM interoperability. CreateObject uses the registry to identify the locations of the relevant parts of the application that it needs to run with - it then (behind the scenes) calls the CoCreateObject, QueryInterface, other COM initialization routines. .NET provides this for you through Interop - read up on it, because people aren't going to spoonfeed you with the exact answer. You have to do some work for yourself.
Deja View - the feeling that you've seen this post before.
iam parsing text file into xml output.
when iam parsing textfile iam getting exception is
"Token StartElement in state Epilog would result in an invalid XML document"
why im getting this exception can anyone suggest me.
advancedly thank you for giving suggestions.