AdvancedHMI Software

General Category => Support Questions => Topic started by: robkwan on June 23, 2015, 11:32:24 AM

Title: Failed to create component ...
Post by: robkwan on June 23, 2015, 11:32:24 AM
I am using AdvancedHMIBetaV398r in VS2010 Pro with SP1.
Add a new project under the Solution "AdvancedHMIv35" root. Drag & drop an AdvancedHMI control results in the failed to create component dialogbox and closes VS2010. This happens every time on a new project on an empty form. Some AdvancedHMI components work, but I need to keep d & d until one works, then I can go back to use the ones that didn't work. The ones that work or do not work are not consistent.

What did I miss?
Title: Re: Failed to create component ...
Post by: Archie on June 23, 2015, 12:28:41 PM
Did you add a driver to the form before adding the control?
Title: Re: Failed to create component ...
Post by: robkwan on June 23, 2015, 04:00:08 PM
Add driver then control seems to fix the failed to create component error.
Title: Re: Failed to create component ...
Post by: Archie on June 23, 2015, 10:05:46 PM
I did fix this so it won't give the exception. If you do not add the driver first, you do have to remember to set the ComComponent on the controls after the driver is added.