447 Topics
| |
Hello everyone, I have been programming in C++ for a while although I am not an expert yet, I would like to take a small break and learn another programming language that's a tad easier and I decided on Delphi. I looked for the stuff I need to no avail, … | |
Well, I recently acquired Delphi for no apparent reason /shrug. And since I'm about to start learning a new programming language (haven't decided which one), I was wondering in Delphi uses Pascal. And if so, what can be done with Delphi/Pascal. What are some good resources for Pascal/Delphi. Online references … | |
I use D7 and I've working with TDBgrid and TStringGrid, but I actually need something more advanced. I need a Grid component which provides using a combobox within a cell, limiting a cell to accept only numbers, inserting a picture into a cell... Is there such a component ? | |
// HookDLL.cpp : Defines the entry point for the DLL application. // #include "stdafx.h" #include "HookDLL.h" BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { //Flesh out the entry point pending full implimentation // reserve the DLL handle ghModule = (HINSTANCE)hModule; // register system-wide message SWM_TRAYMSG = RegisterWindowMessage("TRAY_ACTIVATED"); … | |
[CODE]// HookDLL.cpp : Defines the entry point for the DLL application. // #include "stdafx.h" #include "HookDLL.h" BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { //Flesh out the entry point pending full implimentation // reserve the DLL handle ghModule = (HINSTANCE)hModule; // register system-wide message SWM_TRAYMSG = RegisterWindowMessage("TRAY_ACTIVATED"); … | |
i want to create a based on delphi project...does anyone has something in mind but for mac?? | |
I've heard of these quite a bit, but am quite unsure of what they are? | |
Hi, My front end has a Tshape(Cirle) Over a Panel and I am trying to move the circle on the panel and get the X and Y values and send these values through comport for serial communication. However I am able to retrieve the values but the shape is flickering … | |
I am experimenting with the use of WMI from within Delphi. Appears quite simple really however I am running into a problem where the amount of memory used by my application keeps growing. In my sample code below the SendPing() function is executed once every second by a TTimer.... each … | |
Can any one help me to convert this delphi code to C#. class function TShrinkConfig.MyVersion: WORD; var ini: TIniFile; begin ini := TIniFile.Create(gsIniFile); Result := ini.ReadInteger( SHRINK_INI_SETUP_SECTION, SHRINK_INI_MYVERSION, SHRINK_INI_VERSION_1); ini.Free; end; if (not ini.ValueExists(SHRINK_INI_VERSIONS_SECTION, IntToStr(version))) then .... I searched online that TiniFile corresponds to FileStream in C#. But i am … | |
Hi, The Question I would like to ask is, where does Delphi stand in terms of application development tool. I have started my career in Delphi as a fresher and have concerns of its existence in the future. I haven't heard of many people using it and preference always goes … | |
Hello friends)) Prompt please analog of function (if it exists) TryStrToInt (Delphi) for C #. In advance thanks) | |
Hi for all, I'm newer with Delphi can anybody help me to convert the following c++ code to delphi7 one's. many thanks in advance c++ code : ********************************* #include <stdio.h> #include <stdlib.h> #include <signal.h> #include <ctype.h> #include <string.h> #include <errno.h> #include <sys/param.h> #include <sys/types.h> #include <netinet/in.h> #include <sys/socket.h> #include <netdb.h> … | |
I am relatively new to delphi. what i am try to do it to open a new form from the main one as a pop-up window, let the user input certain values in there (two integers and a check box), and use these values as parameters in a procedure to … | |
So I started to work on my last Computer Science project for the school year, a maths tutorial application. I'm a bit stuck with displaying a form to explain a mathematical concept. I decided to make a dynamic form on run-time for each grade which then contains all the available … | |
Hello. I need my tag like this: [code] <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <EnviarArquivo xmlns="http:(CLIENT LINK)"> <Sistema>1</Sistema> <Chave>1</Chave> <Solicitacao>1</Solicitacao> <OK>TRUE</OK> <Observacao></Observacao> <Arquivo>1</Arquivo> </EnviarArquivo> </soap:Body> </soap:Envelope> [/code] my when the server get my request its going like this: [code] <?xml version="1.0" encoding="utf-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body … | |
Hello folks, I've got a conundrum that Google was unable to fix, so here's hoping someone here knows how. I've got an application and a Delphi DLL and now what I need to do is write a C# DLL which exposes a number of functions the Delphi DLL will use. … | |
[B]Hi all,[/B] Can any one tell me how to export the data from the data grid (or string grid) to powerpoint Slides. I want to export the data as it is, i have been succesful to get the data to the slides,but they are not tabulated. I want the exported … | |
Delphi has been always a preferred technology to develop desktop based applications, but now we can develop browser based application using Delphi component. Benefits: Transition to browser based easily using Delphi coding Easy debugging Ajax Techniques Full cross-browser applications We can host it on Apache If you are you looking … | |
Hi, I have just downloaded PostgreSQL and would like to add it into my new projects. I have never used PostgreSQL before so I don't know any of its technical details yet. I have registered the PostgreSQL provider using regsvr32 pgoledb.dll or something like that on my Winows partition, everything … | |
I have 6 rows of items in a ListView within 2 columns that are listed like so: [CODE]1 Milk 2 Pepsi 3 Juice 4 Water 5 Coffee 6 Tea[/CODE] I'm trying to make it so when you modify the number in the first column, it will sort the list based … | |
Hi all! i have a problem. From my database im streaming out a file and will save it with filestream.savetostrem() method into the windows temp directory. thats work correctly. after that i open the file with the shellexecute command. and the question: on forms close event: make a method to … | |
I've two procedures (client and server). Object components are InDy9 TIdTCP. SO is XP-HOME. Operations of the che client: // connection . try ... CliSok.Connect(); ... CliSok.ReadTimeout := 1000; ... CliSok.Socket.UseNagle := False; . except ... on E: ESocketError do ..... MesServ(4,'Connessione al server: +#10+'"'+E.Message+'"'+#10+'Riprovare...'); . end; // sending . … | |
Hi I am trying to execute a TADODataSet by clicking on a button. As of now. whenever I run my delphi program my TADODataSet automatically activates and runs its corresponding stored procedure in sql. I want to be able to press a button on a form in order to execute … | |
Hi. I have a serious problem. I installed Delphi 2010 2 weeks ago, configured it, added components, etc. And now it is PERFECT. BUT It started yesterday. When I open for example a new project (this problem happens everywhere) and I go to CODE editor I can't do anything. Well … | |
I'm writing a program to keep record of my e-books and to open them. I have a record declared in Delphi 7 like this. [CODE]BookLibrary = record AuthorName: String[20]; BookName: String[20]; PDFLink: String[200]; end; [/CODE] Now my question, is it possible to edit a record later on so that one … | |
Hello to everyone, I'm a problem with InDy components, that I do not know well, becaus I used Socket components (Delphi 5) and during migration to Delphi7 they are vanished. I know that is possible to install package dclSocket, but I prefer to migrate to this unfamiliar components, but is … | |
| Hi, I am very new to the Delphi or Pascal. I was looking for source code and I got that source code in Delphi Pascal language that I know at all. I need somebody help to convert VB 6.0 or VB.net I am uploading attachment with this topic. Kindly help … |
Hello Friends, Any body help me to convert the code from Delphi to vb 6.0 const C1 = 43941; C2 = 16302; function BorlandEncrypt(const S: String; Key: Word): String; var I: byte; begin SetLength(Result,Length(S)); for I := 1 to Length(S) do begin Result[I] := char(byte(S[I]) xor (Key shr 8)); Key … | |
hi, i was wondering if anyone new much about listviews because i been looking for a bit of code or a custim listview that supports paging abit like a website list were u can select pages 1 to 10 but with a listview so i can limit the items to … |
The End.