Hello and thanks for the help.

I have an app in VFP 9 in which I am using the systray class.

When I run the app in the IDE, everything works fine. The systray icon
appears and responds to mouse events.

When I compile the app and run the EXE version, there is no systray icon. Is
there a DLL associated with the systray VCX that I need to distribute?

Thanks,
Jeff

Re: systray class does not show systray icon in EXE by Jeff

Jeff
Tue Mar 11 09:42:20 CDT 2008

The problem was that the icon file wasn't present where the EXE was being
launched from. Putting the icon file with the EXE solved the problem.

"Jeff Grippe" <jeff@door7.com> wrote in message
news:13td3kho7955gf0@news.supernews.com...
> Hello and thanks for the help.
>
> I have an app in VFP 9 in which I am using the systray class.
>
> When I run the app in the IDE, everything works fine. The systray icon
> appears and responds to mouse events.
>
> When I compile the app and run the EXE version, there is no systray icon.
> Is there a DLL associated with the systray VCX that I need to distribute?
>
> Thanks,
> Jeff
>



Re: systray class does not show systray icon in EXE by Sergey

Sergey
Tue Mar 11 20:59:34 CDT 2008

Hi Jeff,

The Systray icon can be included in EXE if you change following line in
the LoadIcon method of the class:
COPY FILE (cIconFileName) TO (cTempFileName)
* to
STRTOFILE(FILETOSTR(cIconFileName), cTempFileName)


--
--sb--

VFP MVP
Jeff Grippe wrote:
> Hello and thanks for the help.
>
> I have an app in VFP 9 in which I am using the systray class.
>
> When I run the app in the IDE, everything works fine. The systray icon
> appears and responds to mouse events.
>
> When I compile the app and run the EXE version, there is no systray icon. Is
> there a DLL associated with the systray VCX that I need to distribute?
>
> Thanks,
> Jeff
>
>