New topic: How do you double click on a window's file
<http://forums.realsoftware.com/viewtopic.php?t=37944> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message IamKJVonly Post subject: How do you double click on a window's filePosted: Fri Mar 04, 2011 9:01 am Joined: Sun Oct 01, 2006 8:13 am Posts: 31 I can't seem to find what I want so sorry if I missed it. Here is the situation: I have a rtf document that I want to edit or look at from real basic. for example: C:/Test folder/Document to be opened.rtf How do I, from real basic, make windows think I doubled clicked on that file (Document to be opened.rtf) so word pad will open to that document? The file could be a txt, rtf, doc, bmp, jpeg or exe anything else. How do I get windows to open the program that will run or handle the selected file. I have tried doing a shell but it seems like it's the long way around and has to be done for each file type. It seem like it would be so much simpler and reliable to just open the file and let windows find the program that will. I hope you can understand what I'm trying to do. Any suggestions will be appricated. Dave _________________ I'm using windows 7 (64 bit) and Real Studio 2010,r5 (Romans 10:9-10) Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
