Solved

Diferent program(exe) behaviur if i start it from desctop

Posted on 2007-12-03
2
163 Views
Last Modified: 2013-11-22
in memo1 properties: lines string list editor
 to cancel the defolt first line:memo1.

and if i start application from Delphi it works,
but i have  copied it to desktop and if i start program from there text memo1 line remains in memo1 .


I had a older version of my exe program on the PC and i deleted it.
0
Comment
Question by:pr2501
2 Comments
 
LVL 21

Expert Comment

by:ziolko
ID: 20395000
try this:

procedure TForm1.FormCreate(Sender: TObject);
begin
  Memo1.Lines.Clear;
end;


ziolko.
0
 
LVL 13

Accepted Solution

by:
rfwoolf earned 50 total points
ID: 20395255
Compile the application (Usually Ctrl + F9), which will generate your application.exe and make sure that's the one you're trying to open on the desktop.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question