- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 10
- Posts with Upvotes
- 10
- Upvoting Members
- 7
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Ms. in Computer Engineering, MCSE, CCNA, Expert Rating Delphi Expert, etc...
- Interests
- Mathematics, Computer Science, Philosophy, FRP
171 Posted Topics
Re: CCXXV is NOT a prime but has C.C.III.III as prime factors, thus it is a square number with root XV. | |
Re: Hi, Although I use them interchangable my self the difference is simple : any computer peripherial which lets you connect to a physical network segment is a NIC (including fiber optic transceivers and hi-speed serial connections (no not COM1 ;) found on routers) yet ethernet is a OSI Layer 2 … | |
Re: Hi, You must put the [inlinecode]lblFactorial.Text = factorial.ToString("n20");[/inlinecode] after the while loop. [B]Loren Soth[/B] | |
Re: Hi, I understand that this is an old post, but after reading the answers I think that there are some points left out. Although it is true that Borland has been the major driving force behind pascal with its IDEs, compilers, header translations and utility libraries yet there is more … | |
Re: Hi, You can use SelectedIndexChange event of ListView class. [B]Loren Soth[/B] | |
Re: Hi, My personal opinion is that there can be as many programming lanugages as people can make some up (even I have a Virutal Machine of my own which has a proprietary assembly lanugage w/ 22 opcodes including NOP); but at the end of the day it's the balance of … | |
Re: Hi, If you have a specific XML schema, you can use a DataSet not bound to a database or connection and provide your own schema. This way you can use all data bound controls and table cursors and at the end you can load/save the whole dataset back as XML. … | |
| |
Re: Hi, Do you need a solution which is in a smaller time complexity class than Knuth's or have a bound for n,k and just need a faster code to get it done in less than 3 years ? +what is the maximum acceptable time span for you ? because I … | |
Re: Hi, Try this : [code] type sample = record _type,arg1,arg2 : integer; { type is a reserved word in Delphi, and integer type is 32 bit wide; for 16 bit unsigned you can use Word or for 8 bit unsigned you can use byte; there are also shortint and other … | |
Re: Hi, Ths last " IF (Choice = 'Y') OR (Choice = 'y') THEN " is unnecessary, the while loop's conditional takes care of that. You seem to have implemented the queue correctly but why is you TQueue's Data is a String of length 80 ? If your code is to … | |
Re: Hi, In my opinion either go with MS Access or use a typed binary file of your data structure if you can handle it (for cases where entry count will be less than 1k); because latter will remove your dependence to ADO.Net, Jet Engine and database compaction issues. [B]Loren Soth[/B] | |
Re: Hi, I think you would need to write your own CSV parser using String.Split and not use OLEDB Text Driver (eventhough there might be a parameter for the connection string to fix this, check text driver's reference). [B]Loren Soth[/B] | |
ShowDriveSerialNo shows it with ShowMessage GetDriveSerialNo returns a string. You don't need both. | |
Re: Hi, I pretty much agree with borthwis. The Delphi line after version 7 and Kylix should be evaluated as a different family of IDEs and compilers. Although they support native code too, Delphi 7 is the only thing on the universe that is easy, flexible, scalable yet produces highly optimized, … | |
Re: Hi, You solved almost both of your questions. :) You may also use asynchronous socket server connection waiting using delegates. [B]Loren Soth[/B] | |
Re: Hi, You can program microcontrollers, unlike microprocessors they include more things on chip like memory, IO interface, RS232, DAC and some times even USB and RF functions. I recomend you PIC (from [url]www.microchip.com[/url]) especially 16F84A or 16F877 (compared their price to their performance almost always it is cheaper to use … | |
Re: Hi, There are lots of different "variant" type than you think. The COM object model uses a common variant type called OLEVariant while all languages have their own internal variant types. (VB6, Delphi) Java and C# even don't have a variant type but use a technique called boxing which basicly … | |
Re: Hi, There are a lot of free compilers for the PIC Family of microcontrollers for C, Pascal, Basic languages. But if you need to code in PICs ASM then the best resource is the 16f84a's manual from the manufacturer (4th item on the link), then progress through Development Tools Documents … | |
Re: Save Daniweb Destroyers purposely destroy or don't destroy Daniweb destroyers | |
Re: Hi, First can an OS be coded in C# ? The answer is yes [url]http://research.microsoft.com/os/singularity/[/url] although it is pretty a proof of concept type of OS. Still it is one of the most fascinating projects I have seen. On the other hand all Windows OSes are have to parts kernel … | |
Re: Hi, Use a transparent background circle image in gif or png format and create many image instance with javascript assigned to the smae source. You can even arrange their radius with using a single image given it has the resolution of the largest circle to avoid aliasing and pixelation effects. … ![]() | |
Re: Hi, Try lv.selecteditems[0].subitems[2].text; If you use ItemActivated or SelectedIndexChanged event then you can avoid lv.selecteditems[0] and directly call the ListViewItem passed as a parameter. [B]Loren Soth[/B] | |
Re: Hi, As celikada already mentioned there are different bluetooth stacks available and Microsoft hadn't provided one till XP SP2 (if I'm not mistaken) still most USB BT dongles install their own stacks either WIDCOMM or another proprietary one. I suggest too the 32feet.net 's BT classes and if it fails … | |
Re: Hi, x=combobox.text [B]Loren Soth[/B] | |
Re: Hi, This is an easy one; you don't even use the : --- Dim myProcess As Process = New Process myProcess.StartInfo.FileName = "winamp.exe" --- System.Diagnostics.Process.Start("...") returns you a reference to the newly created process, you must keep it (outside of sub, not as a local var) but as you don't … | |
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. | |
Re: Hi, Use Application.Terminate; as suggested by previous post (or Halt; ). Never call ___.Destroy; call ___.Free; to release an instance of an object that you created. [B]Loren Soth[/B] | |
Based on [url]http://astronomy.swin.edu.au/~pbourke/geometry/insidepoly/[/url] Converted to Delphi by Lord Soth | |
--- Basic Datatypes --- --- Form Management --- --- Data Access --- --- Component model --- | |
You can use any of the commented constants to perform the explained function. You might need to adjust the process privilege on NT based OSes. | |
Assumes the presence of Memo1 on Form1. | |
| |
In case there are mote than one NIC (Network Interface Card) the coe gives the MAC of the first adapter. You can change the 0 on the line qoted below to take the MAC of other NICs if present. "Result := GetAdapterInfo(AdapterList.lana[0]) " | |
This code disables font smoothing for a TLabel component. Can easily be converted for other VCL controls. Loren Soth | |
Re: Hi, Will you need E-16 precision at your result ? If not use standart routines (and Math.PI)but at the end round the number to E-14 (14 digits after decimal point) precision. [B]Loren Soth[/B] | |
Re: Hi, They would most likely integrate this CPA strategy with their new Google Checkout service so the payment part will be handled at google too. This way there won't be any removing the tracking code. [B]Loren Soth[/B] | |
Re: Hi, Do you need the optimal (most simplified) equation ? If not you can easily write the equation as the sum of products : a'b'c'z+a'b'cz'+a'bc'z+... [B]Loren Soth[/B] | |
Re: Hi, To insert a checkbox to every row you must add a template column to your data grid. [B]Loren Soth[/B] | |
Re: Hi, Check NeoAxis [URL="http://www.neoaxisgroup.com/"]http://www.neoaxisgroup.com/[/URL] but it may not be free. | |
Re: Hi, I agree with mps727 on RPG Maker and yoyogames game maker, also check [URL="http://www.kongregate.com/labs"]http://www.kongregate.com/labs[/URL] | |
Re: Hi, I want to ask some questions. What are the other numbers signify ? Are they heat values or a discrete enumeration like wall, empty space, heat source, etc.. Also can you give us an estimate for the size of the real matrix. Because till a calculatable small number a … | |
Re: Hi, For Managed code use C# or Java Swing; for native code use Delphi or Visual C++ | |
Re: General answer : compiler = lexer (lexical analyser) + parser + code generator lexer = scanner (implemented usually as FSM) + tokenizer compile process : source code -> lexical analysis -> parsing code tree -> generate compiled code for linking (optimize where necessary) It seems you need both the lexer … | |
Re: Hi, If you like networking code a Layer 1-7 Intrusion Detection System. [B]Loren Soth[/B] | |
Re: Hi, 1-There are 2 versions (actually 3 with J2EE) of Java J2SE (standart) and J2ME (mobile). J2ME w/ MIDP profile is mostly used on cell phones for games. It all depends on the PalmOS version and the capabilities of your device (which Palm model are you going to use?). Palm … | |
Re: Hi, I had post a code snippet about this lately on the code snippets section of this site. Check on Pascal, Delphi code snippets w/ my nick "Lord Soth". Loren Soth | |
Re: Hi, If you aren't porting old code (actually even if you do so), or has a valid reason to use that ActiveX control, you would be much better off using System.Net classes performance and debug wise. [B]Loren Soth[/B] | |
Re: selectedword := words[random(high(MAX_WORDS))]; Assuming words array is 0 based like : words : array [0..MAX_WORDS] of string; | |
Dear DeniWeb Community, I, in sane mind, decided to post this most boring topic (possibly having no answer) to this forum. I have my own motivations to write those lines (which is mostly ultimate boredom and total apathy); yet the question itself is a paradoxical one (swap the cause and … |
The End.