dmajic7755
asked on
Mschart ocx in Windows 7
I've loaded Visual Studio 6 w/VB6 on a 32 bit Win7 machine. I'm trying to run a program developed under XP. I cannot get the mschart.ocx to load:
Line 19: Property OleObjectBlob in MSChart1 could not be set.
Line 19: Cannot load control MSChart1; license not found.
I've tried all the fixes suggested without luck. The VB program complied under XP works fine on the Win7 machine.
Thoughts or suggestions?
Line 19: Property OleObjectBlob in MSChart1 could not be set.
Line 19: Cannot load control MSChart1; license not found.
I've tried all the fixes suggested without luck. The VB program complied under XP works fine on the Win7 machine.
Thoughts or suggestions?
Refer: http://support.microsoft.com/default.aspx?scid=kb;en-us;177799
Option:
Try unregistering with regsrv32.exe /u and then re-register it
regsrv32.exe /u mschart.ocx
regsrv32.exe mschart.ocx
Try unregistering with regsrv32.exe /u and then re-register it
regsrv32.exe /u mschart.ocx
regsrv32.exe mschart.ocx
sorry its regsvr32.exe
Command Prompt right click Run as administrator
C:\Windows\System32\regsvr 32.exe mschart.ocx
Command Prompt right click Run as administrator
C:\Windows\System32\regsvr
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Supported and unsupported statements in VB 6 under windows 7:
http://msdn.microsoft.com/en-us/vbasic/ms788708.aspx
http://msdn.microsoft.com/en-us/vbasic/ms788708.aspx
ASKER
Replaced MSChart object on form and everything worked correctly. Thanks