937 Topics

Member Avatar for
Member Avatar for taineechan

Hi All I want to delete records from a table. I'm using the following query: [code] adqdelete.active := false; adqdelete.sql.add('delete from stalls'); adqdelete.sql.add('where stall_name ='); adqdelete.sql.add(edtDeleteStalls.Text); adqdelete.active:=True; [/code] This gives a syntax error. does anyone know what I'm doing wrong? Thanks for your time Tai

Member Avatar for ennis
0
371
Member Avatar for sonya795

Hello everyone, I need some assistance in finding an error in my Delphi code. (I am new to the Delphi programming). I am using a Delphi application to build an excel spreadsheet. When a part_number is entered for the first time(assuming it exists in db) application always runs , the …

Member Avatar for sonya795
0
211
Member Avatar for Bob Kolb

I need help getting going with Pascal on a Mac. (I have considerable amateur experience on Delphi on a PC.) Two possibilities: 1. I can hire someone with the knowledge to consult and get me going--Install compiler, setup IDE, relate to XCODE (whatever that is) and so on. I live …

0
48
Member Avatar for Bob Kolb

I am coding a unit in Delphi 2007 and everything has been working fine. Suddenly, pressing the "return" key merely moves the cursor to the next line instead of throwing a new line I switch to another program (word processor) and that program works fine. I have rebooted, but that …

Member Avatar for Bob Kolb
0
94
Member Avatar for Ravenn

hey there, i'm new at delphi, at my first prog actually. Been doing c/c++ for a while. The prog is supposed to be simple game, and i need a level counter. I've strayed a bit from the tutorial i'm using and now when i run it the number in the …

Member Avatar for Ravenn
0
127
Member Avatar for pfemia

Hello, I need to transform mathematical expressions from MathML (as a part of an XML file) to plain text format (in the Pascal or C fashion) and the reverse (from Pascal to MathML) form my application in Delphi. Does anybody know any component or routine to do this? Thanks in …

Member Avatar for pfemia
0
82
Member Avatar for pfemia

Hello, I need to transform mathematical expressions from MathML (as a part of an XML file) to plain text format (in the Pascal or C fashion) and the reverse (from Pascal to MathML) form my application in Delphi. Does anybody know any component or routine to do this? Thanks in …

0
31
Member Avatar for Ranfile

hi everyone:) my name is ranfile.im from indonesia. well, you might more recognize Bali better then Indonesia. but,yeah,its a big country:) im a computerized accounting graduate who is interested about programming field of job... i used to use visual basic as my tools,but in my office i am expected to …

Member Avatar for LabASSistant
0
72
Member Avatar for boed

I want to display first data from table on mysql in scrollbox, before print it. Iam using delphi 7 and rave report 5. how ??

0
53
Member Avatar for josejp1

Hello friends, I inform you that on the web [url]http://delphimagic.blogspot.com[/url] have a selection of good tricks in Delphi. I hope you like. Javier

Member Avatar for Duoas
0
84
Member Avatar for webzz

I'm using Delphi 2007 and I need to pick and display a character from a unicode font in the range U+1500 to U+15FF I tried: label1.caption := widechar($1513); but it can't be that simple. I have googled unicode, delphi, chr, widechar etc and researched for days and I still can't …

Member Avatar for ExplainThat
0
667
Member Avatar for AKJo

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 …

Member Avatar for AKJo
0
956
Member Avatar for Evil_Tim

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 …

Member Avatar for farhan386
0
91
Member Avatar for rcflyer

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

0
49
Member Avatar for eenceo

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 …

Member Avatar for eenceo
0
84
Member Avatar for corum10

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 …

Member Avatar for ebi1
0
102
Member Avatar for TerenceZ

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 …

0
76
Member Avatar for monar

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 ;)

Member Avatar for Duoas
0
82
Member Avatar for georgiaa

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 …

Member Avatar for georgiaa
0
363
Member Avatar for Motapa

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.

Member Avatar for Duoas
0
173
Member Avatar for HolyEnd

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 …

Member Avatar for HolyEnd
0
133
Member Avatar for JCBond

Hi all Well, I installed and registered my Delphi 2006 on my work PC. I'm trying to install on the test PC for Vista and it refuses to let me. It says that I have already used the Serial number. This is not another user machine, just my personal test …

Member Avatar for JCBond
0
132
Member Avatar for Nuxxy

Hi all IT dude from Port Elizbeth, South Africa. Currently doing software programming for a manufacturing company in the motor industry...mostly with Delphi. But like most IT people full of bits of knowledge from here, there and everywhere.

Member Avatar for MakeMoneyOnline
0
38
Member Avatar for karlw

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 …

Member Avatar for karlw
0
950
Member Avatar for jsosnowski

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 …

Member Avatar for jsosnowski
0
185
Member Avatar for ctrl-alt-del

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 …

Member Avatar for VernonDozier
0
98
Member Avatar for thijscream

hi, i made a form1(FrmMain) and when i press on BtnAdvocaat form2(FrmAdvocaat) is vissable and BtnAdvocaat is disabled. now i want to make it like this: when the form2(FrmAdvocaat) is closed by BtnClose i want BtnOpen to be enabled. the code to open so far is: [code] private void button1_Click(object …

Member Avatar for thijscream
0
2K
Member Avatar for jars

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 …

0
49
Member Avatar for Thew

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 …

Member Avatar for Duoas
0
663
Member Avatar for delphiman

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". …

Member Avatar for delphiman
0
130
Member Avatar for jsosnowski

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 …

Member Avatar for cVz
0
129
Member Avatar for mmx64

Hallo, does anyone have any knolege about [URL="http://www.alldatasheet.net/datasheet-pdf/pdf/74901/MICROCHIP/24C01.html"]i2c[/URL] eeprom programing with delphi, via com port or lpt??

Member Avatar for mmx64
0
162
Member Avatar for kvdd

I am following some exercises in Delphi in a Nutshell from Ray Lischner. Very easy to follow and readable. He was explaining how units are working the following code: [code=pascal] program Units1_1; uses UnitA; {$AppType Console} begin WriteLn('Units 1_1 main program'); end. unit UnitA; interface uses UnitB; implementation initialisation WriteLn('UnitA …

Member Avatar for kvdd
0
148
Member Avatar for Thew
Member Avatar for cVz

Hey dudes...i am currently working for a company that codes in delphi 7... i am familliar with C# language but not that much of Pascal language...i need to make a form where i can print an added HTML page... I managed to get it to print a form but i …

0
91
Member Avatar for rickstar123

Hi All, Im desperate to write a hex file in Delphi. Effectively I have a Decimal value, say 580 which I convert to Hex: 02 44 And I need to put this into a Hex file (multiple times) - 25000 times per file Each line in a similar hex file …

Member Avatar for Duoas
0
2K
Member Avatar for andihdr

I`ve just begun to learn delphi and sql server. I want to make small application using delphi and sql server, but i can`t make the report like this: Note Plus Minus Balance ------------------------------------------------------------------------- sell 5.000 0 5.000 buy 0 1.000 4.000 sell 3.000 0 7.000 sell 2.500 0 9.500 I …

Member Avatar for delphiman
0
149
Member Avatar for dad45

Need help to set various parameters on my sound card from within my Delphi 6 program. Mostly interested in what it takes to set various tones. Any site URL that discusses the issue welcomed. TU Vern

0
57
Member Avatar for casper_wang

Hello all, my first post on these boards. I have spent the last few hours reading this section of the boards and I have noticed many new to programming people ask the same question: What language should I use, where should I start, what should I learn, etc etc. All …

Member Avatar for casper_wang
0
124
Member Avatar for Graham_Saint

Greetings, I am writing a Delphi application that uses Absolute Database. When the user presses a button the application fills in some values in a second form and then displays the form. Last night I added a DBGrid to the second form to display a small Absolute Database table. Hitting …

Member Avatar for Graham_Saint
0
301
Member Avatar for novarse

We have had a frustrating problem for months. We are trying to find a resolution or work around to fix this and are looking for help. We have applications developed in Delphi 4 through to Delphi 7 that use database components and have worked correctly and well for years. When …

Member Avatar for Tony22
0
334
Member Avatar for dad45

I have borrowed code that I don't understand but it serves my purpose. The code saves Text data in a TFile, i.e. MyNewStuff.txt. I want to put it into a TSringlist pronto. Immediately after saving the TFile and closing same, is the data still in memory when I say "MyTStringlist.loadfromfile('MyNewStuff.txt');" …

Member Avatar for dad45
0
157
Member Avatar for mike issa

I am having problems with using a header file called lt360lib.h My code is as follows [CODE] #include <lt360lib.h> #include <iostream> using namespace std; main() { } [/CODE] as you can see it is a simple code just to test if the header file is being accepted or not. but …

Member Avatar for Jishnu
0
425
Member Avatar for Chagh

hi all, how can we have a select satement in an SP?(i want to return a result set from the SP). i want to migrate from SQL Server to MySQL and i don't know what to do with these SPs. it can be done in MySQL client, but it gives …

Member Avatar for varmadba
0
74
Member Avatar for Clive29

[B][/B] i know its kinda funny, but please help me. my father is a bussiness man and he wants to hire a programmer to design a program that record bussiness history like their products, their profits and even to perfom necessary calculations for his wide supermarket. since the stock have …

Member Avatar for jsosnowski
0
102
Member Avatar for bbradley

Please help. I really need to find out how to get a data value from one for onto another form. For example I put a value in an edit box in Form1 and I want that same value to be in Form2, but if I were to chage the value …

Member Avatar for jsosnowski
0
326
Member Avatar for monxxx

Hi, i need some help about using swap() functions i am using this code: [CODE]var x: integer; begin x := $11223344; x := swap(x); edit1.text := inttohex(x); end; [/CODE] this code is working fin its swap like this: '22114433' but if i pud/add byte on like this: [CODE]var x: integer; …

Member Avatar for Clive29
0
268
Member Avatar for gerhardjl

I am using Delphi 5 I wish to do date/time calcs I have noticed now that I require the 'DateUtils' unit in order to use Functions such as IncMinute What are my options to get a copy of 'DateUtils' unit for Delphi 5 Is it downloaded, free, or what? Please …

Member Avatar for gerhardjl
0
1K
Member Avatar for lexdalex

Hi friends, i'm new to this forum.i need help from you guys .i have a client side executable file together with other dll files. this executable file is a delphi file. i want to generate the interface from this .This client side is for a cyber cafe system.how do i …

0
58
Member Avatar for jsosnowski

I am trying to compile some code using BDS2006 and have received the following err: [Pascal Fatal Error] Variants.pas (1035): F2092 program or unit 'Variant' recursively uses itself. The code is highlighted by the debugger at the end of line 1035 which is the final end; statement for the Procedure …

Member Avatar for Duoas
0
155

The End.