Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RE: Inno compiler 2

Status
Not open for further replies.

beedubau

Programmer
Jan 7, 2003
97
AU
I have been using Inno for a number of years. Now in my latest usage I fail to get the program name on the taskbar icon when my VFP program is running. I've never experienced this before and don't know where to look.
Can anyone help

Beedub
 
I doubt if this is anything to do with Inno. Inno is presumably correctly installing your application (otherwise you wouldn't be able to run it), so the fault lies elsewhere.

You say there is no "taskbar icon". Just to be clear: are you referring to the Windows taskbar? And, if so, are you saying that you can see application in the taskbar but it has no icon? Or is the application completely absent from the taskbar?

If the former, it might simply be a question of setting the _SCREEN.Icon property. See this article if you need any further information about this: Do your application icons always show up?

If the latter, that's more difficult to diagnose. Perhaps you could clarify exactly what the problem is before we spend any more time on it.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Well Mike I said " I fail to get the program name on the taskbar icon "

I see the icon with the line under it showing the app is running but no program name that I see on all other icons.

Thanks Mike

BeeDub
 
Sorry, I missed the word "name" in your post.

So you are seeing the icon in the taskbar, but not the prograsm name? In that case, you need to set [tt]_SCREEN.Caption[/tt] to the name that you want to see. In general, the taskbar name is the same as your main window title.

If you are using a top-level form (with _SCREEN not visible), then it is that form's caption that you would need to set to the required name.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
True, when your program is running, the caption of the main form is the determining value.

The situation your setup is responsible for is the non running application only. When the application is pinned the text displayed when hovering the taskbar icon of the application NOT running is determined by the product name.

For example pinning VFP9 to the taskbar the icon caption is "Microsoft Visual Foxpro 9.0" when VFP is not running and "Microsoft Visual Foxpro" (note: without the 9.0), when VFP9 runs. And if you set _SCREEN.Caption to "VFP10" that'll also be reflected in the taskbar tooltip text when hovering.

In a running browser the text will be the title of the active tab. So forget about the product name to be the only caption.

Bye, Olaf.

 
Hi Folks,
I found a period in the caption of my main form. When I replaced that with the name of my app the problem was solved - phew!

Thank you very much.
BeeDub
 
I can't think why a period within the caption would be a problem. If you set the caption to, say, [tt]Hello.World[/tt], then that would be the text you see in the taskbar.

But never mind. I'm glad to hear you solved it. Thanks for letting us know.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
I was seeing the period '.' next to the icon on the title bar but hadn't worked out where it was coming from =duh!

BeeDub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top