Hi all,

I don't know if this has been asked before, but I could not find anything relevant by searching. So, decided to start new thread.

THE PROBLEM
I am writing a VB.NET program that includes a COM component, which (i guess) might not be available on all target machines. As the component just adds bells and whistles to my app, and does not have anything to do with the main purpose, I wanted to find a way to continue execution of the app on the systems without the dll.

The problem is, the app crashes with a "*.dll" not found error.

EXAMPLE
I want something that would fit this format :

Code:
' Pseudo-code

If DllFound() Then              ' DllFound checks the existence of the Dll
     TextToSpeech(Msg)
Else
     TextBox1.Text = Msg
End If
Please help me figure out the DllFound() function.

Thanx in advance.