comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » open file (double click)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
open file (double click) [message #93496] Sun, 07 August 2016 09:09 Go to next message
dashtabadi.m.r is currently offline  dashtabadi.m.r
Messages: 10
Registered: May 2016
Junior Member
I have written a program that creates a kml or bat file which is
applicable for Google Earth representation. So, now I want to know that
how can I open this file after create Automatically with IDL (like using double click on kml file)?
Thanks in Advance
Re: open file (double click) [message #93497 is a reply to message #93496] Sun, 07 August 2016 10:30 Go to previous messageGo to next message
Jim  Pendleton is currently offline  Jim Pendleton
Messages: 165
Registered: November 2011
Senior Member
On Sunday, August 7, 2016 at 10:09:33 AM UTC-6, mrO_o wrote:
> I have written a program that creates a kml or bat file which is
> applicable for Google Earth representation. So, now I want to know that
> how can I open this file after create Automatically with IDL (like using double click on kml file)?
> Thanks in Advance

On Windows, at least, if the file association is set for a particular file name extension, simply calling SPAWN to the full path to your file will launch the associated executable. Remember to use double-quotes around your file path string if it includes spaces.

Jim P.
Re: open file (double click) [message #93498 is a reply to message #93497] Sun, 07 August 2016 11:17 Go to previous message
dashtabadi.m.r is currently offline  dashtabadi.m.r
Messages: 10
Registered: May 2016
Junior Member
On Sunday, August 7, 2016 at 10:00:41 PM UTC+4:30, Jim P wrote:
> On Sunday, August 7, 2016 at 10:09:33 AM UTC-6, mrO_o wrote:
>> I have written a program that creates a kml or bat file which is
>> applicable for Google Earth representation. So, now I want to know that
>> how can I open this file after create Automatically with IDL (like using double click on kml file)?
>> Thanks in Advance
>
> On Windows, at least, if the file association is set for a particular file name extension, simply calling SPAWN to the full path to your file will launch the associated executable. Remember to use double-quotes around your file path string if it includes spaces.
>
> Jim P.

thanks a lot :)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Model II regression
Next Topic: Baffled by out of range subscript error

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 07:15:09 PDT 2025

Total time taken to generate the page: 0.00522 seconds