I was running this sample in C# and noticed a problem with the sample code.
In the GetSQL method:
Dim strm As Stream = Asm.GetManifestResourceStream( _
Asm.GetName().Name + "." + Name)
I believe the Asm.GetName().Name is incorrect. the format for resource files is Namespace.filename not AssemblyName.FileName. string[] validate = asm.GetManifestResourceNames() will validate this finding as well as other msdn documentation.
This following is a better statement, since a project assembly and default namespace are not likely the same in a real world application.
Dim strm As Stream = Asm.GetManifestResourceStream( _
asm.GetType(this.ToString()).Namespace + "." + Name)