That's the original way I had it. What I got was Plan105.wpt.inw. It stuck the .inw on in spite of the .wpt that was already there.
Paul Dobbs Software Engineer, Staff Lockheed Martin Missiles and Fire Control Phone (972) 603-1244 Fax (972) 603-2017 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sven E Olsson Sent: Tuesday, May 01, 2007 11:59 PM To: REALbasic NUG Subject: Re: Unwanted extension On 2007-05-01, at 23:29, Dobbs, Paul wrote: > I have a program, one of whose functions is to convert between two > similar file formats. Its normal format is wpt files, but it can > import inw files and then save them as wpt files. The problem is that > when I import an inw file, then save it, the inw extension is added to > the file name. I can't figure out why this is happening, especially > since the folderitems for the two routines are completely separate. > Try this... Dlg.SuggestedFileName = "Plan" + NumberEdt.Text + ".your new file extension" Sven E ----------------------- REALbasic 2007R2 OS X 10.4.9 Intel and 10.4.9 PPC SEEdit Maxi THE XHTML EDITOR FOR MACINTOSH http://www.seedit.info _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
