I have a huge headache over this issue so ill just get right into it, the clients just got new windows 7 pro machines, they were using windows xp machines with no issue with this custom vb app, heres the error that pops up when they try to bring up the payment form to make a payment for a customer:
An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Source = System.Windows.Forms StackTrace = " at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid) at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid) at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid) 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() at WaynokaCampground.frmMakePayment.InitializeComponent() in C:\Users\aj\Desktop\Waynoka Apps\Waynoka Campground\Waynoka Campground\MemberLookup\frmMakePayment.Designer. vb:line 681 at WaynokaCampground.frmMakePayment..ctor() in C:\Users\aj\Desktop\Waynoka Apps\Waynoka Campground\Waynoka Campground\MemberLookup\frmMakePayment.vb:line 12"
PLEASE LET ME KNOW IF I NEED TO GIVE ANY MORE INFO ABOUT THE ERROR
On my dev machine I could only regenerate the error that was poppung up on the client machines when I changed the "Target CPU" to 'Any CPU' or 'x64'. This error does not pop up on my dev machine if the Target CPU is set to x86.
I figured I need to register something on the client machines but for the life of me I cannot figure out what to register, nor do I fully know how to register a DLL/COM file. Hopefully somebody out there is reading this and is laughing at this issue while they are typing out the solution because I am beyond frustrated. Thanks SO SO SO much for your time!