Re: Way of moving Delphi and 3rd-party components over in a Win Vista to Win7 clean install?

2010-02-24 Thread CubicDesign
components and your source code, and copy this back after the Delphi installation. Ross. -Original Message- From: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] On Behalf Of CubicDesign Sent: Tuesday, 23 February 2010 11:56 p.m. To: Moderated List for the Discussion of Delphi

Re: Way of moving Delphi and 3rd-party components over in a Win Vista to Win7 clean install?

2010-02-23 Thread CubicDesign
On 2/22/2010 8:28 PM, Chuck Belanger wrote: Would Windows Easy Transfer help this process? Probably NO. Some other way of moving my Delphi setup over less painfully? Export your Borland/Embarcadero branches from registry (HKCU and HKLM) to a REG file. Reinstall Windows. Reinstall

Re: Best and/or easiest to use installer

2010-01-23 Thread CubicDesign
WinRar On 1/22/2010 5:05 AM, MagnOz wrote: Hi Mike, On Fri, Jan 22, 2010 at 04:44, SoftTechmi...@softtechks.com wrote: Greetings All, Would appreciate your opinion on the best software to use to create an installer for my product. Would prefer something that is easy to learn and use.

Re: Best and/or easiest to use installer

2010-01-23 Thread CubicDesign
Actually it has also an installer feature. In 30 seconds you can have a customized installer. On 1/23/2010 1:24 PM, SoftTech wrote: WinRar is not an installer but is used as a file archiver and data compression utility. - Original Message - From: CubicDesign cubicdes...@gmail.com

Re: [Delphi] To Upgrade or Not to Upgrade

2010-01-09 Thread CubicDesign
Doug Chamberlin wrote: The Chromium project is, indeed, focussed on improving quality, and the obvious goal of such as effort would be to eliminate all known problems, but ALL known issues ever??? Please! I read that long time ago so I don't remember all details exactly but I was left

Re: [Delphi] To Upgrade or Not to Upgrade

2010-01-08 Thread CubicDesign
In Delphi road map, they promised a version named Chromium or something like this, which will not bring new features but will fix ALL known issues ever. Well, this is a good and final reason to upgrade from good old D5 or D7! Right? By the way, everytime I see a survey like which Delphi

Re: Shareware protection for Delphi 2010

2009-10-07 Thread CubicDesign
Generate a key for your customers and encode the sale date into the key. Also, implement a RTC test in your software to make sure the user does not change the system time (set time back). And you may want to register also computer's ID (for example HDD and CPU ID) to make sure the key is not

Re: calculate with of text while editing TDBGrid

2009-08-01 Thread CubicDesign
Grid.Canvas.TextWidth(sYourBuffer) Wilfried Mestdagh wrote: Hello, When a DBGrid is in insert or edit mode the text typed in is stored somewhere in an internal buffer I guess. I want to get this buffer while typing to calculate the width in pixels of the text. Someone knows how this could

Re: Making right mouse click like the left one

2009-07-31 Thread CubicDesign
Maybe something like this: http://www.google.de/url?sa=tsource=webct=rescd=1url=http%3A%2F%2Fcoding.derkeiler.com%2Fpdf%2FArchive%2FDelphi%2Falt.comp.lang.borland-delphi%2F2005-12%2Fmsg00068.pdfei=yuRySqOGHtmOjAfQyqW9Bwusg=AFQjCNEubRkFaNUqCPLPeNHEECkC5QU9ggsig2=oa1FE-yAvAz00wn52FK5mQ Cédric

Re: Right Mouse click on a TStringGrid

2009-07-31 Thread CubicDesign
If you would like to permit the right mouse button click for selecting a cell on the StringGrid, how would you do that ? Have you try this: procedure TFormGrid.GridMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); VAR ACol, ARow: Integer; begin if

Re: App hanging during load

2009-06-28 Thread CubicDesign
Had the same problem after installing the latest ATI video driver. They said they fixed a lot of bugs in that release - they never said they inserted back few more :) Ross Levis wrote: Just an update on this issue. I haven't yet tried debugging the FormCreate procedure as yet, but one user

Re: Add *.exe programs into a main program

2009-06-12 Thread CubicDesign
Some years ago I have found something that merged together two programs. I think (pretty sure) the name was softsilk but I don't remember more. Sorry. Rob Cameron wrote: Hi Cubic, thanks for the hint. Googling Soft silk gives 179,000 hits, many of them quite interesting ;-) but none, as far

Re: Add *.exe programs into a main program

2009-06-11 Thread CubicDesign
try a google search for SoftSilk or soft silk. Rob Cameron wrote: I'm not 100% clear about what exactly you want to do, but perhaps the Exemod library from Gwen Carpenter might be helpful: http://www.torry.net/authorsmore.php?id=3984 It allows you to insert files within files, etc. So you

Re: TAB file parsing

2009-06-11 Thread CubicDesign
Have you tried something like this? s:= your string; ReplaceString(s, #9, #10#13); {#10#13 is CRLF/ENTER} MyNL.Test:= s; chris.mo...@biuk.co.uk wrote: Please help me with this tab file parsing. I don't create the file, I'm just supposed to read it. The text is not enclosed in

Re: Using license files - IDE unique ID

2009-05-24 Thread CubicDesign
Hi. makes a registry entry of these two values, and NEVER are they the same This value will change every time the user reinstalls Window! --- You can try to use drive's (HDD IDE) uniques serial number (written in drive's hardware) and which is guaranteed to be unique - as opposite

Re: Check if specific EXE is running and close/open it

2009-01-29 Thread CubicDesign
Hi. Try to use unique Atoms. Gunnar Blumert wrote: Use FindWindow to find the main window handle of the program, This is not very reliable. Just guess the user has 3 different versions of the exe installed. How do you tell that the version you want to replace is the one that is

Re: Hibernating an application

2009-01-24 Thread CubicDesign
I agree with that. You should keep your application data (data currently processed) in a record. When you want to hibernate your application just save that record to disk in a typed file. Cosmin Prund wrote: There's no way you can do that because you're not in control of anything outside

Re: Detecting a Default EMail Client

2009-01-21 Thread CubicDesign
Hi. There is something similar for Thunderbird? robert.poin...@yara.com wrote: Try this I wrote it some years ago then we moved to Notes function GetEmailAddress : String; var registry: TRegistry; begin registry := TRegistry.Create; try try registry.RootKey :=

Re: Detecting a Default EMail Client

2009-01-17 Thread CubicDesign
I don't think it will work that way. Under Windows there is always a default email client: Outlook. Alan Colburn wrote: I'm looking for code that would detect whether or not a user has assigned a default email client. I have methods that send email using the default program, and if the user

Wrong application icon

2008-12-09 Thread CubicDesign
Hi. The Application Icon of my application is wrong. My application shows in taskbar a different icon than the classic Delphi icon. Instead is shows the icon of one of my VCL's. That specific VCL from which the icon was stolen is not used in my application but other VCL's in the same package

Re: Abort memo copy in Delphi

2008-12-02 Thread CubicDesign
I agree with Rob. If you display a text, any text, anyone can see your text and write it down in a text editor or on a piece of paper. For a long string it may take too much, but for a short string it won't be a problem. Plus, there are quite few simple (hacking) tools that can copy a the text

Re: Abort memo copy in Delphi

2008-11-29 Thread CubicDesign
disabling the popup menu, will also disable other commands on it and it is hard In your case you need to replace the default pop-up menu with your own pop-up menu. Just mane your menu to look like the default one, except the Copy command. You can do it in about 120 seconds :) I use this

Re: Abort memo copy in Delphi

2008-11-28 Thread CubicDesign
Simple. Just disable the pop-up menu. The user won't have access to the Copy command anymore. Control+C also won't work. :) SoftTech wrote: Greetings All, Delphi 5.1 Does anyone know of a way to allow a user to view the contents of a memo, but not allow them to copy it? Thanks for any

Re: Help - Iv'e screwed up Delphi 2007

2008-10-31 Thread CubicDesign
Delete the registry keys: HKey_current_user\Software\Borland\ Or first try to delete the disabled packages key. John Barrat wrote: Stupidly I attempted to run what I thought was a previous version of Delphi 2006 on my machine installed with my working version of Delphi 2007. As the

Re: GUI-questions

2008-10-04 Thread CubicDesign
One-click solution to all your questions (also your application will look way much better than XP or Vista): http://www.link-rank.com Jesper Stenlund wrote: Hi all I have a program that originally was created in -98 with Delphi 3 (on Windows NT) Since then we have moved from

Re: Delphi future

2008-08-21 Thread CubicDesign
Cameron Cole wrote: The fact that you can be sitting there with an actual dead language simply because the company doesn't want to support it any longer is just scary. You may want to see this: http://www.tahionic.com/reviving-Delphi/index.html

Re: Application will never crash!!!

2008-07-13 Thread CubicDesign
for such problems and is assuming that the code has been thoroughly debugged and that you know exactly what you are up to. I hope this is helpful. Dean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CubicDesign Sent: Friday, July 11, 2008 2:19 PM

Application will never crash!!!

2008-07-11 Thread CubicDesign
Hi. Recently I have discovered that my application will not crash if I run this code with compiler optimization turned on. Procedure TForm.buttonclick(sneder: tobject); Var t: tstringlist; Begin t.free; End; If I push the button that calls this code, the main for disappear but the

Re: Delphi 7 component built on TextExtractor.dll

2008-06-29 Thread CubicDesign
I get 13 hits. All of them merely show that it doesn't contain a virus. Same for me. __ Delphi-Talk mailing list - Delphi-Talk@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

Re: Delphi 7 component built on TextExtractor.dll

2008-06-28 Thread CubicDesign
What is TextExtractor.dll? Rich Cooper wrote: Does anyone have a Delphi component, or other way to use TextExtractor.dll? Example software would be very nice to have. I'm using D7 on XP and Vista systems. Tutorials on how to use TextExtractor would be very welcome also.

Re: Help w/Registered File Types

2008-05-19 Thread CubicDesign
Look in registry for that extension to see which application in associated with it. This is a 2 step process. Manually search your registry for .jpg and see an application associated with the jpg files. Then look for that application and you will find its path. If you cannot find that extension

Re: Help w/Registered File Types

2008-05-19 Thread CubicDesign
Oh... I forgot. The registry path where this association is keep, is HKey_classes_root. Robert Meek wrote: Morning all, I have an urgent need that I hope someone here can help me figure out how to handle, involving how to find out the full path and filename of an application via

Re: Strange error in D7

2008-04-25 Thread CubicDesign
Delete all DCU's in your project folder and in your search path. Rich Cooper wrote: Hi Delphiers, While trying to compile an old pascal program with D7/Vista, I get an error that I don't understand. It says: [Fatal Error] Grail.dpr(6): Unit Messages was compiled with a different version

Re: detecting VM/Wine

2008-04-22 Thread CubicDesign
Wow... this is great. Thanks. Marshall Fryman wrote: hey, here's the answer: http://ruminatedrumblings.blogspot.com/ it turns out to be a major pita, but doable if you play with it enough. for wine there's an undocumented api call you can test against. for vmware, you can test for an

Re: I have a very strange question

2008-04-20 Thread CubicDesign
- De la: [EMAIL PROTECTED] [mailto:delphi-talk- [EMAIL PROTECTED] În numele CubicDesign Trimis: Wednesday, April 16, 2008 5:53 PM Ca(tre: Delphi-Talk Discussion List Subiect: I have a very strange question The question: How do I know/detect if my software is running under Windows? Ok

Re: TMediaPlayer Cool.avi no go

2008-04-17 Thread CubicDesign
to next? Thanks, Ross. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CubicDesign Sent: Thursday, 17 April 2008 1:19 p.m. To: Borland's Delphi Discussion List Subject: Re: TMediaPlayer Cool.avi no go Do you have the codec installed for that avi file

Re: TMediaPlayer Cool.avi no go

2008-04-16 Thread CubicDesign
Do you have the codec installed for that avi file? There is no such thing as AVI videos. Avi is just a container. Important is the codec not the container. Play your avi file with a different player like VLC or BSPlayer. Does it work? Also do a Google search for a tool called GSpot. It will

Re: TMediaPlayer Cool.avi no go

2008-04-16 Thread CubicDesign
GSpot link http://www.headbands.com/gspot/download.html (freeware) Ross Levis wrote: I'm trying to get the TMediaPlayer component to play AVI files. I have no problems with WMV and MPEG videos but AVI doesn't want to work. For example, Delphi 7 comes with a very short video named

Re: How to create MDI child forms at runtime - K.I.S.S.

2008-04-14 Thread CubicDesign
Hi Mick. After some experimentation with the message queue and other 'wild' Microsoft stuff, I turned back to this basic approach. The simplest way it is always the best way! :) [EMAIL PROTECTED] wrote: Couple of things MdiChildren is an indexed list of Child forms and MDIChildCount tells

Re: How to create MDI child forms at runtime and a button for each of them

2008-04-13 Thread CubicDesign
Hi Rob. The problem was in the Notification procedure: the AComponent received as parameter is not ready (created). Fixed now. Now I can create the MDI forms and a button for each of them without much overhead. Thank for the answer. Rob Kennedy wrote: CubicDesign wrote: Do you know

How to create MDI child forms at runtime and a button for each of them

2008-04-09 Thread CubicDesign
Dear List :) Do you know the WindowMenu property of a (parent) form? It links to a menu that lists all current MDI children of an application. I want to list all existing children also in other place. More exactly I want to create an interface similar with Macromedia Dreamweaver or Delphi 7,

Re: popup menu in tray application

2008-04-08 Thread CubicDesign
The CoolTrayIcon is working without this 'bug'. subsimple.com/delphi.asp Robert Meek wrote: I've experienced the same problem with a variety of Tray Icon components. They evidently don't respond to clicks made on the desktop. But I switched to the one that comes with Raize

Re: removing un-needed items from Delphi Help System

2008-03-06 Thread CubicDesign
Hi. I am speaking about D2007 not D7 :) The help system needs a lot of time to load and show something. It really sucks. I hope that if I remove unnecessary stuff, it will load faster and it also return less 'fake' results. John Dammeyer wrote: The easiest way is to start running Vista

removing un-needed items from Delphi Help System

2008-03-05 Thread CubicDesign
Hi. Does anybody know how to remove un-wanted items like dotNet, Rave, C++ from Delphi 2007 Help System? Where are those files located? How can I clear the cache (if there is one) ? ___ Delphi mailing list - Delphi@elists.org

Re: Moving D5 seems like Groundhog Day repeating itself

2008-03-05 Thread CubicDesign
Close Delphi. Check in registry at 'Known disabled packages'. If your packages are listed in that key, delete them (from that key). Start Delphi. Jerry Clancy wrote: Using D5 Ent. I am finally replacing my development system before it dies a natural death after some 10 years+. I

Re: Debugger no longer shows values in hints

2008-01-21 Thread CubicDesign
1. Try to delete all files generated by the IDE (like DOF). 2. Try to delete the desktop files (DST) in Delphi's Bin folder. Chris Stebbing wrote: Hi All, I am running Delphi2005. I have no idea why this has happened, but all of a sudden the debugger has stopped showing values of

Re: [OT] RAD Studio 2007 december update available

2007-12-22 Thread CubicDesign
Dear Jeremy, That bug existed. It is already documented by CodeGear. Check the Internet. Jeremy North wrote: In my case, the main issue which rendered Delphi 2007 totally unusable was that famous problem with the help system. LOL. That excuse cracks me up.

Re: [OT] RAD Studio 2007 december update available

2007-12-20 Thread CubicDesign
I wanted to do it but the problems were already reported. In my case, the main issue which rendered Delphi 2007 totally unusable was that famous problem with the help system. I tried D2007 again after the first updated but the problem was still there. After that I didn't tried it anymore. This

How to access Application.CancelHint in a VCL ?

2007-12-20 Thread CubicDesign
Hello everybody, I have a control derived from TListBox with few items (lines) containing long string. I want to make it to display the item under cursor in the tool-tip (hint) when the user moves the mouse over that item. I did it, but the tool-tip is not updated when the cursor is moved

Re: [OT] RAD Studio 2007 december update available

2007-12-19 Thread CubicDesign
Thank you very much Francois for this important announcement. I tested in the past the updates from Delphi 2007 but there were several serious issues still not fixed. Can anybody confirm that Delphi 2007 is finally usable (especially that nasty problem with the Help system). Thank you very

(IE) TWebBrowser control in silent mode

2007-12-04 Thread CubicDesign
Hi. Anybody worked recently with the TWebBrowser component? I want to load and display a web page in may application for a while, than to move on to the next page. Sometimes the page contains error and the TWebBrowser component display a box for those error but I don't want that. I set the

Re: trying to detect if a drive is read-only

2007-11-10 Thread CubicDesign
No, but I will try. Thanks. Rob Kennedy wrote: Have you tried using SetErrorMode to disable the OS's error dialogs? ___ Delphi mailing list - Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Re: As EXE grows Delphi (7) gets way slower; what to do?

2007-10-17 Thread CubicDesign
If your system is clean the other processes (all except Delphi) should take [together] lees than 1% of your CPU. Also all processes (all except Delphi) should take less then 200MB of RAM. A 'normal' swap for a clean system should be also below 200MB (for a computer with 1GB RAM). All data

Re: Taskbar problems D2007

2007-10-17 Thread CubicDesign
Dear Rober, did you tried this free component: TCoolTrayIcon http://subsimple.com/delphi.asp I don't have Win Vista so I don't know if it will work there, but under Win XP is working very well. Robert Meek wrote: The methods I used to use under XP to not show the applications

Re: As EXE grows Delphi (7) gets way slower; what to do?

2007-10-16 Thread CubicDesign
I'm using a single CPU, 2.5 gHz system. A dual core will not help you anyway (unless you are running CPU hungry processes while programming in Delphi) because Delphi does not know how to use it. Delphi compiler is single threaded (at least Delphi7 it is but I seriously doubt that they made

Re: Preventing Multiple Simultaneous Executions

2007-10-10 Thread CubicDesign
You can see also this: http://delphi.about.com/od/windowsshellapi/l/aa100703a.htm Wayne Roser wrote: Hi Cubic I used CiaOnlyOne and then freed TCiaOnlyOne at the end of my OnShow routine and this seems to do what I want. Wayne Borland's Delphi Discussion List delphi@elists.org on

Re: Preventing Multiple Simultaneous Executions

2007-09-27 Thread CubicDesign
Wayne Roser wrote: but I'm wondering if you really want to prevent multiple copies I am interested in this too. Maybe the best idea will be to allow two copies of the program when the user manually started both of them (for example double click on the desktop icon) and to close the rest of

News about Delphi 2007 + update 3 ?

2007-09-27 Thread CubicDesign
I have found this excellent Blog on wordpress.com http://excessive.wordpress.com/2007/06/12/codegear-delphi-2007-review/ . It reminds me of Delphi 2007. I tried Delphi 2007 by my self, long time ago and it seems somehow acceptable. It was for sure more stable than the dreadful Delphi 2005 (I

Re: Preventing Multiple Simultaneous Executions

2007-09-24 Thread CubicDesign
Look for this component on the internet: TCiaOnlyOne: Drop this component on the main form of your project. Check eventually the creation order that this code gets first executed. If you leave the Unique property empty, then it is possible to execute the program from out

Re: Closing modal forms

2007-09-03 Thread CubicDesign
you forgot 'fmprogress' before 'Close'? procedure TfmCleanUpMain.btnOKClick(Sender: TObject); begin if fmprogress.showmodal mrNone then FMPROGRESS.close; end; Also in 'procedure TfmProgress.FormActivate' you should not use fmProgress.ModalResult := mrOK; but Self.ModalResult := mrOK;

Re: maximum of 3 numbers

2007-09-02 Thread CubicDesign
Something like this will do it? procedure TForm1.Button1Click(Sender: TObject); var start,stop1,stop2,freq:int64; i:integer; begin screen.cursor:=crHourGlass; {show busy cursor} QueryPerformanceFrequency(freq); {Get frequency} QueryPerformanceCounter(start); {Get initial count}

Re: maximum of 3 numbers

2007-08-31 Thread CubicDesign
, 2 jmp in this case), and since you can probably assume equal probabilities, a simple average of the SIX test case results will give you the typical. Regards, Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CubicDesign Sent: 29 August 2007

Re: maximum of 3 numbers

2007-08-29 Thread CubicDesign
assignment, 1 jump ret @less2: mov eax, edx // edx is max end; Warmest regards and thanks for the inspiration, -- Jon Grewer Message: 1 Date: Sat, 25 Aug 2007 23:06:56 +0200 From: CubicDesign [EMAIL PROTECTED] Subject: Re: maximum of 3 numbers To: Borland's

Re: maximum of 3 numbers

2007-08-27 Thread CubicDesign
I alway runt test with compiler optimization ON and outside IDE. I also set the task priority to 'High' or 'Real time'. This way I can get always almost the same result every time I run the program. Anyway the reason for why your function was slow was that I called the 'random' function in the

Re: maximum of 3 numbers

2007-08-25 Thread CubicDesign
Dear Wilfried, thanks allot for this function. I hardly wait to see how it scores (compared with my plain Delphi function)! Thank you very very much again. Wilfried Mestdagh wrote: Hello, Oeps I wrote a bug in the Max3. This one is better: function Max3(a, b, c: integer): integer; asm

Re: maximum of 3 numbers

2007-08-25 Thread CubicDesign
Hi. I tested that function, and strangely it takes 2640ms. The same function made in plain Delphi takes 2235ms. I put a screenshot here but I think this email list is plain text and it won't be shown. I reason may be: 1. Delphi compiler is great and it creates 100% efficient code 2. I used a

Re: maximum of 3 numbers

2007-08-25 Thread CubicDesign
SORRY! I was wrong! Your ASM function is about 2.5 times faster. Wilfried Mestdagh wrote: Hello, Oeps I wrote a bug in the Max3. This one is better: function Max3(a, b, c: integer): integer; asm cmp eax, edx jl @less mov edx, ecx jmp @again @less: mov eax, ecx

Re: maximum of 3 numbers

2007-08-25 Thread CubicDesign
Rob Kennedy wrote: The name of that unit suggests it's a unit written for the Intel 80387 math coprocessor; is it really that old? I don't know. There was no source code, only a DCU. But it is for Delphi. I have found also a library (with the same name) which is for Pascal :) Being

maximum of 3 numbers

2007-08-23 Thread CubicDesign
Hi. I need a fast function that compares three numbers and returns the biggest. Do you know an ASM library that can do such a calculation? I downloaded a library called 'Math387' which implements such a function but for two numbers, not for three. The person who made the library pretends that

Re: Error creating form in IDE

2007-08-23 Thread CubicDesign
The problem *may* not be in the (DFM) form file but in the DPR file. I recently posted something related to this. Delphi IDE accused the DFM but the error was in DPR. To check this, create a new/clean project and add the existing forms to this new project. Wilfried Mestdagh wrote: Hello,

Re: Vista or XP?

2007-08-19 Thread CubicDesign
Robert Meek wrote: But that's STILL not half as bad as Microsoft Mail that comes with Vista is! g And I also had a problem when I was allowing updates to be automatically downloaded and installed onto Vista. It has a problem with version control and attempted to install the XP Pro Service

Re: Problems while creating/running apps for Vista

2007-08-07 Thread CubicDesign
Bob Swart wrote: You should consider using the TNT UNICODE controls. I think I used some of them in the past. I hope I still have the freeware package on my drive :) Cosmin Prund In Romanian, we only have 5 chars that are not English. Of those, 2 are found in almost all char sets as

Re: Looking for a What is this tip component

2007-08-06 Thread CubicDesign
and recalculate its Left property. Also a new form will add a little bit more overhead to your program than a simple TControl. JLIST wrote: Hello CubicDesign, Thanks for the reply. I am actually hoping that it'll look much better than a TMemo, and it's a form by itself so that it can go beyond

Re: crashes when I try to use Application.Title

2007-08-06 Thread CubicDesign
Application.Initialize; application.Title:='TEST'; Application.CreateForm(TForm1, Form1); s:=application.Title; s:=s+'2'; application.Title:=s; Application.Run; end. --- CubicDesign [EMAIL PROTECTED] wrote: Anyway, it is still strange that reading/accessing

Re: Problems while creating/running apps for Vista

2007-08-06 Thread CubicDesign
CubicDesign, I have problems reading/writing INI and TXT files under the 'Application Data' folder when the user's account name contains UNICODE characters: Under Windows Vista, but not under - say - Windows XP, right? What are the problems exactly? Do you get access violations

Re: Problems while creating/running apps for Vista

2007-08-06 Thread CubicDesign
if the path contains UNICODE chars. Bob Swart wrote: Hi CubicDesign, I have problems reading/writing INI and TXT files under the 'Application Data' folder when the user's account name contains UNICODE characters: Under Windows Vista, but not under - say - Windows XP, right? What

Re: Looking for a What is this tip component

2007-08-04 Thread CubicDesign
I think you can do that by yourself. You need a TMemo to display the text. In the OnClick event you make: Memo.Visible:= False; You can auto size it according with the text length by using something like this: Memo.Width:= Memo.Canvas.TextWidth('My text');{ I took this from a program,

Re: crashes when I try to use Application.Title

2007-08-04 Thread CubicDesign
Grant Brown Are you sure your not talking about changing the caption string as opposed to the application title ? Hi. Changing application title also worked for me in D7. I did it from outside the DPR file (from a PAS file) and using something like this: Application.Ttitle:=

Re: Problems while creating/running apps for Vista

2007-08-04 Thread CubicDesign
Hello again. I have problems reading/writing INI and TXT files under the 'Application Data' folder when the user's account name contains UNICODE characters: c:\Documents and Settings\USER_NAME\Application Data\MyApplication\settings.ini where USER_NAME is a string containing UNICODE

Re: crashes when I try to use Application.Title

2007-08-03 Thread CubicDesign
Thanks for answers to everybody. What I wanted to do, was to be able to get a constant string (the Application.Title) from any unit of my application (and maybe also from external units/VCLs) and to use this constant (the name of the application) to create a folder in 'application data' where

Re: Delphi IDE crashes when I try to use Application.Title

2007-07-31 Thread CubicDesign
code before 'create forms' and after 'create forms'. It was much easier to read the code while it was all there. Thank you very much Rob. Rob Kennedy wrote: CubicDesign wrote: *begin Application.Initialize; Application.Title := 'Crash me

Delphi IDE crashes when I try to use Application.Title

2007-07-29 Thread CubicDesign
I encountered a strange bug (maybe THE MOST) in my Delphi 7. The IDE gives me a 'generous' crash if I try to access/read the Application.Title. The project file can't not be loaded anymore in to the IDE and it must be rebuilt or edited from outside the IDE with a text editor. *begin

Re: Problems while creating/running apps for Vista

2007-07-25 Thread CubicDesign
Crhris: makes me think that this is the death of the program files location for small developers such as myself. I think you are right. The Program Files folder lost somehow its purpose. My first priority is to deliver a small application that is able to run under non-administrator

Re: Problems while creating/running apps for Vista

2007-07-25 Thread CubicDesign
Thanks allot Doug. Doug Chamberlin wrote: At 10:20 AM 7/24/2007, CubicDesign wrote: But I suppose I can install Vista on a separate partition. Then I can use a booter program to choose between XP and Vista. Right? You can install Vista on a separate partition and Vista, itself

Re: Problems while creating/running apps for Vista

2007-07-25 Thread CubicDesign
Brendan Blake. I'm also having no problems having larger amounts of user data in a directory on the C drive. So, it is not true that C: is taboo. This is great! ___ Brendan Blake wrote: This is an excellent solution - ie putting small amounts of data in a subfolder of the

Re: Save IDE bookmarks in Delphi 7

2007-07-24 Thread CubicDesign
Hmmm. Too bad. :( I had problems with Delphi 2005. For example the help system didn't worked at all in my computer. I heard that they fixed it in the first update, but only partially. I will wait for the second update then maybe I will try that Delphi again. Until then I had a 'system' to save

Re: Problems while creating/running apps for Vista

2007-07-24 Thread CubicDesign
in a virtual machine But I suppose I can install Vista on a separate partition. Then I can use a booter program to choose between XP and Vista. Right? Cosmin Prund wrote: CubicDesign wrote: Subject: Re: Problems while creating/running apps for Vista As I said, I don't use an installer (actually I am

Save IDE bookmarks in Delphi 7

2007-07-23 Thread CubicDesign
Hi. The most annoying thing is Delphi is that you can't store the bookmarks. Close the IDE and all of them are gone. And I use the bookmarks allot, instead of 'Code Explorer'. There is a way (or plug-in) that can make Delphi not to forget the bookmarks after restart?

Re: Problems while creating/running apps for Vista

2007-07-23 Thread CubicDesign
Thanks allot Cosmin; you gave me a bunch of good ideas. Now some comments: 1. Vista is considered safer then Mac. I know. And I like it to hear it again. In the past I was so against Microsoft and their pity operating system, but since 2000/XP, I am really on their side. I even deleted my

Re: Save IDE bookmarks in Delphi 7

2007-07-23 Thread CubicDesign
Thanks John. I already tried Castalia some time ago. It won't save the bookmarks. John Barrat wrote: Try Castalia JohnB -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CubicDesign Sent: 23 July 2007 12:23 To: Borland's Delphi Discussion List

Re: Problems while creating/running apps for Vista

2007-07-22 Thread CubicDesign
other than XP. It that is not elegant, then distribute a small command line program which the installer runs and delete it before the first start. Code on request. CubicDesign wrote: 80-90% of my users are running under limited accounts. That's very sensible, considering the malware risks

Re: Compiling problems

2007-07-21 Thread CubicDesign
*.DSM *.Dcu Upon entering the project, I did a syntax check and Compile and all my code compiled. Tom Nesler -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CubicDesign Sent: Wednesday, July 18, 2007 9:13 AM To: Borland's Delphi Discussion

Re: Problems while creating/running apps for Vista

2007-07-21 Thread CubicDesign
The next thing is that did I also read that nothing can write to the DRIVE that has windows installed on it either without special permissions? So how do I install and maintain my Vista stuff without having Vista? Is there a location that I can count on being there where I can install

Re: Problems while creating/running apps for Vista

2007-07-19 Thread CubicDesign
was right again. Better to program a cool feature for the 82% of the users than to waist time for (4.5%) Vista users. Until the number will go to 20% there is nothing to worry about. ** Cosmin Prund wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CubicDesign Sent: 18

Re: Compiling problems

2007-07-18 Thread CubicDesign
Hi Nesler. Try to close Delphi, delete ale files (in your project's folder) that were not generated by you, but by Delphi (delete all except DPR and PAS files). Especially delete the DSK files. Now, rebuild the project. If your project uses VCLs created by you, do the same for those projects. I

Re: Packages and memory use

2007-07-18 Thread CubicDesign
Try to use Eureka Log. Maybe it will give you some hints there the AV appears. Anyway if you don't want to use Eureka or other debugger, you can use the AV's address to find the location manually. Use the 'Find error' menu to insert error's address. Delphi will send you to the procedure that

Re: Help needed with RegisterPropertyEditor

2007-07-04 Thread CubicDesign
von CubicDesign Gesendet: Donnerstag, 28. Juni 2007 14:09 An: Borland's Delphi Discussion List Betreff: Re: Help needed with RegisterPropertyEditor Hello Brendan. Users are lazy and they don't read the manual so I force them to learn something on the way, by setting detailed tool-tips

Re: Help needed with RegisterPropertyEditor

2007-06-28 Thread CubicDesign
can also have a dynamically created hint that is context sensitive, depending on (for example) the mouse position. Brendan Blake. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CubicDesign Sent: 27 June 2007 18:32 To: delphi@elists.org

Help needed with RegisterPropertyEditor - solved

2007-06-27 Thread CubicDesign
Solved. Anyway I still accept ideas about modifying the THintWindow to automatically wrap a long text. :) ___ Delphi mailing list - Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi

Re: Digital Timing needs AND a component install problem - sound issue

2007-06-25 Thread CubicDesign
Hi. I used in the past 'sndPlaySound'. Do a Google for it to see how to use it. I you want to play a simple beep tone you can try this: procedure MakeSound(Frequency {Hz}, Duration {mSec}: Integer; Volume: Byte);{ writes tone to memory and plays it} VAR WaveFormatEx: TWaveFormatEx; MS:

  1   2   >