Author Topic: VB Crashes  (Read 1858 times)

geneshults

  • Newbie
  • *
  • Posts: 9
    • View Profile
VB Crashes
« on: November 05, 2013, 02:40:43 AM »
I have installed VB 2010. Started up VB and did everything that QuickStart stated. When I go to tool bar and grab a componet and drag to mainForm I get a message stating as follows:
Failed to create componet
System. NullReference Execption:
Object reference not set to an instance of an Object.
VB bombs out and restarts. This happens with every object in AdvanceHMI Toolbox.

Help Please
Gene

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: VB Crashes
« Reply #1 on: November 05, 2013, 07:27:50 AM »
I was able to replicate this by starting with a new project and adding a visual control first. If I add the driver first, then a visual control second, it does not happen.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: VB Crashes
« Reply #2 on: November 09, 2013, 11:11:31 AM »
This seems to be related to Visual Studio 2010. I tried the same sequence in VS 2013 and it works fine.

geneshults

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: VB Crashes
« Reply #3 on: November 09, 2013, 01:32:44 PM »
Yes that fixed it...
THanks so much.
Need to get Plc hooked up and try some real time action.

Thanks Again
Gene