On Aug 27, 2006, at 7:14 AM, Terry Ford wrote:


On Aug 26, 2006, at 8:41 PM, Robert Poland wrote:

Is there a way to change the title of an app's main window at the startup of the app?

MainWindow.Title = [String]

This name is used to name the file being generated.

Then you will also want to change the name of the folderitem.

FolderItem.Name = [String]

I want the title to include the current date.

Dim d As New Date
Dim Today As String // Perhaps a property of the Application subclass.

Today =" "+Format(d.Month,"00") +"-"+Format(d.Day,"00")+"-"+Right (Str(d.Year),2)

You would then append Today to the end of the name or title.

HTH

Terry

Thanks Terry,

I appreciate the lesson on formatting, I was having trouble making it work.

But...Neither "MainWindow.Title = [String]" nor "FolderItem.Name = [String]" worked for me, "This method or property does not exist".

Robert Poland
[EMAIL PROTECTED]



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to