I am making a user form in Delphi for documents tracking application. I am interested in functionalities **input new entry (record) **and **view list by... (date, name of document, ID,...).** My problem is that I don't know how to implement these functionalities for more than one user. Currently, I have 5 users. Each user has a unique **input data (record) fields (columns) ** and **view fields (columns)** of each user are also unique. There could be more users. So, how to implement these functionalities for this form? How to assign different data (fields) for each separate user for input and …

Member Avatar
+0 forum 0

I want to write out a DXF file with line arc and maybe spline. My issue is documentation; While I have looked at AutoCAD's site I feel that there isnt enough to say "here is a BMP of a circle. Lets take it and convert it using this code". Its too garbled up and doesnt make things clear. Could someone lend a hand on finding a good and easy way on how to do this?

Member Avatar
Member Avatar
+0 forum 3

Hi I have writen a web service. this web service has a method that returnes a Table as XML format and I need to use it as a table. how can i use this web service as a table. is any way to convert XML format to Table format Thank you

Member Avatar
Member Avatar
+0 forum 5

I am having an issue with my program it should start the msconfig program when the button is pressed but it doesn't start, however when I change the file name to Cleanmgr it starts up perfectly. ShellExecute(handle, 'open', PChar('cleanmgr'), nil, nil, SW_normal); ShellExecute(handle, 'open', PChar('msconfig'), nil, nil, SW_normal); I assumed it was the link so I changed it so that it links directly to the file using a fully qualified path. ShellExecute(handle, 'open', PChar('C:\Windows\System32\msconfig.exe'), nil, nil, SW_normal); Still no luck, what am I doing wrong?

Member Avatar
Member Avatar
+0 forum 1

If I doubleclick on a DirectoryListBox, Delphi returns the directory above the clicked one. A second doubleclick on the same directory returns the wanted directory. How do I select the intended directory in one doubleclick? In the OnDblClick event I use Dir:=DirectoryListBox1.Directory. What am I doing wrong? Anybody? Regards Bo

Member Avatar
Member Avatar
+0 forum 3

Hello all, I been trying to add a hotkey to my application using the following code below but I have a issue were once added am no longer able to use any other shift commands as it will always call the the press commands so am wondering is there a better way of doing the code below were it allows me to use shift key for my command but also allso the normal shift commands to be used while program is open for symbols also how can I am make it so the shift key must be always pressed down …

Member Avatar
+0 forum 0

Hello am trying to encrypt my strings in delphi I already encrypted my needed strings in php but am having a little trouble getting the matching string from my delphi test application below is the php code am using to encrypt on website then following code is my delphi app that am trying to recreate the same code as php so I can generate the same encode to match them can anyone help or maybe give a better solution? php code: function encrypt($text, $salt) { return trim(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $salt, $text, MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_ECB), MCRYPT_RAND)))); } Delphi code : procedure TMainForm.GoBtnClick(Sender: TObject); …

Member Avatar
Member Avatar
+0 forum 4

Im writing a program that keeps track of a bussiness/banks loans and also shows results of the payments recieved and payments not recieved. basicly it's just a program for loans. i need a name and logo for it, any ideas?

Member Avatar
Member Avatar
+0 forum 5

Hello, I have to make an MP3 player that can work on 3 different ways. - You click, it plays, you click again, it pauses - You hold down the mouse, it plays, you release the mouse, it pauses - A timer, you can set up a timer to pause it up to 60 seconds, with a scrollbar or something appearing to select a amount of seconds to play until it pauses. I figured I can do the playing options in a groupbox but I have no idea how to do any of this. Also, I'm not supposed to use …

Member Avatar
Member Avatar
+0 forum 7

I have a backup program that used to work reasonably well. It used copyfileex to copy files from one unix machine to another. Recently it has been maxing out at about 5Mb/s So I changed to SHFileOperation and found it averages about 80Mb/s This is using delphi 7 on windows 7.

Member Avatar
Member Avatar
+0 forum 2

I have a project in wich i have to create a program making usae of geotechnology. My program revolves around pilots, paragliders and airbaloons. Basicly it has 3 seperate programs for each category and solves some of the difficulties that come along with it. Any idead for a name and logo I can use? thanks

Member Avatar
Member Avatar
+0 forum 5

Is it just me or is Delphi not so popular when it comes to programming laungages?

Member Avatar
Member Avatar
+0 forum 6

When the user's mouse pointer touch a button I want a message to appear telling the user what that button's function is. Wich function do I use? Thanks

Member Avatar
Member Avatar
+0 forum 4

Hey Guys! I want some idea for a program i can write on Delphi. My brain is drained out :/.... Just something to do in my free time. Thanks!

Member Avatar
Member Avatar
+0 forum 5

I have to do a project on geotechs, and I need at least 3 forms, but how do you make it go from one form to another?

Member Avatar
Member Avatar
+0 forum 4

How exactly do I add images to a console application?

Member Avatar
Member Avatar
+0 forum 12

I have searched everywhere for Borland Delphi 7 but I cant find it anywhere. I used it a while ago when I got it as part of my programmer courses but I lost all the data on my harddrive. I have looked on Borlands main website but I was unable to find it. Does anyone have a link or so to it?

Member Avatar
Member Avatar
+0 forum 3

I have recently started programming in delphi, after programming in VB. Does anyone know if there is anything similar to vbtab in delphi? If not is there anyway that I can create a constant that works similar to vbtab?

Member Avatar
Member Avatar
+0 forum 2

I'm trying to make a program that saves images in a database. I've pulled together some info on the net and wrote up code that I think is supposed to work, but fails in a completely unique way on either side (the saving and the loading). Here's my code, could you tell me what I'm doing wrong? Load from Database, gives me a memory address access violation error: procedure TfrmMain.btnOpenProfileT4Click(Sender: TObject); var S : TMemoryStream; ikode : integer; begin S := TMemoryStream.Create; ikode := cbxDeelnemerT4.ItemIndex + 1; S := TMemoryStream.Create; ADOQuery1.Close; ADOQuery1.SQL.Text := 'SELECT * FROM DEELNEMERS WHERE Kode = …

Member Avatar
Member Avatar
+0 forum 3

Hi Does anyone know how to use it? I mean FastMM in Delphi. Or any code to work with memory leaks. Clear memory when application run or stuff like that. My exe (application )growing used memory when work and open forms, click button, read from database etc. thank you

Member Avatar
Member Avatar
+0 forum 1

Greetings Friends ! How do I do incremental Builds in Delphi...? I have both the Delphi 7 and Delphi XE2... I have never really incrementally built my apps... pardon my ignorance... but i have taken on a project on a piece of software where the manager wants the build done incrmentally. What does he mean and how is it done? Thanks in advance.... Bruce V.

Member Avatar
Member Avatar
+0 forum 4

This procedure is called just before the answer is written to a binary file to ensure it is in the correct format. It works but I need it to repeat until it is an integer. I was trying to use a 'repeat','until' but wasnt sure what the 'until' condition woudld be. At the moment it displays the message and then carries on regardless. Procedure ValidateAnswer; begin try ValidatedAnswer:=StrToInt(QuestionnaireForm.Answer.Text); except ShowMessage('Answer must be an integer'); end; end; Thanks!

Member Avatar
Member Avatar
+0 forum 3

Hi, I'm a bit of a newbie to Pascal and I'm trying to create a simple program to convert binary numbers to decimal, I'm unsure of how I can disallow an input that is not binary, this is my code: var Validation : boolean; Binary, Number : String; Decimal, index, a, ConvertedBin, BinaryA, error : Integer; begin repeat Writeln ('Please enter a binary number for it''s decimal conversion: '); readln (Binary); If Length(Binary) <= 8 then Validation := TRUE else validation := FALSE; If(Binary[index] in ['0'..'1']) then Validation := TRUE else Validation := FALSE; If Validation = FALSE then writeln …

Member Avatar
Member Avatar
+0 forum 1

Hello all, I once had a program (.exe) that was a delphi tutorial, you could click an option and it would show you what it did and tell you how to do it.. i lost it in a format and im unable to locate it!, could someone point me in the right direction?

Member Avatar
Member Avatar
+0 forum 1

Hello I have been trying to get past certein exercises in Pascal but for some reason I always run into problems that I don't understand. I have the following (synthesized) TYPE Triangle = RECORD x, y, z : word; END; Triangles = ARRAY OF Triangle; {more code} TriangleSize : integer = sizeof(Triangle); assign(src,'triangle.dat'); reset(src,TriangleSize); size := integer(filesize(src)); setlength(ts,size); view_triangle(ts[0]); readln; //SHOWS "(0, 0, 0)" blockread(src,ts,size,numRead); view_triangle(ts[0]); readln; //EXIT CODE 216 FOR i := 0 TO size DO BEGIN write('i = ',i,': '); view_triangle(ts[i]); END; close(src); I just don't understand why the array elements are unaccesible AFTER the BLOCKREAD. The docs …

Member Avatar
Member Avatar
+0 forum 7

I am trying to open an instance of Excel 2007 and load some text into a new file's cells (such as a list of something) through my Delphi4 program. I have already tried the ShellExecute and ComObj (variant) methods. ShellExecute works fine on the Windows XP platform, but not on Windows 7. I can **open** an instance of Excel 2007, but the file will not load. Any recommendations are welcome.....thanks....

Member Avatar
Member Avatar
+0 forum 1

In other threads I read that Delphi is not prepared, as a net for today, but the comparison was made on VCL in Delphi 7. Actually, the latest version of Delphi and its library is XE3 is FireMonkey I had seen the comparisons between C # and Delphi. I try to use Microsoft tools: C # and. NET, but I do not find the same enthusiasm. Beyond the comparative contributions must join to allow most decide on a development environment or another. I for one am among those who prefer Delphi, for many reasons, but under some circumstances, that if …

Member Avatar
+0 forum 0

Hey Hey I have found that in certain instances breakpoint just dont cut it for me...let me explain: The current program I'm working on in Delphi Codegear has some 2 mil lines of code under a button click, not bad coding btw, just a lot of fuctionality. Now, the program somehwere in all this coding generates a value...I dont know where and im not gonna step through all that code and sub functions of sub fuctions to find this problem (or i would rather not) Ok, so my question is: Is there any way to say put the value into …

Member Avatar
Member Avatar
+0 forum 3

Hello All, I have been wondering how possible is it to have an application that would run a php application that would be used for making the database updates as well as handling the business logic while on the front end, have delphi forms So The form will be used to capture the data, do the neccessary parsing then through a post command send the collected data to a php script. Questions; 1. Which components can be used to make this into a reality? 2. What would be the preferable method of data transfer; xml, soap etc?

Member Avatar
Member Avatar
+0 forum 5

I need Delphi 2011 XE code for editing an Excel file. If there is found a text in a row of column A of the Excel file, to change the number of the same row in column B. That's all I need. Thanks!

Member Avatar
Member Avatar
+0 forum 1

The End.