1,899 Topics
![]() | |
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 … | |
byte range is 0x00 to 0xFF haw to write to text file like this byte 0x00 = byte 0x01 = byte 0x02 = ...... all to byte 0xFF Thanks. | |
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 … | |
Hello All I am Writing some components that are depend together. for example tow of them named as "TFyzLine" and "TFyzTranse" thay have a same Property that named as "InputFrom" . "TfyzLine" mast connect to "TFyzTranse" via "InputFrom" and get some data automatically from "TFyzTranse" and "TFyzTranse" mast Connect to … | |
Hi, I have usually have 2 monitors available but not always. I use one for displaying maps and the other for the data on a called form. How do 1 get Maps on 1 and Data to appear on the other without dragging the form onto the second monitor. Thanx … | |
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 … | |
Hello, Is it possible to insert the data from dbgrid component into an SQL SERVER database table. The data that is in the grid is imported from Excel worksheet. It may look silly but I need to insert that data into a table. Any help is appreciated, thank you | |
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 … | |
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 … | |
A function that takes a string and returns the number of words in the string. An example of using pointers in Pascal. | |
hi i have a table with 1 milion record. i want to sort and read in 1000 groups. i can read diffrent groups but i want to apped 2 datset to each other. how can i do that? pleae help me. thanks | |
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 Have Some Problem with ScrollBox As Below 1- If I Put a ScrollBox On a form and Put Some Objects such as TButton,TImage , .... on it If I move an object to right (or down) and trepass right side (or Down) of ScrollBox the horizontal (or vertical) … | |
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? | |
HI I want to calculate the amount of days left between now and let's say 5 days from now using daysbetween. everytime i try to run my app, it says that daysbetween is a an undeclared identifier. i want to use this function to limit the length of time a … | |
Hi guys, I got a another question. i want to know how to go about saving a form1 to disk instead of printing it, so that i can email it to someone in a format that can be opened and read by the recepient. like for instance a home loan … | |
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 … | |
hi, my program is to call data from D.Base and fill grid by this data, i want to make some calculation on this data like the addition or the sum of the numbers in certain column or row and which the biggest or smallest number in column or row . … | |
Name Address1 Address2 Addess3 ---------------- --------------------- -------------------- ------------------- Name1 Address1 Address2 Address3 Name2 Address1 (NULL) Address3 Name3 Address1 Address2 (NULL) I need to take this information and export it into a CSV file with the Owners Address (combination of add1, add2 and add3) As a single string, Then take the … | |
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 … | |
ok, when the user types in a non-exist file name, the program simply shut down. i dont know what happen [ICODE] procedure set_up; begin write('file');readln(file); assign(f,file); reset(f); {$I-}if IOresult<>0 then writeln('NO File....'); close(f);{$I+} end; .... {this is the main program} begin setup; end [/ICODE] this proceure is called in the … | |
i have problem to allow enter only from 1 to 65535 bicouse example if enter 10000,2000 is ok but enter 99 not. hire 1 example (not working) [CODE]If somthing.Text > '65535 'then ShowMessage(' you enter biger Number from 65535'); Exit;[/CODE] hire 2 example (not working) [CODE]var result : Integer; string1: … | |
I need to write a program that uses the following function [CODE]def pascnext( L ): currentrow = [] if len( L ) == 0: return [1] if len( L ) == 1 and L[ 0 ] == 1: return [ 1, 1 ] else: currentrow += [ 1 ] for … | |
I need help creating a login screen. I don't know how to start it off. I have a newb in devpas so please bear with me. | |
l need help to design a bill wth a main screen showing introductin,customers data entry,individual bill,full bill report,exit. the data section should have a customer number,name,actual readind and previuos reading, the bill should show the customer number,actual reading,previous redaing,customer units,price per unit,total,vat,amount to pay. your help is highly appreciated | |
I am writing a program in python where in the function I input a row in Pascals triangle and the function returns the NEXT row in the triangle. Below is what I have so far and am getting really frustrate...I'm new at this and bad at iterating things. Can you … ![]() | |
Hi, I want to create a line on a canvas ( similar to a visio connector but not as fancy) which will allow a mouseover event to be trapped ( this would trigger a property sheet to display the atributes of the line - a microwave link in my case … | |
This small program shows that how we can arrange strings by alphabet in a vector.By FlamingClaw | |
I have weighing indicator connected to my pc via RS232c , I want to know how I can read the data , how I can store it in access data base? by using Delphi7 programing I tried to read by using hyper terminal (windows start menue-programs-accessories-hyper termial) I used the … | |
Hey, Is there an easy way with a TListView in report mode, to store a unique integer with each row? I've tried using the ".Data" property, but seem to end up with corruption quite often. I'm trying to do this because I want to associate each row with a primary … | |
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 … | |
There is an option in 'Run'-> 'Evaluate constant' (Ctrl+F4), but I believe that's not working for variables, how can the values in the variables viewed while debugging (tracing by 'Run'-> 'Step In') Thanks, Krishna. | |
Note that the angle is in 1/10 of degrees. Any attempt to manipulate font.size or font.color will reset the angle to zero degrees. | |
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 … | |
Hi, i am trying to add Label captions and Combobox text values to a memo when the button is clicked, and keep recieving the error 'Incompatible Types TString and TCaption' when i try to add values from labels and comboboxes Im using the code like this: [code]Memo1.Lines.AddStrings(Memo2.Lines); Memo1.Lines.AddStrings(Memo3.Lines); Memo1.Lines.AddStrings(Edit1.Text); Memo1.Lines.AddStrings(Label1.Caption);[/code] … | |
Hi, i am trying to get my application to check, which radiobutton is selected, and then perform instructions based on the selection. but i cant seem to use a IF and ELSE procedure to do this, can somebody help me out as to what procedure i should use. | |
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 … | |
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 … | |
Dear ALL, Could you tell me how can I do this kind of question if I do not working with the computer and please find the attached document for your reference - it is the answer of the question? [code] Complete the table below to show what each variable holds, … | |
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 … |
The End.