2,103 Topics
![]() | |
Say I have a file of string[20] . I can easily write to this, but as soon as I try to receive the data I get incompatibility errors. So I make a string[20] variable to see if I can read into it. I cannot. It just says incompatible types. When … | |
Dear ALL, Hi. Long time no see. How are you? I have come back to Programming class already. Could you tell me how can I start to VCL Forms Application if I use Delphi6? Cheers, turbomen | |
Hi Friends... I use Delphi 2010 application.. To do some calculation I load array of numbers into string grid but some times i have to make some of the rows inactive and do the calculations..Can any body help me out with a code to disable selected rows and do my … | |
hi experts I am now writing a procedure for my main program in order to let people search for their required entries (eg. user inputs name and the program returns the name together with the tel no. etc.) The procedure is now in its simplest state as users can only … | |
I have this one specific pas file that i try to open, its just plain text in it, i can view it elsewhere (notepad, wordpad etc!) BUT [B]When i open it in d2007, she displays it as hex[/B] [CODE]756E697420494658 5F5574696C733B0D 0A0D0A696E746572 666163650D0A0D0A 7573657320537973 5574696C732C2043 6C61737365732C20 53796E634F626A73[/CODE] WTF!!! Any Ideas ?? | |
I am just learning Delphi, I want to create a login using the form 1 and form 2, falidasi how if that's true of direct Form1 in form2, but if one does not enter into form2 but issued a message "error",,, or form2 as the main form so before entering … | |
Hi All, I have a application that uses Delphi 200 bpl files - I know these can just be put into the c:\Windows\System32 dir and all will work - but is it possible to put them into a directory under the Application eg c:\Program Files\ DGL-Apps\IMS\_sysbpl ? It is just … | |
Hi all, I am newbie at Pascal programming and I need help getting started on one of my assignments. I am totally lost on where to begin. This is what my professor gave us to start: Implement a menu based program with the following array-based list functions: * ADD (at … | |
I'm working on a pascal project. And I want to append record on a binary file without overwriting it again.I've tried using the 'append();" statement but it doesn't work. | |
Hi! i am having trouble sorting an array using a for loop. the problem occurs when using iterations i and i+1 for example count:=0 for i:=0 to count do begin if a[i] > a[i+1] then begin .... end count+1 end problem is when the for loops reaches the LAST array … | |
Hi, Thanks for opening. I'm writing a "fill-out" form in Delphi, with each section enclosed in its own tab, using TPageControl and TTabControl. When the info on each tab has passed validation rules (all working fine), the next button is enabled and the tab can be moved on. When the … | |
Hi! First of all, sorry for my english. I have a function that edit some data from every record in a table. I'm using a for to make it work. The problem is that in every loop it asks me to set the table in edit mode ([CODE]table1.edit[/CODE]). That makes … | |
I have problem with pop-up screen. The code can be compile and run but when the pop-up screen appear, I can't close the pop-up screen. I have to click a lot of times on the OK button. Here is the code:[CODE]i:Integer; begin for i := 0 to 4 do begin … | |
[CODE] var t:array[1..3,1..3] of integer; i,j:byte; v:text; begin for i:=1 to 3 do for j:=1 to 3 do begin write('Enter elements [',i,',',j,'] '); readln(t[i,j]); end; assign(v,'output.txt'); rewrite(v); for i:= 3 downto 1 do begin for j:= 1 to 3 do write(v, t[i,j], ' ' ); writeln(v); end; close(v); end. [/CODE] … | |
hi, I'm fairly experienced with delphi however have come across a tiny problem, i have a create box known as Edit1 for my web browser, but the label on this is always edit1, before you type the text into it, how can i make this blank or at least edit … | |
I'm working on a porgram for the school works. I wrote the procedure below to save the array of records(directory) into the file. But the procedure won't work when there is a record in the file.It's urgent. Thanks for your help. [CODE]procedure saving(input : array of directory); var i : … | |
I'm told it's good to introduce myself here, but there are strong warnings against mentioning this, that and the other thing in the Daniweb rules. So I'll just stick to the computer-related stuff. I've been programming computers since 1980, starting with Pascal on a CMU minicomputer and going on to … | |
Hello :) I would appreciate some help with these few areas, i do not intend to use any of this knowledge maliciously, and am just merely interested... 1) Does delphi have the ability to make a form partially or fully transparent / invisible? 2) I understand and have come across … | |
Greetings fellow coders, I have read many tutorials, and tried many different code snippets but I have hit a brick wall and decided its time to give my brain a rest and see if other coders can find a solution. with the push of a button I will log into … | |
Hi, I am looking for a solution the longest common substring problem. I have the code but in C++. Can someone help me to convert the code in Multi-pascal because I need a code which is for parallel processing. Thanks. [CODE=C++]#include <iostream> #include <string> using namespace std; int main () … | |
What does Try and Except mean in this code? [CODE] if node=1 then begin ankunftnode1:=now; //.................................................. try thot:=(rawdata2[2]+rawdata2[3]*256)/10; except thot:=0; end; chart1.Series[1].AddXY(time,thot);[/CODE] Can anyone explain it to me? Thank you... | |
Hi dear friends: I am going to post some nice Pascal examples here , i hope it will be useful to you all. I hope you will also post here your good programes : lets start : 1) [code] program operators; uses crt; begin clrscr; writeln(17 div 3); readln; writeln(7 … | |
I have a doubt regarding the exception in tmaskedit component in delphi.i am using tmaskedit with editmask as date option.i am using three maskedits with these same property.but when i am trying not valid date or giving empty data,exception is caused which i am not able to handle.i dont knw … | |
Hi all, I am using a TQuery to do a select * from a table. I have a PC with a very large database, using SQL express 2008 SP1 10.0.2531.0. Through the SQL management studio interface, I can see that my table has 7 million records. The result of the … | |
I am trying to convert this to Delphi, but I'm lost, please help [CODE=cpp]enum Error { Ok = 0, ErrorUnsupportedFunction, ErrorInvalidParamaters, ErrorInternal, ErrorUnknown = 0xffffffff }; typedef enum Error Error; Error __stdcall GetLastError() { typedef Error(__stdcall *FunctionType)(); FunctionType GetLastError = (FunctionType)GetProcAddress(GetModuleHandle(NULL), "GetLastError"); return GetLastError(); }[/CODE] | |
I get an EOLE Sys Error Accurate AntiSpam 00073EDD Error on start up for about the last month....I have Windows XP & Norton 360....I have run Windows update with no success...Thanks | |
Hi, i apologize if this is in the wrong section (First Post); i am fairly new to delphi / pascal but was wondering how to create a form within a form, e.g. click a button on Form1 to open Form2, i am aware that tform.create is a function but am … | |
Hi All, Im new to the forum so not sure where to post my question, any help would be greatly appreciated. I have written a program in Delphi 2007 using MS SQL connection, My program runs fine on the development system but as soon as I put it on a … | |
I need to write an overloaded function for a pascal triangle. I have to include another function that fits n!/((n-r)!r!), I can't figure it out. Help please! This is what I have so far: [code] #include "stdafx.h" #include <iostream> using namespace std; int my_fib(int,int); int x,y,j; int main() { x=0; … | |
I have to do my project in computing which requires extract data from excel to VB for further processes. I am a beginner. I know a little bit about VB and Pascal. Thank a lot | |
I have a problem using the GetAdaptersInfo funtion on Delphi 2010 on Windows 7. The following code works fine and returns the adapter names/descriptions to the memo when compiled using Delphi 2007 on Windows Vista. When compiled using Delphi 2010 on Windows 7 it returns blanks or garbage (output below). … | |
Ok this is the problem... Basically when someone enters a figure, say £100, I want to remove the £ sound before doing some processing. at the moment I have this: [CODE] program remove_pound; uses crt, sysutils; var s: string; p: char; begin P := chr(156); Writeln('Please enter an amount of … | |
Hi all, I have been creating a program that checks the length of an inputted value. The value inputted needs to be between two specific bounds, e.g. 10 < length < 120. However, I want to ensure that an individual cannot enter text, or a value which is not between … | |
Hello, I work in Delphi (6) a few years. Now I begin to work Delphi Network but without success. I need TUTOR for Delphi Network who via e-mail to help me in this area. I expect volunteers who periodically to introduce me In Delphi Network. Thank You Blagoj Mail: [email]jblagoj@yahoo.com[/email] | |
Hi all. I have another problem. Basically I have a project where I need to create a number of folders in one go. This is the code I have: [CODE] program create_folders; uses crt, sysutils var value, name : string; i : integer; begin for i := 1 to 10 … | |
Hi, I am trying to write a program that will show the difference between two days. The end or ( to date) will be given(CONSTANT). But the from date must be entered in the edit box in the following format: YEAR, MONTH, DATE, HOURS,MIN,SEC. example 2009,01,22,12,32,02 I will be happy … | |
I have written the below program for a homework and am really stuggling to find out how to do the email verification. Could anyone please help? (I have looked online and in the text book). Thanks so much. [code] program DataInput; uses Classes, SysUtils, crt; var sname: string[15]; fname: string[15]; … | |
[COLOR="Red"][INDENT]hi every boby, i need an example in pascal for my project that is about [U]file ,truncate file & seek in file[/U]. thanks in advanced[/INDENT][/COLOR] | |
[B]hi I want my delphi db programm to run automatically in resolution 1024.768 and when I close the programm it returens to previous resolution (windowes resolution)like the most games what should I do? [/B]:( | |
Hi, Is there any vcl in D2010 to make treeview with checkbox support. Actually I want to make tree explorer (left side in windows explorer). I know there are several vcl available but I want to make custom node in the tree. Many thanks. | |
Hi All, ( I use Delphi 6/7) 1.0 I wish to display a picture, eg jpg-pic, to the User. 2.0 On the pic I wish to define 'hotspot'-areas, such that when the User moves the mouse-pointer over a 'hotspot'-area, the cursor changes, or such to indicate that the User is … | |
After having a look at a few freeware components that support drop shadows (solid colours only) Does anyone know of a panel that supports drop shadowing that does not allow inner components when aligned to client to sit over the drop shadows ? or a way to get the panel … | |
Hello! Thank you for watching.. :) How is it possible to loop a sound without a delay inbetween?? I need a few sounds, about 100, loaded into the memory, all ready to play, And loop, without a delay inbetween. How is this possible in delphi?? I don't want to play … | |
Hi all I'm looking for someone to make a small program that will take data from one text file & write it inside an existing text file. The file that is written into need to put the data in just the right place. I have an existing app that was … | |
Hey, I have a DirectX Window which has various different parts. The problem is one of these parts has to be able to scroll up and down. I have tried using a TRect to scroll but it just keeps going over its bounds is there any way to contain this … | |
Hello, Im making a program which when you run it opens up a small form which asks for your password and username, if its incorrect it shows Alert message but if it's correct closes the first form and opens second form with the stuff... so My question is - How … | |
im trying to draw a box using gotoxy and fucntions. this is what i have at the moment, but dont know what to do next to complete it: [CODE]Program box; uses Crt; procedure draw(x1,y1,x2,y2:integer); begin gotoxy(x1,y1); write('.'); gotoxy(x2,y2); write('.'); gotoxy(x1,y2); write('.'); gotoxy(x2,y1); write('.'); end; begin draw(10,10,15,15); end. [/CODE] | |
Hi, I would need some help to resolve a problem. I need to create a programm that contain 10 basic math questions. After 3 fails in a row, the programm must stop. After each question the good answer should show if the student entered the wrong answer, and the result … | |
Hi, All: Previously, i made a program using d5. It works well in xp. But when i recently build it again in d7, many problems appear. Below is one of them. When executing in d7, this chop file function prompts I/O 123 error? why ? Please help. Thank you in … | |
hi How to allow enter only 5 char in Tedit without using tmask? Thanks. |
The End.