Re: Setup-Deployment and Initial Window Focus

Tech-Archive recommends: Fix windows errors by optimizing your registry



On 14 Sep, 11:14, Andy <andy.and.suzanne.coo...@xxxxxxxxx> wrote:
On 14 Sep, 11:04, Peter Duniho <NpOeStPe...@xxxxxxxxxxxxxxxx> wrote:





Andy wrote:
[...]
Can anyone explain how I can get the program menu version to behave
the same as the desktop icon?

What version of Windows are you using?

Not that I actually know the answer specifically, regardless of the
version of Windows you're using, but it could be important.

I think there's at least a 50/50 chance this has nothing to do with
.NET, and everything to do with some specific behavior of the OS shell
that's launching the application. I haven't run into the behavior with
my own .NET setup-installed programs, so I can at least say that it
works some of the time. :)

It would be interesting to know if this happens with a minimal
application as well, or if you only have the problem with this specific
application. If the latter, then there may indeed be something about
your application that is causing the problem; figuring out what that is
would likely be a simple matter of a process of elimination, removing
customized behavior in your application until it starts working the way
you want it to.

Pete

Hi Pete,

Many thanks for the prompt reply.

I am using Windows XP Pro.

I have just tried copying the desktop shortcut and over-written the
program menu version but this does not change the odd behaviour.

I will create a simple Windows application and setup project from
scratch and see if this feature still happens.

Thanks,

Andy- Hide quoted text -

- Show quoted text -

Following on from the above, I created a simple application that
displays a form (with no added controls or code). The program menu
shortcut behaves the same way as the desktop shortcut - the window has
the focus when the application is started. Therefore I conclude that
this is not an XP issue but something to do with .NET.

.



Relevant Pages

  • Re: Setup-Deployment and Initial Window Focus
    ... Can anyone explain how I can get the program menu version to behave ... the same as the desktop icon? ... version of Windows you're using, ... shortcut behaves the same way as the desktop shortcut - the window has ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: New and Notable - Toei anime legal downloads - PreCure
    ... I haven't tried MPlayer under Windows on anything except for files ... I would absolutely not expect MPlayer to behave any ... a file physically on the local computer. ...
    (rec.arts.anime.misc)
  • Re: Photoshop Elements - is it really this bad?
    ... Perhaps other OS don't behave the same. ... I think you are describing the Elements Organizer. ... stipple in the lower right on their 'mac-style' gui, ... Let's try hard to make it not use the windows appearance settings ...
    (comp.periphs.scanners)
  • Re: GetPrivateProfileString() retrieves data but strips "", ????
    ... I am using vb5. ... functions to behave. ... they turned up a long time before Windows ... IMO the best trick is to roll your own INI file handler ...
    (microsoft.public.vb.general.discussion)
  • Re: IE dehanced?
    ... There are still people who prefer things from Windows 3.11 for ... Second, Wordperfect's "Reveal Codes" view, in which you could see ... Figuring out what exactly is causing one paragraph to behave one way ... Longing for DOS - that's pure masochism! ...
    (microsoft.public.windowsxp.general)