Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System.Windows.Forms.DLL Error May be cause by Microsoft Update

Status
Not open for further replies.

bdc138

MIS
Sep 7, 2002
16
US
I am having some issues with Visual Basic 6.0 and Visual Basic NET. A recent Microsoft Windows update (Microsoft.NET Framework 2.0: x86 (KB829019)) which became available in late January was installed a few of our computers. This update seems to have caused a conflict in some system DLL's associated with our projects. We are unable to run any of our VB programs (in both VB 6 and VB.NET) because of errors during compilation. The programs are running fine on computers that have not received this update. We've researched the problem on-line without finding a solution to the problem. The main issue seems to be with the DLL System.Windows.Forms. I've examined the DLL's on several machines, and that seem to have the same date of modification. I've tried uninstalling the update through Add and Remove Programs, which does not work, probably due to registry entries that are not being changed back. I've also tried uninstalling VB.NET and reinstalling the program, however, this seems to be a problem with System DLL's in Windows, not in VB. I've pasted some error code generated by VB below. Any tips would be much appreciated.

System.Runtime.InteropServices.COMException (0x80040154): Class not registered
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top