vb.net How can i kill the application that i created using createObject()-Collection of common programming errors
I’m using CreateObject(progId)
in Vb to create a pdfDOcument
. But the problem is that after i’m done and closing the document and release, How can I shutdown the process?
How can I reference the process and know if it was already open by the user before I created the object? And how can I kill the process if the process was not running before I created the object (pdfDocument
)?
Is there better strategies than to use CreateObject()
?