2,103 Topics
![]() | |
Well I'm making a program where multiple images will be used but I don't know how to make the images transparent, since Delphi is only allowing me to use .jpg images instead of transparent .png images. It ends up giving my images a white sqaure block around them and ruins … | |
I'm reading Fibonacci Heap and need code to know more clearer. I have programming some of path of fibonacci heap but some path I still cannot programming. So, who can help me please :) | |
Hello guys I need some help about the Pascal's Triangle. It's not about showing an output of the triangle itself but it's a little different. The user will be asked to choose a row number in the triangle. After that, it will output the sum of all the values above … | |
There was question about encryption in Delphi/Pascal forum and a guy was suggested reversing the bits as additional step (I do not know if he in reality meant XOR 255, that is making 0's 1's and vice versa). As it keeps still same distribution of letters I suggested as better … | |
Hi, I am working on a multiple layer encryption program for my school IT project. Right now the message runs through a Caesar cipher (which the user can select the shift of), it reverses the message and then it reverses the bits of each character, making various symbols come out. … | |
I have a pretty basic knowledge of most concepts in C++ save some issues that I have surrounding polymorphism, and I just love the way it feels. But I have my first AS level computing lesson tomorrow, and it will be in Object Pascal. Will this actually be helpful, with … | |
Hi as u all probably notice Im a noob with Delphi Is it possible to code a case like I did below If it is please correct my faults I made so that it would run redSpan is a rich edit edt1s is a edit chelsea and arsenal are textfiles … | |
Hi All I want to create a service application with Delphi that can connect to SQL DataBase I can create service application but the ADOQuery don't work inside the service Is any one that can tel me what should I Do? Thanks | |
I want to give users full access to certain folders in the ProgramData folder. Can this be done with Delphi code? | |
I have a project where I need to retrieve data from MS SQL Server and format it into an Excel Spreadsheet. I am using the OfficePartner component to try and make this easier, but I'm having a hard time figuring out how to get the VB help and Excel Object … | |
I have a project about making pascal triangle using recursive function. This is the example output: 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 Hint:(x+y) n=>exponent. *Give me an idea about this project. Thanks! | |
I'm new here, but it looks like an awesome place to get some help. My assignment is to write a recursive function that determines the value of a unit of Pascal's triangle given the row and column, then use that to display the triangle with n number of rows. It's … | |
is it possible? i would like create Q&A game with a countdown-timer. if timer=0 then stop the game. how can i do this? Thank you | |
hello, I have been working for the past few monthes on a c++ code generator and im finally at an alpha stage. The product generates code from a UML layout, however i have spent a fair amount of time searching for a compiler that will allow me to easily embed … | |
Hello everyone. Im a total noob at programming and thought i could join a community with the same interests. Right now i'm trying to get something done with C++ and im into Pascal too for school reasons. I only scratched the C++ so i expect to get some answers if … | |
Its something really basic, but for some reason i cant get my dinamic array to work. Keep getting a message that i need to add the "[]", but then i would create a static array, not a dinamic one. The code: [CODE]program Noname0; var arr : array of integer; begin … | |
Hello!I need help in my program.My program need to disassembly another program and get his ASM code, with this ASM code, i need to search for a address and get the sintax command of this address, if anyone has an unit that does it, i would be very happy | |
Hi DaniWeb, I'm new to delphi and was wondering if it is possible to embed forms inside one another. Example I have several forms working by it self and I want to move them forms onto a new blank form. Rather then copying and pasting the code is there a … | |
Is it possible to select a block vertically (rather than the usual horizontal) and delete or add multiple lines in columns in one go from within RAD studio's (Delphi's) IDE? I'm getting frustrated with Delphi's poor documentation. Am I alone with this? | |
input : a sentance between 1 to 10.000 char. every word on the sentance include 1 to 200 char 'a' to 'z'. output : word which is a palindrome Example : Input apa yang di alami malam ini oleh anna dan saras tidak pernah ada Output apa malam ini anna … | |
I would like to write a program to be able to display the events in the windows event viewer logs. Currently I need to drill down thru menu items on the control panel to get to the event viewer and logs. Does anyone know where the event logs are held … | |
I am trying to use Code::Block, But I still get some problem like when I'm using DevC++. In Watch Windows, I want to see A array. (example: int A[5][5]). but in debug windows, I will appear from top to down: [CODE]A[1][1] A[1][2] ... A[5][5] [/CODE]This style is to difficult for … | |
I am using the RemObjects PascalScript engine in one of my applications and I have a few questions. I was looking for a list of all the functions and constants available to PascalScript and the best resource I could find was this page: [url]http://www.be-precision.com/products/pdscript/webhelp/en/topics/PSSyntax.htm[/url] Most of the functions work as … | |
Hi all I want to make character pascal using strings in c just like SOFTWARE S SO SOF SOFT SOFTW SOFTWA SOFTWAR SOFTWARE plz help me how to make this type of ???? | |
discuss how java programming languagues differs from procedurals programming such as pascal and c. 1.classes 2.objects 3.attributes 4.methods 5.pirvate,protected,public 6.encapsulation 7.interface 8.inheritance 9.polymorphism | |
Hi all, I am having an issue with regard to libeay32.dll as outlined in [URL="http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7/threads/375007"]this thread.[/URL] I am getting the error when attempting to connect via HTTPS using the following code: [code] function THttpClient.Login(const UserName, Password, URL: String): Boolean; var Client: TIdHTTP; Params: TStrings; begin Client := TIdHTTP.Create(Nil); Client.IOHandler := … | |
I am practicing Visual Studio (2005) and I ran on to this problem, a Pascal Triangle. I don't kinda get how to produce an output like this: 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 1 6 … | |
I'm trying to understand Pascal. This code does not work! does not allow me to enter data, using debug seems to go from where I've indicated (procedure createdir) then jumps to end of main program. Can any person shed light on it. P.S. I would put it as attachment but … | |
Hi there, I'm having some real issues with restoring a piece of legacy software at my workplace. I have an offending line of code that I can't debug. [CODE]bFound := tblComp.Locate('CompPhone;Title;AddLine2', VarArrayof([sPhone, sTitle, sAddLine2]), [])[/CODE] When the script gets to this point sPhone, sTitle and sAddLine2 are correctly populated. When … | |
ShowDriveSerialNo shows it with ShowMessage GetDriveSerialNo returns a string. You don't need both. | |
How to create a custom webbrowser in minutes with many added features. It took me several months to create this tutorial so I hope many people will find it useful. Every care has been taken to make this code as accurate as possible, should there still be any mistake then … | |
My name is Marc. I live in Belgium working in the public safety care. I am 51 and more than 10 years ago I programmed in Visual Studio 6, especially basic. In 2004 I had to work with Access and VBA to make databases for work, until now. My boss … | |
Hi ! i want to ask on how to make a turbo pascal program of mathematical operations .. because when me and my classmate made a program, it did run, but we don't know how to enter the clear screen on the program, it say's error 200. I hope you … | |
I've made a library for Delphi to work with matrices. Everything in the library works perfectly as intended save the Matrix Inversion Procedure. I've used the Gauss-Jordan method of Matrix Inversion & everything works excellent for square matrices upto 7x7. From 8x8 onwards, I get a 'Invalid Floating Point' Error … | |
So I have a component that renders very slowly. The problem is that I can only render inside the event handling thready, which shouldn't be freezed. Long ago in pascal/assembly I used backbuffer and page flipping. I've read that Java supports double buffering, but no info about thread safety. So … | |
In past few months my computers that i develop on have become increasingly un-responsive, especially in delphi. I noticed changes after a round of windows updates a few months back. Previously when in the IDE, when you clicked anywhere delphi may try to compile or evaluate the code and it … | |
The code demonstrates running program limitted time by following going over endtime expressed in seconds since midnight, so might fail for playing just midnight (add check that endtime is less than 24*60*60 if you want to be sure). Exciting action :) of the program is that it shows remaining time … | |
Well, it bothers me to build menus for every shell application that needs one. So, I've written a module to handle that, like in the good old turbo pascal times. :) Here it is, the module comments are pretty explainatory, I think, and the sample usage if run as script … | |
How can i write my data from EditBox to SQL Table whit using ADODataSet,ADOTable and DataSource? Please help me? and write Example Code... | |
I would like to know how would I write a piece of code to search a database based on a keyword entered? I haven't started yet but I don't even know the syntax for writing such a program/subprogram plz help | |
Borland has released some "Turbo Explorer" editions of it's development tools. I am wondering if anyone here can tell me (as objectively as possible) if the Delphi language is -"Better" -More powerful -Easier to learn -More Flexible -Able to create better performing apps Than C# (I am particularly referring to … | |
Hy! I'm trying to make a new game and i have some problems... First it chooses how many player it'll be, then the whole deck is slit, and it gives each player aprox the same amount of cards. It works pretty well at 3,4,5,6 but it blocks at 2. I … | |
Can anyone help me with external direct merge sorting? Here is my code [code=cpp] #include<iostream> #include<conio.h> #include<stdio.h> using namespace std; int GetKey(char infoLine[30]) //Getting sorting key { char temps[30]; strcpy(temps,infoLine); return atoi(strtok(temps," ")); //returns first number in a line } void DirectMerge(char fileName[20]) { FILE* FTS; //file wich will be … | |
Hi, I made an application that could check integers between two values (by using spinedits) and then sum the total and display it on a richedit. [U] This is my code: [/U] [CODE] var iAnswer, iBase: Integer; begin iBase := 0; for iAnswer := SpinEdit1.Value to SpinEdit2.Value do begin if … | |
Hello. I have some function named: Function Decrypt(pBuffer :TBytes) : TBytes ; and I hooked winsock recv method, and I have this function: [CODE] function R_CallBack(a1:Integer; var buffer;a2,a3:Integer):cardinal;stdcall; var DecryptedBuffer:TBytes; begin DecryptedBuffer:=Decrypt(buffer); Result:=1; end; [/CODE] but I'm getting an error.. Incompatible types: 'procedure, untyped pointer or untyped parameter' and 'TBytes' … | |
I've heard about keyboard hooks before but I can't really understand how to make them as there isn't much tutorials on it. I was wondering if anyone could make a very simple keyboard hook which detects me pressing the UP ARROW key and explain the code to me. Also are … | |
Hi! I'm trying to restrict my exe to only one at any time. I've used the following code: [CODE] var Mutex : THandle; Mutex := CreateMutex(nil,False,'MyMutexName'); [/CODE] I got the following error in CreateMutex: 'Invalid Number of Parameters". How to create a Mutex in Delphi? | |
Hello! I want to make the tetris game in pascal... here it's what i've done so far... [CODE]uses crt; var x,y,i,c:byte; begin x:=5; y:=1; repeat clrscr; for i:=1 to y-1 do writeln('| |'); if y<49 then begin writeln('| a |'); writeln('| a |'); writeln('| a |'); writeln('| aaa |'); for … | |
Hi again, With silly question... I read about generating random numbers random(10); but it gives numbers from 0 to 10 and i need for example from 10 to 100. I tried random([10..100]); but i can't compile this :/ Could somebody help me? | |
Hello, I'm working on a snake based game in pascal. I'm using graph window. But here is the problem: Yesterday i was doing great my project compiled and everything, today i turned on my computer, open my project and it wouldn't compile... I checked the code the was nothing strange … |
The End.