RE: Open associated files - Help
- Posted by Tony Steward <tony.steward at gmail.com> Jul 04, 2005
- 434 views
Alexander Toresson wrote: > > > posted by: Alexander Toresson <alexander.toresson at gmail.com> > > Tony Steward wrote: > > > > ------=_Part_4912_6286266.1120472745525 > > Content-Type: text/plain; charset=ISO-8859-1 > > Content-Transfer-Encoding: quoted-printable > > Content-Disposition: inline > > > > Ok I found I can use command_line() to get the file and load the clicked > > file. > > > > But > > > > I get two errors > > 1> > > Unable to open ", in ReadDib > > press yes, no, cancel > > Win32Lib V0.60.6 19-Sep-2004 > > > > 2> > > LoadImage in LoadBitmapFrom File Failed > > press yes, no, cancel > > Win32Lib V0.60.6 19-Sep-2004 > > > > Answering yes to both of these loads the file. > > How do I get rid of these errors? > > > > On 7/4/05, Tony Steward <tony.steward at gmail.com> wrote: > > > > > > How do I set my program up to open a file that has been double clicked > > > on= > > > > > in explorer? > > > I know how to associate a file with a program. > > > Do I use the command line? > > > > > > --=20 > > > Regards > > > Tony Steward > > > www.locksdownunder.com <<a > > > href="http://www.locksdownunder.com">http://www.locksdownunder.com</a>> > > > > > > > > -- > > Regards > > Tony Steward > > www.locksdownunder.com <<a > > href="http://www.locksdownunder.com">http://www.locksdownunder.com</a>> > > > > IF IT IS TO BE IT IS UP TO ME! > > > > ------=_Part_4912_6286266.1120472745525 > > Content-Type: text/html; charset=ISO-8859-1 > > Content-Transfer-Encoding: quoted-printable > > Content-Disposition: inline > > > > Ok I found I can use command_line() to get the file and load the clicked > > fi= > > le.<br> > > <br> > > But<br> > > <br> > > I get two errors<br> > > 1><br> > > Unable to open ", in ReadDib<br> > > press yes, no, cancel<br> > > Win32Lib V0.60.6 19-Sep-2004<br> > > <br> > > 2><br> > > LoadImage in LoadBitmapFrom File Failed<br> > > press yes, no, cancel<br> > > Win32Lib V0.60.6 19-Sep-2004<br> > > <br> > > Answering yes to both of these loads the file.<br> > > How do I get rid of these errors?<br><br><div><span > > class="gmail_quote">O= > > n 7/4/05, <b class="gmail_sendername">Tony Steward</b> <<a href="mai= > > lto:tony.steward at gmail.com">tony.steward at gmail.com</a>> > > wrote:</span><bl= > > ockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204= > > , 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> > > How do I set my program up to open a file that has been double clicked > > on i= > > n explorer?<br> > > I know how to associate a file with a program.<br> > > Do I use the command line?<br><span class="sg"><br>-- > > <br>Regards<br>Tony= > > Steward<br><a href="http://www.locksdownunder.com" target="_blank" onc= > > lick="return > > top.js.OpenExtLink(window,event,this)">www.locksdownunder.co= > > m</a> <br><br> > > > > </span></blockquote></div><br><br><br>-- <br>Regards<br>Tony > > Steward<br><a = > > href="<a > > > > href="http://www.locksdownunder.com">http://www.locksdownunder.com</a>">www.locksdownunder.com</a><br><br>IF= > > > > IT IS TO BE IT IS UP TO ME! > > > > ------=_Part_4912_6286266.1120472745525-- > > > > > We don't know, if we don't get to see your code. And please disable HTML > in your email client. > > Regards, Alexander Toresson My code is a major work of some 10,000 lines and many include files so posting code is not really practical. I thought someone may know what these messages mean seeing as how the people who write win32lib generated the above errors. I have gotten my program to run when clicking on an associated file. This error only occurs when dbl clicking on a file not in the program directory, so I think that it is the program not being able to find something.