Thanks for your help so far.
I wonder if you might be of more help ?
I want to create a custom dialog which can offer a list of templates to
launch a new document based on. I hate the standard stuff word provides for
reasons already explained regarding Details versus lists. Do you know of a
code snippit that would do this. I want to display the title property of the
documents in a directory ( or file name ) and be able to double click the
item and have it launch a new doc based on the template.
I havent worked with list boxes in word yet and not sure how to manage
display text Vs values. Can you for example add objects into Listboxes ( Not
strings ) and if so how to I configure my object to return a string value
for the list to display, or am I missing something ?
Any help would be appreciated.
Many Thanks
--
OHM ( Terry Burns ) * Use the following to email me *
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Suzanne S. Barnhill" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Word uses the Title property if it exists, but you have to create it
> before
> you save the first time, and most users don't think about File |
> Properties
> till they save (and then only if they have "Prompt for document
> properties"
> enabled (Tools | Options | Save).
>
> --
> Suzanne S. Barnhill
> Microsoft MVP (Word)
> Words into Type
> Fairhope, Alabama USA
> Word MVP FAQ site: http://word.mvps.org
> Email cannot be acknowledged; please post all follow-ups to the newsgroup
> so
> all may benefit.
>
> "OHM ( Terry Burns )" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Thanks Charles,
>>
>> It would have been far more insightful for MS to have simply added a
>> property to the document to set the default fileSave name. I find it
>> incredible that Word 2003 is so lacking in this respect and many others
>> which I have discovered in the last few days.
>>
>> After coding in VS.NET this is like coming from a Boing 747 cockpit to a
>> twin engine Sesser. Really annoying.
>>
>>
>> Regards
>>
>>
>> --
>> OHM ( Terry Burns ) * Use the following to email me *
>>
>> Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
>> For i As Int32 = 0 To ch.Length - 1
>> ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
>> Next
>> Process.Start("mailto:" & New String(ch))
>> --
>> "Charles Kenyon" <(E-Mail Removed)> wrote in
>> message news:(E-Mail Removed)...
>> > The default filename truncates at punctuation or other non-alphanumeric
>> > characters. Always has. It doesn't matter if the characters are legal
> for
>> > filenames. Don't know of a fix. A workaround would involve a macro that
>> > intercepts the Save command (and other methods of getting the SaveAs
>> > dialog) and actually puts the Title property contents into the
>> > suggested
>> > name.
>> > "OHM ( Terry Burns )" <(E-Mail Removed)> wrote in message
>> > news:(E-Mail Removed)...
>> >> HI Jeff,
>> >>
>> >> Fair point I could have stated the operating system (XP) but the point
> is
>> >> not if the characters are valid or not, simply that only Alpha
>> >> Numerics
>> >> are allowed Despite the legal characters such as an underscore cause
> the
>> >> filename taken from the title field to break.
>> >>
>> >> So for example, title = My_FileName
>> >>
>> >> When saving the new document, the Save Dialog box contains 'My'
>> >>
>> >> Whereas 'My Filename' works
>> >>
>> >> See my dilema now ?
>> >>
>> >>
>> >> --
>> >> OHM ( Terry Burns ) * Use the following to email me *
>> >>
>> >> Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
>> >> For i As Int32 = 0 To ch.Length - 1
>> >> ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
>> >> Next
>> >> Process.Start("mailto:" & New String(ch))
>> >> --
>> >> "JBNewsGroup" <jerrybemail-(E-Mail Removed)> wrote in message
>> >> news:%23zDpw$(E-Mail Removed)...
>> >>> Hi Terry,
>> >>>
>> >>> You did not say which operating system you are on, but start with
>> >>> reading:
>> >>>
>> >>>
> http://www.microsoft.com/resources/d...c_fil_rbrx.asp
>> >>>
>> >>> You could also go to www.microsoft.com and type "file names" into the
>> >>> search
>> >>> box. Some of the results are extraneous but should give you a
>> >>> starting
>> >>> point. Below is the address for the above search results:
>> >>>
>> >>>
> http://search.microsoft.com/search/r...2file+Names%22
>> >>>
>> >>> Jerry Bodoff
>> >>>
>> >>>
>> >>> "OHM ( Terry Burns )" <(E-Mail Removed)> wrote in message
>> >>> news:(E-Mail Removed)...
>> >>>> As we all know the title property of the document can be used as a
>> >>>> default
>> >>>> file save name, however, I have found that it will accept characters
>> >>>> like
>> >>> _
>> >>>> or : in the title, but will ignore anything after those.
>> >>>>
>> >>>> Does anyone know of an escape sequance which can be used to make
>> >>>> word
>> >>>> interpret these as literals. Backslash does not work.
>> >>>>
>> >>>> Hey ho the nuances of word have me baffled again. !
>> >>>>
>> >>>> --
>> >>>> OHM ( Terry Burns ) * Use the following to email me *
>> >>>>
>> >>>> Dim ch() As Char =
> "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
>> >>>> For i As Int32 = 0 To ch.Length - 1
>> >>>> ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
>> >>>> Next
>> >>>> Process.Start("mailto:" & New String(ch))
>> >>>> --
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>>
>>
>