937 Topics

Member Avatar for
Member Avatar for youngmoolah

Hi I was wandering if sql tables can determine the order in which forms appear in a delphi application and if so how does it determine this order and will I be able to go in and edit the order. Thank you in advance

Member Avatar for youngmoolah
0
77
Member Avatar for EnderX

I'm working on a Delphi program designed for use with an Access database. In addition to the onscreen output, however, my boss wants me to provide PHP reports for it as well. We have PHP installed on our servers, so that's good, but the database in question is installed on …

Member Avatar for Wolfgan
0
2K
Member Avatar for youngmoolah

Hi I am new to delphi and I am trying to add a new form to an existing MdiApp program which links to various SQL tables The existing buttons that move the user from one form to another have the OnClick event (CmdBeginTestingClick). This OnClick event automatically attatches the following …

Member Avatar for Wolfgan
0
365
Member Avatar for Zinderin

I am still learning C#. I come from a Delphi and C past. I am used to being to create flat data files of of records. Example: [CODE] // Sample Delphi code... type SectorRecord = Record iIdx : integer; iCoordX : integer; iCoordY : integer; sName : String[60]; end; ..... …

Member Avatar for Zinderin
0
277
Member Avatar for AnkitaNegi

i have a TcxGridDBBanded column in delphi , which takes the value from database. the colindex property of all the columns is already set in the delphi form. now at run time if the user changes the order of the column, and try to open it again, the GridDBBanded returns …

Member Avatar for Wolfgan
0
87
Member Avatar for agrarian

I have a form (Delphi 2010) that includes several data controls, including a DBImage. All these are hooked to a underlying MSSQL 2005 database and table. I'm using ADOConnection and ADO Table for ease of use. I need to include image data in this table, so I have set up …

Member Avatar for yousef.h85
0
217
Member Avatar for serkankucuk

I have a Windows application. I want to convert windows app to website, but with no differences on code. How can I do this convertion, please help me?

Member Avatar for ennis
0
121
Member Avatar for cVz

Good day I'd like to find out how to change the color of a row on a page startup in Delphi 7 pro with an Express Quantum grid 6 What i am trying to achieve is this if Quantity in stock = >10 row color should be green... if Quantity …

Member Avatar for vedantham
0
1K
Member Avatar for az7_neli

Hi, everyone! I have a new problem with my graduation work. :( My application must open database at runtime and modify data in this database. The database is random. For that reason I have no idea in which table will be inserted data or update or delete. The problem is …

Member Avatar for az7_neli
0
955
Member Avatar for Teseng

I'm using Delphi 2009, and I can't figure out how to preserve transparency when converting a TBitmap to a TIcon and assigned it as the cursor, its always square and has the white background. Can anyone tell me how I could draw to the bitmaps canvas, and convert the entire …

Member Avatar for Teseng
0
555
Member Avatar for instinctfx

Howdy! Ive been working on an application now for number of months for a client and have developed a small application that uses a firebird backend (ver 2.1.xxxxx) Now, i managed to fix a permissions issue on Vista with firebird BUT when i run this same app with the database …

Member Avatar for instinctfx
0
154
Member Avatar for sbedford

Hi I am trying to create a delphi program to autoinstall other multiple utilities such as adobe reader, winamp etc. I am firstly wondering how to execute an external exe file. and also, is there a way to pass mouse clicks through delphi to this external program? Thanks Sean Bedford

Member Avatar for david Booch
0
324
Member Avatar for Adaltino

Hello! My service ([U]not windowed application[/U]) for winXP (32) creates a list of processes (like task manager) and setts every process to run in just one CPU in multiproccessor system. 1) when I try to get the [B]handle[/B] of the process I get error: "The handle is invalid". If I …

Member Avatar for Wolfgan
0
861
Member Avatar for ecostas

Hi. I'm still learning how to use dbExpress, after using Zeos and Delphi 5 for many years. I wrote a small program to import data from a MySQL database to another MySQL database totally different in terms of layout. It worked all right, though I'm afraid some of my clients …

Member Avatar for Sagar14
0
238
Member Avatar for revski

Hi i am looking to use a totally custom built UI with a piece of software i am writing in delphi. i have ofc seen this done many times in programs like itunes and windows media player etc, where the standard windows aero frame is not used... i have never …

Member Avatar for revski
0
176
Member Avatar for Muscipula

I remember the days when I programmed in assembler and managed to work very fast having complete control of my programs and not endlessly banging my head on the windows wall when dealing with the Microsoft side of my software. Below is an example of some code that is simply …

Member Avatar for Wolfgan
0
607
Member Avatar for srianduma

hello i want to print my customers invoice in dos print. the customer is using roll paper. for tearing purpose i have ejected some part of the paper. for the next bill the printer should automatically bring the paper where it has been teared. what is the code. i am …

Member Avatar for Wolfgan
0
115
Member Avatar for suryakantb

Hi, I am sharing a tips on "Identifying Files From Their first 4 Bytes Or Magic Numbers" related to Delphi Sometime back I faced the task of having my application take file data from stream and save them on disk in their original format. Now, the tricky part was that …

0
92
Member Avatar for wlalth

Hi, im working on basic macro program. I want to select applications by window name and sending keys(f5 f1 etc.) to them basically. The problem is, sendkeys dont work on non-active windows. I search for this problem internet. I can get window names to combobox with; [CODE=cs]foreach (Process FFget in …

Member Avatar for kvprajapati
0
156
Member Avatar for MorrisL

I am trying to convert a piece of code into Delphi but fall down when it comes to this example : [CODE] void __stdcall GetBuffers( short **xBuffers, unsigned long nValues) { ....... memcpy(TargetA, xBuffers[0], nValues * sizeof(short)); memcpy(TargetB, xBuffers[1], nValues * sizeof(short)); memcpy(TargetC, xBuffers[3], nValues * sizeof(short)); memcpy(Targetd, xBuffers[4], nValues …

Member Avatar for BitFarmer
0
495
Member Avatar for zelboka

need the solution for these [URL="http://light-bearer.nm.ru/0_help.jpg"]Click Here[/URL] need to be written into a code its for a friend of mine trying to finish class :) thank you very much

Member Avatar for glubbish
0
62
Member Avatar for glubbish

Hi all, When I click on the add button I get "exception class EdatabaseError with message 'DBedit2: Field 'RoomNumber' not found I am trying to get the max roomnumber to insert a new room max(roomnumber)+1 Its a fundamental hole in my knowledge here, on how to get a result from …

Member Avatar for glubbish
0
672
Member Avatar for glubbish

Hi All, I have cut this down to a simple example. The access file has a table called rooms which contains a description field of type memo I want to load this into a dbmemo (delphi 7) I run this by a button onclick event [code] procedure TForm1.Button1Click(Sender: TObject); begin …

Member Avatar for glubbish
0
222
Member Avatar for glubbish

I am looking for a way to extract an icon from a program and save it to a file, then load from the file and use again, keeping 32bit colors I have tried using ConvertTo32BitImageList() saving as file and stream When ExtractIcon() is used the icon is fine, I can …

Member Avatar for glubbish
0
117
Member Avatar for lukegw

I am trying to make an IP chat using TcpServer. As many people are behind a router, how would it be possible to connect to them directly? I know how to call up my external ip, and how to find out my internal one assigned by the router, but how …

Member Avatar for lukegw
-1
154
Member Avatar for lukegw

Everytime btnSendClick is execute, 2 messages will be added to the rich edit. The first needs to be of fixed values (BOLD, size 8 etc) The second needs to be changable by the user using a FontDialog box. This is my below code, but it doesnt quite work, it pretty …

Member Avatar for lukegw
0
193
Member Avatar for gabsi

Hi, I searched for few days, and even if I see that there are people getting this error, I can't find a solution. I have an application communicating over the serial port. The application is written in VB6 and 2 PCs, one with XP, the other one with Vista. If …

Member Avatar for gabsi
0
2K
Member Avatar for danielgraham

Hi, Does anyone know how i can AutiFix (ie check that all tables and primary keys are setup) an SQL database? A company i was working for a few years ago had this facility on their software and i was really handy. Daniel.

Member Avatar for BitFarmer
0
155
Member Avatar for turbomen

Hi, Are there any web version of Delphi? It is because I cannot install the Delphi from my portable harddrive to the public computers. Cheers,

Member Avatar for bperiod
0
94
Member Avatar for WackyZ

Can someone please help me - I need to write a function that will validate UK postcodes written in a textbox but every tutorial and example source code I find for it is in other languages such as VB and Javascript. The VB code looks extremely small: 1. Public Function …

Member Avatar for Ionelul
0
479
Member Avatar for Mobix

Hello, after one delphi session every one of my single floats has been saving into a wordpad as this weird 2.73500000000000E+0003 2.00000000000000E+0002 notation, same goes with printing is there any way to reverse this ?

Member Avatar for FlamingClaw
0
187
Member Avatar for lighten123

This is the code section from inno setup.My intention is to make two Checkbox where at a time one is being selected. But this code return error. procedure CheckBoxOnClick(Sender: TObject); var Box2,CheckBox: TNewCheckBox; begin if CheckBox.Checked then CheckBox.State := cbUnchecked; Box2.State := cbChecked; else //THIS LINE RETURNS AN ERROR: "Identifier …

Member Avatar for Ionelul
0
694
Member Avatar for GAME

I have just translated my delphi project to C#. I need a little help fixing some of the code I couldn't fix. One code I couldn't fix was xplode. Here is my source: [code]using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Threading; using System.IO; using System.Text; using …

0
68
Member Avatar for zipgenius

Hello. I am using Delphi 2010 to build a small application that builds a very very simple database in CSV file format. I am using the Jcl and JVCL libraries (TJvCSVDataset, TJvDataSource and TJvDBGrid). I set up the fields ("Last Name", "First Name" and "Email"), where "Email" is the only …

Member Avatar for est69dog
0
330
Member Avatar for vikingsraven

Hi, all. Just been asked to help design a motion rig for a flight sim for a charitable museum in the UK. I have built robotic and control systems for a few years now mainly with PLC's some python and PICs. they are running Microsoft FS2004, and there is a …

0
28
Member Avatar for Fewa

I am trying to write a code that will launch the MSDOS prompt from windows and input a pre-set command line when i click a button, but am having trouble trying to find a proper way of getting it to work, if anyone could help me out, i would greatly …

Member Avatar for Mikav6
0
96
Member Avatar for rajaraman1969

Hi.. I have a report developed in Crystal Report v10. Using Delphi 7, I should be able to load an image file dynamically in the said report. The Image file will be available in the local specific path. The file name will be known based on the query result set. …

0
74
Member Avatar for delphiuser1111

Hi, this is the first time i have ever used Delphi and was wondering if you could help me; i understand how to writeln etc. but I'm having trouble with programs such as making a program that requires the user to write a message, and how many times they would …

Member Avatar for wylddev
0
87
Member Avatar for CanYouHandstand

Hi All I'm about to attempt to write a library for communicating with a precision pressure transducer (PPT). The PPT communicates through serial port, with a relatively simple protocol. I have never written a .dll library before that has been used with another language. So I was wondering, is it …

Member Avatar for Diamonddrake
0
134
Member Avatar for rajaramans

Hi, I am using Delphi 7 and Crystal Reports 10. I have a requirement where I need to load a picture dynamically in the Crystal Reports 10. Actually, in Crystal Reports 10 we don't have the feature of dynamic loading. But, from Crystal Reports 11 version and above, it is …

0
50
Member Avatar for BradenMurphy

Hi, I was hoping someone knew a good 2d graphical library for .NET that can: -draw objects (lines, bmps, shapes etc) -these objects can be moved around and resized -this component allows for zooming in on objects -the library must be open source -I am willing to pay for it …

Member Avatar for ddanbe
0
110
Member Avatar for Syphilis

What's Up? OK, So this has been driving me crazy over the last few weeks, All I need to do is edit a file so that it runs without showing any windows (I.E Runs in background) The window is created by means of Delphi, (So WS_EX_TOOLWINDOW Won't work) The only …

Member Avatar for MosaicFuneral
0
160
Member Avatar for kamatatul
Member Avatar for andre.vanzuydam
-1
61
Member Avatar for famousb

Greetings all, I've been programming local applications in Delphi quite awhile, but i only consider myself a so-so programmer... and i've never done anything server based. I also do a fair amount of web/PHP programming. That said, i'm trying to create a small program i can run on my Windows …

0
70
Member Avatar for sirko

The delphi app should subtract two sets that would represent two graphs Hi there! I've got a problem that I can't solve. Can anybody help me? The app should subtract two graphs (in this case a graph is meant to be a set of points) here's the beginning. program assignment; …

0
105
Member Avatar for agrarian

I have some code in PHP which I need to translate into Delphi: [CODE]$xsl = new DOMDocument(); $xsl->load('http://www.fda.gov/oc/datacouncil/stylesheets/spl/spl.xsl'); $proc = new XSLTProcessor(); $proc->importStylesheet($xsl); $xml = new DOMDocument(); $xml->load($xmlFile); $domTranObj = $proc->transformToDoc($xml); $strHTML = $domTranObj->saveHTML();[/CODE] What I need to do is take a snippet of XML (from a database field), transform …

Member Avatar for agrarian
0
167
Member Avatar for GregPeters

Hi all, I have a procedure which needs to be used by a wide range of functions. I have a created a very basic program which should highlight my problem : [CODE] program untitled; function addnumbers(num1 : integer) : integer; begin result := num1 + 3; end; procedure sequence(I want …

Member Avatar for adraganov
0
1K
Member Avatar for johnnybgoode
Member Avatar for vegaseat
0
767
Member Avatar for dyonysos

hi! I use client/server socket components to send a file. a client app sends a file and the server app gets it. I know how to display the copying progress in a progressbar when receiving data, but how can I display in a progressbar how much of the file has …

0
60
Member Avatar for Vasil54

___Theme: PGF - the improved formatting; AUTOMATIC localisation / CORRECTION of structural ERRORS in initial codes Pascal and Delphi. ___ Keywords: debugging, formatting, support, reliability, visualisation, documenting, Pascal, Delphi, FreeWare. ___ Dear programmers. ___ Formatter of the programs initial codes, used in modern practice of programming, are based basically on …

Member Avatar for Vasil54
0
236

The End.