2,103 Topics
![]() | |
I have just installed Delphi 2007 in my Vista (jumping from 6 in wonderful XP). Everything is new and unknown. Help seems impossible to find, and I need to get a DLL showing its object in my Tool Palette so I can compile old programs. Could someone please guide me … | |
I created a program that uses an XML file to store information. Everything works fine on the computer I created it on. When I transferred it to another computer it gave a windows error reporting box and did nothing else. I modified the program so it showed message boxes while … | |
Help me improve this algorithm please, as of now it is calulating the rows of Pascal's Triangle but I need it to calculate the colums and stop at (3,1). for n:= 0 to k do for m:= 0 to n do if m=0 or m=n then A[n,m]:= 1 else A[n,m]:=A[n-1,m-1] … | |
Couldn't find a search button so I'll ask: I'm running Freebsd v7.0 with the ratpoison window manager, and have installed free pascal from ports. I've been trying for hours to get either Lazarus or fpc-ide installed with no luck. Lazarus - gives message like menubar>>environment.>environment options>> etc etc etc. If … | |
Hi, I've been doing the computer thing since DOS 2.1. As a result I've been exposed to a lot of history. I really learned programming way back with basica and pascal and have since moved into web publishing as a sideline and hope to begin with NI Labview soon in … | |
![]() | Hi, I need to know, if I can draw multi-colored subitems in ListView. Since I've been trying to do this, I made some steps, but the result is subitem still with one color. For example, I need to draw this: [COLOR="Red"]H[/COLOR][COLOR="Green"]e[/COLOR][COLOR="Red"]ll[/COLOR]o, but I get this: [COLOR="Red"]Hello[/COLOR], always... |
I have a project that i need to do but i am having trouble with the code for a delphi application to auto find all the required files and database files that are required for the application to be able to function properly - meaning that if i move the … | |
I have a little problem... I use a MS database in my program.... I want to enable the user to backup the database that I use to a specific location that they choose.... Any suggestions? Because I'm lost..... | |
[B]Is pascal vulnarable to heap overflow vulnarability?I think pascal doesn't any have problem with stack overflow attack.is it true in heap overflow attack too?does pascal any problem with heap overflow attack? Thanks.[/B] | |
Hey Guys, I'd like to try using function and procedures on my project, I tried to write them on different unit say unit2 to be used in unit1. I find a difficulties using them in unit1. thanks in advance! Elva | |
Hi Everyone, I am wondering if there are any Delphi programmers out there that is using SamLogic's Calendar Component, I bought it last week and I am having problems. I would very greatful if anyone can give some help in using it. kindest regards Stephen | |
Can anyone tell me which utility package includes wwIncrementalSearch? I am trying to change a system that a programmer created that has passed away and left no documentation. Any help would be appreciated. | |
I made an mp3 player in Delphi. I set it up to register it's playlist file type. Now when you double click on a playlist in explorer it opens my player, like it should. How do I find out what file they clicked on to process? Google was useless for … | |
In form1.setupForm() I have the following code which should close the application if there are any problems with connecting to the database. For some reason it just ignores the application.Terminate. Please can someone help. try database1.Open; except on E:EDBEngineError do begin Application.MessageBox('Error connecting','Error',0); Application.Terminate; end; | |
Hello all, I'm perplexed here really. This is in Delphi 7 I Have a snippet [code]var U:string; UserPath:string; begin U := GetCurrentUserName;[/code] My get Username works fine calling on a function I wrote however when I am attempting to insert that username in a directory path it wont place the … | |
A very funny (and borderline absurd) article I thought many of you would enjoy: [url]http://www.pbm.com/~lindahl/real.programmers.html[/url] :) -hope this is the best place to post this | |
I am using a BDCtrlGrid in a delphi unit. On the DBctrlgrid are two dbText's and one DBMemo. Now I moved the application that uses this unit into a dll. Now, when showing the form, the grid shows the 10 records in the table, but the DBMemo only shows the … | |
I am having a problem handeling an EDBEngineError. When I type an incorrect password in a login box it causes a EDBEngineError which I want to handle. I first tried having the database.open in a try....except block but that did nothing. Now I have tried using an application exeption handler … | |
Hello. My problem is that i don't know how to load Frame in my main application from Package that I created. Sorry for my English Thanks for all replies ;) | |
Hi guys, I was hoping somebody could kindly shed some light on a relatively basic function for I am trying to execute in Delphi for a project I am completing for work. I am very new to the world of Delphi so any assistance would be greatly appreciated. I have … | |
I am bussy developing a web application using delphi, i need my application to use a barcode scanner for filtering, please give me an idea on how to go about achieving that. | |
(They can't even spell Quiche) [I]from (I think) the April 1985 issue of DirecTions, the DEC inhouse magazine. This is an oldie, but a goodie.[/I] ________________________________________ Real Programmers... • Don't eat quiche. Real programmers don't even know how to spell quiche. They like Twinkies, Coke, and palate-scorching Szechwan food. • … | |
as in [URL="http://www.vietnamfuntravel.com/"]mysite[/URL] has old database use for 3 years now i want open it with more field [URL="http://www.vietnamfuntravel.com/book_tour.php"]example[/URL] [URL="http://www.vietnamfuntravel.com/hotels.php"]example1[/URL] [URL="http://www.vietnamfuntravel.com/links_exchange.php"]example2[/URL] and now i want get one sub page in these example how to do it ????? . | |
I have two RadioGroups on my form, each with just two RadioButtons. When I click a button in one group, it turns off the "on" button in the other group. What could be causing this? I'm using D2007 with Vista. | |
Hi all, I am Rene, 45yrs from the Netherlands. I am self employed advising engineering firms with their 3D designs and support everything involving projects. To do my job i am trained in vb6, vba, lisp, pascal, vbscript, sqlserver (yes all ms), 3D design software and minor programming techniques. While … | |
Hi, I've just completed my intro to programming class and my last assignment is to write a program for a hangman game. I have started and I think somewhere along the line I've gotten confused, can anyone give me some guidance. We did not do randomize in class but the … | |
I need a little bit of help with a program I am making. I have most of the program made except for this part: [CODE]procedure Button1Click (Sender: TObject); begin Button1.Click := public int getPixel(int x, int y); if (R=R+10) or (G=G+10) or (B=B+10) then // Simulate a key press keybd_event(VK_NUMPAD4,0xcb,0 … | |
I created buttons in my coding. 100 buttons.... Each one`s name is "Button" and the row code and then the column code... I wrote a procedure that is used by the OnClick event of those buttons. Now I want to get the name of the specific one I clicked on … | |
I am a new student in programming and having problems in writing a game where the user will input a word, character or munber values for processing. I will be grateful for the assistance. Thank you. Edward :) | |
In a GWBasic program I wish to delete all files *.??8 in the working directory AND sub-directories. The 'Kill' command in GWBasic allows no switches and doesn't get into subdirectories. If I shell "del *.??8 /S" (or "del /S *.??8") I get the error message 'Invalid switch -/S'; even though … | |
I want to paste some text in clipboard into Ms Word. I wrote this following code [code] a:=findWIndow(pchar('OpusApp'),nil); b:=FindWindowEx(a,0,pchar('_WwF'),nil); c:=FindWindowEx(b,0,pchar('_WwB'),nil); d:=FindWindowEx(c,0,pchar('_WwG'),nil); SendMessage(d,wm_paste,0,0); [/code] and it didn't work. But i wrote the code below to paste into Wordpad,and it works fine [code] a:=findwindow(pchar('WordPadClass'),nil); b:=FindWindowEx(a,0,pchar('RICHEDIT50W'),nil); SendMessage(b,wm_paste,0,0); [/code] Am I made some mistake … | |
Hello there! Right, Im designing a simple program for college. Its just a basic wage input program and it works fine. On the final screen I want the user to have the option of going back to the start of the program. 'Do you wish to start again?(y/n)' so if … | |
hello im using pascal with lazurus and i want to know if theres a way to make a batch file so that i can drop a windows 32 and convert it to linux / mac etc. im working with pleasant character darkbyte on cheat engine and im mostly a script … | |
![]() | So i am trying making a simple calculator in pascal but i am having trouble adding fractions. Like for example i am trying to add 1.5 and 1 so the result should be 2.5 but the output i get is something like 2.5000000e+00 something like that. How can i change … ![]() |
I have the following code and am trying to get a range of data in an xl file and put into an array, so I can then analyse it. The array says it is not empty, but how can I see the data as the app fails if I try … | |
I am using D2005 Ent and when I used to close a project with say 5 units open, on opening it back up, the 5 units would be visible and the project would be as I left it. Recently this has changed and only a particular unit is open when … | |
Hello, I am a 1982 year guy, country: Poland.. I am just starting my career in IT as a Java programmer. Indeed I got a positive feedback from two of two in total companies I've been to on an interview. (I live in a small City (Poland) and there aren't … | |
Hi Everyone, I am studying introduction to computer programming in Pascal and some of the questions are giving me beans. I am willing to accept help from anyone who can be of some assistance. Thanks Tamara. | |
Hello All, I am having a problem when returning a PChar from a function using Delphi 6. First of all, most of my functions pass type 'strings' around, but I am creating a DLL, to make sure it's universal, i can only pass type 'PChar' in and out of my … | |
I have a recurring problem: On some days, it appears that Delphi has problems with identifying some of the files in my "Uses" section. Certain files will be underscored in red zig-zag and identified in the structure window as "cannot resolve unit name ...". If I right click the unit … | |
Hey guys i have an application where i assign values to the type of sale it would be -- here's my code -- [code] procedure TPaymentForm.OkButtonClick(Sender: TObject); begin //ID 1 - Cash Sale IF (CashRadioButton.Checked) Then BEGIN //Opening Data Source and Stuff, Setting The Columns and Stuff Data.Statement_Entries_Table.Append; Data.Statement_Entries_Table.FieldByName('customer_id').AsInteger; Data.Statement_Entries_Table.FieldByName('date_time').AsDateTime … | |
I want to change the cursor in my program to a custom one that i made... Help plz?? I`ve tried all I know... | |
Hi all! I'm new to the forum so I figured I would introduce myself properly before the wave of questions begin ;) A bit about myself: My real name is Alex, 20 year olds, as of this very day 6 months very happily together with my girlfriend (had an AWESOME … | |
I'm using D2007 and trying to add a new, blank record to my Access database with code. The DB has a 'day' field and a 'event' field. All works fine when a record exists for the given day. I need to learn how to add a record to the file … | |
![]() | So my teacher gave me a really hard test involving arrays in pascal but unfortunately he never showed us how to take data from arrays and use it, so what i need is just some examples in how to take the data from 2d arrays and use for example in … ![]() |
Somebody has used Delphi.net? I need to do my first steps to develope my win32 desktops applications for use via browser on internet and I don't known what is better. I'm developing with Delphi 7 and FireBird 1.5, if is necesary will upgrade to Delphi 2007 but I need your … | |
![]() | Hello, does the SetLength function in Delphi called with the second argument 0 free the memory used for the array? Example: [CODE=Delphi] var Names: array of String; i: Byte; SetLength(Names,10); for i:=0 to 9 do Names[i] := '...'; SetLength(Names,0); // << does this code free memory used by Names array … |
I have the following code from Mastering Delphi 6 by Marco Cantu [Page 875] as supplied in the CD supplied with the book [more particularly a Project called "Office"] which I have got to work very well in transporting data created by my Delphi 6 Application into an Excel "PivotFile". … | |
Hi, Has anyone worked on below items. Request help on these Insert a Line at the specified Cursor position with in the Table Insert New Section At the specified Cursor position with in the table Displaying an Image with in the table cell Displaying the DateTime Picker in the table … | |
I am writing a program that uses two modules, a VCL win32 application module and a Datamodule to contain ADO components and a clientdataset to work the data in memory. When compiling the code fails with the message Raised Exception class EAccessViolation in Module EstimateMngr.exe. The debugger shows failrue in … |
The End.