I am trying to easily display a full sized jpg on the screen without much luck.
I have created a demo of an application written in Foxpro 8.0. In the production version, I call up a third party mapping program to display a distribution network in North America. For the demo version, I just want to display a snapshot pic of one of the maps as I can't distribute the mapping program without paying for it.
I call the mapping program from within a form where I set up certain parameters for the map. I have created some code as follows that displays the jpg just as I want it in a window.
DEFINE WINDOW mapdisp from 0,0 TO 50,120 CLOSE GROW ZOOM FILL FILE;
"optinetdem.jpg" TITLE "Mappoint Bread Demo" float
ACTIVATE WINDOW mapdisp
It works fine in development, with the jpg showing up in the development screen. But when I run it as an exe, nothing shows.
Does anyone have any ideas of what I can do to show this jpg. Maybe I shouldn't be using the activate window. Any ideas would be welcome.
Thanx,
Ralph Skrzydlo
I have created a demo of an application written in Foxpro 8.0. In the production version, I call up a third party mapping program to display a distribution network in North America. For the demo version, I just want to display a snapshot pic of one of the maps as I can't distribute the mapping program without paying for it.
I call the mapping program from within a form where I set up certain parameters for the map. I have created some code as follows that displays the jpg just as I want it in a window.
DEFINE WINDOW mapdisp from 0,0 TO 50,120 CLOSE GROW ZOOM FILL FILE;
"optinetdem.jpg" TITLE "Mappoint Bread Demo" float
ACTIVATE WINDOW mapdisp
It works fine in development, with the jpg showing up in the development screen. But when I run it as an exe, nothing shows.
Does anyone have any ideas of what I can do to show this jpg. Maybe I shouldn't be using the activate window. Any ideas would be welcome.
Thanx,
Ralph Skrzydlo