>Hi everybody,
>I have an program that reads from comm1.I have a form with an exit button and and mscomm32 control.in oncommm=2 event I read the input buffer.So I copy this exe on another computer, copy the mscomm32.ocx in winsys dir, register it with regsvr32 , copy the dll in the same directory but at run time i get the message "cannot start vfp.cannot load resources".What could be the problem? Do I have to declare somehow that I'm using that control even if I included it in the form???
You have to properly install the VFP runtime, not just the .EXE; copying files blindly is not an acceptable install. Build an installation set using Setup Wizard or VSI that includes the runtime, the MSCOMM control and the executable; they will ensure that the proper components areaight locations and registered.