I still develop programs in version 6 of VFP.
Today I noticed something strange. I created a form with an OleDragOver/OleDragDrop object on it.
In the development environment, the vfp IDE, everything worked fine as expected.
But in the compiled executable the Drag and Drop did not fire. Even the drag icon did not appear. Only the black STOP icon showed up.
I made a new test project and in this one the Drag and Drop did also work in the EXE.
But in the original project the EXE refused to work, no matter what I changed.
After hours of testing and debugging I found the solution. In the File Description box, you can see that under the Version button when compiling to an executable, I had some text and one word of that text seems to be a trigger word for VFP6. The word was "update".
When I deleted that word in the File Description, everything worked just fine.
Another hint is the icon of the exe or shortcut. If "update" is in the description a shield is visible in that icon. But I never expected that the exe would behave different with or without that shield. It never did untill today. But now it did with drag and drop.
So that leaves the question: Are there more words than "update" that act as a trigger word? Anybody info on that?
Today I noticed something strange. I created a form with an OleDragOver/OleDragDrop object on it.
In the development environment, the vfp IDE, everything worked fine as expected.
But in the compiled executable the Drag and Drop did not fire. Even the drag icon did not appear. Only the black STOP icon showed up.
I made a new test project and in this one the Drag and Drop did also work in the EXE.
But in the original project the EXE refused to work, no matter what I changed.
After hours of testing and debugging I found the solution. In the File Description box, you can see that under the Version button when compiling to an executable, I had some text and one word of that text seems to be a trigger word for VFP6. The word was "update".
When I deleted that word in the File Description, everything worked just fine.
Another hint is the icon of the exe or shortcut. If "update" is in the description a shield is visible in that icon. But I never expected that the exe would behave different with or without that shield. It never did untill today. But now it did with drag and drop.
So that leaves the question: Are there more words than "update" that act as a trigger word? Anybody info on that?