IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

June Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPascal and Delphi Coding Board   All Groups   Print This   

Pascal and Delphi Coding Most Active Threads

  


25 Threads:


Thread 25 of 25
Thread Starter  

rt
Here's a silly one
When I press a button on my latest amazing application nothing happens (that's not surpising in itself) except that a message flashes across the screen at triple the speed of light [Wow!] , , I would like to know what it is trying to tell me as that may have a bearing why the button does nothing in the first place. Any ideas? Think! , , I suppose it could of course be Angel's mugshot.. Yikes! , rt
Posted to MB Topic: Delphi News / Other
11 years ago
16 replies. Last post:

rt
{Too Long}
11 years ago
Nothing New Since Your Last Visit
980
Hits

Thread 24 of 25
Thread Starter  

Rick Carter
CodeGear has a new home!
For those who haven't been keeping up, some time back Borland "spun off" a separate company named "CodeGear" for its developer tools, also announcing at the time that CodeGear was up for sale. Well, now there's a buyer! CodeGear is being acquired by Embarcadero Technologies, a database tools company. Key people from both companies are excited about this development. While there are no overlapping products, there is a lot of potential for sharing technology between products, and for "bundling" p...
Posted to MB Topic: Delphi News / Other
5 years ago
16 replies. Last post:

Rick Carter
Another news article on the acquisition of CodeGear by Embarcadero: http://www.sdtimes.com/content/article.aspx?ArticleID=32238 Sounds like they're very optimistic!
5 years ago
Nothing New Since Your Last Visit
5606
Hits

Thread 23 of 25
Thread Starter  

rt
Questions, questions
Which takes precedence - the section in the project file where it gives a list of forms to be automatically created at startup or my choice of form creation via the project option selection bit? Think! , , The majority of examples in the online help use "Free" in some context when closing forms, yet hidden away in the depths of the very same online help it also says to use "Release" in preference to "Free" when closing forms as it allows for all actions to finsh before closing. I doubt if I will ever find that particular bit again, but does some clever type know the reasoning\answer? Think!
Posted to MB Topic: Delphi Object PASCAL
11 years ago
15 replies. Last post:

Rick Carter
While Scott's off preparing his example, I suppose I can at least tell you what "RTFM" stands for. Though I think it's been used some on your side of the pond as well; IIRC, there was (and may still be) a domain name called rtfm.ik.ac.uk, , Since the early days of Usenet, people saved typing and bandwidth by using acronyms -- IIRC for "if I recall correctly," as I used above; AFAIK for "as far as I know," etc., , When someone asked a question he ...
11 years ago
Nothing New Since Your Last Visit
949
Hits

Thread 22 of 25
Thread Starter  

Mike Prestwood
Hot News: Borland is Killing the BDE
Hot News: Borland is Killing the BDE!!!, , , , , I bet that got your attention! Although Borland has marked the end of the Borland Database Engine (BDE), they will continue development for another year or two. The current expectation is that the BDE will be a useful solution for another 2 to 3 years. Although two to three years is a lifetime in this industry, you will want to start migrating away from the BDE as soon as possible. How much development time Borland will devote to the BDE in the next year or two is a touchy subject for both Borland and current users of the BDE. Based on the discussion going on at BorCon 2001, it looks like future work on the BDE will be focused primarily on bug fixes with very few new features being added., , , Borland has made it clear that they want you to use their new dbExpress solutio...
Posted to MB Topic: Delphi News / Other
12 years ago
14 replies. Last post:

ttheobald
BDE deprecation began as a ceasing of support for client/server style databases. dbExpress was introduced specifically to take up the role that would later be vacated by BDE, which was why there was such a push to migrate folks to it for new development., , Basically, consider BDE to be deprecated and don't do new development with it. Just because Borland is ceasing development (and eventually ceasing shipment) of it, doesn't mean you can't kee...
11 years ago
Nothing New Since Your Last Visit
2624
Hits

Thread 21 of 25
Thread Starter  

ckerscher
Need BDE replacement
Am using CodeGear 2007 Win32 with dBase, ACE Reporter, Woll2Woll, JEDI components; therefore I have a lot of TTables and TQueries throughout my program. My applciation runs on a 2003 server with XP workstations. The response time to access data (retrieve, post, do SQLs) is horrible. The users are demanding something better. But I don't know what is better. And I don't know what the ramfications are in changing to something better. I sincerely hope that someone can give me recommendations as well as address the difficulty in changing to another database. Thank you so much, Charlie
Posted to MB Topic: Delphi Distributed Apps
27 months ago
14 replies. Last post:

Wes
{Too Long}
27 months ago
Nothing New Since Your Last Visit
2917
Hits

Thread 20 of 25
Thread Starter  

rt
Back to DOS!
I was asked by someone if I could put together a little program which at the press of a button would shut down Windows (and not just go to a DOS window) and then run a true DOS program and then close the system down - although I doubt this last bit., , Naturally I waved the white flag at this, but hoped that someone here may have an inkling of what to do. , , I understand that the DOS program is something to obliterate the windows swop file, so it did'nt take a great deal of brain power to guess that the said computer may have been visiting the likes of naughty Nora's enormous knocker sites Yikes! , , Well, each to his own I suppose, but out of interest could this be done in Delphi? , rt
Posted to MB Topic: Delphi News / Other
10 years ago
13 replies. Last post:

Rick Carter
Just in case anyone from the original discussion is still around and interesed, I stumbled across a freeware component, TDosCommand: http://maxxdelphisite.free.fr/doscmd.htm
10 years ago
Nothing New Since Your Last Visit
2572
Hits

Thread 19 of 25
Thread Starter  

b6user
How to sell a program written by D6 Personal?
I wrote a program by D6 personal. Initially for fun, but now it turns out I may sell it for some money. Does anyone know how much money I need to pay borland if I want sell a program written by D6 per? I'm a student, $1000 pro version is too much for me. I hope I will not need to re-write it by c++. Borland's tools are excellent, but the price is a little high.
Posted to MB Topic: Delphi News / Other
11 years ago
12 replies. Last post:

Scott
Rick, I knew that you weren't saying anything negative about Prestwood. I'm glad you clarified these points, since I wasn't as current on the license agreements, and it's good to know what to tell Delphi-newbies about software distribution., , , , And I admit that I was perhaps trying to start our [i]own[/i] thread about the discussion, but at least the [b]borland.public.delphi[/b] threads have a chance to be seen by the decision-makers at Borla...
11 years ago
Nothing New Since Your Last Visit
1005
Hits

Thread 18 of 25
Thread Starter  

Me
N00b in need of help
How to hide an application from the list with the start-menu-button on it (no, im not english)?
Posted to MB Topic: Delphi Object PASCAL
11 years ago
11 replies. Last post:

duffling
HI ME..., , Just a thought , you may find that your learning small chunks of delphi this way thou , as opposed to learning it from the ground up .., , just a something to think about.
11 years ago
Nothing New Since Your Last Visit
1348
Hits

Thread 17 of 25
Thread Starter  

Rick Carter
Next version of Delphi announced
Hoo-hah! Read all about it!, , http://bdn.borland.com/article/0,1410,29951,00.html , , http://bdn.borland.com/article/0,1410,29952,00.html
Posted to MB Topic: Delphi News / Other
10 years ago
11 replies. Last post:

Rick Carter
It's now out, at least the expensive versions. No word yet on a demo version, personal or such. http://www.borland.com/delphi_net/ Also follow the link to the demos, as they're kind of interesting.
10 years ago
Nothing New Since Your Last Visit
1545
Hits

Thread 16 of 25
Thread Starter  

Daniel Kram
Point-Of-Sale (POS) Screen Design
Hello and happy new year to all. I am currently in the process of writing a Point-of-Sale, POS, system. I have seen many in person recently and they have fairly simple screens with a few options usually per screen and perhaps some tabs. Color is usually present but not usually overdone. My question, I noticed they all have a gradient type of button in several formats and how do you th ink I should best approach my project to achieve a nice graident button and controls. Here is what I have looked at thus far. 1) Skinning. If I find nothing else, this is the area I will probably land. When I am finished with my research, I will post my findings. Through skinning, I can apply a theme to the Delphi application and at least get a completely different feel than the basic application colors with very little coding. 2) HMI (Human Machine Interface) I do not know much about this, yet, but this seems to be an option. 3) Just DIY, or do-it-yourself - create nice gradient designs in a paint...
Posted to MB Topic: Delphi VCL
53 months ago
11 replies. Last post:

rdkram
Anas: Wes is correct. Moreover, I cannot share code from the application without breaking copyright rules/laws. Yes, I wrote it, but I do not own it, my employer owns the code - not me. Follow what, Wes, indicates and see where it takes you. I do the same thing with languages I learn such as Ruby, or PHP. The other thing you probably need is a solid understanding of database design. if you do not have a DBA, or database administrator, availabl...
19 months ago
Nothing New Since Your Last Visit
4639
Hits

Thread 15 of 25
Thread Starter  

rt
Dates
Is it possible when using a standard MaskEdit box to get the system date to appear as a default, or is there some other cunning method to do a similar thing?, rt
Posted to MB Topic: Delphi Object PASCAL
10 years ago
10 replies. Last post:

rt
You are, of course, quite right as I remembered later! , For some strange reason (drink, insanity, senility etc ...
10 years ago
Nothing New Since Your Last Visit
1019
Hits

Thread 14 of 25
Thread Starter  

Angel
QReport Query SQL
Now I will readily admit that I aren't the brightest candle in the shop window when it comes to SQL, so I need help (Im looking at you Mr Wehrly!)., , My report splits into four groups, each group containing a list of items for that group and their current value. I list my data using QRDBEdits and it works fine. However, I would like to exclude any items where the figure is "0.00". I figure to do this I need a QRExpr instead of the QRDBEdit but I dont know how to make it work properly with the SQL code. In delphi, I would write something like this., , if Currency((Query2.Debit - Query2.Credit)) <> 0 then , , but how to do it in Sql???, , Answer this for me and Ill get around to sending Mike my picture for the avatars. Im growing my beard as we speak!
Posted to MB Topic: Delphi Object PASCAL
11 years ago
10 replies. Last post:

Angel
Hmmm, I wonder whether or not you get nasty cold winters in California. I thought it was hot all year round? , , Please bear in mind that I have gleaned this information from the TV show baywatch and not from actual fact!, , In fact, I seem to remember that baywatch was pretty much a beard free zone!
11 years ago
Nothing New Since Your Last Visit
1113
Hits

Thread 13 of 25
Thread Starter  

sharkboo
NMHTTP Post Message Problem
when i use NMHTTP1.Post('http://10.0.65.188/hello.php','a=hello'),the socket reply that the connection is successful,but the parameter hasn't been transfered., , who know why and how to deal with it?, thax.
Posted to MB Topic: Delphi VCL
12 years ago
9 replies. Last post:

Anonymous
La sacoche en cuir pour homme est nanmoins ce qu'on a invent de plus pratique pour les hommes et de plus moder...
12 months ago
Nothing New Since Your Last Visit
11782
Hits

Thread 12 of 25
Thread Starter  

Tcanuck
Backup and Install Question
Hi...., I got interested in Delphi by downloading the trail version 5 from the net, and decided to purchase the Delphi 6 Personal edition. I have a couple small projects i've been working on that I would like to save., , My Questions are..., Can i install Delphi 6 over the trial version 5? Should i use add/remove programs to uninstall it?, What files do i have to backup or save to keep the projects i've been working on?, , Thanks for any remarks or opinions in advance... :)
Posted to MB Topic: Delphi News / Other
12 years ago
9 replies. Last post:

Tcanuck
Hi Scott..., Thanks again for the response., When I decided to start this project, I didn't know a Java Bean, from a Jelly Bean. (Not that I know much more now.) All I knew was that my favorite charting and trading platform w...
12 years ago
Nothing New Since Your Last Visit
1039
Hits

Thread 11 of 25
Thread Starter  

gr
Delphi's main menu disapeared
hi, , my Delphi's main menu disapeared. I can only see the source and forms windows., , What to do?, , Thanks, , Gr
Posted to MB Topic: Delphi News / Other
11 years ago
9 replies. Last post:

rt
Well, as the topical Xmas turkey said to the bowl of stuffing, bugger me! Roll Eyes , , Now that's an amazingly useful piece of very useful info because I too keep forgetting what the original post said, I shall remember that., rt
11 years ago
Nothing New Since Your Last Visit
3042
Hits

Thread 10 of 25
Thread Starter  

Daydreamer
Database Problems
Hello everyone!  I am new to Delphi and I am picking it up really quickly by the way.  My problem is I haven't seen a working Mysql database that worked from examples I have downloaded.  I have gotten a few Access database running with Delphi.  What I can't seem to do however is get a certain recordset.  I can't find no information on pulling a specific recordset with Access/Delphi.Here is what I am trying to do:  when a person logs on to the chatroom server, I want them to have access  to the information they entered in there personal record only?If there is an easier way to do this besides using Access, can someone point me in the right direction please.  I am using Delphi 7. Thanking you all in advance!!! 
Posted to MB Topic: Delphi Single User Apps
6 years ago
9 replies. Last post:

Wes
>Aritechture? I do not mean any disrespect but this term is thrown around with many contexts. [wp] You are, of course, correct.  "Architecture" is one of those "baggage words;" it has lots of baggage attached.  I ...
56 months ago
Nothing New Since Your Last Visit
2786
Hits

Thread 9 of 25
Thread Starter  

hyp3n0zy5
Bizarre date/time logics
Can anyone give me an explanation as to why the following first assert fails? (i use D7), , var dt1, dt2: TDateTime;, begin, dt1 := Now;, dt2 := IncHour(dt1, 1);, Assert(HoursBetween(dt1, dt2) = 1, '1st assert!');, , dt1 := Now;, dt2 := IncHour(dt1, 2);, Assert(HoursBetween(dt1, dt2) = 2, '2nd assert!');
Posted to MB Topic: Delphi Object PASCAL
8 years ago
8 replies. Last post:

Wes
I cast a vote, too. The bug(s) are very well documented in this QC report, and good fixes have been suggested.  This is difinitely an area that needs attention.
51 months ago
Nothing New Since Your Last Visit
3347
Hits

Thread 8 of 25
Thread Starter  

rt
List index
Meanwhile, back in the land of simple SQL I get this error message when running a dynamic params type query and cannot seem to find it's meaning -, , "List index out of bounds (0)", , I have a feeling this is an easy one Big Grin! , but..
Posted to MB Topic: Delphi News / Other
11 years ago
8 replies. Last post:

rt
Yes,, >> the BDE is an endangered species these days<<, I think you are right and I must move on to less BDE specific stuff., rt
11 years ago
Nothing New Since Your Last Visit
1191
Hits

Thread 7 of 25
Thread Starter  

Larry J. Rutledge
Tip: Check for disk in drive
[b]Version Info[/b]: All Versions., , [b]Category[/b]: File System, , [b]Description[/b]:, If your program checks either the floppy or CD-ROM drive for a file, the drive makes a lot of racket and generally annoys the user. Plus, Windows then displays an old Win 3.x looking dialog indicating the failure., , TO avoid this, we can set the global Windows error mode to critical which turns off these error displays. It also checks the drive without causing it to make a lot of racket., , Use the following function anytime you want to check a drive to see if it is empty or not. Simply pass in the drive letter as a character., , , [b]function[/b] DiskInDrive(lw: Char): Boolean;, [b]var[/b], áásRec: TSearchRec;, ááres: Integer;, , [b]begin[/b], ááResult:= False;, ááSetErrorMode(SEM_FAILCRITICALERRORS);áá, , [i]{$I-}[/i], ááááres := FindFirst(lw + ':\*.*', faAnyfile, SRec );, ááááFindClose(SRec);áá, [i]{$I+}[/i], Result := Res = 0;, [b]end[/b];, , , , ------...
Posted to MB Topic: Delphi News / Other
13 years ago
8 replies. Last post:

wpantoja
Yes. Use the GetLogicalDrives function. If a removable drive is removed, it's cooresponding logical drive will be removed., , The function in my first message tells if removable MEDIA is in the drive. This always takes longer because the drive has to spin up.
12 years ago
Nothing New Since Your Last Visit
1102
Hits

Thread 6 of 25
Thread Starter  

rt
DB navigator
Ideally I would like a bit of code that I could activate when say leaving a DBEditBox that would emulate exactly what the post button does on the DB navigator bar without the DB nav bar getting involved at all., , I have tried using 'post' in various guises without success due I suspect to datamodule peakiness! , rt
Posted to MB Topic: Delphi Single User Apps
11 years ago
8 replies. Last post:

rt
Thanks, that makes sense and works - it's this bit which seems to make the difference between the two examples "Now, in the DBGrids OnClick event, add the following code.", , But in my case all this seems to founder is when a DataModule is involved, so can I now complicate matters by asking what the correct syntax would (should?) be if -Table1.FieldByName'MyField').AsString - were to be replaced by a reference to MyField on Table1 accessed throu...
11 years ago
Nothing New Since Your Last Visit
862
Hits

Thread 5 of 25
Thread Starter  

Matt Verratti
waiting for video to complete
In my program, when the form first loads, I have a procedure that plays a video file. I want to wait until the file is done playing, then bring up another form. Currently my onActivate procedure looks like this:, , begin, mediaplayer1.play;, ********************************, form1.visible := False;, form2.visible := True;, end;, , The line of (*) is where I think I need to put some kind of a wait command. I have explored the delphi help topics on "mediaplayer.wait", and the "waitfor" command with no luck. , , Any ideas? Thanks in advance!
Posted to MB Topic: Delphi Object PASCAL
11 years ago
7 replies. Last post:

Scott
Our pleasure, Matt!, , ----------------------------------, put a nickel in your pickle and a dime in your lime.
11 years ago
Nothing New Since Your Last Visit
1168
Hits

Thread 4 of 25
Thread Starter  

Creeden
Calculations with blank Edit Boxes
I am making a Inductor Calculator that contains 12 Edit boxes and 5 Buttons. 5 for series calculation and an answer box. 5 for Parallel calculations and an answer box. The problem is if I use only say 3 of the 5 inputs I get an error that "" is not a valid floating point value. My code is like this for the series side., , , var, Form1: TForm1;, first: Real;, second: Real;, third: Real;, fourth: Real;, fifth: Real;, seventh: Real;, eighth: Real;, ninth: Real;, tenth: Real;, eleventh: Real;, answer: Real;, , procedure TForm1.CalcsClick(Sender: TObject);, begin, first:=StrtoFloat(Edit1.Text);, second:=StrtoFloat(Edit2.Text);, third:=StrtoFloat(Edit3.Text);, fourth:=StrtoFloat(Edit4.Text);, fifth:=StrtoFloat(Edit5.Text);, Edit6.Text:=FloattoStr(first+second+third+fourth+fifth);, end;, , and this for the parallel side.., procedure TForm1.CalcpClick(Sender: TObject);, begin, seventh:=StrtoFloat(Edit7.Text);, eighth:=StrtoFloat(Edit8.Text);, ninth:...
Posted to MB Topic: Delphi Single User Apps
11 years ago
7 replies. Last post:

Creeden
Hello Scott and Raymond., I have that Project all finished now., Here is part of what I did., procedure TForm1.CalcpClick(Sender: TObject);, begin, seventh:=convInput(Edit7);, eighth:=convInput(Edit8);, ninth:=convInput(Edit9);, tenth:=convInput(Edit10);, eleventh:=convInput(Edit11);, try, Edit12.Font.Color := clBlue;, Edit12.Text:=FloattoStr(1/(invertion(seventh)+, invertion(eighth)+, ...
11 years ago
Nothing New Since Your Last Visit
1715
Hits

Thread 3 of 25
Thread Starter  

dking8124
EOleException: op requires current rec
I'm programming a form that is fed by an SQL component in a datamodule. I programmatically define the statement with "...add()" statements; ie, , , datamodUSARunitCmdr.sqlAARpt.SQL.clear;, datamodUSARunitCmdr.sqlAARpt.SQL.add('SELECT hdr.aarDate,hdr.aarUnitIdent, hdr.aarSubmitDate, ');, ...., datamodUSARunitCmdr.sqlAARpt.open;, datamodUSARunitCmdr.sqlAARpt.enableControls;, , (I know the SQL-statement returns a recordSet, given the proper values for the parameters)., , The problem is that when the program reaches the "....clear" statement, the following exception is thrown:, "Either EOF or BOF is True, or the current record has been deleted. Requested operation requires a current record"., , What would cause this?, How could it be resolved?, If the query returns a recordSet, how could it generate an exception?
Posted to MB Topic: Delphi COM / ActiveX / DCOM
11 years ago
7 replies. Last post:

dking8124
Hey, dude,, , I don't care what Bill Gates says, this is NOT an exact science!!!, , Thanks for your help
11 years ago
Nothing New Since Your Last Visit
1884
Hits

Thread 2 of 25
Thread Starter  

rt
Posting records
For simplicty say I have a form with 3 DBEdit boxes and a DBnavigator bar. The bit of code shown is at present on the Enter action of a DBEditbox, where it seems to work - although other suggestions (!) for putting it elsewhere are welcome., , Whilst the code operates the underlying table (tLabour) is not updated automatically by moving off the last box as I want - the post button must used on the nav bar to do this., , Is it that the table is in the 'middle' of a datamodule which knackers the whole thing? I cannot seem to find any real info on accessing tables via editboxes for edit through datamodules --- and a quick test shows that a table connected without the datamodule will work. , , So far I have tried addressing it via the dm and directly and also sticking in 'post' etc in places which should work but to no avail. The table is set to autoupdate and all other fields update themselves happily., , procedure TfDetails.DBEdit2Enter(Sender: TObject);, var, H : SmallInt; // Hours, ...
Posted to MB Topic: Delphi Single User Apps
11 years ago
7 replies. Last post:

Rick Carter
Forgive me if I'm stating the obvious, but at the start you said it worked with the table component on the form, but not in the data module. When you drop a table component onto the form, the appropriate "uses" are automatically added; could it be that your form is missing "dbtables" or something else that it needs in the "uses" statement? And does your form also have the data module in its "uses" statement?
11 years ago
Nothing New Since Your Last Visit
1479
Hits

Thread 1 of 25
Thread Starter  

C.Oberhaus
How to properly call a DLL?
Hi all, , I have an application which runs many threads that all access a DLL. , , At the moment, I load the DLL once in the main app, and pass each thread a pointer to the DLL. However, the app sometimes dies suddenly with no exception messages., , I think this is due to there being only one instance of the DLL. Am I right? Does each thread need to call "LoadLibrary('mydll.dll')" or should the way I'm doing it work fine?, , p.s I use dynamic linking using getProcAddress( dllHandle, pchar(functionNameString) ) if that helps., , Thanks in advance!
Posted to MB Topic: Delphi News / Other
11 years ago
7 replies. Last post:

ldrews
I have occasionally had to deal with similar problems. If you would like me to review your header file, send me a copy at [EMAIL]ldrews@southslope.net[/EMAIL]
11 years ago
Nothing New Since Your Last Visit
1141
Hits
-
  Load Time=1 seconds.
 
Print This
-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


958 People Online Now!!  
Online Now: Sign In to see who's online now!  Not a member? Join now. It's free!
Show More...


©1995-2013 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech