937 Topics

Member Avatar for
Member Avatar for vegaseat

Many moons ago I wrote a Delphi program that could tell the exact character in a ListBox, as you clicked on it with a mouse. I found a little info on the NET that lets you get at least the item in a ListBox using C#. I made it work …

0
267
Member Avatar for vegaseat

You can look at a selected file's date and time stamp and change it with this Delphi program. XP files need a little extra TLC, but it's taken care of too.

0
548
Member Avatar for vegaseat

This Delphi procedure sends the text contained in a multiline editbox (memo in Delphi lingo) to a printer. The font and font size can be specified.

0
247
Member Avatar for vegaseat

Just to give you an idea what Delphi can do, here is a plot of the ever popular sin(x). I have put enough information into the code comments so you can build the form. The PaintBox Paint Event takes care of the plotting.

0
973
Member Avatar for vegaseat
Member Avatar for revski

Hi. I have wrote a basic program in delphi to perform calculations. The system the program was wrote on had the region set to English(United Kingdom). Upon testing the software, it will only perform calculations when the system is set in either English(United Kingdom) Or English(United States). If i set …

Member Avatar for FlamingClaw
0
115
Member Avatar for Katkot

How can i add my Programme to firewall exception during Install.. Somefreind using delphi 2009 .. and he is doing it .. without any wrrning for user ,,during install his programme it will be add itslef at firewall exception .. Please help me how can i do it using VB …

Member Avatar for vb5prgrmr
0
70
Member Avatar for janevblagoj

HI, Which changes I must to make in this program about (UDP Chat) which you may find on [url]http://delphi.about.com/library/weekly/aa101105a.htm[/url] To work on one computer simulate 2 clients, concerning with start two times on this program On same Computer I want to have two clients!! Is it possible? With Regard Janev …

0
70
Member Avatar for janevblagoj

Dear Sir, I work in Delphi 6 a few years. Now I was beginning in Delphi network and I need some help maybe in source code Or advice for following: I have chat application and have two peer to peer clients, and I want to start one procedure (For example …

0
81
Member Avatar for especta

i have 1 combobox and i have auto Assign stringlist from advstringgrid its working ok . I need to activate filter sorting condition based on select string from combobox. hire is buton comand it work fine [code=delphi] advstringgrid1.Cells[9, 0] := 'some word '; CheckBox1Click(Sender); I need ,, ('some word';)" to …

Member Avatar for especta
0
167
Member Avatar for waxy41

My colleagues and I have a problem that is really frustrating us. We have created a WebService using Delphi. This web service has functions which construct an XML file from a database/other files and in theory sends them to the client when it calls the corresponding function. Our plan is …

0
58
Member Avatar for darkyere

Ive know started up programming again. My last try was in delphi where my best project was a security screensaver. Ive know decided to start up programming again and my choice this time was java whit netbeans and my project would be to rewrite the Security screensaveer and add any …

Member Avatar for BestJewSinceJC
0
138
Member Avatar for mmx64

I have a problem with Tcomport. This is usage for writeing to ComPort. [CODE]b:byte ComPort1.write(char(b));[/CODE] How do i use [CODE]ComPort1.read(Buffer:pAnsiChar;Count:integer):integer;[/CODE] Thanks!

0
61
Member Avatar for MoZo1

Well, so if I use static initialization blocks to access another static data inside another class: [code=java] public class StaticTestA { public static Queue queue = new LinkedList(); static { System.out.println("A start"); StaticTestC.queue.add("A"); StaticTestA.queue.add("A"); StaticTestB.queue.add("A"); System.out.println("A stop"); } } public class StaticTestB { public static Queue queue = new LinkedList(); …

Member Avatar for JamesCherrill
0
129
Member Avatar for suganthi87

Hi I am using named pipes to transfer text between vc++ and delphi. The delphi code is shown below: [CODE] procedure TForm1.OnServerPipeMessage(Sender: TObject; Pipe: Cardinal; Stream: TStream); var S : String; begin SetLength(S, Stream.Size); Stream.Read(S[1], Length(S)); Memo1.Lines.Add(S); end; [/CODE] The problem i face is that I am able to receive …

Member Avatar for FlamingClaw
0
234
Member Avatar for Leila1

Please C++ TO Delphi [CODE]IMAGE_NT_HEADERS* inh; IMAGE_SECTION_HEADER* ish; DWORD newRVA = (ish + inh->FileHeader.NumberOfSections - 1)->VirtualAddress + ((ish + inh->FileHeader.NumberOfSections - 1)->Misc.VirtualSize + (inh->OptionalHeader.SectionAlignment - (((ish + inh->FileHeader.NumberOfSections - 1)->Misc.VirtualSize % inh->OptionalHeader.SectionAlignment) ? ((ish + inh->FileHeader.NumberOfSections - 1)->Misc.VirtualSize % inh->OptionalHeader.SectionAlignment) : inh->OptionalHeader.SectionAlignment))); newSecSize = (newSecSize + (inh->OptionalHeader.FileAlignment - ((newSecSize % …

Member Avatar for Salem
-1
146
Member Avatar for TeejMonster

I am trying to create an application that allows one to browse a .MDB file to add/edit/delete basic personal information for fraternity alumni. It is something that I have been casually doing in my free time with little trouble, however, I have run into a snag recently. I have a …

Member Avatar for TeejMonster
0
142
Member Avatar for Duoas

Hi all. I'm writing a little program that paints and animates its own form in response to the user's mouse gestures. The weird thing is: Whenever the [B]BDS Delphi 2006 is running[/B] and I run my application, I get a framerate of about 25 FPS. If I terminate BDS but …

Member Avatar for Duoas
0
189
Member Avatar for AnnA.B

Hy everyone! First I vould like to say that your great! I find lots of solutions here fom my programing problems. I would like to write a calculator in Pascal/Delphi with scietific functions. For example: if I write [1,2,3]+[3,2,1], program return [4,4,4]. Does anybody have an idea how solve this …

Member Avatar for FlamingClaw
0
998
Member Avatar for turbomen

Dear Sir, I have got the answer of the following question but I do not understand why it has been done in this way: 3. Your task is to create a game of Heads or Tails against the computer. Write a program that asks the user for Heads or Tails, …

Member Avatar for FlamingClaw
0
143
Member Avatar for Sub Xero

Hello everyone, I'm quite familiar with Delphi, but I'm new to using threads and so I've got a question. Here's what I'm trying to do: I'm using the brilliant VirtualTreeView component and I wish to add to it from a thread. The tree is on the main form and is …

Member Avatar for Sub Xero
0
132
Member Avatar for Qudrat

Dear Sir, Please help me on Delphi. Could you tell me how can I get disk serial?

Member Avatar for coderdan
0
170
Member Avatar for Keph

Hi guys. I'm trying to familiarize with Delphi as better as possible. And now I've started flicking through the Delphi Demos to get more info about Delphi's features and possibilities. But unfortunately some demos do not have any description or comments. So now I can't figure out what the next …

0
66
Member Avatar for gerhardjl

Hi, Can someone assist me to locate a Serial Comms Package for the old Delphi V5,6,7 (early 2000's) ? I wish to do basic comms IO routines. I used to have a package called CPort(V.3?), but my pc crashed and I was unable to obtain it again. Maybe there are …

Member Avatar for marsheng
0
393
Member Avatar for janevblagoj

Hello, I work in Delphi 6 a few years. Now I was beginning in Delphi network and I need some source code For following things: I want make chat application which to have two peer to peer clients But I don’t know how I to measure time for two clients …

0
90
Member Avatar for victorxata

At first, I want to present myself. Nice to meet you all. I am implementing an app with Delphi 2007 + Firebird 2.1. I use TMS Components because I like the aspect of MS apps and I'd found this pack as the better. I like also usability of MS apps …

Member Avatar for Duoas
0
197
Member Avatar for Nowayz

Was recently asked to convert some code, but I have a minimalistic ammount of knowledge of delphi and I wasn't able to convert this code. If you could help me out it would be great. [code=c++] void TypeStr(char *lpszString) { char cChar; while((cChar=*lpszString++)) // loops through chars { short vk=VkKeyScan(cChar); …

Member Avatar for Duoas
0
221
Member Avatar for nrbsneil

Just a quick note to say hi to everyone here. Joined today I run a small company developing specialised software, but recently been using DaniWeb to learn html/php programming. I usually use Borland Delphi for writing Windows programs, but the market is saturated and I've decided to use the web. …

0
4
Member Avatar for fromb

I had a hard drive crash and stupid me haven't made backups for at least a year. I had several projects for which I used Delphi 5 and have lost all the code. Is there any way of getting the code back by un compiling the exe file?

Member Avatar for Duoas
0
157
Member Avatar for yassar

Hi, I am modifying a software in delphi, The software is in Turkish, but it cannot show special Turkish characters properly. Can anyone help me solve this problem.

Member Avatar for yassar
0
185
Member Avatar for Thew

Hello, I have a small question. I have done some projects in C++ and Delphi. In C++, when I work with classes, I always use pointers.I make functions and classes that takes pointer to a class as an argument. But in Delphi, like this example: (some class).Create(Owner: TComponent) function take …

Member Avatar for Thew
0
76
Member Avatar for Archduke

Hello all! First I'd like to say that it's great to be a part of this gr8 community, I've been using DaniWeb for a while now, but just signed up... My name is Milan, and I'm a student of IT, at FON, Belgrade University. At the moment, I'm learning Java …

Member Avatar for anamaria2513
0
50
Member Avatar for MrBaseball34

I use TRegExpr v.0.952 and now i want use RegexBuddy, but i can't replace code. Can u help me? [CODE] var Temp: TStringList; Index: Integer; regex: TRegExpr; begin Temp:= TStringList.Create(); regex := TRegExpr.create(); regex.Expression := '(?m)(?g)^ftp:.+'; try for Index:= 0 to FList.Count - 1 do begin regex.exec(FList[index]); if (regex.Match[0] <> …

Member Avatar for FlamingClaw
0
164
Member Avatar for Leila1
Member Avatar for Salem
0
441
Member Avatar for airefrais

Hi, I am doing my Final project on audio applications using Delphi and I would like to get a pascal (Delphi) programme on reading, modifying (amplitude of a wave file) and saving the resulting wave file. My purpose is to generate sine waves at different Amplitudes at 24 or 32 …

Member Avatar for mediastar
0
365
Member Avatar for revski

Hi i have another question this time about mathmatical calculations in delphi. i have 3 labels on the form. Label1 is formatted like this 200/50, i need to use both parts of this caption in the calculation, the calculation needs to be 200 * .50 the 2nd Number in the …

Member Avatar for FlamingClaw
0
162
Member Avatar for revski

hi, i havent been programming in delphi long so sorry if im being stupid with this question. my application basically has a trackbar which alters the value of a label caption. and 2 text boxes. that value of the 1st text box is the Caption of the label * the …

Member Avatar for andre.vanzuydam
0
241
Member Avatar for DUST.ZHU

I create an application with three threads(access oracle database by bde tquery) main program:random select,insert data;cycle:10S thread1:random select,insert,delete data;cycle:10s thread2:random select;cycle:60s thread3:random insert;cycle:20s five errors occur between 24 hours,longest interval:12hours;shortest interval:0.5hour, error as following: "Lost communication with SQL server.ORA-03113:..." "General SQL error. ORA-03114:..." ping database is ok during error; the …

0
92
Member Avatar for turbomen

May I ask you a question on Delphi? The following is my question: Write a program that asks for two numbers from the user. Add these numbers together and store them. Then output to the screen the equation with the correct answer. Eg please enter a number 28 please enter …

Member Avatar for turbomen
0
177
Member Avatar for BradenMurphy

Heya, I would like to know how to pass a packed record in delphi into a C# dll procedure. Any ideas?

Member Avatar for BradenMurphy
0
100
Member Avatar for byshn

My name is Bayu Anandavi Muhardika, currently live in Jakarta, the most crowded city in Indonesia, but I stay in Bogor actually,, I am 22 yrs old, and my daily business is doing something with old school Borland Delphi 7. That's all folks,, :)

0
8
Member Avatar for snuppy
Member Avatar for snuppy
0
293
Member Avatar for havejeet

Hi all, I want to send automatic mail from my Delphi application with attachment without invocation of any client tool like outlook. Actually My application runs as a windows service and every 5 minute generate some response files. I want those files to be mailed automatically. But how do I …

Member Avatar for havejeet
0
565
Member Avatar for krokodajl

Hi Everyone! I have a wired problem with print preview in Delphi. When I am invoking a PreviewModal procedure on QuickReport object Preview page appears. But sometimes [B]printer setup[/B] and [B]Print[/B] icons are inactive. Colud someone explain me this situation? Best regards

Member Avatar for krokodajl
0
87
Member Avatar for KenTheFurry

Well I have been making bots for a few sites for a while. But for this new site it uses frames and when ever I try to get anything from the frame I a 'Access Denied' error. Even when I try to use the Frames to get info from the …

0
58
Member Avatar for anandkrishnantc

Hello, I want to invoke oulook mail from my code in Delphi. It should be like if user select a menu option "Send Mail" , the new mail message window should appear . If outlook is not running aleady, it should start Outlook also. MS oulook 2003 and 2007 only. …

Member Avatar for mediastar
0
216
Member Avatar for Uday Branwal

I have licensed of Delphi 2006, but unable to register it. When i try to run it its getting me to the registration wizard, there i am putting serial # and autho. key. but still saying invalid licensee or user. Can someone please help me out of this issue. Appreciate …

Member Avatar for andre.vanzuydam
0
82
Member Avatar for Brent720

I am having an inordinate amount of difficulties locating an example of how to display Unicode using Lazarus and FPC. It's supposed to be fully UTF-8 capable now, yet all I get are question marks for text strings, or else little skinny boxes in place of the characters. Can someone …

Member Avatar for Brent720
0
1K
Member Avatar for BradenMurphy

Hi, I'm using CodeGear RAD Studio for compiling a delphi.NET application. Is there anyway to check what .NET version is being used to compile the application and how would you set the .NET version for compiling?

0
68
Member Avatar for Thew

Hello, can you help me with this problem: I'm extending the TListView to enable notifying me about the column resize. I've found the code written in Delphi, but I needed to use it in C++, so I decided to rewrite this code to C++. But first problem occurs when I …

Member Avatar for Thew
0
116

The End.