Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Active Form Not working properly

Posted on 2007-12-05
2
Medium Priority
?
157 Views
Last Modified: 2012-05-05
hi experts,

I have written and deployed an active Form to a html file.

When I run the html file the activeX is there and showmessage will work BUT:

I've inserted a button and a TMemo.

Onclick on the button i've used:

Memo1.lines.saveTofile('test.ini');

The problem is that it is not saving the file :o/

Could someone please help???

Thanks

ST3VO
0
Comment
Question by:ST3VO
2 Comments
 
LVL 19

Accepted Solution

by:
MerijnB earned 2000 total points
ID: 20411332
you don't supply a path with the filename, this means you don't know where it will be saved.

Try Memo1.lines.saveTofile('c:\test.ini');

Does that work?
0
 

Author Comment

by:ST3VO
ID: 20411346
YESSS !!!! Thanks a million :o)  
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

972 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