VB22
Oct 11th, 2007, 05:15 AM
Hello everyone,
I've been making simple VB apps at work for the last couple of years. The method I have used with success is to compile the EXE onto a network drive, and put a shortcut on the user's desktop to it. However, I have recently run into trouble with my latest project which uses a MSFlxGrd, as the exe will only run from my PC, not anyone elses - they get the message: "failed to load control 'msflexgrid' from msflxgrd.ocx. Your version of msflexgrid.ocx may be outdated. make sure you are using the version of the control that was provided with your application"
I have spent the last couple of days reading up on this and have got a bit confused to be honest (this is the first time something's not worked). I am aware that it's because some non-standard runtime files are required on the user's PCs to support msflexgrid - but using something like the package and deployment wizard isn't a solution for me as user's don't have permissions to install applications - and anyway, I don't want to 'install' it on their PC - just give them a link to the program on a network drive.
I've managed to copy MSFlxGrd.ocx into the system32 folder on one of the PCs and register it using regsvr32, but despite getting a 'successfully installed' message - the exe with the msflexgrid in it still gives the error message above and won't run. Why is this?
So, I was wondering which other files I need to copy across and register. What about msflxgrd.dep or msflxgrd.oca?
Thanks in advance for any advise people can give me
I've been making simple VB apps at work for the last couple of years. The method I have used with success is to compile the EXE onto a network drive, and put a shortcut on the user's desktop to it. However, I have recently run into trouble with my latest project which uses a MSFlxGrd, as the exe will only run from my PC, not anyone elses - they get the message: "failed to load control 'msflexgrid' from msflxgrd.ocx. Your version of msflexgrid.ocx may be outdated. make sure you are using the version of the control that was provided with your application"
I have spent the last couple of days reading up on this and have got a bit confused to be honest (this is the first time something's not worked). I am aware that it's because some non-standard runtime files are required on the user's PCs to support msflexgrid - but using something like the package and deployment wizard isn't a solution for me as user's don't have permissions to install applications - and anyway, I don't want to 'install' it on their PC - just give them a link to the program on a network drive.
I've managed to copy MSFlxGrd.ocx into the system32 folder on one of the PCs and register it using regsvr32, but despite getting a 'successfully installed' message - the exe with the msflexgrid in it still gives the error message above and won't run. Why is this?
So, I was wondering which other files I need to copy across and register. What about msflxgrd.dep or msflxgrd.oca?
Thanks in advance for any advise people can give me