RE: Tool to find un-linked event in delphi source

2010-01-05 Thread Cosmin Prund
Here's how I'd do it: Make an small program that does the following: (1) Gets the list of files in your project's directory, without extension (it's simpler that way). (2) Loop over the list of files; Check if both the .PAS and .DFM file variants exist. (2.1) If both variants exists open the

RE: Access violation in Delphi 7 unit - Help!

2009-01-29 Thread Cosmin Prund
information to track down the problem. -- Cosmin Prund -Mesaj original- De la: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] În numele Ross Levis Trimis: Thursday, January 29, 2009 2:02 AM Către: 'Borland's Delphi Discussion List' Subiect: Re: Access violation in Delphi 7

RE: Hibernating an application

2009-01-23 Thread Cosmin Prund
application explicitly, using other means. -- Cosmin Prund -Mesaj original- De la: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] În numele Chris Stebbing Trimis: Friday, January 23, 2009 2:29 AM Către: Delphi List Subiect: Hibernating an application Hi All

RE: Protecting myself from consequences of lack of time/effort

2008-11-14 Thread Cosmin Prund
an hint every time a unit is compiled. This is probably excessive for what you seem to need. -- Cosmin Prund ___ Delphi mailing list - Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

RE: Separating UI and Domain

2008-10-28 Thread Cosmin Prund
to support the model. -- Cosmin Prund ___ Delphi mailing list - Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

RE: Best async ADO/ODBC component for generic DB access?

2008-10-21 Thread Cosmin Prund
into the list (no need for the sleep command to time-out). -- Cosmin Prund __ Delphi-Talk mailing list - Delphi-Talk@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

RE: Ang. RE: GUI-questions

2008-10-07 Thread Cosmin Prund
make fixing the problem easy. -- Good luck, Cosmin Prund ___ Delphi mailing list - Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

RE: GUI-questions

2008-10-04 Thread Cosmin Prund
know how you can easily fix it. I made a TPanel descendent that has an property to select the kind of XP theaming drawing to apply to it. I can place that panel on any form and give it the XP Dialog look (the whitish background). -- Cosmin Prund ___ Delphi

RE: Data Structure for Sorting

2008-09-24 Thread Cosmin Prund
-numbering everything in the moved tree. Using the structure should be easy. If you need more information please ask. -- Cosmin Prund -Mesaj original- De la: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] În numele Alan Colburn Trimis: Wednesday, September 24, 2008 3:18 AM Către

RE: Windows Update Thread

2008-08-15 Thread Cosmin Prund
). If you need more assistance please tell us a bit more about your application: What kind of components are you using for internet access, what other non-visual components are you using (TTable?), what are you using to display status information (TLabel? ProgressBar?). -- Cosmin Prund -Mesaj

RE: Proper way to pass components as parameters?

2008-07-02 Thread Cosmin Prund
or a simple parameter (no const, no var) probably makes little difference to the execution speed of your application. Using/not using const would be down to personal preference. -- Cosmin Prund -Mesaj original- De la: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] În numele Stewart, James Trimis

RE: Strange Bugs

2008-05-20 Thread Cosmin Prund
read the logs if your application crashes (ie: log to a file, not to a location in memory, and flush the file after each log message written). Make the application crash, read the logs, improve logging and try again. -- Cosmin Prund -Mesaj original- De la: [EMAIL PROTECTED] [mailto

RE: Embarcadero Technologies to Acquire CodeGear from Borland Software

2008-05-08 Thread Cosmin Prund
My thoughts on the matter: I *never* heard of Embarcadero Technologies but doing a quick search I was pleased to find they've set up an large development center in Romania, in a city with a long academic tradition (Iasi). This is probably a good move since Delphi is very popular in our part of

RE: copy protection

2008-03-28 Thread Cosmin Prund
And if you want that CPUID string decoded pay a visit to http://www.cpuid.com and download CPU-Z - it provides all available information about the CPU (+MOBO and RAM as an extra) and you can also buy an API from them that does the same as the freeware CPU-Z: No CPU serial number there! -- Cosmin

RE: copy protection

2008-03-27 Thread Cosmin Prund
into your own hands you can write something that runs on the host system (where they probably have USB support) and write something that talks to the dongle and communicates with your application over TCP/IP. And then hope the user is not using XEN on a UNIX host. -- Cosmin Prund

RE: copy protection

2008-03-27 Thread Cosmin Prund
Doug Chamberlin wrote: Francois Piette wrote: I have a few delphi (5 and 7) applications protected by USB dongle. Now customar will run these applications on virtual machines making USB impossible. AFAIK, USB is OK with virtual machines such as VMWare. Yes, USB support is included

RE: D7 on Vista

2008-03-07 Thread Cosmin Prund
for your applications (if you miss some files and need to re-build your installer you'll simply roll-back your virtual machine and try again - a 1 minute job, not a 40 minutes job for a full system reinstall!) -- Cosmin Prund ___ Delphi mailing list

RE: Search from beginning of a file

2008-02-19 Thread Cosmin Prund
The search box has group box labled Origin containing two radio buttons: From cursor and Entire scope. Just keep Entire scope checked and the search will always start at the top - those I also hate this behaviour. -- Cosmin Prund -Mesaj original- De la: [EMAIL PROTECTED] [mailto

RE: Avoiding form loops?

2007-12-18 Thread Cosmin Prund
:-) -- Cosmin Prund ___ Delphi mailing list - Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

RE: How to have menu short-cuts acted on when TComboBox is open?

2007-11-16 Thread Cosmin Prund
, unless the combo box also runs its own pump while the drop down window is down :-) And I'm sure there are other ideas... -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chuck Belanger Sent: 14 noiembrie 2007 22:06 To: Delphi Listserve

RE: As EXE grows Delphi (7) gets way slower; what to do?

2007-10-16 Thread Cosmin Prund
, really long time. If you find such a beast it probably contains a lot of stuff that can better be left outside the exe (ex: data in TJvData containers, large images in TImage containers). Try moving the data outside the exe and everything will be simpler. -- Cosmin Prund

RE: Creating new solutions

2007-10-10 Thread Cosmin Prund
that doesn't over-stress the memory manager (because it does not create memory fragmentation - at least it shoudn't). -- Cosmin Prund __ Delphi-Talk mailing list - Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk

RE: Sorting 24 floats billions of times - or not

2007-09-28 Thread Cosmin Prund
doubt there's any computer out there that can do it within our collective life span, because you basically need to test all possible combinations. How do you define top values? -- Cosmin Prund ___ Delphi mailing list - Delphi@elists.org http

RE: About compiler-compilers, parsers

2007-08-15 Thread Cosmin Prund
! I guess I'll have to call them tonight from home, so it would be early morning business hours in Hawaii! Funny thing this globalization. -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sid Gudes Sent: 14 august 2007 20:44

RE: About compiler-compilers, parsers

2007-08-14 Thread Cosmin Prund
for a bigger project to test my new tools! You might try asking on the comp.compilers newsgroup. I just registered to the email variant of comp.compilers newsgroup. Thanks for the tip! -- Cosmin Prund ___ Delphi mailing list - Delphi@elists.org http

RE: About compiler-compilers, parsers

2007-08-14 Thread Cosmin Prund
, are you using it with Delphi? Have you ever used lex+yacc? Does it offer anything extra compared to those, except a visual editor and a debugger? Thanks for reminding me of Visual Parse++ -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sid

RE: About compiler-compilers, parsers

2007-08-13 Thread Cosmin Prund
mostly parsing configuration files. Those configuration files sometimes include computable expressions but that's as far as it goes! -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arjang Assadi Sent: 13 august 2007 04:22 To: Borland's

RE: Rare access violations reading listitem.subitems

2007-08-12 Thread Cosmin Prund
the same for the end user but you get the chance to store data in your own objects, so there's no chance of anything getting freed or re-created behind your back! -- Cosmin Prund ___ Delphi mailing list - Delphi@elists.org http://www.elists.org/mailman

About compiler-compilers, parsers

2007-08-12 Thread Cosmin Prund
. For now I'm writing all my lexers / parsers by hand and it works but it's a bit messy - especially when it's time to change bits of code that have been written years before! -- Thanks, Cosmin Prund ___ Delphi mailing list - Delphi@elists.org

RE: Rare access violations reading listitem.subitems

2007-08-11 Thread Cosmin Prund
to TComboBox's TStrings.Object[] thing. Whenever I trace a problem to something like this I always change my program not to depend on anything GUI for its data. Ex: I use a basic TStringList to hold data related to an TComboBox item. As for TListView, I prefer TVirtualTreeView! -- Cosmin Prund

RE: Dynamically loading TTabSheets into a TPageControl from externalmodules?

2007-08-03 Thread Cosmin Prund
by the minute, is it a problem to simply re-download an full setup.exe and use it to update an existing installation? That way you'll have a lot more control over the way things work, and a lot more options. -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

RE: Problems while creating/running apps for Vista

2007-07-25 Thread Cosmin Prund
. But it doesn't change the fact that your trying to work around administrative limitations. We all have our battles... -- Cosmin Prund ___ Delphi mailing list - Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi

RE: Problems while creating/running apps for Vista

2007-07-24 Thread Cosmin Prund
Business for a VM - or get a MSDN OS Subscription). -- Cosmin Prund ___ Delphi mailing list - Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi

RE: Problems while creating/running apps for Vista

2007-07-23 Thread Cosmin Prund
installer might started as a limited user but get promoted to Administrator if required. That's why applications like Office have a preparing stuff for first use that runs the first time you run the application, not as part of the installer. -- Cosmin Prund -Original Message- From: [EMAIL

RE: Problems while creating/running apps for Vista

2007-07-23 Thread Cosmin Prund
don't fix it). It's now time to change as I don't like the instructions I just gave. -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nesler, Thomas J Sent: 23 iulie 2007 16:26 To: Borland's Delphi Discussion List Subject: RE

RE: Problems while creating/running apps for Vista

2007-07-23 Thread Cosmin Prund
required but have the native XP/Vista look in all other places. -- Cosmin Prund ___ Delphi mailing list - Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi

RE: Cookies

2007-07-19 Thread Cosmin Prund
around networking and RFC's. -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rainer von Saleski Sent: 18 iulie 2007 21:25 To: delphi@elists.org Subject: Re: Cookies Thank you. Cosmin, THANK YOU! My original problem was using

RE: Problems while creating/running apps for Vista

2007-07-18 Thread Cosmin Prund
my app works on Vista. But at the end of the day I *know* Vista is a good thing for average-Joe computer user, so I'll just write the code. My XP users are routinely having problems because of viruses. I haven't had a Vista problem yet! -- Cosmin Prund -Original Message- From: [EMAIL

RE: Packages and memory use

2007-07-18 Thread Cosmin Prund
, that write would be completely invisible to any other process using the same BPL. -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darren McBride Sent: 18 iulie 2007 11:25 To: 'Borland's Delphi Discussion List' Subject: Packages

RE: Cookies

2007-07-17 Thread Cosmin Prund
: You may get rid of the error by surrounding your login code with an try-except block. -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rainer von Saleski Sent: 15 iulie 2007 23:43 To: delphi@elists.org Subject: Re: Cookies Hi

RE: MessageDlgPos

2007-07-12 Thread Cosmin Prund
... -- Cosmin Prund ___ Delphi mailing list - Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi

RE: Cookies

2007-07-03 Thread Cosmin Prund
). -- Cosmin Prund ___ Delphi mailing list - Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi

RE: Digital Timing needs AND a component install problem

2007-06-25 Thread Cosmin Prund
. -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Meek Sent: Monday, June 25, 2007 5:54 PM To: delphi@elists.org Subject: Digital Timing needs AND a component install problem Morning all, It feels great to be back

RE: Delphi Road Map has been published

2007-06-25 Thread Cosmin Prund
You say something about the paged pool system memory heap limiting available memory to something as low as 491Mb... what is the paged pool system memory heap and are you sure the limit is that low? I've done a bit of experimenting on my own, using VirtualAlloc and VirtualLock to see how much

RE: Good morning Delphi question

2007-06-25 Thread Cosmin Prund
you're developing specialty software for a narrow market, you ether follow GUI trends or you get left behind. It's that simple. -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:delphi-talk- [EMAIL PROTECTED] On Behalf Of Peter Laman Sent: Monday, June 25, 2007 1:18 PM

RE: Delphi RoadMap has been published

2007-06-23 Thread Cosmin Prund
point in time. Just my 2 cents, Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David J Taylor Sent: Monday, June 18, 2007 12:56 PM To: Borland's Delphi Discussion List Subject: Re: Delphi RoadMap has been published Glenn Crouch wrote

RE: Multi select not working as expected in TFileList.

2007-06-21 Thread Cosmin Prund
to multi-select things, and especially when trying to multi-select objects on a Delphi form. Is it possible that you're running into an equally-bizarre problem with your Vista? -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Meek

RE: Delphi RoadMap has been published

2007-06-19 Thread Cosmin Prund
Delphi Tiburón seems like a really nice version, considering it will include proper Unicode support and generics. Looking forward for it. Also it's interesting how most comments on the page are fairly negative while the rating is high... -- Cosmin Prund -Original Message- From

RE: OOP -- Persisting Lists

2007-05-21 Thread Cosmin Prund
You're not actually saving objects to files/databases but the contents of those objects, and in most cases the contents is going to be string, integer, Boolean. If you need to google for this, try googling for object serialization. There are a number of methods that may be used with Delphi

RE: problems with SizeOf

2007-05-18 Thread Cosmin Prund
your version of the Exe (no file-saving, no network transmission), and that's because alignment might be different for different compilers (or different versions of the same compiler). -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

RE: Recommendations for ISP?

2007-04-26 Thread Cosmin Prund
If you previously had your own on-site server consider getting an hosted server. Actually - given your list of requirements I'd be really surprised if *any* single provider provides everything! -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

RE: Recommendations for ISP?

2007-04-26 Thread Cosmin Prund
remote restart - so you don't need to drive to your hosting location to push the restart button if your Windows Server decides to crash). -- Cosmin Prund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sid Gudes Sent: Thursday, April 26, 2007 9:24 AM

How to embed/attach Vista manifest to Delphi produced exe?

2007-04-13 Thread Cosmin Prund
care about plus lots and lots of info about the XP Manifest, but not enough info about the Vista manifest to get me going. Did anyone make more progress on this? Thanks, Cosmin Prund ___ Delphi mailing list - [EMAIL PROTECTED] http

Re: Delphi 2005... Delphi 2007

2007-03-16 Thread Cosmin Prund
on 24 times slower hardware? Or do we want our software to do something with that extra power? CubicDesign wrote: Cosmin Prund wrote: About the new computer: I don't know about you, but on my side, software is sooo expensive it makes hardware look cheap. I don't know how it looks

Re: Delphi 2005... Delphi 2007

2007-03-11 Thread Cosmin Prund
Will D2007 have support for Dot NET? It seems to be called Delphi for Win32 - that's awkward. Being as stable as D7 sound really, really really good. It is not available as trial nor commercial. It is simply that I'm a fieldtester for Delphi 2007 and highlander for months. I've been grante the

Re: don't be like me!

2007-03-05 Thread Cosmin Prund
Never trust a human to do a repetitive job. Do your backups from a script that starts from a scheduler! CubicDesign wrote: Hi list! I just lost 6 days of intensive work because of a Realtek audio driver which crashed my computer (BSOD). I heard that a DCP package can be converted back to

Re: memory leak in Delphi

2007-03-02 Thread Cosmin Prund
Memory leaks in Delphi's code might not be memory leaks at all. They might represent objects kept in memory for the life of the program that use the side-effect of closing the program to free the associated memory. I also use a similar technique for all kinds of global (singleton) objects. I

Re: licensing / security question

2007-02-24 Thread Cosmin Prund
How about a very simple solution like locking the license to the user's computer name. Unless your product is expensive I doubt users will start changing computer names so they can used the application as licensed for a friend's computer. IbExpert (HK-Software) uses this solution and I'm

Re: licensing / security question

2007-02-22 Thread Cosmin Prund
inconvenient for the final user, it's not worth it. -- Cosmin Prund [EMAIL PROTECTED] wrote: Hi, I have a standard delphi .exe that I want to distribute to authorised Users, but do not want the application to be copied/sent to their friends/colleagues. I need a way of linking the executable

Re: ASP.NET question: How do I deploy a web site from my development machine to a production server?

2007-02-16 Thread Cosmin Prund
Got it. I had to do %windir%\Microsoft.NET\Framework\vxx\aspnet_regiis.exe -i Cosmin Prund wrote: Hello everyone. I've managed to get my web site to a reasonable level of functionality and now I want to move it to my production server (an WinXP system). So I copied my application from

ASP.NET question: How do I pass a parameter to a new page?

2007-02-15 Thread Cosmin Prund
to the browser?). With controls I can create an control and the cast it to the correct type, call some method on it to prepare it. Can I do this with a whole page? Thanks, Cosmin Prund __ Delphi-Talk mailing list - Delphi-Talk@elists.org http

Re: ASP.NET question: How do I pass a parameter to a new page?

2007-02-15 Thread Cosmin Prund
NewPage := LoadPage('ShowObject.aspx'); NewPage.id_obj := 1234; NewPage.InitPage; Server.ShowThisPage(NewPage); end; Thanks, Cosmin Prund Kraven wrote: Hi there, I'm not a .NET programmer but I am an ASP expert. Request.Form(formobjectnamehere) is how to obtain the value within any object

Re: ASP.NET question: How do I pass a parameter to a new page?

2007-02-15 Thread Cosmin Prund
Hmmm - I'm starting to think there's no other way, and I don't get it. Isn't this supposed to be an easy, frequent thing to do? Bob Swart wrote: Hi Cosmin, Do a Redirect to a page with information after the ? character. Like the following: Details.aspx?Id=42 And then in the

Re: ASP.NET question: How do I pass a parameter to a new page? - Conclusion

2007-02-15 Thread Cosmin Prund
(using Redirect) or the Session StateBag. I think I need to do a lot more reading on ASP.NET page processing so I'll truly understand this. Thanks for all info, Cosmin Prund Cosmin Prund wrote: Hello. I've got an ASP.NET form with a button on it. From the Button click I want to show a different

Re: Compile resource file containing XP-style colorful icons

2007-02-08 Thread Cosmin Prund
Thanks, this one does work for my problem since it allows me to edit the RES file. Thanks, Cosmin Prund Alfred Vink wrote: Or try this freeware one: http://www.wilsonc.demon.co.uk/d10resourceeditor.htm Alfred __ Delphi-Talk mailing list

Re: Compile resource file containing XP-style colorful icons

2007-02-07 Thread Cosmin Prund
Found it, it's in the SDK Cosmin Prund wrote: Is the MS resource compiler available for download somewhere? I did google a bit but I wasn't able to find anything. Thanks, Cosmin Prund Jeremy North wrote: This is because brcc32 is rubbish. It only supports 256 color icons I believe

Re: Threading - Assumption

2007-02-06 Thread Cosmin Prund
. -- Cosmin Prund Darling, Michael wrote: Am I right in thinking that, if you are using a separate thread to perform a process it should not call any code in the main thread? I have a situation where a process is consuming a lot of time so have moved it into its own thread, however the problem

Re: About the size of the compiled (exe) files

2007-02-06 Thread Cosmin Prund
You'll have to compare detailed map files for your versions of the exe (with and without the extra DLL's) if you really want to get an idea of what's going on in there. Maybe including your unit required the inclusion of other extra units that you didn't account for. Besides, the map file will

Re: TidHTTP

2007-02-05 Thread Cosmin Prund
might be enough). -- Cosmin Prund Ross Levis wrote: I'm using Indy 9 in D7, and in my audio player I'm using a HTTP.Get to retrieve a webpage inside a separate thread so as to not affect operation of the main user interface. However, during the execution of the Get, my main form stops

Re: Scope and Message Passing

2007-02-04 Thread Cosmin Prund
Tom Blocker wrote: And for the record, I stated not once but TWICE that an assert should be used in an else stmt to help the maintainers of the code. If I thought that such an error might escape development and function\regression testing then I would include exception handling or other

Re: To Helen or any Firebird pros

2007-01-26 Thread Cosmin Prund
Robert Meek wrote: Btw, is the IBExpert you spoke of a visual IDE for SQL like database workbench? I have a copy of that already, and I know how to use it if they pretty much do the same things. Yes, IBExpert is a tool for working with databases (designing databases, running queryes).

Re: To Helen or any Firebird pros

2007-01-25 Thread Cosmin Prund
Hello Robert, here's what I found about Firebird the last two days: As you might have noticed I've started working on a ASP.NET application using Delphi and I obviously wanted to use my favorite database, Firebird. First of all there's not much info on Firebird + ADO.NET provider + Delphi.NET,

ASP.NET / ADO.NET query parameters by name

2007-01-24 Thread Cosmin Prund
to those parameters by POSITION (difficult to maintain). In the Win32 world I would have used named parameters and that's really easy to maintain. Am I missing something? I sure hope I'm missing something... Thanks, Cosmin Prund ___ Delphi-DB mailing list

Re: ASP.NET questions

2007-01-24 Thread Cosmin Prund
Rob Kennedy wrote: Cosmin Prund wrote: I'm just getting started using ASP.NET and I'm doing it using Delphi 2006. I've got a few questions. (1) It seems there's no equivalent of a DataModule. I'm sure I read something about this but now I'm thinking: what do I use in place? Do I

ASP.NET questions

2007-01-23 Thread Cosmin Prund
and DataTextField values in what's supposed to be the right way I get a message like: DataBinder.Eval: 'System.Data.Common.DbDataRecord' does not contain a property with the name 'ID_TEST' Why is it looking for a property when in should be looking for an field? Thanks, Cosmin Prund

Re: ASP.NET questions

2007-01-23 Thread Cosmin Prund
(2) How do I do a data binding for a DropDownList using a BdpConnection and a BdpCommand? I've managed to manually populate the DropDownList in a while-do loop (so I think I wired up most things properly) but if I set up the DataSource and DataTextField values in what's supposed to be

Re: //Get previous window

2007-01-10 Thread Cosmin Prund
! -- Cosmin Prund Peter Laman wrote: Hi all, Win32 question: If I switch to my application from another app, how can I detect which window from the previous application had input focus before switching apps? Peter Laman Senior Software Engineer Lance ICT Group Roermond, the Netherlands http

Re: Delphi - current status and future?

2007-01-03 Thread Cosmin Prund
Found some Delphi-AJAX stuff! It seems there's at least 1 AJAX (beta) site alive on the Internet at this very moment, and there might be many more. Link: http://ajax.marcocantu.com/doc/DelphiAndAjax.html Marshall E. Fryman wrote: Robert - I think you have a US-centric view of the

Re: Windows XP network security issue and my Delphi application

2006-12-18 Thread Cosmin Prund
Brian wrote: Possible ?? XP has the feature that if a particular network port is not physically connected it will disable it - this means that you can get a ping to the loopback address (127.0.0.1) and but NOT from the actual IP addresses. Not physically connected can occur for several

Re: Windows XP network security issue and my Delphi application

2006-12-17 Thread Cosmin Prund
From the server machine I can connect to the Firebird server using telnet 127.0.0.1 3050. If I try telent REAL_IP_ADDR 3050 the connection fails! I don't remember the error number (if any) but it was most likely time out related. If I run netstat -n -a -o I see the firebird process listening on

Re: Windows XP network security issue and my Delphi application

2006-12-17 Thread Cosmin Prund
fault. Thanks, Cosmin Prund Wilfried Mestdagh wrote: Hello Cosmin, Just tried telnet.exe on a NT machine, and it does give you the winsock error neather :( You mention ICS in a previous post. You can setup a client using TWSocket to connect and display the winsock error in the appropriate

End-user form designer?

2006-12-13 Thread Cosmin Prund
) recommendations? Thanks, Cosmin Prund __ Delphi-Talk mailing list - Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk

Re: End-user run-time reporting tool

2006-12-10 Thread Cosmin Prund
Tahnks for everyone who responded. I was evaluating ReportBuilder but have switched to FastReports. Thanks. Cosmin Prund wrote: Hello. What reporting tools with run-time end-user reporting components do you use or recommend? How easy is it for the end-user to use such a tool

End-user run-time reporting tool

2006-12-08 Thread Cosmin Prund
not sure Quick Reports banded paradigm would be useful for the non-programmer user. So I need to re-tool :) Thanks, Cosmin Prund __ Delphi-Talk mailing list - Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk

Re: Bug in Delphi? Not a bug - problem solved.

2006-11-21 Thread Cosmin Prund
CubicDesign wrote: *Dear Cosmin,* Sorry about that. I follow EXACTLY the steps described by you until step 6 because that's the only way the logic can flow. At that step, I had a problem with Delphi help system. It sometimes loses the path of my help files. I do not know why and I found

Re: Bug in Delphi? Not a bug - problem solved.

2006-11-19 Thread Cosmin Prund
-pasted from the Controls unit so it wasn't difficult. -- Cosmin Prund, Happy Coding everyone! CubicDesign wrote: I use small cells (13x13 pixels) in my TStringGrid, and the InpalceEditor (which I use it now) is also small, so I need to replace it with something bigger. Please tell me

Parser / lexer generator

2006-11-16 Thread Cosmin Prund
parser / lexer generators support Delphi's TStream and how well suited are they for working in an object-oriented environment? Thanks, Cosmin Prund __ Delphi-Talk mailing list - Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk

Re: Borland Forming CodeGear to Focus Exclusively on Developer Productivity

2006-11-15 Thread Cosmin Prund
? Thanks, Cosmin Prund Glenn Crouch wrote: * Press Release: Borland forming CodeGear to focus exclusively on developer productivity This press release announces CodeGear - formerly Borland's Developer Tools Group. http://bdn.borland.com/article/33819 * Letter to our customers, partners

Help on ICS's HTTP client component

2006-11-08 Thread Cosmin Prund
about it... Please note I'm using GetAsync to get my document. I have posted the unit where all my code resides here: http://activari.sediu.ro/mail/UWebUpDown.pas Please note: the code will not compile as it requires a few other units, but all downloading code is there. Thanks, Cosmin Prund

Re: Advice on Closing TtcpClient

2006-10-04 Thread Cosmin Prund
would send a message to the thread and give it 10 seconds to close down cleanly. If the 10 seconds past and the thread didn't shut down I would simply TerminateThread() the thing! -- Cosmin Prund John Barrat wrote: I was wrong - it does still leave a thread running - suggestions for closing

Re: Block a website in IE using delphi program

2006-08-28 Thread Cosmin Prund
Next the kid will download Opera. Opera has a really nice easy setting for proxy. Just hit F12 and you'll get a popup allowing you to enable/disable proxy servers with a single click. Proxy settings are voluntary in a way. The application doing the actual connecting to the Internet has to

Re: Turbo Editions

2006-08-11 Thread Cosmin Prund
In this new light, am I crazy for ordering a small team pack of D2006 at this time? Will D2006 become an dead, un-paranted product, incompatible with the new product-line? I'm pretty sure Borland would not answer those questions... Glenn Crouch wrote:

Re: explicittop left width etc

2006-08-09 Thread Cosmin Prund
Here's an idea: This would make your exe run-time compatible with the streaming format of D2006. It will not work for the IDE but, as you noticed, it doesn't actually matter since you can ignore the read errors when you open the DFM's in D2005 and work on them. (1) Take a look at the class

Re: Incrementing numbers withy leading zeros

2006-08-06 Thread Cosmin Prund
Hi Mike. My function was ment to be a bit more generic, it was supposed to increment the first group of digits in any given string, maintaining it's length and maintaining it's position in the original string. Since I did not try the code in Delphi I did not notice the first 1 in your string.

Re: Incrementing numbers withy leading zeros

2006-08-04 Thread Cosmin Prund
Shouldn't be that difficult. Try the code below (please note - written in mail client!) function IncrementComplexNumber(n:string):string; var Before, Number, NewNumber, After:string; i,t:Integer; begin // Init Before := ''; Number := ''; After := ''; t := 1; // read the string

Re: Serial Port and USB I/O...some additional OT questions in this area

2006-07-23 Thread Cosmin Prund
Windows does a good job at limiting direct hardware access for any kind of software, and it gets a lot of help from the processor and it's protected mode. That's why you no longer have direct port access in Delphi - it would be useless. Components like TurboPower Asynch probably make use of

Re: Re-Installing Delphi

2006-07-17 Thread Cosmin Prund
There has been a thread about this on the Talk list recently, you might want to look it up. It's subject line was Rebuilding Delphi / comparing installations. Other then that, take a moment to think about your components. If you're building most of your components from source chances are you

Re: Rebuilding Delphi / comparing installations

2006-07-11 Thread Cosmin Prund
I'll have to second Human and say overwriting a fresh Delphi instalation with a backed up one does work. Besides my (very) new VMWare solution I've got a TESTED solution for taking my development environment on to a second machine. Unfortunatelly I've tested this too many times. It does work,

Re: Rebuilding Delphi / comparing installations

2006-07-10 Thread Cosmin Prund
My latest solution to this problem is this: Put everything delphi-work-related into a VmWare Virtual Machine. Back it up often. Move your VM to your laptop when you're on the go: You'll have the EXACT same version on both your desktop and your laptop, and as an added benefit you'll be

Re: Learning OOP (part 3) -- follow-up

2006-05-29 Thread Cosmin Prund
What you've got in your sl variable is not the data associated with sl but a pointer to that data. When you pass sl as a parameter to your test function you're passing a copy of the pointer, so the called procedure would be working on the same area of memory. That's why you get all three

  1   2   >