IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
Delphi
Search Delphi Group:

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

Prestwood eMagazine

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

   ► MB LobbyPascal and Delphi Coding Board   Print This    All Groups  

Pascal and Delphi Coding Unanswered Threads

  


42 Threads:


Thread 42 of 42
Thread Starter  

owen.moore
SQL with SQL CE Ver 4
Hi all I am having a problem with a program i have been working on and I have been filtering a database by date and client to produce records for a DBChar and it all works fine and as it should . As the record number grows thought I should perhaps use an sql query insted of filter and do you think I can get it to work I have a SDF Database called CounterData. I have a field in the database counterDate which is a datetime field  and I have two datetimepickers one startdate and one enddate. I not strong on sql and can usually make it do what I want but not with dates. have tried many variants of this select  * from counterdata where countertranstype ='+quotedstr('D')+'and CounterDate >='+datetostr(startdate.date) +'and counterDate <='+datetostr(enddate.date). I am using the Devart Sdac components to connect to the SDF Database Thanks for any help Owen Moore
Posted to MB Topic: Delphi Single User Apps
9 months ago
Nothing New Since Your Last Visit
249
Hits

Thread 41 of 42
Thread Starter  

robert_lassiter
Delphi BDE - Directory Busy
{Too Long!}
Posted to MB Topic: Delphi Distributed Apps
5 years ago
Nothing New Since Your Last Visit
3518
Hits

Thread 40 of 42
Thread Starter  

Daniel Kram
PDF and RTF and Graphics
>We are also toying with Rave report instead of RTF as Rave apparently can output a PDF quite easily. [wp] I think you're on the right track - turning to a reporting tool.  Rave might do the trick, but I've found it kind of hard to work with. I haven't tried to do exactly what you're describing, but I'd be very surprised if my favorite reporting tool couldn't handle it: Fast Report.  Fast Report also does a fine job of producing PDF output. 
Posted to MB Topic: Delphi News / Other
8 years ago
Nothing New Since Your Last Visit
2570
Hits

Thread 39 of 42
Thread Starter  

Isaac
SQL Parsing string field
I have a field called Expire_Date that contains dates like that, "MM-YY" (M=month, Y=Year) and I need to do a simple select to , get all the records that have expire date less than or equal to, 6 month from the current computer date, , I can't iterate throw the whole table it is very big I need to do a select, I use Delphi 6 with Interbase 6, thanks
Posted to MB Topic: Delphi Single User Apps
12 years ago
Nothing New Since Your Last Visit
3513
Hits

Thread 38 of 42
Thread Starter  

MerLiN
Copying TreeView Nodes to ComboBox
Can someone help me with a little problem I'm having? I need to copy the text values from the main nodes in a TreeView to ComboBox items., I know the code below will add a single node :, Form3.ComboBox1.Items.Add(TreeView1.Items[3].Text); And I tried using a 'for' statement and replacing 3 with i, but i keep getting an invalid index error. Plus that would add all nodes, and I only want the parent nodes.
Posted to MB Topic: Delphi Single User Apps
14 years ago
Nothing New Since Your Last Visit
2991
Hits

Thread 37 of 42
Thread Starter  

rt
Role model
I have been meaning to ask this for some time, however here it is., , What would be the accepted way of modelling an application that would have to deal with data on an annual basis. Let me try and explain, take for instance something we all know, the dreaded Mast demo application that comes with Delphi. This seems to do many business type things - but what it does not do is to allow the user (and customer) to start each financial year with the same customer base and a clean slate as regards individual customer data. And, of course, still allow previous annual records to be called up., , So what is accepted plan to produce something which does not lump all the data together in a never ending period. I hope I have explained this so you can understand the question Eek! , , rt, p.s. - why do the instant Graemlins stop performing when I use one?
Posted to MB Topic: Delphi News / Other
14 years ago
Nothing New Since Your Last Visit
1227
Hits

Thread 36 of 42
Thread Starter  

MerLiN
Help with resource DLL
Hi, I've (hopefully) created a resource DLL that contains bitmaps. Can someone show me or refer me to a website that can show me how to access the bitmaps from my app?, , Thanks
Posted to MB Topic: Delphi Object PASCAL
14 years ago
Nothing New Since Your Last Visit
1876
Hits

Thread 35 of 42
Thread Starter  

rt
Rebuilding an application
Is there anything special I should bear in mind when trying to rebuild an application which has become terminaly ill. I am left with some quite useable forms including tables and the datamodule. , , Should I be doing things in a particular order? For instance, starting with a 'new applcation' and then adding the various bits to it, would the datamodule still function? Etc..., rt
Posted to MB Topic: Delphi News / Other
14 years ago
Nothing New Since Your Last Visit
1579
Hits

Thread 34 of 42
Thread Starter  

ARAwtry
question regaurding Richedit and memo boxes
i am writing an application that includes a log of the processes completed. i initially used a memo box and would just write strings to it as the program progressed to completion. this worked fine, until i decided i wanted to bold some commands and put others in italics. so i used the richedit box instead of the memo. the problem i have now is that when i get to the bottom of the box, the scroll bar appears but it doesn't follow the last entry (ie, once you get to the bottom of the box, you have to manually scroll Geek Alert! down to see the last entry). this was not the case with the memo box. , , what i was wondering was if there was any property i could change about the richedit component to get it to "autoscroll"? if not, is there a better component that i can get that will allow me to change the text properties on a line by line basis, and "autoscroll"?, , thanks,, andy
Posted to MB Topic: Delphi News / Other
14 years ago
Nothing New Since Your Last Visit
1998
Hits

Thread 33 of 42
Thread Starter  

ARAwtry
question regarding the richedit box (and memo)
i am writing an application that includes a log of the processes completed. i initially used a memo box and would just write strings to it as the program progressed to completion. this work fine, until i decided i wanted to bold some commands and put others in italics. so i used teh richedit box instead of the memo. the problem i have now is that when i get to the bottom of the box, the scroll bar appears but it doesn't follow the last entry (ie, once you get to the bottom of the box, you have to manually scrol down to see the last entry). this was not the case with the memo box. , , what i was wondering was if there was any property i could change about the richedit component to get it to "autoscroll"? if not, is there a better component that i can get that will allow me to change the text properties on a line by line basis, and "autoscroll"?, , thanks,, andy Confused
Posted to MB Topic: Delphi Single User Apps
14 years ago
Nothing New Since Your Last Visit
1667
Hits

Thread 32 of 42
Thread Starter  

adoms
Unknown internal operating system error
{Too Long!}
Posted to MB Topic: Delphi News / Other
15 years ago
Nothing New Since Your Last Visit
2407
Hits

Thread 31 of 42
Thread Starter  

rt
Fast Report
Has anyone any experience with this, I can get it to do many wonderful things but not total a collection of sub-totals., Someone suggested writing script to do it for a report band, but what would that look like?, rt
Posted to MB Topic: Delphi News / Other
15 years ago
Nothing New Since Your Last Visit
1045
Hits

Thread 30 of 42
Thread Starter  

Ron Roper
Can't control visibility in DBCtrlGrid ?
I am using a DBCtrlGrid to display several records on screen at once. The control grid has a DBCheckBox and a DBEdit on it. I am trying to control the Visible state of the DBEdit according to the Checked state of the DBCheckBox., , When a checkbox is clicked (I am using the OnClick event), the corresponding DBEdit behaves correctly, however all the other DBEdits (for the other records) change state whenever I move to another record. , , I notice that the controls placed on a DBCtrlGrid actually appear with the Form as their parent in the object inspector., , Is there any way to determine which instance of the controls I am dealing with at any one time and limit the effects to just one record at a time., , Thanks for any help, , RonR , --------------------------------------------------------------------------------
Posted to MB Topic: Delphi VCL
15 years ago
Nothing New Since Your Last Visit
3495
Hits

Thread 29 of 42
Thread Starter  

Mocksy
Preventing IP access
i'm trying to control tcp/ip access out of windows from any program. I would like to write a capture program that runs in the back ground and asks for a password which then allows or denys anybody using the net, ftp etc., , has anyone done this before ?, , thanks
Posted to MB Topic: Delphi Internet Solutions
15 years ago
Nothing New Since Your Last Visit
1886
Hits

Thread 28 of 42
Thread Starter  

rt
Resources
I have noticed of late that when firing up Dephi6 (without even loading anything to work on) that almost 50% of the computers resourses are immediately used, which leaves very little for any programming work before the 'low resource' warning appears. On exiting Delphi the available rescources will increase., , I don't recall having changing anything to effect the machines staus quo, which normally runs with around 80-90% capacity., , Any ideas what's happening?, rt Roll Eyes
Posted to MB Topic: Delphi News / Other
15 years ago
Nothing New Since Your Last Visit
1098
Hits

Thread 27 of 42
Thread Starter  

rt
If of any interest..
To those new or converting to Delphi and its ineptetudinous OnLineHelp featuring so few useful examples, do not despair. I found whilst trolling around cyberspace the other day a UK university site offering excellent Delphi training materials including a downloadable 200 page book which includes what Borland should have included - a chapter full of examples on the mysteries of error messages. I know there is an awful lot of Delphi tutorage floating though space but I felt this really deserved a mention., , So, if of interest take yourself to [URL=http://www.leeds.ac.uk/acom/teaching.htm]www.leeds.ac.uk/acom/teaching.htm[/URL] , rt :)
Posted to MB Topic: Delphi News / Other
15 years ago
Nothing New Since Your Last Visit
1194
Hits

Thread 26 of 42
Thread Starter  

C.Oberhaus
Accessing a global object from a DLL
Hi all, , I'm having a few problems accessing mysql from within a DLL. , , I have a mysql object, which simply wraps all the mysql funtctions (using libmysql.dll) in to a nice object., , I have defined an instance of this object as a global within another DLL. The problem is that multiple threads that call this DLL have to access the mysql object. How do I ensure the object can handle this? Currently the app crashes sometimes if two threads try to access the DLL at the same time (as they both try to access the mysql object)., , I would rather add code to the object then to the parts of the DLL that use the object, but any advice is good!, , Cheers, Pea
Posted to MB Topic: Delphi News / Other
15 years ago
Nothing New Since Your Last Visit
1398
Hits

Thread 25 of 42
Thread Starter  

C.Oberhaus
Suppressing headers in TWebActions
Hi , , Anyone had any experience with TWebActions? There is an html response field in which you can set the content to be sent back to the browser. This has the form:, , resonse.contentType := 'Text/html';, resonse.content := 'page content.......';, , My problem is that the 'content' is created by another app, which spits out the headers as the first part of content. the 'response' field, if given no headers, seems to stick its own content type header in, and thus my additional headers are simply displayed to the screen., , I can parse the headers out of the content and add them to the response.headers, but I have a feeling that perhaps there is some way to set a TWebAction response to output the content 'as is' without additional headers?, , Cheers, Pea
Posted to MB Topic: Delphi News / Other
15 years ago
Nothing New Since Your Last Visit
1281
Hits

Thread 24 of 42
Thread Starter  

C.Oberhaus
current filepath from ISAPI dll
Hi all, , I'm creating an ISAPI extension using a TWebModule, but can't save anything to disk from within it. example:, , stringList.saveToFile('name.txt');, , Won't work, but if I put as the file name 'c:\name.txt' it will., , My problem is I need to know the directory in which the dll resides when it is running (for loading ini files etc). But I am unable to call Application.exeName from within the TWebModule., , Any idea's?, Pea
Posted to MB Topic: Delphi Internet Solutions
15 years ago
Nothing New Since Your Last Visit
1650
Hits

Thread 23 of 42
Thread Starter  

C.Oberhaus
DLL local variables
Hi all, , I've had a bit of trouble setting up local variables in a dll. The problem is that my dll is accessed by many threads at once. I am able to create a global variable that every thread can access and alter., , I have read about threadvar's - and the help says DONT use in DLL's., , Is there a way I can define a local variable within a DLL (initialised in the DLL_THREAD_ATTACH routine perhaps) which has a seperate instance for every thread which attaches?, , Perhaps the only way to do it is to have a global stack (or array) of pointers to these local variables and to keep a record of which stack element each thread uses?, , Any ideas?, Pea
Posted to MB Topic: Delphi Single User Apps
15 years ago
Nothing New Since Your Last Visit
1491
Hits

Thread 22 of 42
Thread Starter  

Matt
Deleted Files don't go to the recycle bin
Hi,, I use Delphi function DeleteFile. But the deleted files disappear right away. They don't go into the Windows Recyle bin. Big Grin! , , any ideas ??, Thanks , Matt
Posted to MB Topic: Delphi News / Other
16 years ago
Nothing New Since Your Last Visit
1428
Hits

Thread 21 of 42
Thread Starter  

hyp3n0zy5
Supporting Russian (unicode) in app and interbase
I have a Delphi 5 application that uses an Interbase 5 database. This app currently can be run in both Dutch and English. Now I also have to make that it supports Russian. Therefore both the app and the database must support Unicode characters., Does somebody can help me with how I can do this?
Posted to MB Topic: Delphi Single User Apps
16 years ago
Nothing New Since Your Last Visit
1529
Hits

Thread 20 of 42
Thread Starter  

jvc
problem with the connection in remote Oracle DB
In my application Delphi/oracle using BDE, I copy all the files from the project by a change the PC to another. The project was working without problems in that PC. Well, in this new PC my project can connect to Database in design's time, but when it's start running it's show : general SQL error, ora-03114 not connect to oracle, , I tried the following:, - Check for viruses, - Install the project in another PC, - It's connect in SQL EXPLORER, SQL PLUS even in the TDatabase component in my project., - Any other project is running., , Please help me Confused
Posted to MB Topic: Delphi Distributed Apps
16 years ago
Nothing New Since Your Last Visit
1711
Hits

Thread 19 of 42
Thread Starter  

William Pantoja
Delphi 6.0 Bug
{Too Long!}
Posted to MB Topic: Delphi News / Other
16 years ago
Nothing New Since Your Last Visit
1205
Hits

Thread 18 of 42
Thread Starter  

C.Oberhaus
Streamable objects continued
TComponents are streamable because any object descended from TComponent is able to be directly streamed to memory using the TSreams/TFileStream/TMemoryStream feature:, stream.writeComponent(TComponent);, , This (supposedly) allows any component you write be streamed to file (or memory) during run-time and be loaded again (using 'readComponent'). This is what I know., , The prob. is that I've heard it mentioned that any objects your component owns (sub components) do not stream easily, and may not work well., , If anyone has succesfully created any type of class, filled it with data, and streamed it straight to file using 'writeComponent'- please advise me on how you did it 'cause it would be very helpful!!, , Thanks, Pea
Posted to MB Topic: Delphi News / Other
16 years ago
Nothing New Since Your Last Visit
1121
Hits

Thread 17 of 42
Thread Starter  

Badzooka
How to view response header in Indy component?
Hi,, , I'm using the Indy component IdHTTP and want to display the header returned from the server. In the "help" I only see the header contents exposed as properties, one for each value. I find that the properties reformat the content also, eg, date strings get converted to date objects., , Does anyone know how to bypass the properties and access the raw header?
Posted to MB Topic: Delphi Internet Solutions
16 years ago
Nothing New Since Your Last Visit
1778
Hits

Thread 16 of 42
Thread Starter  

Larry J. Rutledge
Delphi 6 Screen Shots
Here are links to some pages containing screen shots of the up and coming Delphi 6., , [list], , [*][URL=http://community.borland.com/article/0,1410,27316,00.html]Installing Delphi 6[/URL], , [*][URL=http://community.borland.com/article/0,1410,27317,00.html]The Component Palette[/URL], , [*][URL=http://community.borland.com/article/0,1410,27319,00.html]WebServices[/URL], , [*][URL=http://community.borland.com/article/0,1410,27318,00.html]The IDE[/URL], , [/list]
Posted to MB Topic: Delphi News / Other
16 years ago
Nothing New Since Your Last Visit
1363
Hits

Thread 15 of 42
Thread Starter  

walker1475
MS SQL BDE Issues
I would like to know if there is any problems with Microsoft SQL 2000 and the BDE. My company just purchase SQL 2000 and we use Delphi 5 enterprise edition, to hit the tables. I am trying to narrow the problem down to see if it the BDE or SQL 2000. Here is what happening, I can setup a alias through DBExplorer ok, and actually see the tables, but I don't see Foreign Key or Primary Keys, Referential , Unique, or Check Contraints. Also I have loaded the driver for SQL 2000 from MS SQL 2000 CD and our DBA has doubled checked and can see the Contraints on his side. If someone can help me or steer me in a directions where I might find a answer I would greatly appreicate it. Oh yes we are running BDE version 5.1.1
Posted to MB Topic: Delphi Distributed Apps
16 years ago
Nothing New Since Your Last Visit
1624
Hits

Thread 14 of 42
Thread Starter  

Larry J. Rutledge
Delphi 6 Announced
{Too Long!}
Posted to MB Topic: Delphi News / Other
16 years ago
Nothing New Since Your Last Visit
3517
Hits

Thread 13 of 42
Thread Starter  

RAYMUNDO
win32 error erro code : 87
What is the problem regarding win32 error in delphi? It just pop-in while I recompiled my application, this happens in my module using a quickreport please help me.............
Posted to MB Topic: Delphi News / Other
16 years ago
Nothing New Since Your Last Visit
1643
Hits

Thread 12 of 42
Thread Starter  

walker1475
Delphi & MS SQL
Is there a book or any info that is available for using Delphi with MS SQL. My company is in the process of migrating from Paradox to MS SQL and we have run into problems. The main problem is some commands and functions that worked fine with Pardox, do not with MS SQL. Thanks in advance for any advice given.
Posted to MB Topic: Delphi Distributed Apps
16 years ago
Nothing New Since Your Last Visit
1570
Hits

Thread 11 of 42
Thread Starter  

Larry J. Rutledge
Delphi SIG Meeting - January 8, 2000
{Too Long!}
Posted to MB Topic: Delphi User Groups
16 years ago
Nothing New Since Your Last Visit
1738
Hits

Thread 10 of 42
Thread Starter  

Larry J. Rutledge
Tip: Export any TDataset to ASCII file
{Too Long!}
Posted to MB Topic: Delphi Single User Apps
17 years ago
Nothing New Since Your Last Visit
1583
Hits

Thread 9 of 42
Thread Starter  

Larry J. Rutledge
Tip: Selecting a Random Database Record
{Too Long!}
Posted to MB Topic: Delphi Single User Apps
17 years ago
Nothing New Since Your Last Visit
1733
Hits

Thread 8 of 42
Thread Starter  

Larry J. Rutledge
Tip: Useful File Routines
{Too Long!}
Posted to MB Topic: Delphi News / Other
17 years ago
Nothing New Since Your Last Visit
1754
Hits

Thread 7 of 42
Thread Starter  

Larry J. Rutledge
Downloads for December Meeting
Following are the files associated with the presentations given at the December 11th meeting:, , [b]InfoTip Shell Extension[/b], Presentation: [URL=http://sdsig.vr9.com/archive/infotip-pres.zip]MS PowerPoint SlideShow[/URL], Project Files: [URL=http://sdsig.vr9.com/archive/dprinfotip.zip]Delphi Source Files[/URL], , [b]Extending TDataSet[/b], Presentation: [URL=http://sdsig.vr9.com/archive/tdataset-pres.zip]MS PowerPoint SlideShow[/URL], Project Files: [URL=http://sdsig.vr9.com/archive/SIGDataSet.pas]Delphi Source File[/URL], , ------------------, Larry J. Rutledge, , Programmer / Analyst, Prestwood Software & Consulting, 7525 Auburn Blvd., #8, Citrus Heights, CA 95610, , [URL=http://www.prestwood.com]www.prestwood.com[/URL], , [b][i]Serving your IT needs since 1984![/b][/i], , , [This message has been edited by Larry Rutledge (edited December 11, 2000).]
Posted to MB Topic: Delphi User Groups
17 years ago
Nothing New Since Your Last Visit
2692
Hits

Thread 6 of 42
Thread Starter  

Larry J. Rutledge
Delphi SIG Meeting - December 11, 2000
{Too Long!}
Posted to MB Topic: Delphi User Groups
17 years ago
Nothing New Since Your Last Visit
1762
Hits

Thread 5 of 42
Thread Starter  

Larry J. Rutledge
Tip: Adding margins to a TMemo
{Too Long!}
Posted to MB Topic: Delphi VCL
17 years ago
Nothing New Since Your Last Visit
1535
Hits

Thread 4 of 42
Thread Starter  

Larry J. Rutledge
Tip: Windows SafeMode
{Too Long!}
Posted to MB Topic: Delphi News / Other
17 years ago
Nothing New Since Your Last Visit
1600
Hits

Thread 3 of 42
Thread Starter  

Larry J. Rutledge
Tip: Create a ShellLink
{Too Long!}
Posted to MB Topic: Delphi News / Other
17 years ago
Nothing New Since Your Last Visit
1588
Hits

Thread 2 of 42
Thread Starter  

Larry J. Rutledge
Delphi SIG Meeting - November 13, 2000
{Too Long!}
Posted to MB Topic: Delphi User Groups
17 years ago
Nothing New Since Your Last Visit
1947
Hits

Thread 1 of 42
Thread Starter  

Larry J. Rutledge
Delphi 5 Update Pack Now Available
{Too Long!}
Posted to MB Topic: Delphi News / Other
17 years ago
Nothing New Since Your Last Visit
13693
Hits
-
   Contact Us!
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


Go ahead!   Use Us! Call: 916-726-5675 


©1995-2017 Prestwood IT Solutions.   [Security & Privacy]