Solved

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

Posted on 2007-12-03
2
159 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now