You can also do this in Delphi, but open the dfm not the pas file. Then it does not matter whether the file is binary or text.
-----Original Message----- From: Kyley Harris [mailto:[EMAIL PROTECTED]] Sent: Monday, 14 October 2002 5:09 p.m. To: Multiple recipients of list delphi Subject: RE: [DUG]: Delphi closes when I open a form! Open the *.dfm file of the form in notepad, or other text editor not delphi. (Assuming the DFM is in text not binary) locate the portion in the dfm for the connection. Ie Active = true and Change it to active = false, save and reopen in delphi -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Steven Knight Sent: Monday, 14 October 2002 4:53 p.m. To: Multiple recipients of list delphi Subject: [DUG]: Delphi closes when I open a form! Hi. Steven Knight here. I'm new to Delphi development. I am using MSSQL server, ADO and Delphi 6. After changing database table definitions I can no longer open the form I was working on in Delphi. Each time I try to open the form in Delphi, Delphi goes away. i.e. closes with no messages. When I run the app outside Delphi it causes an access violation I think it is because the Data Connection is active when the form opens. It there a way to get the form open without the crash so I can fix the Data Connection? Previously I have deleted the form from the project and recreated it to get arround this sort of problem but as I will probably do it again it would be nice to have a quicker solution. Steven Making money from the sea - who pays? http://www.ecan.govt.nz/marine-farms.html ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. The contents of this email and any attachments are not formal policy of Environment Canterbury, unless otherwise stated. ********************************************************************** ------------------------------------------------------------------------ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/