473,509 Members | 2,528 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to open file in a non scriptable application?

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
1 1070
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2407
by: alanstew | last post by:
With the body tag calling out 'window onload', a function with a 'window.open' fails at the 'window.open' line. If I cut out the body tag, the function executes as normal. At first I thought it...
20
1792
by: Nick | last post by:
Right now I'm using document.write("<script language='javascript' src='jsFile" + i + ".js'></script>"); It works -- I have a lot of data in each file and only want the visitor to have to...
8
5620
by: Dominic Tocci | last post by:
I'm searching for a way to use window.open on my web page to open a window in firefox that allows the sidebars to work (bookmarks, history, etc). When I use the following: var...
0
1099
by: greg | last post by:
Hi Not sure ths is the right group but we develop under .NET There is an article on msdn about scriptable editing How to Create an HTML Editor Application It uses explorer's libraries We...
1
960
by: John Wildes | last post by:
Hello I don't know if anyone else has seen this, but recently there was an article on msdn.microsoft.com about making your application scriptable through the Windows Scripting Host. Does anyone...
6
55945
by: Dino Buljubasic | last post by:
My application creates some temporary files that are deleted when my application terminates. However, if a temp file is open, it will not be deleted and application will crash. How can I...
10
12967
by: abcd | last post by:
I recently came across a problem where I saw this error: "TypeError: unsubscriptable object" How can I determine if an object is "scriptable" or "unscriptable"?
5
11167
by: Ryan Liu | last post by:
Hi, Both way works, I'd just ask some experts which way is better? My application creates a log file daily. Now each time when I write a log, I will open the file and append to the end....
0
2558
by: tosreejithp | last post by:
Hi, My first problem was i am not able to compiled a file from java script to java class.Now its clear and working fine..now i can convert a java script file to java class by Rhino Java Script...
0
7135
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7342
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7410
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5650
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4729
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3201
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
774
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.