Forum: Pascal and Delphi Sep 24th, 2008 |
| Replies: 1 Views: 984 Perhaps, I haven't fully understood your question but it seems to me that you are going about things in a somewhat complicated way. Firstly, by far the neatest way to add entries to a list view goes... |
Forum: Pascal and Delphi Sep 23rd, 2008 |
| Replies: 6 Views: 1,865 Your best long term bet would be to start using the TNT component suite. It is no longer freeware but you can still get an updated version of the last freeware version here
TNT Controls... |
Forum: MySQL Sep 5th, 2008 |
| Replies: 1 Views: 1,200 A print-ready MySQL quick reference is available <URL SNIPPED>. Registration (free) is required for access to a more legible version.
An extended version of this card that covers the MySQL SQL... |
Forum: HTML and CSS Sep 5th, 2008 |
| Replies: 5 Views: 1,430 All very valid points - I haven't browsed to your page and checked the actual download time so it could well be that you are starting of with unreasonable expectations.
As others have pointed out... |
Forum: PHP Aug 31st, 2008 |
| Replies: 2 Views: 809 There are probably several ways of accomplishing this. One would be to simply use file_get_contents (http://www.php.net/manual/en/function.file-get-contents.php) to load the file text into a string... |
Forum: HTML and CSS Aug 30th, 2008 |
| Replies: 5 Views: 1,430 Wow! With a code listing like that it is scarcely surprising that you have got no replies. I haven't read all your code - and chances are no one else will - but here is, I hope, a partial solution... |
Forum: Website Reviews Jul 28th, 2008 |
| Replies: 3 Views: 672 By all means - all feedback is useful. Did you not spot the Login/Register button on the left of the screen (any page) or did it not appear in your browser for some reason. If the later I would... |
Forum: Website Reviews Jul 25th, 2008 |
| Replies: 3 Views: 672 Hello All,
ExplainThat! (http://www.explainth.at) is not a new site - merely a rapidly evolving one. I have just finished implementing a user login/registration scheme and would appreciate... |
Forum: PHP Jun 28th, 2008 |
| Replies: 3 Views: 571 Tizag is a good place to begin. However, PHP is an unimaginably huge beast so beyond a certain point you will have no choice but to use the php.net online documentation. The quality of this... |
Forum: Pascal and Delphi May 26th, 2008 |
| Replies: 2 Views: 728 Sheady,
It is never very easy pinpointing errors based on very long code listings such as yours. Having taken a brief look at your code I have several suggestions to make
In my book any... |
Forum: Website Reviews May 9th, 2008 |
| Replies: 4 Views: 619 I woudl greatly appreciate any feedback on the look, feel and useability of my new site DubaiDesk (http://www.dubaidesk.com).
I should mention that the site is useable but ugly on 800 x 600... |
Forum: Website Reviews May 9th, 2008 |
| Replies: 4 Views: 747 I found myself having to do far too much scrolling and clicking to locate products on your site - it would be enough to drive me away if I happened to be shopping for silver plated toe rings (I am... |
Forum: PHP Apr 29th, 2008 |
| Replies: 11 Views: 1,431 Hmmm... Apache is a heavyweight solution. I suggested Abyss cos it does the job and is so easy to administer. |
Forum: PHP Apr 28th, 2008 |
| Replies: 11 Views: 1,431 Steve,
Here are a few general tips
Pick a subject you enjoy to create your first site. That improves your chances of actually doing a good job with it
Pick a decent domain name but don't... |
Forum: PHP Apr 27th, 2008 |
| Replies: 11 Views: 1,431 Your friend is misleading you. XHTML, CSS and PHP are not somehow mutually exclusive. You can get so far with client side technologies - such as HTML, CSS and JavaScript - and then find that you... |
Forum: Pascal and Delphi Apr 27th, 2008 |
| Replies: 5 Views: 1,031 Brief answer is take a look at using interfaces. In case you are not familiar with the concept
An interface is used to declare an intent to provide certain services
By services I mean... |
Forum: PHP Apr 24th, 2008 |
| Replies: 2 Views: 1,517 |
Forum: PHP Apr 23rd, 2008 |
| Replies: 2 Views: 1,517 A cheatsheet covering the core features of PHP 5 is available here
PHP5 Cheatsheet (http://www.explainth.at/en/qr/phpqr.shtml)
Free to print, share and enjoy. |
Forum: JavaScript / DHTML / AJAX Mar 21st, 2008 |
| Replies: 4 Views: 1,256 A very simple obfuscation may make it not worth the effort for the magpie types - try this
http://javascriptcompressor.com/
It is a freebie. |
Forum: JavaScript / DHTML / AJAX Mar 21st, 2008 |
| Replies: 2 Views: 1,071 You should consider redesiging so you don't use popup windows - chances are the user's browser will block it. Consider creating a popup effect using CSS + HTML instead. |
Forum: JavaScript / DHTML / AJAX Mar 21st, 2008 |
| Replies: 1 Views: 627 There are two ways to handle error
onerror - which just allows you to carry on gracefully when there is an error but takes little corrective action
The try..catch code block that allows you... |
Forum: JavaScript / DHTML / AJAX Mar 21st, 2008 |
| Replies: 4 Views: 1,256 I think the right answer here is - don't bother. Wanting to hide CSS, HTML and JavaScript is
difficult if not impossible
quite against the spirit of the web - at one time or another we have... |
Forum: Pascal and Delphi Mar 19th, 2008 |
| Replies: 1 Views: 1,276 Petez, I am guessing that English is not your first language. I am not sure which other forums you posted to. However, it is possible that - as with this forum - you have not got a response because... |
Forum: Pascal and Delphi Mar 5th, 2008 |
| Replies: 7 Views: 1,133 Yes, but I don't often find time to survey more than one forum here. Try posting to the VB.NET forum - someone is bound to help out. |
Forum: Pascal and Delphi Mar 4th, 2008 |
| Replies: 7 Views: 1,133 program array_sum;
Uses wincrt;
var
nums:array[1..10] of integer;
index:integer;
Sum:integer;
Begin
sum:=0;//Delphi initializes local variables. Not sure if your Pascal compiler... |
Forum: Pascal and Delphi Mar 4th, 2008 |
| Replies: 7 Views: 1,133 Not sure why you have two integer variables x and Counter. Surely, you could work with Counter alone, couldn't you? |
Forum: Pascal and Delphi Feb 13th, 2008 |
| Replies: 1 Views: 3,122 You need to be more precise when you post questions of this sort. Brief answer is - hard to tell unless you tell us which DB. Unless it is something really obscure you should have no trouble... |
Forum: Pascal and Delphi Feb 13th, 2008 |
| Replies: 22 Views: 3,206 You appear to have got a nice conversation going Lynxus & Duos so I hesitate to butt in. However, having looked at the original post there are a few issues that struck me so I thought I would... |
Forum: Pascal and Delphi Feb 13th, 2008 |
| Replies: 8 Views: 4,851 Don't know if you are still looking for a better solution Alastair but here is one anyway. It uses Delphi but given that it relies on the CoCreateGUID function to generate random sequences you should... |
Forum: Pascal and Delphi Jan 10th, 2008 |
| Replies: 1 Views: 4,350 There is an excellent freebie DLL called inpout32.dll which makes it very easy to interface with all kinds of devices. I can't recall using it to access a USB drive but I suspect it does that too.
... |
Forum: Pascal and Delphi Jan 9th, 2008 |
| Replies: 1 Views: 2,611 EnderX, I don't think there is any way to do what you want using Delphi on its on. However, rope in WinSock and you have a very simple solution using the various WinSock API functions. The... |
Forum: Pascal and Delphi Dec 21st, 2007 |
| Replies: 5 Views: 1,659 There are benefits in not having your code littered with multiple references such as ListBox1. To mention just three
More compact and readable
Less prone to typos - ok, the Delphi compiler... |
Forum: Pascal and Delphi Dec 21st, 2007 |
| Replies: 10 Views: 4,065 I am almost certain that works. In case it does not, here is a trick I remember using
Change the registry strings
Use the Windows GetLocalTime function to fetch the current time in a... |
Forum: Pascal and Delphi Dec 20th, 2007 |
| Replies: 10 Views: 4,065 End of my working day here so a detailed example will have to wait for tomorrow. If you really want to have a go at it right away just take a look at the TRegistry object methods in Delphi help. ... |
Forum: Pascal and Delphi Dec 20th, 2007 |
| Replies: 10 Views: 4,065 One way would be to change the Windows Registry settings directly. The entries you are looking for are the sLongDate, sShortDate and sTimeFormat strings under HKEY_CURRENT_USER\Control... |
Forum: Pascal and Delphi Dec 20th, 2007 |
| Replies: 5 Views: 1,659 Might I suggest two changes
Rather than doing ListBox1.items inside the loop, just store a reference as AList:=ListBox1.Items and use that.
strToFloat will trigger an exception if the ListBox... |
Forum: Pascal and Delphi Dec 19th, 2007 |
| Replies: 10 Views: 2,726 ADrive, pushing and popping in that way goes entirely against the whole philosophy of Pascal. The raw code to do what you want goes something like this
1. type TADriveArr = array[MAXWORD] of... |
Forum: Pascal and Delphi Dec 19th, 2007 |
| Replies: 5 Views: 4,059 Like I explained, you should be able to do that with a combination of a typecast and a with statement as I have done.
var qry:Pointer;//or TObject if you want it that way... |
Forum: Pascal and Delphi Dec 14th, 2007 |
| Replies: 5 Views: 4,059 ADrive, it may be possible that you have not fully understood just how Delphi typecasts work. First thing first - though not wrong, it does strike me as odd that you should assign the object you... |
Forum: Pascal and Delphi Dec 10th, 2007 |
| Replies: 2 Views: 1,057 As Squidd says - we need more details. Also, make sure you tell us whether you want to use vanilla Pascal or Delphi - I imagine the former. If you are using Delphi then try not to go down the route... |