hi experts,i need yr help guys,
I am converting vb application to vb.net 2005,
It generates lots of error,
i fixed the all error,
but still i am getting the problem,
at the time of form loading it gives the error,
ie
The type initializer for 'TimeandAttendanceSystem.Module1' threw an exception.
when i click on "View Detail"
{"The
type initializer for 'TimeandAttendanceSystem.Module1' threw an
exception."} - {"The type initializer for
'TimeandAttendanceSystem.Module1' threw an exception."}
Inner
exception - {"Retrieving the COM class factory for component with CLSID
{C58A8F87-CAA0-11D8-8486-0050BA8CA867} failed due to the following
error: 80040154."}
Problem migrating from vb to vb.net
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Mahesh ChandRank #1 · 393.2K reputationPosted Mar 3, 2010, 5:18 PM EST
Abhi Singh3 reputationPosted Mar 3, 2010, 6:42 PM EST
thx for yr reply,
I am using vb.net 2005 conversion method,
But there is lots of error are generated,
& the previous Code is in vb & that project was developed by my senior,
Please suggest me which one will be benificial for me.