Hi Steve,
Did the problem occurred in the compile time or runtime?
You may try to follow the steps below to see if the problem persists.
1. Open Visual Studio .Net command prompt
2. Navigate to .Net framework directory
WindowsDirectory\Microsoft.NET\Framework\v1.1.4322 (If you are running .net
framework 1.1 otherwise use 1.0)
3. Run following command to register Microsoft.VisualBasic.dll assembly
with COM:
regasm Microsoft.VisualBasic.dll /codebase /tlb
4. Rebuild your solution Please let me know whether that works for you.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.