I think you want to hide Form1, not close it because it is the main form.
from the help
Closes the form.
procedure Close;
Description
Call Close to close a form.
Close calls the CloseQuery method to determine if the form can close. If CloseQuery returns False, the close operation is...
Here is a snippet of code that i have been using with Outlook 2000 with no problems - when we switched to Outlook 2003, outlook no longer displays the message in rich test format. has anyone else had this problem with Outlook 2003 ??
TempStream := TMemoryStream.Create...
Here is how I open a password protected execl file:
ExcelWorkbook1.ConnectTo(ExcelApplication1.Workbooks.Open(MyPath + MyFile, EmptyParam, EmptyParam,
EmptyParam, MyPassword, EmptyParam,
EmptyParam, EmptyParam, EmptyParam,
EmptyParam, EmptyParam, EmptyParam,
EmptyParam, LCID));
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.