Delphi Single User Apps Topic Most Read Threads

| Non-distributed database applications including questions on single user, multi-user, BDE, non-BDE, TDataSet, TTable, TQuery, ADS, MyBASE, etc. |
| <table style="BORDER-RIGHT: #800000 1px dotted; BORDER-TOP: #800000 1px dotted; BORDER-LEFT: #800000 1px dotted; BORDER-BOTTOM: #800000 1px dotted" cellspacing="0" width="100%" border="0"><tbody><tr> <td bgcolor="#dadada" class="darkcolor2" align="center" |
|
|
Thread 25 of 25 | | Thread Starter | | |  Shyami | 'Access violation at address...' errorHello pals,, , I have a Delphi application connecting to an Oracle database sitting on a Citrix server. When I try to do certain things I get an error 'Access violation at address...' The application was not developed inhouse and I do not know Delphi & Citrix so I can't guess why I get the error message. I get this message even when I am logged in as administrator on the citrix server and try to open a client session from there. The application runs without any problem on Windows NT/98. The problem seems to be specific to Citrix and Delphi, can anybody please help., , Hope I have given enough details., , Thanks,,  , -Shyami | 5 replies. Last post: |  Shyamis | Thanks for the reply Scott, I will try to check out the permissions on the directories. I will let you know if my application worked and how, hopefully it should help someone who is having the same problems as me!, , Thanks again,, -Shyami |
|
 18220 Hits | |
Thread 24 of 25 | | Thread Starter | | |  Creeden | Calculations with blank Edit Boxes{Too Long!} | 7 replies. Last post: |  Creeden | {Too Long!} |
|
 14456 Hits | |
Thread 23 of 25 | | Thread Starter | | |  Raimundo | Varbyte in DelphiHow can I display a field varbyte in a DBGrid in Delphi 4? |
 9731 Hits | |
Thread 22 of 25 | | Thread Starter | | |  Ron Roper | How to change sort to descending?{Too Long!} | 5 replies. Last post: |  rdkram | If it is an index, then by default it is automatically ascending.
When selecting the data, include a SORT BY clause and then DESC for descending - it is automatically ascending by default. Here is an example: SELECT FieldA, FieldB, FieldC FROM Employee ORDER BY FieldB; SELECT FieldA, FieldB, FieldC FROM Employee ORDER BY FieldB DESC;
|
|
 8944 Hits | |
Thread 21 of 25 | | Thread Starter | | |  Negative | Making a spectrogramI have written a program that does soundanalyses with a FFT-function. To view the data I want to display it in a spectrogram. The method I have applied now is drawing the frequencies on the vertical axis and time on the horizontal axis. The amplitude of the signal is displayed using different colors. To draw the colors on the bitmap I currently use the Pixel function of the Canvas, but this goes really slow., , My question is : Is there another, faster method to draw colors on the bitmap; keeping in mind that every pixel could have another color? |
 6842 Hits | |
Thread 20 of 25 | | Thread Starter | | |  kes103 | How to Hide DOS Command prompt WindowHow do I hide the startup DOS Command prompt window? , I tried , , , procedure TForm1.formcreate(Sender: TObject);, var, start : TStartupInfo;, begin, start.wShowWindow := SW_HIDE; , end;, , , in my main form, but it makes no difference., , Thanks in advance. | 2 replies. Last post: |  kesco | I solved the problem by adding:, , , {$APPLTYPE GUI}, , , directive to the main program unit. |
|
 6232 Hits | |
Thread 19 of 25 | | Thread Starter | | |  Daydreamer | Database ProblemsHello 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!!!
| 9 replies. Last post: |  Wes | {Too Long!} |
|
 5836 Hits | |
Thread 18 of 25 | | Thread Starter | | |  Ron.Roper | Slow access to ADO table on 2nd passI am having a speed problem when writing new values to a MS Access table via and ADO connection. On the first pass through the dataset there is no problem, with more than 1000 records per second being updated. But on the second pass through, it slows to about 10 records per second, even though the task is much simpler.
Just the fact that I try to update just one field seems to trigger the slow speed on the second pass. I am using a TADOConnection and a TADOTable to connect to the Acces table. To update the filed values I am using...
MyADOTable['MyFieldName'] := NewFieldvalue;
Some parameters for the connection include...
ConnectionString = Provider=Microsoft.Jet.OLEDB.4.0;Mode=Share Deny None;Persist Security Info=False, CursorLocation = clUseServer, Provider = Microsoft.Jet.OLEDB.4.0
Can anyone suggest what might be causing the problem or any possible solutions.
Regards
Ron
| 1 Reply: |  Wes | {Too Long!} |
|
 5074 Hits | |
Thread 17 of 25 | | Thread Starter | | |  owen.moore | Can anybody help me with getti...Can anybody help me with getting a directory file listing into a listbox so that I can programatticlly go through the listbox and put the filenames into a database
they Database part is not causing me any trouble
I can get it into a dirlistbox but can not use that to then post certain of the file names to the Database
any help is most appreciated
Owen
| 4 replies. Last post: |  Wes | Hi Larry,
Thanks for the great post putting some meat on the bones of my suggestions. There's nothing like good sample code to get one started. I wanted to post some, but time didn't permit. Glad you did.
|
|
 4897 Hits | |
Thread 16 of 25 | | Thread Starter | | |  Tom.L | Delphi -- Search an array for a coloured TpanelI have an array y=11 by x=20 array containing Tpanels they all have corresponding colours assined to them. i would like to be able to search through the arraay to find a cirtian colour and change it to another, i tried this but it didnt work.
procedure TFrmSeatLayout.BtnDeselectAllClick(Sender: TObject);, begin, ListSelectedSeats.Items.Clear; (ignore this), if ArPnl [x,y].color = clPurple then (the array is called Arpnl), ArPnl [x,y].color := clTeal;
end;
I want it to find the Purple panel and change it to Teal
Thanks for your help
Tom
| 1 Reply: |  Wes | {Too Long!} |
|
 4822 Hits | |
Thread 15 of 25 | | Thread Starter | | |  snowsurfer | Beginner compiler errorOKay lets start, I am a complete rookie. I have some sample code that I am trying to play with. It works in its current form. It creates a button on a screen. The little tutorial I am running through has me trying to change the bitmpa image that appears on the button. When I try and recomplie it I get this error:, [Fatal Error] InvoiceButton.dpk(29): Required package 'vcl50' not found. I tried to compile the original as well and I get the same thing. I am using Delphi 6 personal edition, , Thanks | 3 replies. Last post: |  Scott | {Too Long!} |
|
 4816 Hits | |
Thread 14 of 25 | | Thread Starter | | |  ebateman | "Table Missing Tablename Property "ErrorI, or users of code I have written have seen this error message pop up while running the programs I have written. I can't imagine why. It seems to me that these table names are hard-coded into the executable. (Two different programs, one using Paradox Tables, one using DBISAM) I hardly know where to begin looking for the problem. Any ideas? |
 4805 Hits | |
Thread 13 of 25 | | Thread Starter | | |  MerLiN | Help with StringGridHi, , Can someone show me how to change the font properties of a single cell in a StringGrid?, e.g. to make the text in that cell bold or a different color from the rest of the StringGrid., , Thanks, Merlin |
 4718 Hits | |
Thread 12 of 25 | | Thread Starter | | |  MerLiN | INI file problemHi,, Does anyone know how to make a program process every setting in an ini file?, , I have 2 problem settings in my program that can't seem to process the results from the ini file, one is "Always on top" and the other is "minimize to tray". My program can save the settings with no problems but when I run the program and it reads the ini file, if both settings are set to true the program only seems to process one of them., , My guess is because both settings relate to window functions. I tried Application.ProcessMessage but that didn't fix the problem., , Any help or suggestions would be appreciated., , Merlin | 2 replies. Last post: |  Anonymous | these settings are process at application creation and cannot be set from ini file. They have already been set by the time the file is read and cannot be changed by then.
---
Dave
|
|
 4597 Hits | |
Thread 11 of 25 | | Thread Starter | | |  AndreiT | Strange bookmark error{Too Long!} |
 4520 Hits | |
Thread 10 of 25 | | Thread Starter | | |  Isaac | SQL Parsing string fieldI 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 |
 4395 Hits | |
Thread 9 of 25 | | Thread Starter | | |  Owen | Storing Jpeg Files into Paradox DatabaseCan anyone help me, , How can I store Jpeg Camera files into my database, , I have a field in my database called image which is set to a graphic Type, , How can I store a jpg image into the database and then view it as i select the record from a table, , I can make it all work using mbp files but not using jpg files is there a trick to it or do you need to comvert them to bmp and if so how can I do that, , Thanks, , Owen | 3 replies. Last post: |  mprestwood | Hi Owen,
Nice solution. Sure, I'd like to see the code. You can post it here if it's short or how about posting it as an article in our knowledge base? If you want, you can send it to me and I'll post it for you or you can post it.
|
|
 4369 Hits | |
Thread 8 of 25 | | Thread Starter | | |  Xion | Copy to windows clipboardIm back with more trouble  , , Now I need to get a string copied to the windows clipboard, so I can paste(ctlr-V) the string in other application., , Again, I find my skills inadequate  | 2 replies. Last post: |  Xion | Problem solved. Now thats what I call help :) |
|
 4345 Hits | |
Thread 7 of 25 | | Thread Starter | | |  owen.moore | Can anybody help me with getti...Can anybody help me with getting a directory file listing into a listbox so that I can programatticlly go through the listbox and put the filenames into a database
they Database part is not causing me any trouble
I can get it into a dirlistbox but can not use that to then post certain of the file names to the Database
any help is most appreciated
Owen
|
 4320 Hits | |
Thread 6 of 25 | | Thread Starter | | |  MET | OnKeyDown / OnKeyPressIn my Delphi program a key-filter-procedure is called OnKeyDown, , which veryfies the variable (Key : word). For a number of keys, Char(Key) , does not correspond to the character of the key as indicated on the key-board., However, in the following OnKeyPress the variable key corresponds , to the correct character., , My question:, How can I determine already in the OnKeyDown-procedure the correct key? | 5 replies. Last post: |  m-e.tschudin | The answer to certain problems is some time very simple. "Lemy" from [URL=http://www.swissdelphicenter.ch]www.swissdelphicenter.ch[/URL] gave me the solution:, , procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word; , Shift: TShiftState); , begin , if ( ( Key = VkKeyScan('-') ) , and , ( Shift = [] ) ), Then Application.MessageBox('"-" gedrⁿckt', Nil, MB_OK); , end;, , Best greetings , Marcel E. Tschudin |
|
 4320 Hits | |
Thread 5 of 25 | | Thread Starter | | |  MerLiN | Multiple UnitsCan someone show me how to use multiple units in a project? I've written an app in Delphi 6 and I want to seperate the code to make it easier to edit. But I can't figure out how to use multiple units with only the one form., , Thanks for any help., , Merlin | 3 replies. Last post: |  ldrews | Merlin,, , Your main form unit makes use of other units by referencing them in a "uses clause". Check the Delphi Help for "uses clause" to get started understanding the relationships among units. |
|
 4159 Hits | |
Thread 4 of 25 | | Thread Starter | | |  Ahmed.K | Desktop database applications withClient Datasets!{Too Long!} |
 4143 Hits | |
Thread 3 of 25 | | Thread Starter | | |  RavenMaster | DLL and TStringListHi,, , i made a DLL with a number of routines. Among the variables is ( Var Lines : TStringList )., I make the stringlist and pass it to the procedure, the procedure does it's thing then the Lines.Text gets the correct data. I've checked that. The problem now is this : i try to free the TStringList object like this : Lines.Free, This results in a invalid pointer operation address FFFFFF, , I tryed the same with the a regular unit then it works, but when i use the DLL ( same routine ) then i get this error., , Any idea's what might be causing this ?, Since i can access the Text property correctly after processing by the routine in the DLL i assume that the pointer to the object is still correct,.. so what could it be ???, , Help Plz. , Thx | 4 replies. Last post: |  ravenmaster | Tnx., , I understand now., I'm gonne use PChar's instead to pass the text between exe and DLL. |
|
 4038 Hits | |
Thread 2 of 25 | | Thread Starter | | |  owen.moore | Server 2003 and BDEI have just thought I might move all my delphi stuff onto my 2003 server and then use remote desktop to access it however some of my apps give me a bdertl70 error when trying to open in delphi however the exe runs fine
I am Using Delphi 7 Enterprise
Is this an issue with server 2003 or do I need to look harder
It seems to be apps with multiple tables that give the trouble
all these came of a Windows XP Pro Box and worked just fine
Thanks
Owen
| 2 replies. Last post: |  mprestwood | Hi Owen,
I suspect a rights problem. The app/user needs full rights to the data folder and net dir.
|
|
 3996 Hits | |
Thread 1 of 25 | | Thread Starter | | |  MerLiN | Copying TreeView Nodes to ComboBoxCan 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. |
 3987 Hits | |
 |
|
|