2,103 Topics
![]() | |
Hi.. I have a report developed in Crystal Report v10. Using Delphi 7, I should be able to load an image file dynamically in the said report. The Image file will be available in the local specific path. The file name will be known based on the query result set. … | |
I am attempting to get the username of the current user on a windows computer using windows API. I am using the GetUserName function in the Windows Unit. I am having some problems with giving the correct data types for function arguments. Any help would be greatly appreciated. [code] program … | |
To make my question fully understandable to you i attach an image demonstration.Please see this: [img]http://i39.tinypic.com/ruzona.jpg[/img] Well i developed my software,after finishing installing i want to show a window like in the image(from Bitcomet 1.19). [b]But that software is built on NSIS and mine on INNO.[/b] [b]So my requirement:[/b] [code]1.Show … | |
Hi, this is the first time i have ever used Delphi and was wondering if you could help me; i understand how to writeln etc. but I'm having trouble with programs such as making a program that requires the user to write a message, and how many times they would … | |
hello there im sorry i can not help you with your problem and like i said i am very sorry i am looking for some help myself first i do not know how to post a question on here second i need help with a program it is in pascal … | |
program p; var a,b:integer; c:real; forward p2; {for procedure p1 to call procedure p2} procedure p1 (x:integer; var y:integer); var c:integer; pt:^integer; {pointer declaration} begin { (1) } writeln(a,b,x,y); new (pt); if (x<2) and (y<2) then if x>y then begin y:=x; writeln(a,b,x,y); p2(x,b) end; dispose(pt); end; procedure p2 (x:integer; var … | |
Hi, I am using Delphi 7 and Crystal Reports 10. I have a requirement where I need to load a picture dynamically in the Crystal Reports 10. Actually, in Crystal Reports 10 we don't have the feature of dynamic loading. But, from Crystal Reports 11 version and above, it is … | |
Hello to all, I'm a 44 year old with a little knowledge about computers and programming in general (a little knowledge is a dangerous thing!) I bought a book on Python in 1997 and started from there really. University courses introduced me to Pascal back in 1984. In the last … | |
I've been massing with this problem for almost a week. It's about DFS search in a binary tree. It compiles well but when i run it I get exitcode 216 error. Can anybody help? program prg; uses crt; type ptrnode=^node; node = record data: char; l,r: ptrnode; end; pnode=^rnode; rnode=record … | |
I have a Computer Science degree (long2 time ago) .. I do know Java OOP but i am now trying to pick up C++. I do have C and of course data structure using C or pascal. I have started reading Bjarne Stroustrup book (The C++ Programming Language - Special … | |
Hi, I am trying to add data from a DBEdit component to a ComboBox, but i get an error that says : 'Incompatible types: 'TStrings' and 'TCaption' | |
I am currently trying to get the text from a DBLookUpComboBox but it wont let me retrieve it i have a number and 2 strings in the box which is an ID and first and last name. I cannot retrieve anything from the box unless i use a edit box … | |
Pascal programming DFS(depth first search) and BFS(bredth first search) problems.? These are the algorythms for searching a tree strucutre or a graph. Could anybody show me (or send to me) where can I find these problems solved? (Programs need to be Pascal console apps and data should be read from … | |
[CODE]function getFileName(fileDir : string) : string; var fileName : string; tempNum, i : integer; tempChar : char; begin tempNum := 0; for I := Length(fileDir) downto 0 do begin tempNum := tempNum + 1; tempChar := fileDir[I-1]; if tempChar = '' then break; end; Result := RightStr(fileDir, tempNum); end;[/CODE] It … | |
Hi! Does anybody know how to write a Pascal app that would remove blank lines from a text file. function RemoveBlankLines(OldFile: string): string; var fi,fo: Text; s,NewFile: string; n: integer; begin result:=EmptyStr; if FileExists(OldFile) then begin //rename old file .bak, n:=Length(OldFile); while (n>1) and (OldFile[n]<>'.') do Dec(n); n:=Length(OldFile)-n; NewFile:=Copy(OldFile,1,Length(OldFile)-n)+'bak'; RenameFile(OldFile,NewFile); … | |
I've never learn about pascal language and my teacher had some homework about cache working and he told me write it in Pascal. This is sample running. Main menu 1. Open fake disk 2. Read block to file 3. Write block from file 4. Close fake disk 5. Exit Enter … | |
Greetings all, I've been programming local applications in Delphi quite awhile, but i only consider myself a so-so programmer... and i've never done anything server based. I also do a fair amount of web/PHP programming. That said, i'm trying to create a small program i can run on my Windows … | |
I need to create a linked list where I can continue to input integers and I'm not sure what I'm doing wrong, but every time I run it I'm allowed to enter two numbers and then I get exit code 216 saying I'm accessing memory I'm not allowed to. [CODE]Program … | |
The delphi app should subtract two sets that would represent two graphs Hi there! I've got a problem that I can't solve. Can anybody help me? The app should subtract two graphs (in this case a graph is meant to be a set of points) here's the beginning. program assignment; … | |
I have some code in PHP which I need to translate into Delphi: [CODE]$xsl = new DOMDocument(); $xsl->load('http://www.fda.gov/oc/datacouncil/stylesheets/spl/spl.xsl'); $proc = new XSLTProcessor(); $proc->importStylesheet($xsl); $xml = new DOMDocument(); $xml->load($xmlFile); $domTranObj = $proc->transformToDoc($xml); $strHTML = $domTranObj->saveHTML();[/CODE] What I need to do is take a snippet of XML (from a database field), transform … | |
Here's my code: [CODE]#include <iostream> using namespace std; int Factorial(int n) { int total = 1; while(n!=0) { total = total * n; n--; } return total; } int Combinations(int n, int k) { int count = 1; for(int i=0; i<n; i++) { for(int y=0; y<(k-i); y++) { cout << … | |
Hi all, I have a procedure which needs to be used by a wide range of functions. I have a created a very basic program which should highlight my problem : [CODE] program untitled; function addnumbers(num1 : integer) : integer; begin result := num1 + 3; end; procedure sequence(I want … | |
Dear friends I have some picture stored to SQL Table as Image Field. but I Don't know what is the format of this pictures they may be JPG or BMP format. for retrieving this images I mast know what is the format of each stored Picture. is any method to … | |
i/m try to record my data from gps to array but i get so much problem here [ICODE]unit tgn_Main; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, oaGPS_NMEA_Extractor, ExtCtrls, ComCtrls; type TfTest = class(TForm) gbStrigs: TGroupBox; lbLog: TListBox; gbPosition: TGroupBox; lLongitude: TLabel; lLatitude: TLabel; lAltitude: TLabel; gbDateTime: … | |
* * * * * * * * * * * * * * * i want code for this.pls giv me the code | |
Hi guys, I am doing an exercise we got in school and I am stucked at the point when I think everything is correct, but obviously is not :-). Target: Make a very simple pascal program, which opens a text file with three variables(name, sex, salary) and returns the highest … | |
Guys I am not a good C programmer. I ahve experience with object oriented paradigms such as Java and C# but I never programmed in C or Pascal. I have done some tutorials in C and I seem to grasp some of the ideas of the language but as I … | |
I want to let the user select a .rar file. From there the application should unzip it and move the files to a folder that the user specify. If the files exists it should replace them by default. I'm using a opendialogbox to select the .rar folder, but from there … | |
hi! I use client/server socket components to send a file. a client app sends a file and the server app gets it. I know how to display the copying progress in a progressbar when receiving data, but how can I display in a progressbar how much of the file has … | |
Dear All, Could you tell me what is / are wrong of the coding? Cheers, | |
Dear All, Could you tell me what is wrong or missing for my coding? Cheers, [CODE] unit Example3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Edit1: TEdit; Edit2: TEdit; Edit3: TEdit; Edit4: TEdit; Edit5: TEdit; Button1: TButton; Button2: TButton; Edit6: TEdit; … | |
___Theme: PGF - the improved formatting; AUTOMATIC localisation / CORRECTION of structural ERRORS in initial codes Pascal and Delphi. ___ Keywords: debugging, formatting, support, reliability, visualisation, documenting, Pascal, Delphi, FreeWare. ___ Dear programmers. ___ Formatter of the programs initial codes, used in modern practice of programming, are based basically on … | |
Hi This is my first post and I am new to delphi so if this sounds like a stupid question I apolagize. I am trying to enter data into a Multicolumn listbox. I know I can use either the Tabwidth or mulitple columns but I cant get either to work … | |
How Would I go about: 1) Counting the number of lines in a text file 2) Counting the number of words in a text file. I know that I have to Use AssignFile(), and many other file operators, I just don't know how to do this. Any help would be … | |
how to change tooltip coordiates in delphi 3.0? | |
Hi friends... I have a series of points which are actually the points that form a circle... Can anyone help me how to get the circle image when i load these points as input... A simple code example will be helpful... Thanks in advance.... | |
Hi, How can I make a button transparent (tsxButton) in order for it to appear 'invisible' on the target application? The tsxButton must still retain its standard properties. This means that if the user know where the button is on the application, moving his mouse on the area, the user … | |
Author: [I] ================================================================================ Crt Unit Read-Me By: Will DeWitt Jr. (edge@boink.net) Mar 21st, 2003 ================================================================================ BRIEF NOTES AND INFORMATION: This unit was created primarily to support my development of console mode applications under Delphi. I've tested this unit and had it successfully works under Delphi 2, 3, 4, 5, 6 … | |
Hey I usually use RTTI to access object when reading or writing them to a dataset so i have prior knowledge of what the field required Example [CODE] if vPropInfo^.Kind = tkFloat then begin if vField.DataType = ftDateTime then vField.AsDateTime := FloatToDateTime(GetFloatProp (thisObject, vPropInfo)); else vField.AsFloat := GetFloatProp (thisObject, vPropInfo)); … | |
I have a small problem with my code below when making my userlist when i connect a user it doubles the user name in list and am unable to find out why i posted my user list code below i be grateful if sumone can help me when i login … | |
Well, i cant figure how print to the spaces before the *, this is how it is suppose to look: * *** ***** ******* EDIT: dunno how to get it to work but it should be a pascal triangle and this is what i get * *** ***** ******* heres … | |
Hi All, I wish to source a Std Serial Comms Component, hopefully freeware, for Delphi 6 or 7 Can someone pass a link or email me? [email]telkomgjl@telkomsa.net[/email] Thanks! Gerhard | |
Dear All, Please let me know what is wrong or missing for it from the attached document. One of them is my work (T9.zip) and the other is the demo Cheers, | |
hi, i am currently using delphi 2007, i am wanting to be able to add a image(prefrebly jpeg) into a access database. i have tried doing this but i cannot as when it adds i get several errors, or it does not insert correctly, has anyone made any code or … | |
Using a dbexpress component to connect to a mysql DB. If I want to commands like Insert, Delete and UPDATE I use a query. The question is How can I let the user Write the commands into a Richedit or Memo, what ever is the best. And then load those … | |
Hi, I wish to source a 'StopWatch' Application (Prefer source re-compilable) with Start/Stop/Clear buttons. Anyone here done something like that and would like to share the code with me? I use Delphi 6&7 Greetings, GjL | |
Hi there DaniWeb community, I have a problem with such a task: I need to create a programm that will open, give option to modify, and save modifications to other text file (with other name). All I did so far is programm that can open a .txt file and read … | |
Hay I'm just spent hours on google and other sites, can't find any help. I just wrote my 1st major application and now I want to make it installable. Is there components I can download or built in that I can use to do this? | |
Dear All, Could you tell me how to do for it? One of the zip is the demo2.zip and the other is my work. Please give me some of the ideas. Cheers, | |
Hi, Can anyone help explain why, when I've created a simple VCL Form application, switching between this application and others sometimes changes the order of the application's forms. To recreate I did the following; Created a test app (delphi 2009) with a main form and 2 child forms, only code … |
The End.