tag:blogger.com,1999:blog-102524352024-03-08T09:55:53.256+01:00Albert Research BlogDelphi and Programming related stuff will problably be housed here.Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.comBlogger29125tag:blogger.com,1999:blog-10252435.post-28149875939337573242009-09-28T03:05:00.002+02:002009-09-28T03:11:39.771+02:00Only to say that I am still here...<br />I am playing around with an application using the Windows Media Player ActiveX Control to show some media. My question is... why is this beast resisting in resising correctly and why can't I change its resizetofit property ?<br />I have been googlin' all the web around with no effords... so... if someone just landed to this blog post expecting a solution boyz this is the wrong place ;-(<br />After some desperation y tried to set this setting on the program itself (I mean de normal player) and it does not work either.. so.. lets face it... resizetofit it just there to make developers frustate.Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com3tag:blogger.com,1999:blog-10252435.post-7070917097132623442007-11-09T13:03:00.001+01:002007-11-09T13:03:49.300+01:00Coding with Delphi is Marvelous<p>Yes... it is !!!. Ok... you may ask why I have made this entry on my blog... but I just needed to do it... it is my blog and only William reads it ;-)...  There is nothing you can't code with Delphi... ;-)... Delphi is the Beast... Delphi is the BEST.... and... yes... Metallica is going to publish a new album on 2008... Great.. really great...</p> Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com3tag:blogger.com,1999:blog-10252435.post-28537221989870381022007-10-24T01:01:00.001+02:002007-10-24T01:01:58.323+02:00The Vista Firewall disaster<p>Well, this is not a Delphi related post, but it is something I need to say. All Vista compatible firewall I have tested <strong>suck</strong>. Have I been rude ?.. Ok... sorry.. All Vista compatible firewalls <strong>really suck</strong>. </p> <p>You may think that I say that easilly, but not... that is not the case. I have been testing following trial versions of Vista compatible Firewalls:</p> <p>Comodo, Agnitum Outpost Firewall 2008, Jetico Personal Firewall, Lock'n'Stop, ZoneAlarm, Norton Internet Security 2008.</p> <p>In all cases except with Jetico and Lock'n'Stop the resources and speed penalties are really high, or they simply don't work, or worst, they hang the system. Agnitum Firewall once installed doesn't lets the system to be rebooted, Jetico Simply freezes the whole system, Lock'n'stop just blocks the system randomly, Zonealarm.. oh.. zonealarm... it decreases my system speed in about 25%. Disaster.. really disaster. But do you know what really annoys me ? That no firewall except Zonealarm and Jetico lets you disable the hashing of an application. I am connected permanently to the internet during my coding. My applications usually access SQL Servers around my LAN. Each time I compile my application and execute it , its SHA checksum changes so all firewalls bug me that the application has changed and ask me what to do... How can the coders of the firewalls not add this easy feature to implement to disable this checsum check on certain applications. Incredible. </p> Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com4tag:blogger.com,1999:blog-10252435.post-89326699425763650682007-01-16T02:15:00.001+01:002007-01-16T02:15:07.837+01:00Just a silly post, you don't need to read it !<p>Ok. I just warned you at the title. You don`t need to read this. It is just a silly post I fancied to write. I am sitting in front of my laptop, late at night and after reading for an hour all those great delphi blogs from Allen Bauer, Nick Hodges, Steve Trefethen, etc ... I fealed a mix of jealousy and got some motivation to write something at my blog. Yes, I know ! I promised some time ago that I would write about this and that, and didn't did it. That's myself, good intention but less effords ;-).</p> <p>I see the cursor blinking at the screen, and I don't know what to write about, althought I have the need to press the keys of my keyboard. I have never had a laptop before, and I really like the sensation that this keyboard gives to my fingers when I press the keys. Some weeks ago, at weekend, I had the need to recommence the developing of my new website <a href="http://www.albertresearch.com">www.albertresearch.com</a>. I turned on my laptop, plugged in my headphones, put some music on and started to code. It was amazing !. New ideas came in, "I could do this, and make that", and time passed so fast, that I did not noticed that I where coding for 4 hours. I had to stop, because my kids wanted my attention... sometimes I feel really bad because developing absorbs me too much. I am coding my web with Delphi using ASP. NET. I have coded some commercial web's in the past using flat html, flash only (great mistake, but at those times it was lets say <em>fashion</em>) and recently in ASP .NET. I found ASP. NET amazing. Coding such a complex think as a web page is (at least for me), using my favourite IDE and my favourite programming language !!!. Not with those cryptic languages loaded up with symbols. I found the codebehind feature an amazing thing. As I am self-taught coder, and I have never had lessons for coding in ASP.NET it was a bit hard to understand at the very begining, but now I am on the ball and getting the whole idea a <u>bit</u>. Let me underline the word <u>bit</u> as I am a novice ASP.NET coder. ;-)</p> <p>Ondia ! (in Catalan means like "Oh God!") It is very late. I got to sleep. Tomorrow I have to wake up early and go to work. So that was all about it... My best wishes to all of you for this year.</p>Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com2tag:blogger.com,1999:blog-10252435.post-49723072411467145012006-10-26T15:22:00.001+02:002006-10-26T15:22:49.037+02:00GExperts 1.30 Final Released<p>Just realized that Version 1.30 of GExperts is available for download. You may download it at they website at followink <a title="GExperts" href="http://www.gexperts.org" target="_blank">link</a>. Great !!!.</p>Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0tag:blogger.com,1999:blog-10252435.post-31898560031163836702006-10-26T15:17:00.001+02:002006-10-26T15:17:55.836+02:00... just for fun !!!<p>Yes just for fun. I wanted to drop in some lines just for having some fun. What should I write about ? I don't know... about delphi ? (this blog is supposed to be delphi specific)... Yes.. why not ?. This last time (about a month) I have only coded a few lines,into my favourite IDE, Delphi. Why ? Just because I had to be more System Administrator than coder. Quite boring. I rather prefer the excitement of writing my begins and ends than installing computers and upgrade third party software installations. Every morning when I arrived into my office, the first think I do is to click onto the helmet icon (just after turning on my monitor and unlock my computer ;-) ) to see my favourite Splash Screen. Then it stays there for all the day. Silent. Waiting for me. Claiming her/his time of attention. File|New|VCL Forms Application is waiting inpatient to be pressed. I would like to code an entire new Application just to apply my latest knowlegde (in fact not much ;-) ) in Delphi. New procedures to make applications nailed, new unit names to organize my code, etc,etc,etc. I would like to have a project with no warnings and hints, just compile and having my message window empty. (ok I can have that now by disabling the hints and warnings, but I want to play fair ;-) ).</p> <p>Well that was it all for today. See you soon. Keep happy and coding...</p>Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0tag:blogger.com,1999:blog-10252435.post-22251522692438589652006-10-11T15:54:00.001+02:002006-10-11T15:56:32.662+02:00Windows Live WriterWell, as the title says, this is my first post to my blog using the Beta of <a title="Windows Live Writer" href="http://windowslivewriter.spaces.live.com/" target="_blank">Windows Live Writer.</a> I think it is a great tool for many post bloggers and for lazy bloggers (as me) as it seems that you are working with your favorite Word Processor. Great. Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0tag:blogger.com,1999:blog-10252435.post-87484832620283204892006-09-07T19:27:00.000+02:002006-09-07T19:29:59.641+02:00Blogger Update to Blogger BetaHello to all.<br /><br />I just updated my blog to the new Blogger Beta (Highly recommened for all bloggers). You may experience if you use a feedreader that all my posts appear as new. Sorry for<br />the inconvenience. See you soon here.Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0tag:blogger.com,1999:blog-10252435.post-1155644531283777742006-08-15T14:22:00.000+02:002006-08-15T14:22:11.376+02:00Short note.. Delphi Deli is back !!!<p>Two posts today !!! Incredible ;-) Just only to let you know that <a href="http://www.delphideli.com/" target="_blank">Delphi Deli</a> is back !!!. What is Delphi Deli ??? Delphi Deli was one of the very first Delphi related sites on the early internet at least for me...;-)</p>Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0tag:blogger.com,1999:blog-10252435.post-1155628729479105342006-08-15T09:46:00.000+02:002006-08-15T10:00:58.830+02:00Turbo, Nick Hodges and moreWell.. I just wanted to drop a few lines on my blog to congratulate DevCo for the great Idea of the new product-line "<a target="_blank" href="http://www.turboexplorer.com/"><span style="font-weight: bold;">Turbo</span></a>". I think it is great that at last Delphi has a freeware step-in Ide so the newbies can test and get a first impression of the wonderfull world of delphi. Thumbs up !.<br />Nick.. Nick Hodges... the new Delphi Product Manager.. every day <a target="_blank" href="http://blogs.borland.com/nickhodges/"><span style="font-weight: bold;">blog </span></a>poster, I like this guy. Now he has proposed a challenge to himself. Do 30 (yes Thirty) camtasia demos about delphi starting tomorrow, one every day. So visit his <a target="_blank" href="http://blogs.borland.com/nickhodges/">blog</a> and post some comments to give him some Ideas on wich contents they should have.<br />And now the "more" part of the title... I am preparing it... yes.. the promised article about reports.. I need to code first some pending modules but I have the idea in mind... so say tunned.Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0tag:blogger.com,1999:blog-10252435.post-1155130663079377502006-08-09T15:25:00.000+02:002006-08-09T15:37:43.096+02:00Ohh no !!! 9 months without posts ;-)That's it... since november I haven't wrote a single line into my blog... so.. why ??? Computer crash ??? Internet failure ??? Holiday ??? No !!!.. The fact is that I have been coding with pleasure again... (well... in fact late nite coding also... but that is another think).<br />I have been very busy. Developing many programs at the same time, sleeping less (about 4 or 5 hours the day) but the great of it is that I am doing it with pleasure (but tired ;-) ) Yesterday night about 3am when I was having a cigy (sorry... yes... I smoke again) I was thinking about to blog a little series of post of the way I code some kind of matters.. (for example... the way I do for coding reports of my applications) etc... Well knowing me it will depend on my lazyness if that will see the light.<br />Oh... yes.. I forgot to tell we are getting "Turbo" as you sure now (sure because only Gloria and william read my blog and Gloria was the one who told me ;-) ) and that is great news, very great news.. words as "They're back" and "back to the roots" are encouraging...<br />Well.. have a nice coding everyone of you :-)Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com2tag:blogger.com,1999:blog-10252435.post-1132943349183608102005-11-25T19:05:00.000+01:002005-11-25T19:54:39.990+01:00Lazy.. Lazy...Well.. lets say it... I am very lazy :-) Since about a month or er.. more I haven't token care of my blog.. since I started this blog (about a year ago) not many delphi specific posts had been introduced here.. but that's live... :-) In fact I have been always like that.. I start something with great entusiasm and after a couple of weeks I loose illusion... but I still got a spark of it for my blog. Anyway I think I am writting this for my own as probably only Gloria and William read this lines. Hello Gloria, Hello William.. howdy ? :-))))))).<br />This last months I have been visiting many blogs and the borland newsgroups, and I see how complicated this world of Delphi is, but I keep on working and doing what I like.<br />This last times I was deciding about a change of the Image format that I use at my projects, as for me bmp is so simple and weighty, at the UI and so.<br />Since long time ago, I got bookmarked, a website from an excellent Delphi Coder <a href="http://www.lischke-online.de/">Mike Lischke.</a>He is the producer of the <a href="http://www.lischke-online.de/GraphicEx.php">GraphicEx</a> Library. When you install this library Delphi can read many,many new image formarts (PSD,GIF,TIFF,PNG) althought with some limitations in some formats, it is awesome. So I started testing this for some time using the GIF format, as it produces small files and it's transparency works perfectly in Delphi. After some tests and feelling satisfied I started implementing the GIF format to all my projects and I shorted the size of some projects about 2 or 3 megs. Great !<br />Well... after some time I played with the PNG format. This format is really a beast, as it accepts 16million colors (not as gif wich is limited to 256), it accepts transparency, and.. and... Alpha blending. OOOOhh... alpha blending... this is a blaster... but GraphicEx does not support the Alpha Blending feature in the PNG format, so I looked around the net, googleing, and found this page: <a href="http://pngdelphi.sourceforge.net/">http://pngdelphi.sourceforge.net/</a> Ohh... what a sweet think... when I installed the source and tryed a PNG image... my eyes started to cry.. what a beatifull think.. look.. look how pretty the thinks could look like with a Alpha blended Image:<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1863/784/1600/Image01.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/1863/784/400/Image01.jpg" alt="" border="0" /></a>This is an Image of a Form in Design mode using three png images from <a href="http://www.foood.net/">Foood's</a>, a great Icon producer.<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />PNG files, if you don't abuse, are a bit large than gif's but much shorter than bmps with transparency and alphablending, so I decided to change it all to PNG.. Now coding being able to use those PNG images is just fun. I really recomend it to everyone. Well I only wanted to drop some few words and got out a little article. And for the end, and knowing how I am (as my posts are countend monthly :-)) ... I wish you Merry Christmas and a Happy New Year 2006 in advance, and at least a happy Delphi 2006 wich is arround the corner.Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com3tag:blogger.com,1999:blog-10252435.post-1128153152174439212005-10-01T09:38:00.000+02:002005-10-01T09:59:38.950+02:00Delphi is definetly Mediterranean :-)Well.. time has passed since my last post... and many thinks happened. First of all Delphi 2005 is approaching to starting to be a usable IDE. The latest "unofficial" patches by <a href="http://blogs.borland.com/abauer">Allen Bauer</a> made this happen. Also a Delphi roadmap has been annouced. Good !. 64Bit Compiler, Unicode VCL, Quality and performance, Great. DeXter (Next delphi Version) is appearing at the horizon.You may find a good compilation of all this <a href="http://www.dragonsoftru.com/index.php?go=delphi2006">here</a>.<br />At his latest post Allen, explained something about Delphi Passion, and I rather think he is quite right ! At least from my part. Some days It makes me feel proud, some days it makes me angry (when it hangs), and when I see those "crab" programs coded with VB.. it makes me feel at the top of the hill... for me thats passion... so that's why Delphi is definetly Mediterranean :-).<br /><br />Well. From my part I must apologize for my long absence here at my blog, but you know, I lost some motivation during this last months to write any entry here. Now with all forthcommings, and future plans, I am starting to feel more vitalized.<br />I have some plans to publish here, some of my components I have developed during these last years that I haven't uploaded at my habitual favorite Delphi Site at <a href="http://www.torry.net/">Torry</a>.<br />Happy Coding to everyone.Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com2tag:blogger.com,1999:blog-10252435.post-1122709158902011952005-07-29T23:31:00.000+02:002005-07-30T10:33:17.770+02:00Between begin...end;Ohhh god... at 28/04/2005 was my last post in my blog... how fast time passes... Well at the meantime I have been, of course, coding with Delphi ... er.. mmm SEVEN :-).. I start smoking again (sorry gloria.. :-) i could not resist to smoke again..) but only 3 or 4 cigs a day (compared with my 2 packages a day this is nothing) and work, work, work... well nothing exciting.<br />I want a Change.. since year 2000 nothing but problems came into my horizon so... 2006 will be the beginning of the light... Windows Vista, Delphi 2006 (pls bland... make it 2006 not 2,06 :-) ) and more to come... so...<br /><br /><span style="font-size:85%;"><span style="font-family: courier new;">procedure TForm1.ARButton1Click(Sender: TObject);</span><br /> <span style="font-family: courier new;">var</span><br /> <span style="font-family: courier new;"> V_Date : TDateTime;</span><br /> <span style="font-family: courier new;"> V_End_of_Year : TDateTime;</span><br /> <span style="font-family: courier new;"> V_Remaing_Days_For_My_Beer_Party : Integer;</span><br /> <br /> <span style="font-family: courier new;">begin</span><br /> <span style="font-family: courier new;"> V_Date := Now;</span><br /> <span style="font-family: courier new;"> V_End_of_Year := EndOfTheYear(V_Date);</span><br /> <span style="font-family: courier new;"> V_Remaing_Days_For_My_Beer_Party := DaysBetween(V_Date,V_End_of_Year);</span><br /> <span style="font-family: courier new;"> ShowMessage(Format('There are %d remaining Days for my Beer Party',[V_Remaing_Days_For_My_Beer_Party]));</span><br /> </span><br />Have a great day all of you...Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0tag:blogger.com,1999:blog-10252435.post-1114688135050206562005-04-28T21:11:00.000+02:002005-04-28T13:35:35.053+02:00Coding with D7... do not disturb #;-)Helloooo... my dear blog-readers... what's up ?... Now coding is good. Why ? Quite easy to explain... this last time I am a very busy and a happy <strong>D7</strong> coder.<br />Since my IDE "Rollback" (and the purchase of a new keyboard :-) ) my fingers fly over the keyboard and the IDE is receiving and processing the input as it should... no hangs, speed... well in a word... productivity...<br />Well... in the air is something about UPD3 for D2005 but I am quite pessimistic about the fixes it could maybe do, so I rather thing we all of us have to wait until D10. (Please Borland do not release a D2006, do a "back to the roots", leave the dark side :-) and come back to us, the developers).<br />I have been reading at Borland newsgroups many posts from people with bug reports, QC is floaded with D2005 bug entries... Believe me... <strong>I LOVE DELPHI</strong>, but this D2005 is the greatest nonsense of all Delphi releases I have ever seen... Buggy, slow, unstable, unpredictable. Please don't tell me that it is solid as a rock since UPD2, many developers, me included, are having only problems with this IDE, I could be a clumsy and useless developer but what about all other hundreds of developers that complain about the problems they are having ?<br />Well that was it for today... I needed to say this...Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com6tag:blogger.com,1999:blog-10252435.post-1113603379579449212005-04-16T00:01:00.000+02:002005-04-18T01:46:18.700+02:00Delphi 2005 is dead... God save Delphi 7 !!!!Well.. it is the moment... I had enough of slowlyness, strange behaviours, sudden hungs, notepad alike code editor (code completion is unable to show a second level record data), after a sudden hung and the loss again of some unsaved code... I just did it... Pressed the top right X, and definetively closed D2005 for some long time (my ram chips will be very grateful). This last time with D2,5 (yes you read right... D2,5) I was feeling as being developing with a turtle. I had much patience but know it was enought.<br />I pressed a precious D7 icon on my desktop... after some a seconds something powerfull appeared again on my screen... THE REAL DELPHI... after some setting here and setting there... I felt again as the king of the mountain, no code can resist now, again the rule that I have had in my mind allways since earlier versions is active "If it is possible in windows, then it is possible with Delphi". Cheers.Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com7tag:blogger.com,1999:blog-10252435.post-1112686683960574052005-04-05T09:36:00.000+02:002005-04-05T09:38:03.960+02:00Silly Blog...I don't know why but my blog is not working correctly. It does not show up my last article of the Delphi Installation Organization. So if you are interested you may access it by looking at the April 2005 archives.Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0tag:blogger.com,1999:blog-10252435.post-1112659206508132412005-04-05T01:59:00.000+02:002005-04-05T12:45:00.603+02:00Delphi Installation Organization Part 4Well.. you can believe your eyes... here it is.. the last article of the Delphi Installation Organization.. incredible.. After receiving many emails supporting my blog (in fact only 1 from <a href="http://estebanp.blogspot.com">Esteban</a> #:-D.. thank you again <a href="http://estebanp.blogspot.com">Esteban</a> for your support) I decided to finish my article. I just took my mug, filled it with milk... heated it on my microwave, added some, some.. err... plenty Cofeee and there it is... the Article.<br />On last article I explained the last configuration steps of the Delphi IDE. Now you should have all dcp's and bpl's (except the ones that Delphi Installs of course) located at a precide folder, all your component sources also well placed at they folders and so on. Now after having set all this up, and having all this well organized, we want to be able to store all this settings so that we could be able to restore all this in a minute if we may have to reinstall Delphi or our OS. All this settings, organized, are going to be stored in a precise sub-folder at our BDS folder that is named <strong>Settings</strong>. If you remember I explained it at the First Chapter of this article. I will explain what settings are placed at each subfolder of the <strong>Settings</strong> folder, and how are they retrieved to place them there and a brief explanation of what they are:<br /><br />G:\BDS\Settings\Bin:<br />Here I place all settings that are going to be copied to the $(BDS)\Bin folder. Here I have two files, the <strong>Delphi.dct</strong> file and my <strong>Programming.dst</strong> file. <strong>Delphi.dct</strong> is a file that holds all of our configured Component Templates at the Delphi IDE. Programming.dst is my Desktop Speedsetting file. So once I do a change of any of this files I copy them from the $(BDS)\Bin Folder to my G:\BDS\Settings\Bin Folder for backup.<br /><br /><strong>G:\BDS\Settings\Delphi 2005 Examples</strong>:<br />This folder holds some Borland Samples for D2005 that once installed you get it to be opened on the IDE wellcome page. I got them from a Delphi Blog (you may find it at CodeCentral) . In fact this is not vital but I have placed here as many of the Samples are usefull for me for testing purposes.<br /><br /><strong>G:\BDS\Settings\Objrepos</strong>:<br />Here I store all my reformated Units/Forms of the object Reposistory and the Configuration file for the IDE. For Example I have edited some of the Objrepos files from the Delphi Installation folder just to re-format them as I like them to look like, so each time I Invoke a FileNewASP .NET Page I get them as I want it to look like, so I don't have to reformat it's source each time. I also have some Form Templates Stored in a fixed Place somewhere outside of the G:\BDS\ Folder (in fact in my G:\BDS Projects Folder :-) ) These form templates where added as template to the object repository. All this settings are stored in the BorlandStudioRepository.xml, so copy the files edited at the $(BDS)\Objrepos Folder and the before mentioned xml file and store them here for Backup.<br /><br /><strong>G:\BDS\Settings\Patches</strong>:<br />Here I store all IDE patches install files. (With this IDE, Delphi 2005, too many #:-( and to short at the same time.)<br /><br /><strong>G:\BDS\Settings\Path</strong>:<br />Here I store a txt file (path.txt for example) holding the Path information that I have to set each time I reinstall my os for the bpl and dcp dir.(as explained in previous article) At the moment it would be G:\BDS\_Win32\_bpl;G:\BDS\_Win32\_dcp.<br /><br /><br /><strong>G:\BDS\Settings\Registry</strong>:<br />Here I store the registry exports from the Delphi Settings at the registry. I export normally three different paths from the registry (so I generate obviously three files).<br /><strong>a) HKEY_CURRENT_USER\Software\Borland.</strong><br /><strong>b)HKEY_CURRENT_USER\Software\Borland\BDS</strong><br /><strong>c)HKEY_CURRENT_USER\Software\Borland\BDS_WIN32</strong>.<br /><br />The a) export is the whole Delphi Installation Settings store. (I store this for backup just in case I have some problems with the b) export.<br />The b) exported registry file is the Normal Delphi 2005 Settings at the registry.<br />The c) Exported registry file is a configured Delphi 2005 optimized for Win32 configuration to use with the -rBDS_WIN32 switch with the Delphi 2005 IDE.<br /><br /><br /><strong>G:\BDS\Settings\Settings Profile</strong>:<br />Some configuration settings of Delphi 2005 are stored in some place of your user profile, located at ApplicationData\Borland\BDS\3.0. You will find some files you may backup as the<br />CodeSnippets.xml file that has all your configured codesnippets, the DefProject.bdsproj that holds your default project options for all personalities (Delphi, NET, and C#) and some other as the Code Templates file (bds.dci)<br /><br />So well.. after having stored all files as stated before, in the case you for example reinstall your os.. when it comes the time to install Delphi see how easy and fast it will be to restore the settings to its "production" state with all configured.<br />a) Install Delphi. (Bare in mind you must install of course delphi to the same path allways at it was when you exported the registry file)<br />b) Execute Delphi for first time so all default values are created at the registry.<br />c) Close Delphi .<br />d) Execute all the patches needed in order.<br />e) Set the path as stored in the G:\BDS\Settings\Path\Path.txt for our bpl's and dcp's.<br />f) Copy all files from the G:\BDS\Settings\bin to the $(BDS)\Bin Folder.<br />g) Copy all files from the G:\BDS\Settings\Objrepos to the $(BDS)\Objrepos Folder.<br />h) Copy al files from the G:\BDS\Settings\Settings Profile to its destination part.<br />i) *<strong>CAUTION*</strong> with this.Delete the HKEY_CURRENT_USER\Software\Borland\BDS key at the registry (be carefull with deleting keys at the registry.. just only the above mentioned should be deleted. I you delete some other key you may turn your os to unusable and loose some or all of your data.)<br />j) Import the Registry File where you exported the HKEY_CURRENT_USER\Software\Borland\BDS key<br />k) you are done !!!! Execute Delphi and you will have all set at it was before.<br /><br />The process from e to j is fast as the lightning and you have all nicelly setup again.<br />Buff.. and that was it all for today friends. I wish you understood it all and forget my typos. #;.D. Se you soon again back here.Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com2tag:blogger.com,1999:blog-10252435.post-1112307213498876672005-04-01T00:06:00.000+02:002005-04-01T00:13:33.500+02:00Wel.. some bytes in... #:-DYes... back again... and here am I dropping some bytes into my blog.<br />I noticed that nobody is reading this blog... so why should I finish my Delphi Installation article ? In fact my I don't fancy to write about this anymore...<br />And that was it... for today... sorry for my bad mood...Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com2tag:blogger.com,1999:blog-10252435.post-1109875404325619002005-03-03T19:36:00.000+01:002005-03-03T19:43:24.326+01:00Delphi ?... No Delphi this days...Oh... !!!<br />My Blog... #:-) I just where browsing around using my favourites, and suddenly came across my own blog, and realized that I did not "blog" a word since the 22 of February. Days just pass away... Well I have to finish the previous block of posts about Delphi Installation.. and then I have so many things I would like to say/write.. so let me pass again around here in a couple of days and I promise you that some few chars will be dropped here...Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0tag:blogger.com,1999:blog-10252435.post-1109063470145362652005-02-22T01:09:00.000+01:002005-02-22T10:11:10.146+01:00Back to workWell.. I am... back to work... I had some great 1 week hollidays... now is time to sync myself with all pending things at my work.... in short I post my last article about Delphi Installation Organization.Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0tag:blogger.com,1999:blog-10252435.post-1108461497616228872005-02-15T10:07:00.000+01:002005-02-15T10:58:17.620+01:00Delphi Installation Organization Part 3Well.. had may coffee... (sorry... my two coffees) and know I fell quite motivated to press some of my favorite keys... those keys at my keyboard to explain the Delphi Installation Organization.<br />At my last post I explained the level 1 folders at the _Win32 Folder. Today I will explain how I have configured my Delphi base Settings. Well.. the first thing you must bare in mind is that I will explain all this in a generic point of view... I mean that I will try to make it at least D5,D6,D7 or D2005 compatible... but surelly the ways to get to the configuration parameter at the different IDE's may differ. So lets dive into it...<br />Get your IDE options and find following parameters:<br /><br /><span style="font-weight: bold;">Delphi Library Path</span>:<br />Well.. in here there must be all Directories for all units that will be used at any <span style="font-weight: bold;">uses</span> clause at all your delphi projects... in here I have all directories I use and the ones that Delphi has set at the installation.. My added paths could be for example:<br /><br />G:\BDS\_Win32\_Consts<br />G:\BDS\_Win32\_library\Albert Research<br />G:\BDS\_Win32\_library\GraphicEx<br />$(BDS)\lib<br /><br />as you maybe have noticed I have intentionally set as the last order the standard delphi folders, this is because I want to have My units being found first... for example If I want to have my own consts as I explained on Part 2 of this article, I add the following folder G:\BDS\_Win32\_Consts at the very first order off all the library path then my custom consts units would be found first and used to compile my projects... so there will be no need to modify, delete, move the original consts units from the Delphi Installation folder. Cool isnt it ?... The fact is that the intention of all this article is to avoid to delete,modify nothing from the Delphi Instalation folder.<br /><span style="font-weight: bold;">Package OutPut Directory</span>:<br />This should be set to G:\BDS\_Win32\_bpl so that any compiled package will be produced in here. This is because we want all our packages live together in the same folder... not all around the hard disk... why? ... well at this moment (there are other reasons but it is to soon for explaining).. just think it is for doing a easier backup of all your Delphi Stuff..<br /><span style="font-weight: bold;">DCP Output Directory:</span><br />This should be set to G:\BDS\_Win32\_dcp for the same reasons explained above.<br /><br /><span style="font-weight: bold;">Important</span>.Having set this, you must modify the library path of your system adding the _dcp and _bpl path to it...<br /><br /><span style="font-weight: bold;">Browsing Path: </span><br />In here you set the folder from where the IDE seeks for units as in the Library path... but this is for "Browsing the Units"... just what happens when you CTRL-Click a unit name at the uses clause in the Code Editor. My settings would be similar as in the Library Path... but I rather prefer here to give more importance to de Delphi VCL units... having in mind those setting set with the translated consts... the folders at my IDE could be like following:<br />G:\BDS\_Win32\_Consts<br />$(BDS)\source\Win32\vcl<br />$(BDS)\source\Win32\rtl\common<br />...<br />G:\BDS\_Win32\_library\Albert Research<br />...<br />and so on..<br /><br /><span style="font-weight: bold;"></span><br />Well... that was it for today... in the next (and last) article from this series I will explain how and what to store from the delphi Instalation to be able to, after reinstalling the os and Delphi, set Delphi to its production state in a few seconds.Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0tag:blogger.com,1999:blog-10252435.post-1108127323879718832005-02-11T14:00:00.000+01:002005-02-11T14:10:55.856+01:00Work and HollidaysWell.. I presume I have been a bad blogger. There has been no post since one week or more. Why?... well.. quite easy... the same problem as everyone... <span style="font-weight: bold;">work !!!</span><br />It has been a terrible week... we had some changes and movings at my work, and I could not even drop a few lines into my blog, because I was exhausted every day when I arrived at home. In fact my computer stayed turned off all this week.<br />This next week I have hollidays... (my first in quite a lot of years) so maybe there will be an ocasion to write the missing parts of the Delphi Installation Organization. See you then...Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com5tag:blogger.com,1999:blog-10252435.post-1107173844113511682005-01-31T13:16:00.000+01:002005-01-31T13:18:53.146+01:00Sorry to all... this week will be quite busy for me... so there will be no blog time available for me... maybe some late nite post... but surelly nothing until next week.
<br />Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0tag:blogger.com,1999:blog-10252435.post-1106785228012938422005-01-27T01:18:00.000+01:002005-01-27T01:22:42.633+01:00Delphi Installation Organization Part 2<div style="text-align: justify;">Part2: Level 1 Folders and the _Win32 folder.
<br />
<br />Today I will explain in a flash the main purpose of each first level folder, and some of the subfolders of them.
<br />Lets begin with it !
<br />
<br /><span style="font-weight: bold;">_DotNET</span>
<br />This folder holds all related to DotNET.
<br /><span style="font-weight: bold;">_Win32</span>
<br />As you suposed this folder holds all related to Win32.
<br /><span style="font-weight: bold;">Component Library</span>
<br />This folder holds all original Component or Component packs sources. It does not matter if Win32 or DotNET.
<br /><span style="font-weight: bold;">Documents</span>
<br />All documentation,FAQ, etc.
<br /><span style="font-weight: bold;">Experts</span>
<br />Any Expert you may install for Delphi should be located here.
<br /><span style="font-weight: bold;">Programs</span>
<br />Any program related to Delphi or needed during developing should live here. As for example resource editors, database managers, etc.
<br /><span style="font-weight: bold;">Settings</span>
<br />All settings stored for the Delphi IDE stays in here. This folder is very important because it will hold al registry settings and files stored so you will be able to setup your delphi in a minute.
<br />
<br />Ok.. I just explained the first level of the G:_BDS folder. Ok.. some names maybe sound weird to you.. but that is my way for setting folder names, you can of course use your own style of naming but I advice you to mantain the philosophy of each folder. Why the use of underscores "_" in some folders. Well.. underscores are just for sorting. I wanted to appear my both most daily used folders of all this first level at the very beggining of the tree.
<br />I would like to jump out from the DotNET part as I am a rookie on this, the folders created at this level are just a little copy from the used at the _Win32 folder that I will coment stright away.
<br />
<br /><span style="font-weight: bold;">_bpl</span>
<br />All bpl of all third party component packages are located here.That means that no bpl other than of course installed by Delphi itself should be located outside this folder.This folder should be on the environment path, and should be setup on delphi to be the package output directory, but this will be explained in another post.
<br /><span style="font-weight: bold;">_Consts</span>
<br />Well. Depending on the targeting country of your software you may want to have the delphi consts translated in here. Many Delphi related web pages offer the basic consts to be able to be downloaded. This files should be placed here. Of course, this path should be set at the most top level of the library path at the compiler configuration, but this also will be explained in another post.
<br /><span style="font-weight: bold;">_dcp</span>
<br />All dcp as with in the case of bpl will be located and placed here. As with bpl this folder should be on the environment path and should be setup om delphi to be the DCP output directory.
<br /><span style="font-weight: bold;">_library</span>
<br />Here is where I place all third party components sources. I create inside this folder, subfolders for the diferent component packs as for example and Albert Research folder for my own components, an GraphicEx for the components of Mike Lischke, etc. This folder and each subfolder should be added at the Delphi Options, library path and browsing path.
<br /><span style="font-weight: bold;">_library dcu</span>
<br />This folder will hold all dcu files that will be created by compiling any of the packages of the compoment sources of the _library folder. Having in mind this, you have then of course set the Unit output directory of each package you are compiling, to this folder. Doing so we will have allways all our _Library folder clean of the dcu files.
<br /><span style="font-weight: bold;">_library test</span>
<br />There is not much to explain about this folder. This folder should be added at the Delphi options Library Path, and browsing path, and I use it to just do fast installs of freeware components I donwload from the internet, to just test them. If I like them then I just move them to a folder Inside the _library folder if not i delete them from here and of course I delete the the bpl's and dcp's generated at the _bpl and _dcp. Whe have to stay always tidy :-).
<br />
<br />Well. There are some more folders and Delphi configurations considerations that I will explain in the next post of this blog. Mmm.. today is wednesday so maybe on friday night or saturday I will throw some lines. Have a nice time.
<br /></div>Albert Researchhttp://www.blogger.com/profile/17033802288424795487noreply@blogger.com0