By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,688 Members | 1,166 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,688 IT Pros & Developers. It's quick & easy.

How to open file in a non scriptable application?

P: n/a
I have an application that accepts opening various kinds of image files by
dragging and dropping them on the application. Unfortunately, it is not a
com-object, from what I can tell. Is there any other way that I can send a
file reference to the application using vb.net?

Coming from a Macintosh background I know there was a construct that had the
syntax of "open 'the file' using 'named application' even though the
application formely wasn't scriptable. Is there anything similar, or if not,
can I make a workaround by simulating a drag and drop-operation?

All suggestions most welcome
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Hi,

When you drop a file on an application it should open the
application with the file name as a command line argument.

http://msdn.microsoft.com/library/de...eargstopic.asp

Ken
----------------
"Richard Ronnback" <Ri*************@discussions.microsoft.com> wrote in
message news:30**********************************@microsof t.com...
I have an application that accepts opening various kinds of image files by
dragging and dropping them on the application. Unfortunately, it is not a
com-object, from what I can tell. Is there any other way that I can send a
file reference to the application using vb.net?

Coming from a Macintosh background I know there was a construct that had the
syntax of "open 'the file' using 'named application' even though the
application formely wasn't scriptable. Is there anything similar, or if not,
can I make a workaround by simulating a drag and drop-operation?

All suggestions most welcome
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.