937 Topics
![]() | |
Rupert Murdoch is not a stupid man, his business empire is evidence of that. For anyone to become a media mogul requires smarts, but those smarts seem to be deserting Murdoch as he continues to play the fool and deny that old monetisation methods do not work for the new … | |
How to do it? I'm using *.dir in my filter and this does the job of getting OpenDialog to display only directories, but it seems I still have to select a file to select a directory. Is it possible to use the OpenDialog to select a directory? Using ExtratFilepath does … | |
I need a way of adding data to a database using my delphi form i can handle the sql to add data to a database on ms access but i just do not know how to do it through a delphi form. In other word i just need to know … | |
Hi.I've just begun using delphi 2010.I used to work with 2007 and I had a lot of 3rd party components installed.As an example Infor POwer is a very powerful 3rd party component and I use it almost in all my applications.But now when I install them on 2010 it fails.I … | |
Hello, who can tell me how to format a string in Delphi? I must format 09-120-123456 into: 091200123456 it is, remove the dashes and insert additional 0 in the middle to make a 13 character long string. I searched Internet, but I can't find anything understandable... like: [Format(<qReportIzpis."acDoc">,the result???)] this … | |
dear, I was asked about how delphi can read RS323, your reply that you will send a componet to me by email but unfortunatly the emails adresses is snapped on this forum ,i'll try to writ my email here but if they snipped it ,please try to find any way … | |
Imagine I want to see all code snippet on delphi only... I can't! From web development I can jump to delphi FORUMS, not to delphi SNIPPETS, and in the "Revamped code snippets" page, I can't filter on a languaje... Isn't it the most basic feature on a code repository mixing … | |
Hello I am using Delphi 3. I have 30 edit fields named e0, e1, e2, ..., e29. The thing is, that I want to put something into these edit fields, to be specific: I want to put variable a[0] into e0, a[1] into e1 and so on. i could of … | |
Hello, i am searching for way, to open web page with C++ and after that to control its elements. I know that i can do this in Delphi, with WebBrowser.OleObject.Document and TWebBrowser. Do you know similar way that i can use in C++? | |
I have a problem using Media Player to play a number of parts of .wav-files after each other. While one part is being played I don't want the program to wait. If I set Notify := true; and Wait := False; then Play; I get no sound at all. What's … | |
With Delphi, is it possible to make a grid like in java word-search puzzles? I have a collection on word-search puzzles for children (pdf files) and wish to make small app of it (they’re already done; I need just to set them up). I could make it work if each … | |
Hi, I'm known as Wombat I have come to this forum searching tips and tricks in Delphi. I am new to Delphi, but have worked with php and web services in the past. I enjoy computer games and music. I draw and write to relax I love anything new and … | |
Hilp me please I want to read data of RS232 and store it in Access Data base | |
Hi there, Me and a buddy are having trouble in getting shellexecute to work in delphi 7. No matter what permetation of the word shellexecute i use, when i want to run the app shellexecute is not recognized. so how do i get shellexecute to work. been trying to get … | |
Hi All, I'm using a TStringGrid (has to be Delphi 7, and no 3rd party components) I've customised it to allow per-cell colouring/fonts/borders/validation etc, by using a custom onDrawCell method. I really would like to add per-cell tooltips too, but I've been unsuccessful so far. I've modified something I found: … | |
Well, again from my current school project. I've been told to make a traffic light that changes automatically, and you should be able to specify how many times the cycle should run. I have my working version, but I just want to know if there's a shorter way to do … | |
Hello, how can I open MS Word application in my Delphi program? I think, it is necessary to work with ActiveX or maybe there is any other way or some free software for this purpose? | |
how i can draw chart for some values stored in Access Data base ? like this kind of chart in Excel chart wizard . i want frist to get the data or nimbers from the data base, then fill string grid by this data , then draw chart or certain … | |
Hey All I've recently picked up a VCL delphi project and am quite new to the language. The software so far consists of a main form, with several GroupBoxes and panels covering the entire form. I'm trying to implement some user short cuts, for example when "Ctrl+1" is pressed I … | |
My laptop doesn't have a parallel port so I purchased a USB to parallel convertor. I wrote a program which sends data to the parallel port to turn on some LEDS and it works ok on a PC with a built in parallel port but it wont work on my … | |
Hi, I am using delphi 7 TClientSocket Component non blocking socket. When data arrive on socket i have mapped TClientSocke.OnRead to MyRead function. function MyRead(Socket: TCustomWinSocket) var begin Log('ReadIN......'); //Class variable MemoryStream := TMemoryStream.Create; RcvLen := Socket.ReceiveLength; MemoryStream.SetSize( RcvLen ); MemoryStream.SetSize( Socket.ReceiveBuf( MemoryStream.Memory^, RcvLen ) ); FReceiveNotify( Self, MemoryStream.Memory^, MemoryStream.Size … | |
Hey, I've been busy coding combo boxes to filter a database but the problem is they don't work together. e.g. If i select a car type, it shows all the cars of that type but if i select blue in one combo box and a car type in the other … | |
Hello. I'm trying to connect with an Oracle database but i can't. This is the code that i have write: dbConexion : TADOConnection; dbCursor : TADODataSet; begin dbConexion := TADOConnection.Create(nil); dbConexion.ConnectionString := 'Provider={Microsoft ODBC for Oracle};Server=ss-server;Data Source=;User Id=id;Password=password;'; dbConexion.LoginPrompt := False; dbConexion.Open; I don't know whats wrong there. User id … | |
Hai2... everyone... who's in this forum... I'm Michael from Indonesia... I want to ask... How to Call Microsoft Visual C 6.0 Object file from Borland Delphi 7.0?? Please Response... Thank You. SNIP | |
Hello EveryBody..., My name is Michael. I come from Indonesia. If I have some problem which is IT things and I want to Ask for help to this Commmunity, What do I have to do? and How?? My Problem: How to Call Microsoft Visual C++ 6.0 Object File from Borland … | |
Hi guys, I am still a bit new to delphi and was wondering if someone can help me. I need to figure out how to write a search engine into an app i am writing in delphi. any help on how i may be able to do this would be … | |
Hello, Firstly I would like to say sorry for my low level english. Well, my problem is I am trying to do a program wich read from a xml file. I am programing in delphi 6. This is a part of code where you can see the commands that I … | |
hi i have a question about formatting combo boxes. i have 1 combobox on the form with a label and a calculate button, the combo box is layed out like this 180 / 50 like a tyre size. The calculation to be performed is the 1st number X the 2nd … | |
Sorry if this is in the wrong section but there really is no category that matches what i need to ask, I only posted here because it seems a lot of Delphi people use DBISAM. Basically, I read the manual and see where I can read the current auto_inc value … | |
Hi everyone! I think I'll be on here allot from now on, pretty useful forum, well done! Anyways, I'm doing a project for school and it's got me stuck. See I didn't understand the error message the compiler gave me at first, but then I read it on ...some website, … | |
hi i need to write a logon code for delphi 7 that logs on to someone and then if they get the password wrong 3 time they get locked out. i am completely stuck i have a log on code written but i don't know where to go after that. … | |
I am struggling to work out how to use the Round command, I have bolded the area in which I need it. Thanks for the help in advance. Edit: Forgot to add, we have to round the number up. [code]program lab12exc3; {$APPTYPE CONSOLE} uses SysUtils,ourcrt; var length,width,height,area,litresPaint,metresPaint : real; procedure … | |
I've just started using Delphi and right away there's one thing I can't do in a VCL forms application: destroy it properly. At the moment I'm calling Form1.Destroy which appears to work, but if I look at the processes list it's still there and Delphi refuses to write the .exe … | |
How to call C Object (Microsoft Visual C++ 6.0) from Delphi (Borland Delphi 7)?? email me: <EMAIL SNIPPED> | |
Hi all, I don't use Delphi often so this is probably a stupid question again, but why does Delphi (7) re-index arrays when they're passed to a function, as a simplified example... [CODE]program example; {$APPTYPE CONSOLE} uses SysUtils; var numbers: array[1..5] of Integer = (10, 20, 30, 40, 50); procedure … | |
I have an old game written in delphi and the game keeps crashing, the game is an mmorpg so there are constantly people online. To the problem, when we first start the game up, everyone can get on fine and play. The game stores variables into text files for each … | |
Dear Everyone here, My company is using Delphi 7 to do applications. And I am totally know nothing about Delphi 7. Is there any free books to download (something like "Dummy for Delphi 7) with some source code that can be executed? Regards Sandra Poh | |
Hi, A have a DLL with a header written C: [code] __declspec(dllimport) int ReadData(char* port, int baudrate, unsigned char block, unsigned char nrblock, unsigned char buffer[64], unsigned char* message, BYTE password[6] ); [/code] I want to use the DLL in my Delphi project, but I can't figure it out how … | |
HI to ALL Bro , Urgently need some advice from bro and sis here. I am totally fresh in delphi. I have an existing dll which wrote and done by ex-coll . All the function is working well with my vb6 or .net program since last few year. Recenlt i … | |
Hi, I'm encountering a frustrating problem in Delphi. I've written several very long programs to demonstrate certain things related to neural networks. As such, the program GUI has many things on it that are updated per iteration of the solver: from labels, to memos, to editstrings, etc. The two main … | |
Windows 7's new Aero Shake feature isn't working on my Delphi SDI application. Does anyone have any idea why? And what needs to be changed to make it work? Thankyou... | |
Dear Sir, Please help me on Delphi. Could you tell me how can I do the following question? Calculate and display the sum of the even numbers from 2 to 20 inclusive. Cheers, | |
Just weeks after EarthLink pulled out of a project to provide wireless Internet throughout the city of Philadelphia after the city refused to take over management of the network, a group of investors has agreed to run the project. According to the [URL="http://www.philly.com/inquirer/breaking/news_breaking/20080617_Free_WiFi_will_remain_in_Philadelphia.html"]Philadelpha Inquirer[/URL], a group of investors temporarily called … | |
I followed Lardmeister's smart hints about creating templates with VC# 2003 and using SnippetCompiler.exe to write and test the rest of the program. It also allows you to build the executable (only 7k in size). The algorithm is from one of my Python snippets I wrote a long time ago. … | |
Based on [url]http://astronomy.swin.edu.au/~pbourke/geometry/insidepoly/[/url] Converted to Delphi by Lord Soth | |
--- Basic Datatypes --- --- Form Management --- --- Data Access --- --- Component model --- | |
Years ago I wrote a little screen-saver in Delphi that randomly put colorful circles all over the screen. A hit with the secretaries in the office. I modified a simple Tkinter based snippet to put the same colorful circles all over a window form at random locations, random radii and … | |
It is a small two-in-one calculator that can work as a regular or RPN calculator, selected by a RPN checkbox. It has a four level stack similar to the HP 48 calculator made from four Tmemos. This code shows you how to make visual effects(RPN stack) from existing delphi components. … | |
The code shows you how to create a window without a titlebar that can be dragged with the mouse. Set the FormStyle property to fsStayOnTop. The form contains a small 18 button calculator. When you create the form and calculator components, try to make it tiny, it is cute that … | |
Using wxPython and the Boa Constructor, a VB/Delphi like IDE and Visual Builder, this little calculator was a breeze to make. Boa did 90% of the code generation, and I simply added code to each button click event to make the calculations work. I wish every project would go that … |
The End.