Re: Open file from drag over application Icon

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



You have to make sure that your application is the default application for
files with whatever the extension you support. So if for notepad .txt is the
extension. This can be done when installing the application. the setpup and
deployment or InstallShield packaging gives you the option to register your
app as the default app for a extension. If you are looking to do it from
C-Sharp code, I am noot sure, but would be possible..

VJ

"Rob" <Rob@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8F9676C2-D792-47EB-8FFE-03ED46E62FAB@xxxxxxxxxxxxxxxx
Yes.

Just like you can do with notpad or word.

"VJ" wrote:

you are trying to do darg drop over a desktop icon??

VJ

"Rob" <Rob@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DAC9A5E2-198D-44F4-9498-8DBCF2221EF8@xxxxxxxxxxxxxxxx
Hi all,

I want to fire the drag events when someone drags a file over the
application's icon. This means the application has not opened yet.

Scenario would be:
1. user selects file they want to open through the app
2. user drags file onto the app's icon (desktop) or from "Send To"
popup
3. app opens upon "drop"
4. app recognized the file that was dropped on it and opens the file
from
the application

If this is not clear, just let me know.

Thanks!






.



Relevant Pages

  • Re: Running other applications
    ... associated with a file type (extension). ... file and calling FindExecutable: ... ByVal lpDirectory As String, ByVal lpResult As String) As Long ... > The app is a program called Data Junction. ...
    (microsoft.public.vb.general.discussion)
  • Re: Avaya IP Office TSP unpredictable lineMakeCall() failure
    ... application logs. ... invoked a lineMakeCall from device xyz to extension 123 then they should be ... > Exactly the same app works reliably with all of them, ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Custom Files?
    ... > Private File Type, then I wouldn't worry about it. ... > Of course not registering it, may mean another app would start using it & ... But regarding the custom ... > | file extension? ...
    (microsoft.public.dotnet.languages.vb)
  • Avaya IP Office TSP unpredictable lineMakeCall() failure
    ... Exactly the same app works reliably with all of them, ... The app does a lineOpenfor each extension it controls at the start of the ... instructions such as lineMakeCall(), lineDrop, etc. in the normal way. ... All subsequent lineXXXXcommands for that device ...
    (microsoft.public.win32.programmer.tapi)
  • Tiger: Get Info -> Open With -> Change All... -> Bug? Feature?
    ... I have a command line app which produces PostScript output (I usually name ... such documents with .ps extension). ... Preview tries to convert it to pdf but ... button and get every .ps file on my system to Open With macps2pdf. ...
    (comp.sys.mac.system)