1,826 Topics
| |
Hey all, I'm currently having a file I want to open using a program. The system does NOT have the file-extension associated with said program. However using the standard "let me choose what program to use" box when trying to open the file and selecting the program it runs just … | |
Hi I am new to pascal, How to draw on pascal with goto or pixel command? And how can I make a game X-O user vs computer? | |
I am trying to make a code for shuffling a deck of 52 cards no jokers. I have generated a deck and I plan on randomly inputing all the values into another array as my shuffling. How should I do that? [CODE]program game; var Deck : Array [1..4,1..13] of integer; … | |
Any ideas on detecting the current version of the MySQL ODBC driver? Currently I am reading the registry to obtain the version: [code=delphi] Function MySQLVersion:String; Var TR : TRegistry; SL : TStringList; I : Integer; Begin Result := 'ODBC 3.51'; // Default version SL := TStringList.Create; TR := TRegistry.Create; TR.RootKey … | |
Hi I am attempting to employ the named pipe application “Using Pipes for Messages” which I found at [url]http://www.delphi3000.com/articles/article_2918.asp?SK=[/url] I am running Borland Studio 2006 on Win 7 and need named pipes to communicate to a C# app that I am also building. The example (bottom of page) is supposed … | |
Hi people , I have an easy question(but lack the knowledge in Delphi), I have a piece of code that i want to run but don't want to type it over for every time it has to be run (not very good coding then). Is there a way i can … | |
Hello, I am currently using Delphi Prism to try and extract file properties. Below is the code I am currently using which should work, however, the compiler generates an error: Error 1 (PE190) "DSOFile.OleDocumentProperties" is an interface and cannot be instantiated C:\Users\Zumla\Desktop\Comp4\.Net Project\Computing4\Computing4\Main.pas 114 63 Computing4 Help would be much … | |
Hi guys The just of what i whant to do is read lines of text from a file until it reaches a delimiter and then execute that text in a query and repeat the process till there is no more text. I am using Delphi 6(don't have a choice) and … | |
We have a Delphi app that performs user authentication using the activeds.dll library. However, when running on a 64-bit server, even though the WOW64 processing thunks the library to use the psuedo-32-bit version, we're consistently getting an app crash when attempting to use the library. Any helpful suggestions? Thanks | |
hi all.. i want to convert decimal to binary.. best regards..thanks. | |
Hi.. how to calculate distance between two points.. each point have a coordinates (x,y). please help.. | |
ok, im making a basic program in pascal. like a text based calculator (i dont know how to make GUIs) so lets say i have a peice of code like this: [CODE]program test; var A,B,C:real; begin writeln('enter the first number'); readln(A); writeln('enter the second number'); readln(B); C:=A/B; writeln('your answer is: … | |
A "normal" Delphi snippet: [CODE]Procedure help_me1(Sender: TObject); BEGIN {100 lines of code} END; Procedure help_me2(Sender: TObject); BEGIN {100 lines of copy and paste code} END;[/CODE] [COLOR="Green"]How can I make this so that I end up with ONE procedure with 100 lines of code?[/COLOR] [CODE]Procedure much_reuseable_code(choice:BYTE); BEGIN {100 lines of code} … | |
I am not showing all the code it is not necassary. TheInternets : TWebBrowser; I wrote a program to navigate to a server that my friend has up. Then it should get a result and display it. This takes about a second to execute which is really bad for my … | |
Hi, Does anyone know a simple way of extracting file information such as that shown in the details tab of file properties? I am new to Delphi and I don't have much experience, codes on the internet which I have found are not very helpful and only successfully extract file … | |
Hi everyone Im trying to take my SQl and "SCRIPT" it to a .sql file(accomplished) and add it to my Delphi(accomplished) and then [U]connect them[/U] and show the data in a TDBGrid but seem to be battling. The .sql file adds and creates the Database in delphi but I don't … | |
high my program is not running properly the run screen never stays on error message "error linking" Program Auto_Company; Var carmodel:ARRAY[1..10]OF STRING; category:ARRAY[1..10]OF string; noofcars:integer; rentalfee:real; totalrentalcost:real; carentry:string; appcar:integer; A:char; B:char; C:char; Chevrolet:string; HondaCivic:string; NissanPrimera:string; NissanB14:string; Subaru:string; MitsubishiLancer:string; Mazda:string; Mercedes:string; BMW:string; Peugeot:string; R:INTEGER; Procedure INTRODUCTION; BEGIN Writeln('Welcome to program Auto_Company'); … | |
Heyyy everyone =). Im a freshman in Highschool taking a computer programming class. I was just wondering if you guys could look over my code and see if there is anything that I could have done more efficiently (i.e. using less ram, less code). The objective of this program is … | |
Hi Everyone, I am having some trouble with the libmysql.dll file in Delphi 7. When I try to connect to a database with the dbexpress MySQL driver, i get the error "Unable to load libmysql.dll". I have tried the following to resolve my problem: [LIST] [*]installing different versions of MySQL … | |
Hey fellow delphirinos, I am currently using the following code to get an application in my application: [CODE]procedure TForm1.Button1Click(Sender: TObject); begin ShellExecute(Application.Handle,'Open','Notepad.exe' ,nil,nil,SW_NORMAL); //Wait for it to be loaded. Sleep(500); //Get the handle of the other program using the caption of the window. wHandle := FindWindow(NIL,'Untitled - Notepad'); //Now change … | |
Hi , I hate the hard copy versions of the Books. Those books are really weight than me . I get hard time in carrying them. what I need is CHM or PDF or djvu , html or txt ebooks. where I can transaction (pay money and download ) those … | |
Good evening, was wondering how can I read data record from a text file, if they want to read data from a text: (Offset : $4C8259; MemDump :($A1, $38, $BD, $4C, $00, $8B, $00, $8B, $4D, $FC, $BA, $C0, $82, $4C, $00, $E8, $1F, $F1, $FF, $FF, $33, $DB, $E8, … | |
I have been using Pascal for around 3-5 months now. I still haven't figured out how to return random answers. for instance there are 5 integers: var a,b,c,d,e : integer; and now the computer will tell you a random integer like: writeln(c); this is just an example of course because … | |
i need a code/function to suppress security messages in Windows 7 (Eg: Do you want to run install updatesetup.exe yes or no... i need to go ahead with yes instead of displaying such messages. | |
This is a trivial question that Im having a blonde moment over. Been a while since I did any serious programming, Ada, Pascal, C etc etc I have two forms created at design time. Form1 and Form2. Form 1 has a button which when clicked should open Form 2 Could … | |
Hey, I have a online mysql database and it has a table with a few thousand records. Now nothing special there, my question is however. One of the fields of every row has content like this: 2 9 14 119 5 543 1479 35 90 .... <-- this field will … | |
HI..I'M DEVELOPING AN APPLICATION USING DELPHI. NOW, I AM CONVERTING MY APPLICATION TO SERVICE TYPE BUT IT HAS ERROR. THE ERROR IS IN THIS CODE "Application.Exename". NOW I JUST WANNA ASK, WHAT IS THE EQUIVALENT OF "Application.Exename" IN SERVICE? THIS CODE IS WORKING ONLY IN APPLICATION TYPE BUT NOT IN … | |
I am attempting to run a delphi 7 developed application on a windows 7 64bit laptop. I've placed the redistributables in the system32 folder, like always. the application has been installed in the program files (x86) directory (it didn't work at all under the program files directory) when I go … | |
I have a program for data acquisition and process control. I use TeeChart for real time plotting of data. I also have a legend window on top of the chart. I can print or save to disk the TeeChart, but would prefer to print/save the entire screen including the legend … |
The End.