1,899 Topics
| |
Ok, so I got a program to do in TurboPascal but it's not doing the one of the requirements and I'm not sure how to get it so the question states: Write a program to read in the names of a sequence of products and their price. The program terminates … | |
Hi guys, so yeah, I got some IT homework AGAIN on programs and I repeatedly did trace tables and they all worked, but somehow, when I enter it in turbo pascal, after the 10th number, the digits start to get negative and after the 6th number, its not following the … | |
Hello Is there some kind of multiplatform library for Delphi (with its SDK) to access webcams while programming? The goal is to take still images but Ive only found ones that are compatible with Windows. | |
Hello One more question. Can't seem to find any info wether it's possible to disable Alt+F4 while MessageDlg pops-up or not. The thing is, that the OnKeyDown event in main form works ok, while set with begin if ((ssAlt in Shift) and (Key = VK_F4)) then Key:=0; end; But that … | |
Greetings Friends ! How do I do incremental Builds in Delphi...? I have both the Delphi 7 and Delphi XE2... I have never really incrementally built my apps... pardon my ignorance... but i have taken on a project on a piece of software where the manager wants the build done … | |
I have developed delhpi software sql database invlove now want to convert it into web application hwo plz help me iam new in this . | |
Am trying to read strings from a html page to get settings the following javascript strings i like to be able to read. <script type="text/javascript"> PP['channel'] = "testchannel"; PP['channel_id'] = 39388311; PP['channel_category'] = "gaming"; PP['channel_meta_game'] = "wow" PP['channel_is_featured'] = false; </script> would be nice that i can pick the data … | |
I used to do a bit of programming in Turbo Pascal but since Microsoft eliminated DOS I don't know how to set up the compiler in Windows XP or 7. Can anyone advise how I can continue to use Turbo Pascal? Thanks I got this reply "TP will still run … | |
Hello everyone, im new here and dont know yet most of the policies.. but i have been reading lots of your C++ codes, mostly, codes made by Narue.... i wonder if you someone could help me make a code for pascal's triangle wherein the ouput would look like a triangle … | |
I am working on my first Client server program. The client will have to connect to the server however there is no way to know what the server ip will be so this needs to happen dinamically, at least the first time the program runs. The clients will receive strings … | |
So... I am sorry if I have posted the question at the wrong place, yet I couldnt find a better place. Anyway, my problem is as follows: A week ago, we had to bring back to life some old projects of the firm. The projects are ... not too complex … | |
plz i need a pascal prog which input 2 values,call dem A and B.print the value of the largest variable. (2)modify the prog above to accept 3 values A,B,C and print the largest.tanx. | |
Hello Once again, I'd need your help. I was messing around (if I say so, although I only set the formstyle properties to mdiform and mdichild once, and then reset them to Normal, ever since my problem appears) formstyle property, and got some strange behaviour for which can't seem to … | |
this is an assignment i recieved i have been trying to get it to work but it wont.i edited a couple times but i still get the same messages can anyone assist? The purpose of the program is to assist with the check-in and searching of guests registered at the … | |
How to generate random number in Free Pascal between 1 and 1,000,000? I have used a variable type as LongInt, Real, Integer, but there is always an RangeError. But random number between 1 and 33,333 is working correctly. Program Random; var a: ...; begin a:=random(1000000); end. | |
Depending on a variable 1-7, I am interested in ANDing a byte value to to get that number of bits. Currently I'm doing this: function getMaskedBits(num, Bit_location: Byte): Byte; var masks: array[1..7]of Byte=(127,63,31,15,7,3,1); begin Result:=num and masks[Bit_location]; end; is there a better (or more efficient way of doing this?) | |
This procedure is called just before the answer is written to a binary file to ensure it is in the correct format. It works but I need it to repeat until it is an integer. I was trying to use a 'repeat','until' but wasnt sure what the 'until' condition woudld … | |
Hi, I'm a bit of a newbie to Pascal and I'm trying to create a simple program to convert binary numbers to decimal, I'm unsure of how I can disallow an input that is not binary, this is my code: var Validation : boolean; Binary, Number : String; Decimal, index, … | |
Morning, I am loading an xml file where i want to search low level node name if exists. For example: <xml> <A> <B> <c></c> <d></d> </B> </A> </xml> so i have IXMLDOMDocument and IXMLDOMNode, i need to load an existing xml file and to search the node <d> where i … | |
I need help to Write a PASCAL program that reads in ten values and then sort them using the bubble sort method | |
Morning, I am new to xml with delphi. My problem is that i know how to build am xml file, the output is something like this: **<EXPORT> <IMPORTMODEL>1</IMPORTMODEL> <SESSION></SESSION> <STARTDATE>26-01-2011</STARTDATE> <ENDDATE>26-01-2011</ENDDATE> <VOUCHERS> <VOUCHER> <AUTHOR> X </AUTHOR> <INPUTDATE>1/23/2013</INPUTDATE> <REFERENCE>M1000009</REFERENCE> <ONDUPLICREF>N</ONDUPLICREF> <JOURNALTYPE>STANDARD</JOURNALTYPE> <DESCRIPTION>This is a test for the description of the voucher … | |
Hello, I need some help replacing special chars like 'à,é,è,...' in strings with their corresponding ascii char values. I do know the string replace method thus replacing these special chars with normal alphabets, with the example below: `$vSomeSpecialChars = array("á", "é", "í", "ó", "ú", "Á", "É", "Í", "Ó", "Ú", "ñ", … | |
Hello all, I once had a program (.exe) that was a delphi tutorial, you could click an option and it would show you what it did and tell you how to do it.. i lost it in a format and im unable to locate it!, could someone point me in … | |
Hi everyone,plz i need help from anyone to check if this program is writthen correctly { A program to read two values A and B and print the highets value } Val A : integer ; Val B:integer ; Begin A : =10 ; B:=12 ; if A > B … | |
Hi. So, just switched to RAD XE3 to use Metropolis UI feature, and therefore started to completely rearrange and redesign my app to make it a little nicer, only this time I've chosen FireMonkey Metropolis App, since it has some good components, such as TSwitch (slide switch). Everything seems to … | |
Hello again. I'm having issues finding any advanced info about touch support in Delphi. At the moment, I can't seem to find a way to add the scroll functionality to my app, so that it'd work as on metro apps in Windows 8 (such scroller as the Metro Internet Explorer … | |
Hi, I need help with coding so I can see the WORK week. In this code I only see the whole week. "glob_calendar_id:=oOutlook; //Store object ID oOutlookCOM:=oOutlook.GetComObject; oOutlookCOM.Folder:='Calendar'; //Calendar view oOutlookCOM.View:='Week'; I need to see WORK week. Help please... | |
Hello. I wonder if anyone can tell me something about calling the external dll file from delphi. I have a main form, which has the procedures locating the dll file, and then I have about 30 other forms, in which I use these commands. Now my question is, is it … | |
can any one pleace help me to code this program i have no idea how to do it. it will be very greatful if any one can help me thanks | |
please give me instructions? and what files should be in burning ? |
The End.