Re: [DUG] Google Phone

2010-01-18 Thread John Bird
myOffice Email MessageCheaper is mainly related to number being made. For years laptops were more expensive than desktops, as each manufacturer had to customise their smaller size motherboards etc. Desktops used more mass made mainstream off-the-shelf components (eg power supplies, memory

[DUG] IPC with an elevated program

2010-01-18 Thread Ross Levis
This is not strictly Delphi related but hope someone can help. Since Vista came out I've been using a small program I wrote with a manifest to give it elevated privileges, so I can write to the HKLM registry when requested by any of my applications. I use a shared memory component (memory

Re: [DUG] IPC with an elevated program

2010-01-18 Thread Paul
I'm using named pipes without problems (Win7 and 2008 server) Paul - Original Message - From: Ross Levis To: 'NZ Borland Developers Group - Delphi List' Sent: Monday, January 18, 2010 2:13 PM Subject: [DUG] IPC with an elevated program This is not strictly Delphi related

Re: [DUG] Google Phone

2010-01-18 Thread Gary T. Benner
[Reply] Hi all, For those interested in all things Google ... check out Google Barcamp. http://groups.google.co.nz/group/nz-google-barcamp ..All things Google from Google Apps, GIS, search appliances, Wave, privacy, Android, SEO, Blogger, interoparbility, and anything else .. cheers Gary

Re: [DUG] IPC with an elevated program

2010-01-18 Thread Alan Rose
If you want to to use shared memory in Vista and above its best to write a service to create global shared memory that all users can access. The key here is global shared memory and with the right security bits set. Best to Google global shared memory for more info. heres one link I found that

[DUG] Delphi 2010 Issue

2010-01-18 Thread Willie Juson
Hi All, I'm posting this on behalf of a friend, he reckons he hasn't had much joy getting help from Embarcadero so I thought I'd try it here on the off-chance. Delphi 2010 enterprise was running fine on my machine until yesterday. Out of the blue, it just will not load. It appears to be

[DUG] Resizing images

2010-01-18 Thread John Bird
Resizing images for Images, bitButtons and icons - I guess we all do this. I have used IrfanView and Photofiltre for resizing images, and noticed they tend to alter the edge pixels around an image - I guess it averages the pixel colours on a sharp edge if resizing smaller. This is a problem

Re: [DUG] Delphi 2010 Issue

2010-01-18 Thread Alister Christie
If you continue to be stuck you should ask on http://stackoverflow.com or the Delphi Newsgroups. Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz PO Box 13085 Johnsonville Wellington Willie Juson wrote: Hi All, I’m posting this on

Re: [DUG] Resizing images

2010-01-18 Thread Alister Christie
The GiMP is always handy for image manipulation. Generally I draw my images in a really old version of Corel Draw, then use GiMP for transparance, shadows and so on. Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz PO Box 13085 Johnsonville

Re: [DUG] Resizing images

2010-01-18 Thread Kyley Harris
seeing as you have delphi.. Get the GraphicsEx.pas and use their stretch routine. Fast and very high quality. :D On Tue, Jan 19, 2010 at 10:05 AM, Alister Christie alis...@salespartner.co.nz wrote: The GiMP is always handy for image manipulation. Generally I draw my images in a really old

Re: [DUG] Resizing images

2010-01-18 Thread Conor Boyd
Can you post your example? Or another example? C. From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Tuesday, 19 January 2010 9:46 a.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] Resizing

Re: [DUG] Resizing images

2010-01-18 Thread Kyley Harris
Sure.. gimme 5 minutes i can email you the source too.. its open On Tue, Jan 19, 2010 at 10:31 AM, Conor Boyd conor.b...@trimble.co.nzwrote: Can you post your example? Or another example? C. -- *From:* delphi-boun...@delphi.org.nz

Re: [DUG] Resizing images

2010-01-18 Thread Kyley Harris
begin FSourceBMP.Assign(Value); if Zoom 1 then begin FBMP.Assign(FSourceBMP); FBMP.Width := Trunc(FSourceBMP.Width * Zoom); FBMP.Height := Trunc(FSourceBMP.Height * Zoom); Stretch(FBMP.Width, FBMP.Height ,sfBox,1,FSourceBMP,FBMP); end else FBMP.Assign(FSourceBMP);

Re: [DUG] Delphi 2010 Issue

2010-01-18 Thread Jeremy North
If he recalls the last loaded project, delete the DSK of that project. Otherwise run the IDE without loading the last project using the -np switch. Also try running a fresh version with a fresh registry by using the -r command line switch such as -rTestInstall. This will create a new registry

Re: [DUG] Resizing images

2010-01-18 Thread Conor Boyd
Hi Kyley, Thanks, although I was asking John for an example of his concern. ;-) I've used Graphics32 previously to resize images with Lanczos Kernel resampling etc myself (see the screenshots on http://gloss.ildica.com/ to see what I use it for), so I know how to resize images properly while

Re: [DUG] Resizing images

2010-01-18 Thread Conor Boyd
Thanks for sharing. From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Kyley Harris Sent: Tuesday, 19 January 2010 10:58 a.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Resizing images begin

Re: [DUG] Resizing images

2010-01-18 Thread John Bird
More specifically - does the GIMP or any other resizing method allow me to specify this?: Where say an image with a a white background (the transparent colour) meets a grey border, and the image is resized (especially if resized smaller), there will be on this edge a new pixel that has part of

Re: [DUG] Resizing images

2010-01-18 Thread Kyley Harris
Thanks, although I was asking John for an example of his concern. ;-) LoL.. see why programmers dont rule the world.. haha.. Its our specification techniques.. I saw.. Can you post an example? and think source.. not.. Hey John.. whats your concern with the image quality. LoL.. On Tue, Jan 19,

Re: [DUG] Resizing images

2010-01-18 Thread Kyley Harris
Unlikely.. Normally you'd Crop, Resize, and reapply a border. On Tue, Jan 19, 2010 at 11:14 AM, John Bird johnkb...@paradise.net.nzwrote: More specifically - does the GIMP or any other resizing method allow me to specify this?: Where say an image with a a white background (the transparent

Re: [DUG] Resizing images

2010-01-18 Thread Jeremy North
I purchased an icon pack from Glyphlab when it went on sale last year. Might still be cheap. Has heaps of different icons in all the required formats. Only has them in 16, 24, 32 and 48 sizes. I also own a copy of Axialis Icon Workshop which is great for creating icons. They include a number of

Re: [DUG] Resizing images

2010-01-18 Thread Jeremy Coulter
I have used this site a few times :- http://www.iconarchive.com/ they are meant to be free, most are some go off to pay for sites, but you can usually find ones you want. Jeremy On Tue, Jan 19, 2010 at 11:18 AM, Jeremy North jeremy.no...@gmail.comwrote: I purchased an icon pack from Glyphlab

Re: [DUG] Resizing images

2010-01-18 Thread Conor Boyd
What I think you're seeing (without seeing your example) is the softness introduced by most resampling algorithms (when used for downsampling). Something like Bicubic Sharper in PS or Lanczos Kernel in Irfanview might help. However, most of these sharpening algorithms probably work better on

[DUG] Offtopic - but....

2010-01-18 Thread Jeremy Coulter
I know thi sis offtopic, but does anyone know WHY FireFox consumse SO MUCH RAM ?? I have 8 tabs open and its usign over 400MB !! Its complete madness ! I have started going off Firefox lately. On ym Vista 64bit install at home, I cant do an F5 to refresh, I have to do a CTRL+F5 . grrr

Re: [DUG] Resizing images

2010-01-18 Thread John Bird
Here is an example.shows the original larger image and the resized one. You can see the ragged border when the image is on a darker background, as the offending pixels are not the same as the transparent colour of the rest of the square image out to the edges - they have been altered in

Re: [DUG] Resizing images

2010-01-18 Thread Kyley Harris
I think the real problem here is that your original image was probably made using Layers in Photoshop etc, and saved as PNG. to get the same quality you need the Layered source so that antialiasing is done properly when shrunk and then saved again. There is no realy way to correct this issue when

Re: [DUG] Offtopic - but....

2010-01-18 Thread John Bird
Firefox does use more ram over time - restart it and you will find the memory use dives. Its not all Firefox's fault - some is memory leaks, but most is from Flash and other plugins, so other browsers will do the same. Hint later versions are usually better at using less memory! So check your

Re: [DUG] Resizing images

2010-01-18 Thread Conor Boyd
What I have just tried is this: Open your double image in Irfanview. Crop it to the left hand image. Open the Resize/Resample dialog. Choose to resize it in half. Choose to Apply Sharpen after resample. Choose to Resample using Lanczos Kernel. Voila, it looks pretty good to me. The main point

Re: [DUG] Resizing images

2010-01-18 Thread Kyley Harris
Talking about images.. Isn't it damn annoying how delphis TBitmap, TGraphic, TJPEGimage etc do not expose or make available any of the header information such as DPI. you have to save it to a stream and then rip it all our yourselves even though they parse the information to extract little bits.

Re: [DUG] Resizing images

2010-01-18 Thread Ayers, Stephen
Have you tried the office picture manager. I just took a screen capture of that link and saved it as a png and then resized that png in Office picture manager(comes with Office) and it looks fine. Could you provide a link to the image without the background? Steve Ayers Analyst Programmer

Re: [DUG] Offtopic - but....

2010-01-18 Thread Jeremy Coulter
Yes I thought aboutt eh flash stuff, but even when I have pages open with no flash it uses a lot of ram too...I have already got rid of chrome for the same reasons. Figured it was not worth having 2 memory hungry browsers installed :-) Jeremy On Tue, Jan 19, 2010 at 12:23 PM, John Bird

Re: [DUG] IPC with an elevated program

2010-01-18 Thread Ross Levis
I don't really want global shared memory. The reason for the small app is to have the UAC prompt appear when I need to make changes to the HKLM registry, which is very rare. There is a standard way to do this but it sounds difficult. Some sort of DLL needs to be created I believe. Ross.

Re: [DUG] IPC with an elevated program

2010-01-18 Thread Kyley Harris
I just use TCPIP for everything.. then it doesn't matter where the stuff is residing and its as simple as you can get for communicating. On Tue, Jan 19, 2010 at 2:13 AM, Ross Levis r...@stationplaylist.comwrote: This is not strictly Delphi related but hope someone can help. Since Vista

Re: [DUG] Offtopic - but....

2010-01-18 Thread Roger Kingaby
Look out for flash adverts on any page you are viewing, cricinfo, stuff and facebook all use that sort of thing and they absolutely kill my mac. If the kids have left facebook open and then switched users, performance goes through the floor (particularly if all three of them have been doing the

Re: [DUG] Offtopic - but....

2010-01-18 Thread John Bird
Whatever you do don't use IE at the moment! (Some people in Google are feeling this acutely!) Did restarting Firefox drastically reduce memory use? John - Original Message - From: Jeremy Coulter To: NZ Borland Developers Group - Delphi List Sent: Tuesday, January 19, 2010 12:52

Re: [DUG] IPC with an elevated program

2010-01-18 Thread David O'Brien
Could you just use a TCP/IP socket? A bit more work, but no major problem... From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Ross Levis Sent: Tuesday, 19 January 2010 1:26 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] IPC with an

Re: [DUG] IPC with an elevated program

2010-01-18 Thread Conor Boyd
I went down the elevated COM DLL route that you mention about 6 months ago, and it works very well. There's a post on StackOverflow here (http://stackoverflow.com/questions/923350/delphi-prompt-for-uac-elevati on-when-needed/923551#923551) that I contributed to that should have the info you

Re: [DUG] Offtopic - but....

2010-01-18 Thread Jeremy Coulter
Actually IE is working the best of all of them ! Restarting the FF session did sort the memory our obivously, but it started increasing straight away. Ah well On Tue, Jan 19, 2010 at 1:40 PM, John Bird johnkb...@paradise.net.nzwrote: Whatever you do don't use IE at the moment! (Some people

Re: [DUG] Offtopic - but....

2010-01-18 Thread Edward Koryagin
IE has a lot of security issues... Edward Koryagin --- On Tue, 19/1/10, Jeremy Coulter jscoul...@gmail.com wrote: From: Jeremy Coulter jscoul...@gmail.com Subject: Re: [DUG] Offtopic - but To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz Received: Tuesday, 19 January,

Re: [DUG] Offtopic - but....

2010-01-18 Thread Jolyon Smith
That would explain a few things. IE is always calling and asking where I am, wanting to know what other browsers I'm with, etc etc :) -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi- boun...@delphi.org.nz] On Behalf Of Edward Koryagin Sent: Tuesday, 19 January

Re: [DUG] Offtopic - but....

2010-01-18 Thread Jeremy Coulter
Ok, this wasnt intened to be a browser war. I am pretty sure everyone is aware of the IE has security issues. Jeremy On Tue, Jan 19, 2010 at 2:34 PM, Jolyon Smith jsm...@deltics.co.nz wrote: That would explain a few things. IE is always calling and asking where I am, wanting to know what

Re: [DUG] Offtopic - but....

2010-01-18 Thread Sean Cross
Ram? I find processor usage is the problem. It can suck up 30% of my processor for no apparent reason when it's just sitting in the background! Regards Sean Cross CIO Catalyst Risk Management PO Box 230 Napier 4140 DDI: 06-8340362 Mobile: 021270 3466 Visit us at

[DUG] Offtopic - but....

2010-01-18 Thread Ayers, Stephen
Yes FF consumes a lot of ram. I don't think there is anything you can do about it. Steve Ayers Analyst Programmer The information contained in this email is privileged and confidential and intended for the addressee only. If you are not the intended recipient, you are asked to respect that

Re: [DUG] Offtopic - but....

2010-01-18 Thread Jeremy Coulter
Bring back Gopher i say !!oops think I have been using the internet for too long !:-) On Tue, Jan 19, 2010 at 4:50 PM, Sean Cross sean.cr...@catalystrisk.co.nzwrote: Ram? I find processor usage is the problem. It can suck up 30% of my processor for no apparent reason when it's just

Re: [DUG] Offtopic - but....

2010-01-18 Thread John Bird
If its eating CPU go looking thru the tabs for ones with flash running - hint anything that moves. See if closing them fixes the problem. There has been requests in the Firefox development list for a task manager for tabs like Chrome has, and the ability to turn off all background/invisible

[DUG] MSSQL with D2007

2010-01-18 Thread John Bird
Been trying to connect to MSSQL 2005 with DB Express (TSQLConnection and TSQLQuery), but cannot get it to work, we are getting an access violation at address 017E0913 in DBXMSS30.DLL read of address 0182 Using instead ADO (TADOConnection and TADOQuery) works fine, but is slow - 7000

Re: [DUG] Offtopic - but....

2010-01-18 Thread John Bird
My Firefox (3.7) is using 12-13%cpu and 400MB with 88 tabs open at the moment. Thats not too bad... John From: Sean Cross To: NZ Borland Developers Group - Delphi List Sent: Tuesday, January 19, 2010 4:50 PM Subject: Re: [DUG] Offtopic - but Ram? I find processor

Re: [DUG] MSSQL with D2007

2010-01-18 Thread Dennis Chuah
John, Hi. If you do not use data aware controls, or otherwise need TDataset, then I would recommend that you use ADO directly. Fast, simple, and does not have the overhead of TADOConnection, etc. I normally import the type library into Delphi, but you can also use the one that comes with