Re: EnableShellOpen() for windows mobile



Your entry in the registry which makes the association does not provide a
command line parameter to the application where the path and name of the
file to be opened will be placed by the shell, probably. You've got some
entry that looks a bit like this:

[HKEY_CLASSES_ROOT\<whatever>\Shell\Open\Command]
@="\"\\<exepath>\\<exename>.exe\" %1"

I think that the %1 might be missing.

Possibility #2 is that, although %1 is there, your application is not
handling it correctly because of spaces in the file path. You might need to
put quotes around the name "%1" or you might need to adjust your program to
use the whole command line as the file name.

Possibility #3 is that your program was already running on the device, if
it's a Pocket PC, this is particularly likely, and so the name of the file
doesn't get sent in the same way. If you're more-specific about what
program, what file, what the device is, what the state of running programs
are, we might be able to help more...

Paul T.


"stopin" <stopin@xxxxxxxxxxxxx> wrote in message
news:%23BnKET49GHA.360@xxxxxxxxxxxxxxxxxxxxxxx
Hi folks,

I am looking for the equivalent of CWinApp::EnableShellOpen( ) on windows
mobile 5.0 platform. I simply want to be able to open a file with my
application when selecting it in the Explorer.
I did the file type association in the install program (using
InstallShield) but when I select a file in the Explorer it only launches
my application and doesn't open the file.

What did I miss?
Thanks in advance,

--
ST
---------------------------
stopin@xxxxxxxxxxxxx



.



Relevant Pages

  • Re: Great SWT Program
    ... Invisible extra things to backspace away are going to trip ... This indicates that Windows is not seeing the same input ... drag and drop oddities in Explorer indicate a similar problem; ... command prompt instead of a different task; ...
    (comp.lang.java.programmer)
  • Re: Blank message bodies ... more
    ... I followed both the suggested methods, Command ... Prompt and Explorer Address Bar, ... Cleanup, to clear the TIF. ... What the View of the pseudo folder is showing you is a combination ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: 3 icons missing from startup
    ... [[Allows you to remove the Run command from the Start menu, ... Explorer, and Task Manager. ... Run dialog box by pressing the Application key (the key with the Windows ... Search does not appear in the context menu when you right-click an icon ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Automatize copy in Sharepoint
    ... the COPY command to copy files to and from the ... From Windows Explorer, click File -> Map Network Drive. ... ".cmd" to the Link that creates of the directory of the server but does ... Somebody knows alternatives to automate a publication? ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Reg Editing
    ... > Hide all Desktop Icons ... > Remove File Menu from Explorer ... > Remove Find Command from Start Menu ... > Disable Right Click Menus of the Taskbar, Start Button, Clock, and Taskbar ...
    (microsoft.public.windowsxp.embedded)