Re: delphi Programming Software Development by jsosnowski Delphi is based on Object Pascal (OP). It includes an IDE allowing visual programming using OP. The IDE environment includes many predefined classes, with source code, that both create the environment and allow users to extend it further both as shared code and as proprietary objects called components. It has been in use for many years, has a … Delphi to C# Programming Software Development by chintan_1671 Can any one help me to convert this delphi code to C#. class function TShrinkConfig.MyVersion: WORD; var ini: TIniFile; begin ini := TIniFile.Create(gsIniFile); Result := ini.ReadInteger( SHRINK_INI_SETUP_SECTION, SHRINK_INI_MYVERSION, SHRINK_INI_VERSION_1); ini.Free; end; if (not ini.ValueExists(SHRINK_INI_VERSIONS_SECTION, … Re: Delphi to C# Programming Software Development by Mark Rowe A TIniFile doesn't directly correspond to FileStream. It's much more specific and is a class for dealing with INI files, files that are text files and which split information between sections - things in a file between square brackets, a way to group similar things together - and key/value pairs. Under each section will be a number of pairs like… Delphi second monitor activation problem Programming Software Development by amarkevans I am having a problem in Delphi with the use of multiple monitors. My application consists of a main form, with several different kinds of child forms. If I started running my application (not from Delphi – the executable), and I then enable a second monitor, and then move from one type of child form to another, my application would immediately… Re: Delphi second monitor activation problem Programming Software Development by acroft Hi Amarkevans, I know it is a long time ago, but did you find a solution to the dialogs failing with the access violation message? I am still using Delphi 5 (I know, I know) and had the problem you describe when using dual monitors when the PC woke from sleep (some minutes after sleep). Invoking any child form caused an access violation error … Re: Delphi second monitor activation problem Programming Software Development by amarkevans I recently downloaded a 30-day demo version of Delphi XE. I tested it on the scenario described, and it seems to have fixed the problem. I guess maybe 11-12 years ago, not as many people were working with dual monitors? :) Re: Delphi second monitor activation problem Programming Software Development by Tobie Hi, jip, still using Delphi 5. I get the problem as described. Has anyone gotten any other tricks or tips to make this work better while still on Delphi5? [Delphi 3] using a var in object name.. "edit{i}" Programming Software Development by laki4546 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 course write the same thing 30 times, but that takes time and is probably not the best way to do it. So what I need… Re: [Delphi 3] using a var in object name.. "edit{i}" Programming Software Development by quaifp1 Hi, Personally i would be tempted to use the tag field in tEdit to enumerate each field. With a form and 5 TEdits [Edit1..5] with tags 0..4 An Array A[0..4] of String And a button Put say a,b,c,d,e into your 5 Tedits and hit the button procedure TForm1.Button1Click(Sender: TObject); VAR A : Array[0..4] OF String; I : Integer… Re: [Delphi 3] using a var in object name.. "edit{i}" Programming Software Development by BitFarmer Supposing the 30 TEdit are in a TPanel called Panel1, I would do it like this: [code] for i:= 0 to 29 do TEdit(Panel1.FindChildControl('E'+IntToStr(i))).Text:= a[i]; [/code] This is the most similar to your example it can get, but, I would do it a little more robust: [code] for i:= 0 to 29 do begin MyEdit:= TEdit(Panel1.FindChildControl('E'+… Re: Delphi not so popular? Programming Software Development by Mya:) Really? I don't hear of it much but when I did research on programming laungages a while back i read alot about it. Yes, I agree with you. I also use Delphi because I'm still a student and the department chose Delphi (only two districts do Delphi and the rest do Java), but I heard that once you know one programming launguage it's easier to learn … Re: Delphi not so popular? Programming Software Development by Matt_13 Back in the late 90's early 2000's Borland's Delphi(object pascal) was still an in demand skillset. Then when Microsoft's .NET finally matured and Borland totally screwed themselves over with the whole we are "Inprise" thing... then they just went downhill fast from there. Now Borland is no more, but Delphi as a development tool is … Re: Delphi SNMPv1 set and get request Programming Software Development by pritaeas Delphi should come with Indy, that has an SNMP component. Don't know if it supports what you need. Re: Delphi code for editing an Excel file Programming Software Development by pritaeas Here's a start: http://www.daniweb.com/software-development/pascal-and-delphi/threads/359971/using-ole-automation-of-excel-2010-with-delphi-2010 Re: Delphi not so popular? Programming Software Development by Mya:) Yeah because I rearely see anything in delphi. Invact I mostly see C++, Pascal or java. But is Java more difficult than Delphi? Re: Delphi vs Pascal Programming Software Development by vegaseat Delphi is a rapid development system using Object Pascal for its language. A fancy IDE, like Visual C++ uses C++. Delphi came first. Delphi Prism DSOFile Help Programming Software Development by Zumla 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\… Delphi code for editing an Excel file Programming Software Development by finalist I need Delphi 2011 XE code for editing an Excel file. If there is found a text in a row of column A of the Excel file, to change the number of the same row in column B. That's all I need. Thanks! Delphi frontend and PHP backend Programming Software Development by KE50 Hello All, I have been wondering how possible is it to have an application that would run a php application that would be used for making the database updates as well as handling the business logic while on the front end, have delphi forms So The form will be used to capture the data, do the neccessary parsing then through a post command send … Delphi 7 TRichEdit not recognizing bullets Programming Software Development by KE50 When formatted text is pasted from MSWord to a TRichEdit control, the bullets are well formatted (on the display) but after; Fetching the rtf data from the TRichEdit control using TStringStream, Saving the stream's DataString to a database and then Loading the saved rtf string back to the TRichEdit control The bullets are being formatted as … Delphi not so popular? Programming Software Development by Mya:) Is it just me or is Delphi not so popular when it comes to programming laungages? Re: Delphi not so popular? Programming Software Development by SalmiSoft A search on any job site will show there are very few opportunities for Delphi developers compared to <language of your choice>. Re: Delphi not so popular? Programming Software Development by SalmiSoft I don't know, but I doubt it. Apart from anything else it is probably easier to find online examples, support etc for Java. I like Delphi and will stick with it as my tool of choice, but then I am familiar with it so I am more productive than when I use other languages. I am surprised that you see Pascal jobs advertised. I rarely see any. Delphi DirectoryListBox returns wrong Directory Programming Software Development by Bo_1 If I doubleclick on a DirectoryListBox, Delphi returns the directory above the clicked one. A second doubleclick on the same directory returns the wanted directory. How do I select the intended directory in one doubleclick? In the OnDblClick event I use Dir:=DirectoryListBox1.Directory. What am I doing wrong? Anybody? Regards Bo Re: Delphi DirectoryListBox returns wrong Directory Programming Software Development by SalmiSoft It is always a good idea to look at the source code in cases like this, if you have the VCL sources in your Delphi version. That way you can trace how the control responds to the double click. Basically what is happening is that TDirectoryListBox fires off the onDblClick event *before* it changes the directory. This is so you can handle that event… Delphi Programming Software Development by DelphiXE2User Hi, I am in need of converting a project which is in Delphi 5 to Delphi XE2. When I run the same Delphi 5 code, in XE2 , I get some errors. In Delphi 5, we have used NMFTP component for file transfers. But here netmasters is not available. Instead, it uses INDY component IDFTP. The events and methods which are in NmFTP are not found in … Delphi Help Programming Software Development by peachy When I copied my program from Dev-Pascal to the new window in Delphi I got this error: Project ParkingCharges.exe encountered unhandled exception class Borland.Delphi.EInvalidInput with mesage 'Invalid Numeric Input'. These are the options in the error box: ignore this excetion type inspect exception Object Show CPU View … Re: Delphi Programming Software Development by DelphiXE2User Hi Thanks for the clarifications. Another one is like, I have a memo field. I have to retrieve data from DB and display it in the memo field. The field in DB is varchar2(4000). But when I execute the code in XE3, I get a run time error like "Access violation of memo field...", actually it is accepting only 250 characters. … Re: Delphi help PLEASE Programming Software Development by kneighbour [QUOTE=ABKTECH;721724]text========"everyone delphi fans" i need help on delphi how to count the number of character enter by a user for exmaple if a user enters 2 in editbox1 and enters 5 in editbox2 then the program should display this using the above text in a memo. "very" meaning that the number … Delphi help PLEASE Programming Software Development by ABKTECH text========"everyone delphi fans" i need help on delphi how to count the number of character enter by a user for exmaple if a user enters 2 in editbox1 and enters 5 in editbox2 then the program should display this using the above text in a memo. "very" meaning that the number specify in text 1 is is the …