Re: [DUG] Apologies (Was RE: Validating CDS files)
Hi Jolyon, At the end of the day its about respect, and that seems to be in short supply these days. I appreciate the inputs you bring, and your depth of knowledge, at the same time, a continual rant of something off the mark, twisting of words, and misquotation is bully boy behaviour, and I think its not necessary. I would like to see a return to old, where people can operate off an even slate, none of this Gen-Y crap. where whoever rants longest wins I accept your apology. (Even if not directed to me :) ) Matt > I do hope Kyley's comments were intended with tongue in cheek. > > > > Matthew's comments about people feeling "flamed" surprised and saddened > me... I was only replying to his messages, and when someone publicly > accuses > me of arrogance and regarding someone as retarded when I absolutely did > not, > I feel entitled to defend myself equally as publicly. > > > > If that has upset anyone then I apologise, but I certainly don't > understand > why it should make anyone feel disinclined to post to the list as Matthew > seems to have been told or indeed why anyone feeling that way didn't think > to address me directly with any concerns about any perceived "bad > behaviour" > on the list. > > > > > > I can't quite believe or understand how or why a well intentioned effort > to > help someone could have been interpreted so wrongly or why it turned into > a > character assassination in the way that it did. > > > > > > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On > Behalf Of Kyley Harris > Sent: Tuesday, 18 January 2011 13:40 > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] Validating CDS files > > > > I'm wondering if you analyzed your need for popcorn carefullly. You asked > for popcorn.. you got your popcorn. but perhaps you've been taken for a > ride. If we analyze your need carefully for an hour, what we could have > determined is that you truley wanted a 30 minute comedy show, and some > salt > - and -vinegar chips to go with it. Not popcorn at all. Perhaps the desire > for popcorn stemmed from your not correctly seeing your needs in the first > place. I feel its my duty to help you access the situtation so that you > get > what you need and not what you want. > > We could discuss this further privately, and I'm sure with all my > experience > in these situations that a 3 hour lunch break daily, with said included > comedies and chips will satisfy your needs more appropriately.. The > Popcorn > is just a bandaid. > > On Tue, Jan 18, 2011 at 12:44 PM, David Brennan > > wrote: > > Mmmm, I'm enjoying my popcorn as I watch... > > > -Original Message- > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On > Behalf Of Matthew Comb > > Sent: Tuesday, 18 January 2011 11:12 a.m. > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] Validating CDS files > >> Those developers that came back with "TO DO" lists were perhaps >> themselves >> not taking the time to understand the customers problems. The customer >> told >> them "those 10,000 features are great, but we'd really like X, Y and Z", >> so >> the developers simply came back to you with that list of "X, Y and Z". >> >> Far from analysing too much, they were most likely not analysing >> *enough*. > > What your argument does not take into account yet again (which was my > point that was missed), is the time and money factor. If you have a 1 day > or 2 day install, you do not have time to spend all 2 days taking on > customer requests when the customer is not yet up to speed with the > capabilities of the system. A customer often doesn't know what they need > until they get to use the system, then their requirements frequently > change. If you have unlimited time and money then by all means, spend > every waking moment analysing each and every item raised, Cameron would > probably tear his hair out. > >> >> >> That specialist you hired is most likely looking at the X, Y and Z and >> then >> asking the customer... "But what do you need X, Y and Z for?" then >> showing >> them that they already HAVE X, Y and Z among the 10,000 other features. >> >> >> That quite neatly demonstrates my point I think. Understand the >> problem... >> not only might the solution you are asking for not be ideal, but you >> might >> already be in possession of the solution !!! >> > > I don't think it does at all. > >> >
Re: [DUG] Validating CDS files
Bravo! > I'm wondering if you analyzed your need for popcorn carefullly. You asked > for popcorn.. you got your popcorn. but perhaps you've been taken for a > ride. If we analyze your need carefully for an hour, what we could have > determined is that you truley wanted a 30 minute comedy show, and some > salt > - and -vinegar chips to go with it. Not popcorn at all. Perhaps the desire > for popcorn stemmed from your not correctly seeing your needs in the first > place. I feel its my duty to help you access the situtation so that you > get > what you need and not what you want. > > We could discuss this further privately, and I'm sure with all my > experience > in these situations that a 3 hour lunch break daily, with said included > comedies and chips will satisfy your needs more appropriately.. The > Popcorn > is just a bandaid. > > On Tue, Jan 18, 2011 at 12:44 PM, David Brennan > wrote: > >> Mmmm, I'm enjoying my popcorn as I watch... >> >> -Original Message- >> From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] >> On >> Behalf Of Matthew Comb >> Sent: Tuesday, 18 January 2011 11:12 a.m. >> To: NZ Borland Developers Group - Delphi List >> Subject: Re: [DUG] Validating CDS files >> >> > Those developers that came back with "TO DO" lists were perhaps >> themselves >> > not taking the time to understand the customers problems. The >> customer >> > told >> > them "those 10,000 features are great, but we'd really like X, Y and >> Z", >> > so >> > the developers simply came back to you with that list of "X, Y and Z". >> > >> > Far from analysing too much, they were most likely not analysing >> *enough*. >> >> What your argument does not take into account yet again (which was my >> point that was missed), is the time and money factor. If you have a 1 >> day >> or 2 day install, you do not have time to spend all 2 days taking on >> customer requests when the customer is not yet up to speed with the >> capabilities of the system. A customer often doesn't know what they need >> until they get to use the system, then their requirements frequently >> change. If you have unlimited time and money then by all means, spend >> every waking moment analysing each and every item raised, Cameron would >> probably tear his hair out. >> >> > >> > >> > That specialist you hired is most likely looking at the X, Y and Z and >> > then >> > asking the customer... "But what do you need X, Y and Z for?" then >> showing >> > them that they already HAVE X, Y and Z among the 10,000 other >> features. >> > >> > >> > That quite neatly demonstrates my point I think. Understand the >> > problem... >> > not only might the solution you are asking for not be ideal, but you >> might >> > already be in possession of the solution !!! >> > >> >> I don't think it does at all. >> >> > >> > >> > "I have a legacy piece of software which very very rarely corrupts a >> >local data file - fact" >> > >> > The real problem to be solved is how/why the corruption occurs... >> > everything >> > else is just sticking plaster, not a solution, and even the sticking >> > plaster >> > can only help if you apply the right sort of dressing correctly. >> >> Thats right, that is the root problem, but as this piece of software has >> been in the field for 8 years, and is being decommissioned, there isn't >> a >> lot of point in that is there. So a bandaid is more than adequate. >> >> > >> > >> > "Regardless of the better long term solutions, we will take >> >a defensive programming measure to protect against the loading >> >of corrupt files." >> > >> > And my point in this area was that unless you understand how/where the >> > corruption is occurring, the defensive measures you might take may >> very >> > well >> > end up not being defensive at all. >> >> If you validate a CDS file, and don't load it if it is corrupt. That is >> a >> defensive measure. >> >> > >> > e.g. the idea of checksuming the output from the server... if the >> data >> > coming from the server is corrupt from the get-go, then check-summing >> > helps >> > you not one little bit. >> > >> >>
Re: [DUG] Validating CDS files
> You seem to be missing your own time and money factor... an hour spent > analysing a problem can save days spent wasting time building the solution > that was asked for but which ultimately wasn't needed. You are making an assumption that the analysis has not been already done. > > >"Thats just rubbish" > > Such a comprehensively and well presented case is hard to argue with. ;) Fact often is. > >> In other words, when someone asks for a solution, rather than stating a >> problem, the likelihood is that they are asking for the wrong solution >> from the very start! > > "Statistically probably correct more often than not, but still an >Arrogant assumption that the person is clueless / uninformed of > possible >solutions." > > Any arrogance and any derogatory characterisation of people involved is > entirely up to you. Its not entirely up to me, its also up to those people who have emailed me off list, because they've been flamed via the DUG list, and now no longer feel comfortable posting. That is a sad state of affairs, and one that certainly won't help (has helped) Delphi in NZ in the long run. > > As a simple statement of fact, people who are not adequately informed > often > make wrong choices. Determining the level of informed-ness of someone > that > asks for a specific solution, rather than asking for help in *finding* a > solution, is to my mind simply to be responsible and considerate. > You are assuming that people are not adequately informed. > > > "Its also arrogant to assume you know everything abou the motivation >And drivers as to why the person asked the question in the first > place." > > You completely miss the point, which is to positively HELP someone, not > demonstrate superior knowledge, not mock the person asking for the > solution, > but precisely to try to ensure that they GET a useful solution. If someone asks you for help with their orange tree, its not an open invitation for you to landscape their entire property. > > They asked for help after all. Don't they deserve it? > > > > "You should sell it to me because I asked to buy it." > > You are the one missing the point. If I just want to make money out of > people, then I certainly will be happy to sell you anything you wish to > pay > me for, and if you just want to spend your money take your custom to > someone > who is out to take it from you. Noel Leeming will happily exchange your > $$'s for Word 2010 without a murmur. > > But if you asked *ME* for a copy of Word 2010, it would surely be > reasonable > to think that you expected to benefit from my experience and knowledge in > IT. No ? I didn't ask you specifically, and didn't ask about the areas you answered. > > > I personally like to help people, not just exploit their > gullibility/stupidity/ignorance. That may be a financially rewarding > approach but it's not good for the soul. > I couldn't agree with you more, but I do challenge your definition of the word "help". > :) > > > > "Again you are incorrectly assuming that the person asking the question >Is a retard." > > All I can say is that you are the one that seems determined to make such > derogatory assumptions/characterisations. > > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Validating CDS files
> Those developers that came back with "TO DO" lists were perhaps themselves > not taking the time to understand the customers problems. The customer > told > them "those 10,000 features are great, but we'd really like X, Y and Z", > so > the developers simply came back to you with that list of "X, Y and Z". > > Far from analysing too much, they were most likely not analysing *enough*. What your argument does not take into account yet again (which was my point that was missed), is the time and money factor. If you have a 1 day or 2 day install, you do not have time to spend all 2 days taking on customer requests when the customer is not yet up to speed with the capabilities of the system. A customer often doesn't know what they need until they get to use the system, then their requirements frequently change. If you have unlimited time and money then by all means, spend every waking moment analysing each and every item raised, Cameron would probably tear his hair out. > > > That specialist you hired is most likely looking at the X, Y and Z and > then > asking the customer... "But what do you need X, Y and Z for?" then showing > them that they already HAVE X, Y and Z among the 10,000 other features. > > > That quite neatly demonstrates my point I think. Understand the > problem... > not only might the solution you are asking for not be ideal, but you might > already be in possession of the solution !!! > I don't think it does at all. > > > "I have a legacy piece of software which very very rarely corrupts a >local data file - fact" > > The real problem to be solved is how/why the corruption occurs... > everything > else is just sticking plaster, not a solution, and even the sticking > plaster > can only help if you apply the right sort of dressing correctly. Thats right, that is the root problem, but as this piece of software has been in the field for 8 years, and is being decommissioned, there isn't a lot of point in that is there. So a bandaid is more than adequate. > > > "Regardless of the better long term solutions, we will take >a defensive programming measure to protect against the loading >of corrupt files." > > And my point in this area was that unless you understand how/where the > corruption is occurring, the defensive measures you might take may very > well > end up not being defensive at all. If you validate a CDS file, and don't load it if it is corrupt. That is a defensive measure. > > e.g. the idea of checksuming the output from the server... if the data > coming from the server is corrupt from the get-go, then check-summing > helps > you not one little bit. > Agreed which is why I didn't ask about it. > > > You initially blamed the corruption on a flaky wifi connection - highly > unlikely for the reasons that I and others have explained. You then > explained that you were streaming the data, so the corruption might occur > in > sporadic bytes in the stream. I do not believe I did suggest the contents of the stream would be changed. What I said was that a TCP steam can be disconnected. this was yet another wild assumption on your part. If you send a 1GB file through a stream, it is NOT as Kyley suggested an All or Nothing approach. You are taking bytes into a stream. It is up to you whether or not you discard the stream based on a disconnection or not. That decision point is out of my control as it is Midas + DBX4MySQL which manages this. > > But then you seemed attracted to the idea of using XML as a potential way > forward, which would seem to contradict the streaming nature of the data > transmission. The incorrect assumption you made at the beginnning was that the CDS file was coming from the server as a file payload. Its not. The client is connecting to MySQL DB server directly. All suggestions and misunderstandings about hashing, file downloads, etc were based on that incorrect assumption. > > And now you admit: > >"I do not know yet where this corruption occurs. DB Server, Drivers, > In Memory, Saving of the file, Server DB." I don't, and it doesn't matter. Why ? Because at a rate of 1/1 it is a manageable issue, and with the software being decommissioned it is good business sense to investigate the server mechanics. its better to bandaid and move on. > > > > > > "Its not true to take the standpoint that if someone asks for the > solution >then they should be able to provide it e.g If I ask for Word 2010 > should >I be capable of sitting down and writing the application suite?" > > I didn't say that they *should* be able to provide it in the sense that > you > took it to mean - I said as to draw attention to the inherent > contradiction. > The only way you can confidently ask for a solution in the form of a > solution specification, without explaining the problem, is if you fully > understand the problem and *could* provide the solution yourself. In > which > case, you would never have needed to ask someone else to provide the
Re: [DUG] Validating CDS files
Thanks Cam, thats a good idea. Matt. > If you have a copy of Delphi 2010 then you will get Midas source code so > it is no longer a black box. If you take a look through the code you > will see how the binary datapackets are created. You could load the > data packet as a stream and read the header to see if this is the same > as what you expect. > > Also given the specific erro message you are receiving you will probably > be able to find the piece of code in midas that is raising this and it > will help narrow down your problem. > > > > Cameron Hart | Development Manager | Flow Software Limited > P: +64 9 476 3569 x910 | M: +64 21 222 3569 | E: > cameron.h...@flowsoftware.co.nz > PO Box 305-237, Triton Plaza, Auckland 0757, New Zealand | > www.flowsoftware.co.nz > > This message is intended for the addressee named above. It may contain > privileged or confidential information. If you are not the intended > recipient of this message you must not use, copy, distribute or disclose > it to anyone. > > Please consider the environment before printing this email > > -Original Message- > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On Behalf Of Matthew Comb > Sent: Monday, 17 January 2011 10:34 p.m. > To: NZ Borland Developers Group - Delphi List > Cc: 'NZ Borland Developers Group - Delphi List' > Subject: Re: [DUG] Validating CDS files > > Hi Jolyon, > > I almost wish I hadn't asked this question now :) > > I'm well aware of the options, and setting up a webservice to retrieve a > hashed/checksumed payload set, is our preferred approach yes. This is a > legacy piece of software and doesn't adhere to our architectural > patterns and practices. > > Knowing and acknowledging this is the better solution, I asked only one > very simple question. > > Is there a known way to validate a binary CDS file. > > All other solutions and suggestions are appreciated but really not > necessary. I may have lead the thread offtrack. Sorry for that. > > Cheers, > > Matt. > > > >> I am thoroughly confused now... >> >> If you are talking about a *stream* that you theorise is being >> corrupted in mid-flow over the wire, then I don't see how XML really >> helps ensuring the integrity of that stream, or at least not how it is > >> any more helpful than other techniques ... you can't do anything with >> XML until the document is complete as an incomplete document is not >> valid no matter how valid it may be when eventually complete. >> >> So you can't do any validation until your potentially interrupted >> stream has finished streaming and you have a complete file to work >> with. >> >> That being the case, if XML is a viable way to circumvent your >> apparent problem then why can you not simply eliminate the streaming >> part entirely ? >> Dump your output into a file on the server side of your communication, > >> then transmit the entire file, thereby leveraging the integrity checks > >> of the connection to ensure reliable transmission. >> >> Hashing files in this way is a trivially simple and relatively >> efficient matter using MD5, for example. >> >> >> I am not entirely convinced that you are solving the right problem > here. >> >> >> The infrequency of the apparent corruption could surely potentially be > >> as much due to an infrequent access to some data that is already >> corrupt on the server as it is to some sporadic wireless network >> corruption, no ? >> >> >> -Original Message- >> From: delphi-boun...@delphi.org.nz >> [mailto:delphi-boun...@delphi.org.nz] >> On >> Behalf Of Matthew Comb >> Sent: Monday, 17 January 2011 19:20 >> To: NZ Borland Developers Group - Delphi List >> Subject: Re: [DUG] Validating CDS files >> >> Paul, >> >> Thanks for your thoughts, I was tending towards reverse engineering >> the format, I could not see any obvious tokens at footer, and wondered > >> if someone had beaten me to it. >> >> I actually prefer the simplicity of your idea of >> compressing/encrypting the xml file. Thats a tidyier solution for now >> until we can get to the hashing >> >> Not sure why we haven't thought of that already >> >> Cheers, >> >> Matt. >> >> >>> Matthew wrote: >>> >>>> I wasn't suggesting that wireless was changing byte structure, but >>>> if you are streaming data, and your datastream gets disconnected, >>>> then you coul
Re: [DUG] Validating CDS files
Hi Jolyon, What you have just stated is interesting to me. In the last couple of years I've been making do by sending a number of different developers to conduct installations for us. Almost always the developer would return with a list of "to do" items even though the product had over 10,000 documented features. The customers were often left with a sense of fear about the product and how it worked, due to the fact that an analyst programmer is always seeking to find fault and inherantly aplify it out into something its not. Thats what an analyst programmer does. I eventually hired a specialist installer/trainer, who goes onsite and in half the time leaves the customer so in love with the product that they call me with praise. Its a complete turnaround. Note that the developers I've sent have been highly competant Senior developers but they are always looking to solve every small item a customer raises. Sometimes the requests are just not worth the effort, and thats a business decision that Analyst Programmers are rarely capable of making. When I asked about the midas the facts were very straight forward and I don't think contradictory at all. * I have a legacy piece of software which very very rarely corrupts a local data file - fact * I do not know yet where this corruption occurs. DB Server, Drivers, In Memory, Saving of the file, Server DB. * There are a number of steps and improvements I can take for each of these areas. Regardless of the better long term solutions, we will take a defensive programming measure to protect against the loading of corrupt files. Its not true to take the standpoint that if someone asks for the solution then they should be able to provide it e.g If I ask for Word 2010 should I be capable of sitting down and writing the application suite? I appreciate the time taken for peoples opinions, but sometimes you give a guy a blog, it goes to their head :) Matt. > Oh, I should thank you for providing the bones of a blog post. :) > > http://www.deltics.co.nz/blog > > Thank you. > > > > -Original Message- > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On > Behalf Of Matthew Comb > Sent: Monday, 17 January 2011 22:34 > To: NZ Borland Developers Group - Delphi List > Cc: 'NZ Borland Developers Group - Delphi List' > Subject: Re: [DUG] Validating CDS files > > Hi Jolyon, > > I almost wish I hadn't asked this question now :) > > I'm well aware of the options, and setting up a webservice to retrieve a > hashed/checksumed payload set, is our preferred approach yes. This is a > legacy piece of software and doesn't adhere to our architectural patterns > and practices. > > Knowing and acknowledging this is the better solution, I asked only one > very simple question. > > Is there a known way to validate a binary CDS file. > > All other solutions and suggestions are appreciated but really not > necessary. I may have lead the thread offtrack. Sorry for that. > > Cheers, > > Matt. > > > >> I am thoroughly confused now... >> >> If you are talking about a *stream* that you theorise is being corrupted >> in >> mid-flow over the wire, then I don't see how XML really helps ensuring >> the >> integrity of that stream, or at least not how it is any more helpful >> than >> other techniques ... you can't do anything with XML until the document >> is >> complete as an incomplete document is not valid no matter how valid it >> may >> be when eventually complete. >> >> So you can't do any validation until your potentially interrupted stream >> has >> finished streaming and you have a complete file to work with. >> >> That being the case, if XML is a viable way to circumvent your apparent >> problem then why can you not simply eliminate the streaming part >> entirely >> ? >> Dump your output into a file on the server side of your communication, >> then >> transmit the entire file, thereby leveraging the integrity checks of the >> connection to ensure reliable transmission. >> >> Hashing files in this way is a trivially simple and relatively efficient >> matter using MD5, for example. >> >> >> I am not entirely convinced that you are solving the right problem here. >> >> >> The infrequency of the apparent corruption could surely potentially be >> as >> much due to an infrequent access to some data that is already corrupt on >> the >> server as it is to some sporadic wireless network corruption, no ? >> >> >> -Original Message- >> From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] >> On >&
Re: [DUG] Validating CDS files
Hi Jolyon, I almost wish I hadn't asked this question now :) I'm well aware of the options, and setting up a webservice to retrieve a hashed/checksumed payload set, is our preferred approach yes. This is a legacy piece of software and doesn't adhere to our architectural patterns and practices. Knowing and acknowledging this is the better solution, I asked only one very simple question. Is there a known way to validate a binary CDS file. All other solutions and suggestions are appreciated but really not necessary. I may have lead the thread offtrack. Sorry for that. Cheers, Matt. > I am thoroughly confused now... > > If you are talking about a *stream* that you theorise is being corrupted > in > mid-flow over the wire, then I don't see how XML really helps ensuring the > integrity of that stream, or at least not how it is any more helpful than > other techniques ... you can't do anything with XML until the document is > complete as an incomplete document is not valid no matter how valid it may > be when eventually complete. > > So you can't do any validation until your potentially interrupted stream > has > finished streaming and you have a complete file to work with. > > That being the case, if XML is a viable way to circumvent your apparent > problem then why can you not simply eliminate the streaming part entirely > ? > Dump your output into a file on the server side of your communication, > then > transmit the entire file, thereby leveraging the integrity checks of the > connection to ensure reliable transmission. > > Hashing files in this way is a trivially simple and relatively efficient > matter using MD5, for example. > > > I am not entirely convinced that you are solving the right problem here. > > > The infrequency of the apparent corruption could surely potentially be as > much due to an infrequent access to some data that is already corrupt on > the > server as it is to some sporadic wireless network corruption, no ? > > > -Original Message- > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On > Behalf Of Matthew Comb > Sent: Monday, 17 January 2011 19:20 > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] Validating CDS files > > Paul, > > Thanks for your thoughts, I was tending towards reverse engineering the > format, I could not see any obvious tokens at footer, and wondered if > someone had beaten me to it. > > I actually prefer the simplicity of your idea of compressing/encrypting > the xml file. Thats a tidyier solution for now until we can get to the > hashing > > Not sure why we haven't thought of that already > > Cheers, > > Matt. > > >> Matthew wrote: >> >>> I wasn't suggesting that wireless was changing byte >>> structure, but if you are streaming data, and your datastream >>> gets disconnected, then you could end up with an incomplete transfer. >>> >>> I'm not 100% sure that midas catches all scenarios when >>> working off a remote data instance ? >>> >>> Note we use dbx4mysql + midas. >>> >>> Note also that I cannot rule out the drivers either and also >>> could be the data out of the db server, its a tricky one to >>> track down, as you basically have a black box from db -> >>> dbxmysql + midas... >>> >>> What I do know is that its very rare. e.g. maybe 1 in 10,000 >>> usages corrupts the file and has occurred in more than 1 >>> location, so it does not appear to be station specific. >>> >>> Logically with these stats, I can only put that down to a >>> flakey connection, otherwise the error rate would be more often. >> >> If you can't go the hash route in the short term, it sounds to me like >> you'll need to reverse engineer the cds format to determine whether >> there is a examinable file tail. >> >> I don't imagine the format will be _that_ hard to reverse engineer but >> then I've done a fair bit of binary reverse engineering so maybe I'm >> being a bit cavalier. If you make a number of simple and small cds files >> and compare and contrast them, you can probably work your way up in >> determining the encoding. >> >> Assuming it was implemented using some form of streaming class model, >> there may well be a common interface and then a cds outputter and an xml >> outputter. If so, there is probably going to be a fairly 1-to-1 mapping >> between the binary format and the xml format in terms of logical schema. >> >> These xml inspited compressed binary schemas are often all p
Re: [DUG] Validating CDS files
Paul, Thanks for your thoughts, I was tending towards reverse engineering the format, I could not see any obvious tokens at footer, and wondered if someone had beaten me to it. I actually prefer the simplicity of your idea of compressing/encrypting the xml file. Thats a tidyier solution for now until we can get to the hashing Not sure why we haven't thought of that already Cheers, Matt. > Matthew wrote: > >> I wasn't suggesting that wireless was changing byte >> structure, but if you are streaming data, and your datastream >> gets disconnected, then you could end up with an incomplete transfer. >> >> I'm not 100% sure that midas catches all scenarios when >> working off a remote data instance ? >> >> Note we use dbx4mysql + midas. >> >> Note also that I cannot rule out the drivers either and also >> could be the data out of the db server, its a tricky one to >> track down, as you basically have a black box from db -> >> dbxmysql + midas... >> >> What I do know is that its very rare. e.g. maybe 1 in 10,000 >> usages corrupts the file and has occurred in more than 1 >> location, so it does not appear to be station specific. >> >> Logically with these stats, I can only put that down to a >> flakey connection, otherwise the error rate would be more often. > > If you can't go the hash route in the short term, it sounds to me like > you'll need to reverse engineer the cds format to determine whether > there is a examinable file tail. > > I don't imagine the format will be _that_ hard to reverse engineer but > then I've done a fair bit of binary reverse engineering so maybe I'm > being a bit cavalier. If you make a number of simple and small cds files > and compare and contrast them, you can probably work your way up in > determining the encoding. > > Assuming it was implemented using some form of streaming class model, > there may well be a common interface and then a cds outputter and an xml > outputter. If so, there is probably going to be a fairly 1-to-1 mapping > between the binary format and the xml format in terms of logical schema. > > These xml inspited compressed binary schemas are often all pretty > similar - they replace the text tags and attributes with binary tokens > taken from a dictionary to avoid repetition and reduce the size. > > As an side, often you're better off just zipping the xml rather than > implementing and debugging your own tokenized 'binary xml' engine but > that's a whole different argument :-) > > Anyway, you might get lucky and quickly determine there is a common > metadata trailer or end of data stream signature in the binary schema, > similar to how zip files replicate their metadata directory and place it > at the end of the file. > > This may seem overkill for your current problem since you're aiming for > a short term solution, but having a cds stream viewer which can load > into a virtual tree view might be a useful in-house debugging tool down > the track. > > Cheers, > Paul. > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Validating CDS files
I think "Flakey wireless LAN" in my brain read "Outside world" or "Not Client" I wasn't suggesting that wireless was changing byte structure, but if you are streaming data, and your datastream gets disconnected, then you could end up with an incomplete transfer. I'm not 100% sure that midas catches all scenarios when working off a remote data instance ? Note we use dbx4mysql + midas. Note also that I cannot rule out the drivers either and also could be the data out of the db server, its a tricky one to track down, as you basically have a black box from db -> dbxmysql + midas... What I do know is that its very rare. e.g. maybe 1 in 10,000 usages corrupts the file and has occurred in more than 1 location, so it does not appear to be station specific. Logically with these stats, I can only put that down to a flakey connection, otherwise the error rate would be more often. Matt. > H. > > "Flakey wireless LAN" ? > > Surely wifi (or any LAN tech for that matter) has mechanisms built in to > the > protocol to ensure this sort of thing does not occur certainly even > with the flakiest of wifi connections I have never experienced corruption. > The wifi connection is either made, however slowly as a result of the > flakiness, or not made at all. > > > Are you positive that the "corruption" is not occurring directly in the > output of the remote server, rather than in the communication of the data > ? > > > Because if that's the case then checksuming will of course be a waste of > time > > > -Original Message- > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On > Behalf Of Todd > Sent: Monday, 17 January 2011 14:22 > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] Validating CDS files > > Hi Matthew > > It sounds like comparing a MD5 hash of the CDS file prior to sending and > subsequent to receiving the data stream would provide a sufficient check > on its integrity. > > Todd. >> Hi Todd, >> >> The ClientDatasets initially get populated via a remote server, and it >> is >> this process which in rare cases causes the corruption (e.g. customer on >> flakey wireless lan or similar). >> >> Longterm we will replace this mechanism so the dataset is populated >> server >> side and send back with a hash which will maintain integrity. >> >> For the moment, we are stuck with a mechanism which populates this cds >> data and then writes to file. >> >> Appending some metadata at this point is a valid option. Ill test and >> see >> if it circumvents the issue. The main issue though is that I'm not sure >> if >> the ClientDataset at this point knows that the data is corrupt, and >> therefore we could be exporting a corrupt data chunk packed with some >> metadata, which does not help. >> >> Thats why we really need some protection on load. >> >> Cheers, >> >> Matt. >> >> >> >> >>> Hi Matthew >>> >>> Are the CDS files being stored as disk files or in a database? How are >>> they being corrupted? Faulty back up media? Perhaps you could add some >>> meta-data to each file as it is saved. >>> >>> Todd. >>> >>>> The driver for the question, is that we have some application client >>>> datasets which are put into a defaulted state if a corrupt cds file is >>>> loaded. >>>> >>>> Yes with XML, we can just validate the XML, but we use the binary >>>> format >>>> so that solution does not apply. >>>> >>>> At present we basically have two solutions. >>>> >>>> 1. Load into a test clientdataset as suggested by Alistair. This is a >>>> valid solution but does add considerable load time into the startup. >>>> >>>> 2. Can load into application clientdatasets, and dispose and reload if >>>> error encountered. This is ok also but does require additional loading >>>> in >>>> case of error. >>>> >>>> What I'm really after is a file level test to check that file should >>>> even >>>> be attempted. e.g. open file stream seek start and seek end and check >>>> a >>>> couple of bytes... that type of thing. >>>> >>>> Matt. >>>> >>>> >>>> >>>> >>>> >>>>> What does "validate" mean for a CDS file ? >>>>> >>>>> For XML it obviously/intui
Re: [DUG] Validating CDS files
Hi Jolyon, Everything you say is right. I could bore you with how our smart client architecture works , how much data we're pushing and what happens at each point, but at the end of the day, it all will end up back to the beginning which is the need to know the state of a binary CDS file before load. In short though, the software will always retrieve from server a CDS dataset if it does not exist on disk. So if we attempt to load a CDS set, and its corrupt, desired approach is to delete the file, and refetch from server. I'd like to be able to do that without having already loaded corrupt data into the application clientdatasets which would be resorting to damage control, rather than a clean delete and refetch. Matt. >> What I'm really after is a file level test to check that file should >> even >> be attempted. e.g. open file stream seek start and seek end and check a >> couple of bytes... that type of thing. > > It seems to me that such a check would be incomplete and therefore > unreliable and that you may introduce this additional check in front of an > attempt to load a CDS files which is still never-the-less corrupt and so > still have to accommodate that potential. > > So instead of: > > - attempt to load > - abend if corrupt > > You would have: > > - check validity (however you choose to do this) > - if OK then > - attempt to load > - abend if corrupt > - else > - abend (due to detected corruption) > > > Notice how the flow simply and completely encapsulates the existing flow, > it > doesn't avoid or simplify any part of it. It may simplify and streamline > the abend flow however - but if your application is required to deal with > failures efficiently because you expect more failure than success then you > should perhaps reconsider your approach entirely. > > :) > > > The overhead of "additional" loading is only necessary if you deliberately > perform a full load into some temporary object simply to ensure that you > will successfully be able to load it into the actual desired target > object. > But if you can simply load it into the target object then you don't need > to > duplicate the load attempt - just go ahead and try to load it and deal > with > any failure as required. > > > Introducing pre-load validity checks is a waste of time if an attempt to > load an invalid file causes nothing other than a "failed" load attempt > that > can be safely detected and handled. > > Pre-load validity checks would have value if the attempt to load an > invalid > file would cause some otherwise undetectable and undesirable side effect. > > > But it is hard to say for sure what is the correct/most appropriate > approach > without more detailed knowledge of the application and its operating > conditions. > > +0.02 > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Validating CDS files
Hi Leigh, you beat me to it by a few seconds. Yes this is our longer term plan, but given current structure we can't make that change in the short term. Cheers, Matt > Hi Matt, > > That should be simple. > > Add and store checksum for your cds file yourself. i.e. stored checksum of > your cds file in a sepearted file extension .checksum. > > If you have any queries, please do not hesitate to contact me. > > Have a nice day > > Regards > Leigh > -Original Message- > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On Behalf Of Matthew Comb > Sent: Monday, 17 January 2011 12:44 p.m. > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] Validating CDS files > > The driver for the question, is that we have some application client > datasets which are put into a defaulted state if a corrupt cds file is > loaded. > > Yes with XML, we can just validate the XML, but we use the binary format > so that solution does not apply. > > At present we basically have two solutions. > > 1. Load into a test clientdataset as suggested by Alistair. This is a > valid solution but does add considerable load time into the startup. > > 2. Can load into application clientdatasets, and dispose and reload if > error encountered. This is ok also but does require additional loading in > case of error. > > What I'm really after is a file level test to check that file should even > be attempted. e.g. open file stream seek start and seek end and check a > couple of bytes... that type of thing. > > Matt. > > > >> What does "validate" mean for a CDS file ? >> >> For XML it obviously/intuitively means "is a valid XML representation of >> a >> CDS file" but for a CDS file, if you dumped it from a client data set in >> the >> first place, what additional validation would be needed to ensure that >> it >> is >> a CDS file ? >> >> >> -Original Message- >> From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] >> On >> Behalf Of Matthew Comb >> Sent: Monday, 17 January 2011 10:27 >> To: NZ Borland Developers Group - Delphi List >> Subject: Re: [DUG] Validating CDS files >> >> Hey Cam, for space size reasons, we're using the CDS format not the XML >> format as the files get pretty large. >> >> Matt >> >>> If you have dumped the CDS as XML then you can validate it using XSD. >>> I >>> haven't come across a schema for it but it shouldn't be hard to make. >>> >>> Cameron Hart | Development Manager | Flow Software Limited >>> P: +64 9 476 3569 x910 | M: +64 21 222 3569 | E: >>> cameron.h...@flowsoftware.co.nz >>> PO Box 305-237, Triton Plaza, Auckland 0757, New Zealand | >>> www.flowsoftware.co.nz >>> >>> This message is intended for the addressee named above. It may contain >>> privileged or confidential information. If you are not the intended >>> recipient of this message you must not use, copy, distribute or >>> disclose >>> it to anyone. >>> >>> Please consider the environment before printing this email >>> >>> -Original Message- >>> From: delphi-boun...@delphi.org.nz >>> [mailto:delphi-boun...@delphi.org.nz] >>> On Behalf Of Matthew Comb >>> Sent: Monday, 17 January 2011 10:03 a.m. >>> To: NZ Borland Developers Group - Delphi List >>> Cc: NZ Borland Developers Group - Delphi List >>> Subject: [DUG] Validating CDS files >>> >>> Does anyone know if there is a way to Validate a CDS file (midas) >>> before >>> attempting to load it into the dataset ? >>> >>> Matt >>> >>> ___ >>> NZ Borland Developers Group - Delphi mailing list >>> Post: delphi@delphi.org.nz >>> Admin: http://delphi.org.nz/mailman/listinfo/delphi >>> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with >>> Subject: >>> unsubscribe >>> >>> ___ >>> NZ Borland Developers Group - Delphi mailing list >>> Post: delphi@delphi.org.nz >>> Admin: http://delphi.org.nz/mailman/listinfo/delphi >>> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with >>> Subject: >>> unsubscribe >>> >> >> >> ___ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.
Re: [DUG] Validating CDS files
Hi Todd, The ClientDatasets initially get populated via a remote server, and it is this process which in rare cases causes the corruption (e.g. customer on flakey wireless lan or similar). Longterm we will replace this mechanism so the dataset is populated server side and send back with a hash which will maintain integrity. For the moment, we are stuck with a mechanism which populates this cds data and then writes to file. Appending some metadata at this point is a valid option. Ill test and see if it circumvents the issue. The main issue though is that I'm not sure if the ClientDataset at this point knows that the data is corrupt, and therefore we could be exporting a corrupt data chunk packed with some metadata, which does not help. Thats why we really need some protection on load. Cheers, Matt. > Hi Matthew > > Are the CDS files being stored as disk files or in a database? How are > they being corrupted? Faulty back up media? Perhaps you could add some > meta-data to each file as it is saved. > > Todd. >> The driver for the question, is that we have some application client >> datasets which are put into a defaulted state if a corrupt cds file is >> loaded. >> >> Yes with XML, we can just validate the XML, but we use the binary format >> so that solution does not apply. >> >> At present we basically have two solutions. >> >> 1. Load into a test clientdataset as suggested by Alistair. This is a >> valid solution but does add considerable load time into the startup. >> >> 2. Can load into application clientdatasets, and dispose and reload if >> error encountered. This is ok also but does require additional loading >> in >> case of error. >> >> What I'm really after is a file level test to check that file should >> even >> be attempted. e.g. open file stream seek start and seek end and check a >> couple of bytes... that type of thing. >> >> Matt. >> >> >> >> >>> What does "validate" mean for a CDS file ? >>> >>> For XML it obviously/intuitively means "is a valid XML representation >>> of a >>> CDS file" but for a CDS file, if you dumped it from a client data set >>> in >>> the >>> first place, what additional validation would be needed to ensure that >>> it >>> is >>> a CDS file ? >>> >>> >>> -Original Message- >>> From: delphi-boun...@delphi.org.nz >>> [mailto:delphi-boun...@delphi.org.nz] >>> On >>> Behalf Of Matthew Comb >>> Sent: Monday, 17 January 2011 10:27 >>> To: NZ Borland Developers Group - Delphi List >>> Subject: Re: [DUG] Validating CDS files >>> >>> Hey Cam, for space size reasons, we're using the CDS format not the XML >>> format as the files get pretty large. >>> >>> Matt >>> >>> >>>> If you have dumped the CDS as XML then you can validate it using XSD. >>>> I >>>> haven't come across a schema for it but it shouldn't be hard to make. >>>> >>>> Cameron Hart | Development Manager | Flow Software Limited >>>> P: +64 9 476 3569 x910 | M: +64 21 222 3569 | E: >>>> cameron.h...@flowsoftware.co.nz >>>> PO Box 305-237, Triton Plaza, Auckland 0757, New Zealand | >>>> www.flowsoftware.co.nz >>>> >>>> This message is intended for the addressee named above. It may contain >>>> privileged or confidential information. If you are not the intended >>>> recipient of this message you must not use, copy, distribute or >>>> disclose >>>> it to anyone. >>>> >>>> Please consider the environment before printing this email >>>> >>>> -Original Message- >>>> From: delphi-boun...@delphi.org.nz >>>> [mailto:delphi-boun...@delphi.org.nz] >>>> On Behalf Of Matthew Comb >>>> Sent: Monday, 17 January 2011 10:03 a.m. >>>> To: NZ Borland Developers Group - Delphi List >>>> Cc: NZ Borland Developers Group - Delphi List >>>> Subject: [DUG] Validating CDS files >>>> >>>> Does anyone know if there is a way to Validate a CDS file (midas) >>>> before >>>> attempting to load it into the dataset ? >>>> >>>> Matt >>>> >>>> ___ >>>> NZ Borland Developers Group - Delphi mailing list >>>> Post: delphi@delphi.org.nz >>>> Admin: http://delphi.org.nz/ma
Re: [DUG] Validating CDS files
The driver for the question, is that we have some application client datasets which are put into a defaulted state if a corrupt cds file is loaded. Yes with XML, we can just validate the XML, but we use the binary format so that solution does not apply. At present we basically have two solutions. 1. Load into a test clientdataset as suggested by Alistair. This is a valid solution but does add considerable load time into the startup. 2. Can load into application clientdatasets, and dispose and reload if error encountered. This is ok also but does require additional loading in case of error. What I'm really after is a file level test to check that file should even be attempted. e.g. open file stream seek start and seek end and check a couple of bytes... that type of thing. Matt. > What does "validate" mean for a CDS file ? > > For XML it obviously/intuitively means "is a valid XML representation of a > CDS file" but for a CDS file, if you dumped it from a client data set in > the > first place, what additional validation would be needed to ensure that it > is > a CDS file ? > > > -Original Message- > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On > Behalf Of Matthew Comb > Sent: Monday, 17 January 2011 10:27 > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] Validating CDS files > > Hey Cam, for space size reasons, we're using the CDS format not the XML > format as the files get pretty large. > > Matt > >> If you have dumped the CDS as XML then you can validate it using XSD. I >> haven't come across a schema for it but it shouldn't be hard to make. >> >> Cameron Hart | Development Manager | Flow Software Limited >> P: +64 9 476 3569 x910 | M: +64 21 222 3569 | E: >> cameron.h...@flowsoftware.co.nz >> PO Box 305-237, Triton Plaza, Auckland 0757, New Zealand | >> www.flowsoftware.co.nz >> >> This message is intended for the addressee named above. It may contain >> privileged or confidential information. If you are not the intended >> recipient of this message you must not use, copy, distribute or disclose >> it to anyone. >> >> Please consider the environment before printing this email >> >> -Original Message- >> From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] >> On Behalf Of Matthew Comb >> Sent: Monday, 17 January 2011 10:03 a.m. >> To: NZ Borland Developers Group - Delphi List >> Cc: NZ Borland Developers Group - Delphi List >> Subject: [DUG] Validating CDS files >> >> Does anyone know if there is a way to Validate a CDS file (midas) before >> attempting to load it into the dataset ? >> >> Matt >> >> ___ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: >> unsubscribe >> >> ___ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: >> unsubscribe >> > > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Validating CDS files
Hey Cam, for space size reasons, we're using the CDS format not the XML format as the files get pretty large. Matt > If you have dumped the CDS as XML then you can validate it using XSD. I > haven't come across a schema for it but it shouldn't be hard to make. > > Cameron Hart | Development Manager | Flow Software Limited > P: +64 9 476 3569 x910 | M: +64 21 222 3569 | E: > cameron.h...@flowsoftware.co.nz > PO Box 305-237, Triton Plaza, Auckland 0757, New Zealand | > www.flowsoftware.co.nz > > This message is intended for the addressee named above. It may contain > privileged or confidential information. If you are not the intended > recipient of this message you must not use, copy, distribute or disclose > it to anyone. > > Please consider the environment before printing this email > > -Original Message- > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On Behalf Of Matthew Comb > Sent: Monday, 17 January 2011 10:03 a.m. > To: NZ Borland Developers Group - Delphi List > Cc: NZ Borland Developers Group - Delphi List > Subject: [DUG] Validating CDS files > > Does anyone know if there is a way to Validate a CDS file (midas) before > attempting to load it into the dataset ? > > Matt > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
[DUG] Validating CDS files
Does anyone know if there is a way to Validate a CDS file (midas) before attempting to load it into the dataset ? Matt ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Software contracts
Suggest you join the New Zealand Software Association. As part of the membership they include a full set of sample contract templates which are very useful. regards, matt. > I am just embarking on a number of small projects for [previously] > non-clients. I don't bother with too much documentation with my usual > client base. > > Does anyone have a contract example they are willing to share? > > Regards, > Dave. > > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Facebook / Twitter etc.
Brilliant thanks Colin, Now for Facebook. Matt. > There is a guy named Simon Stuart (@LaKraven) on Twitter that I follow who > has created a Delphi component for Twitter integration. I haven't used it > but you may want to have a look to see if it matches your needs. > > http://www.lakraven.com/delphi-stuff/ttwitter/ > > Cheers, > Colin > > On 1 December 2010 10:36, Matthew Comb wrote: > >> Hi, >> >> Has anyone achieved a Facebook and or Twitter post using Delphi ? >> >> Matt. >> >> ___ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: >> unsubscribe >> > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
[DUG] Facebook / Twitter etc.
Hi, Has anyone achieved a Facebook and or Twitter post using Delphi ? Matt. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
[DUG] Database Connection Pools
Does anyone have any preferred Database Connection Pool classes that they like to use ? We converted to the Carey Jansen one a while back, and it has introduced a few memory issues that are problematic long term. Does everyone grow their own for production environments ? Matt. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] SimpleMAPI
Hey Paul, very minor requirements, invoking the email client to send an email with an attachment, so that is occurring outside our application (and stored historically with the email client). We have added the Jedi MAPI version to our client, which is giving us another option and works under some environments that our previous component did not. We also found that there was an issue with security rights for outlook 2007 when using MAPI which we can work around in the mean time. Cheers, Matt. > Dear Matthew, > > What exact tasks are you wanting to perform with mapi, i.e. how far > are you needing to go? > > Paul > > On 14 April 2010 16:41, Matthew Comb wrote: >> Hi Jason, >> >> Thanks, this link was interesting but not quite what I'm after. >> >> I'm looking for a component that will work with outlook, thunderbird, >> outlook express etc or any other simpleMAPI supporting email client. >> >> Cheers, >> >> Matt. >> >> -Original Message- >> From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] >> On >> Behalf Of Jason Coley >> Sent: Wednesday, 14 April 2010 3:27 p.m. >> To: NZ Borland Developers Group - Delphi List >> Subject: Re: [DUG] SimpleMAPI >> >> Outlook Redemption... >> http://www.dimastr.com/redemption/home.htm >> >> >> Regards from New Zealand (GMT+12) >> >> Jason Coley >> Software Solutions >> >> -Original Message- >> From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] >> On Behalf Of Matthew Comb >> Sent: Wednesday, 14 April 2010 3:24 p.m. >> To: Jason >> Subject: [DUG] SimpleMAPI >> >> Hi, >> >> We've been using an old MAPI control for some time now, which has come >> up a >> cropper with recent service packs and on some environments does not work >> any >> work. >> >> My understanding is that some windows service packs and new versions of >> office have "downgraded" mapi to SimpleMAPI, and therefore some of the >> legacy controls no longer work. >> >> Can anyone recommend a control / component that works across all >> versions of >> windows. >> >> Yes we could go direct to SMTP and will do this if there are no >> comprehensive solutions, but would prefer not to do this at this stage >> if we >> can avoid it for a variety of reasons. >> >> Matt. >> >> ___ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: >> unsubscribe >> >> >> >> ___ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: >> unsubscribe >> >> >> ___ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: >> unsubscribe >> > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] SimpleMAPI
Hi Jason, Thanks, this link was interesting but not quite what I'm after. I'm looking for a component that will work with outlook, thunderbird, outlook express etc or any other simpleMAPI supporting email client. Cheers, Matt. -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Jason Coley Sent: Wednesday, 14 April 2010 3:27 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] SimpleMAPI Outlook Redemption... http://www.dimastr.com/redemption/home.htm Regards from New Zealand (GMT+12) Jason Coley Software Solutions -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Matthew Comb Sent: Wednesday, 14 April 2010 3:24 p.m. To: Jason Subject: [DUG] SimpleMAPI Hi, We've been using an old MAPI control for some time now, which has come up a cropper with recent service packs and on some environments does not work any work. My understanding is that some windows service packs and new versions of office have "downgraded" mapi to SimpleMAPI, and therefore some of the legacy controls no longer work. Can anyone recommend a control / component that works across all versions of windows. Yes we could go direct to SMTP and will do this if there are no comprehensive solutions, but would prefer not to do this at this stage if we can avoid it for a variety of reasons. Matt. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
[DUG] SimpleMAPI
Hi, We've been using an old MAPI control for some time now, which has come up a cropper with recent service packs and on some environments does not work any work. My understanding is that some windows service packs and new versions of office have "downgraded" mapi to SimpleMAPI, and therefore some of the legacy controls no longer work. Can anyone recommend a control / component that works across all versions of windows. Yes we could go direct to SMTP and will do this if there are no comprehensive solutions, but would prefer not to do this at this stage if we can avoid it for a variety of reasons. Matt. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Apple iPad - OT
The first thing that went through my head when I looked at the apple ipad link that was posted was a flash back to the days when the first block telecom mobile phones came out. The same phones that linger in old ferraris still... I would love to see someone do a utube clip of " a day in the life " of someone with one of these. Walking through the CBD holding it under your arm, while everyone else is walking around with iphones... I wonder if poor people will strap an eePC in a backpack, and walk around with a 19" LCD widescreen, that would be even more impressive > I like it.. if its not $4000 > > On Thu, Jan 28, 2010 at 12:10 PM, Steve Peacocke > wrote: > >> For $380.00 I just purchased a eeePC 1001HA ( >> http://www.asus.com/product.aspx?P_ID=O2gIMUVTCKmZUZt5). >> >> This has >> >>- Windows XP >>- WiFi (fast) >>- 160GB HD >>- Long battery life (4+ hours on mine if I keep the backlight low) >>- built in camera (skype) >>- Multi-touch pad (pinch/zoom/etc) >>- A real keyboard - quite a good one actually >>- light as >>- actually useful rather than "cool". >>- runs all the programs I've thrown at it so far >> >> >> Oh, and I do also have an iPhone where I can get my daily allowance of >> "cool" before I need to do some real work :o) >> >> Steve Peacocke >> >> >> >> On Thu, Jan 28, 2010 at 9:26 AM, Xander (GMail) >> wrote: >> >>> I can't believe there has been no chat about Apple's latest >>> announcement >>> this morning. >>> >>> Watch this video and tell me with a straight face that you don't want >>> one >>> yesterday: >>> >>> http://www.apple.com/ipad/ipad-video/#large >>> >>> Is this the coolest thing ever? I will get one for sure when it is >>> available. Wi-Fi might be good enough for me, not sure I really need >>> 3G. >>> >>> >>> >>> ___ >>> NZ Borland Developers Group - Delphi mailing list >>> Post: delphi@delphi.org.nz >>> Admin: http://delphi.org.nz/mailman/listinfo/delphi >>> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with >>> Subject: >>> unsubscribe >>> >> >> >> ___ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: >> unsubscribe >> > > > > -- > Kyley Harris > Harris Software > +64-21-671-821 > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] What is the future for Delphi programmer? - summary
I think if Delphi had concentrated less on attempting to achieve exciting, and more on achieving stability and core functionality they would have done a whole heap better. How can you be branching out onto mobile spaces, and apple environments if you can't even do webservices properly Matt. > I think Delphi is a good tool, however the changes between upgrades have > not > been very exiting at all. I guess it all depends on what you wanna do with > Delphi as a whole and if you can justify the cost of upgrading at all. > > John > >> -Original Message- >> From: delphi-boun...@delphi.org.nz [mailto:delphi- >> boun...@delphi.org.nz] On Behalf Of Paul A Norman >> Sent: Friday, 22 January 2010 2:51 p.m. >> To: NZ Borland Developers Group - Delphi List >> Subject: Re: [DUG] What is the future for Delphi programmer? - summary >> >> That last offer from E was not too bad, still a bit too high, and came >> at a bad time of year, >> - not a good time for the cash flow to make an investment / purchase >> like that. >> >> Even though it means I slip from eligibility for upgrades >> (having managed to convince folk here to get 2005 as our last upgrade >> for me to use) >> - it was just not happening for me by Dec 31. >> >> Which makes D's pricing unjustifable at full price for me in practice >> now >> in our operation. The pingas will probaly go on other fields of >> software needs. >> >> Which is sad as I have really liked working in D all of these years, >> and enjoyed the support of the D Developer community. >> >> Jolyon is I believe right on to it with his previous comments about >> price breaks, >> and a lot of his other anaylsis on this stuff. >> >> If you are being forced out of D do look at that Titanium approach >> (http://www.appcelerator.com/products/titanium-desktop/) I mentioned >> in an earlier posting >> it combines widely useful skill sets so the investment of time and >> learning is not wasted. >> >> Paul >> >> >> 2010/1/22 Alan Rose : >> > Don't know, do you know how to play the "Last Post" >> > Ha ha just kidding, sorry if my last post sounds negative but the >> trend >> > of Delphi use for new development in NZ is worrying. >> > I'm not sure what the trend is overseas however. >> > >> >> -Original Message- >> >> From: delphi-boun...@delphi.org.nz >> >> [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Leigh Wanstead >> >> Sent: Friday, 22 January 2010 11:57 a.m. >> >> To: NZ Borland Developers Group - Delphi List >> >> Subject: Re: [DUG] What is the future for Delphi programmer? - >> summary >> >> >> >> What can I do? >> >> >> >> Regards >> >> Leigh >> >> -Original Message- >> >> From: delphi-boun...@delphi.org.nz >> >> [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Alan Rose >> >> Sent: Friday, 22 January 2010 11:42 a.m. >> >> To: NZ Borland Developers Group - Delphi List >> >> Subject: Re: [DUG] What is the future for Delphi programmer? - >> summary >> >> >> >> I think a quick play with seek co nz will tell you the story >> >> of where Delphi is heading here in NZ. >> >> "Delphi" keyed in as a keyword only returned 6 entries (in >> >> Auck only) and I doubt most are referring to Delphi as a >> >> major language as well. >> >> Forget how good Delphi is as a RAD tool I think its sad it >> >> been able to slip so far due to poor marketing and pricing >> >> decisions by management past and present(oh and the whole >> >> drop in quality issue after D7 did not help one bit). Can it >> >> make a return to its early glory days in terms of use I don't >> >> know, as its now got stiff competition from other tools of >> >> which a few are free and attracting the masses (next gen >> >> developers etc). But anyway I do have my fingers crossed if >> >> that helps. >> >> >> >> >> >> ___ >> >> NZ Borland Developers Group - Delphi mailing list >> >> Post: delphi@delphi.org.nz >> >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz >> >> with Subject: unsubscribe >> >> >> >> >> >> ___ >> >> NZ Borland Developers Group - Delphi mailing list >> >> Post: delphi@delphi.org.nz >> >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz >> >> with Subject: unsubscribe >> >> >> > >> > ___ >> > NZ Borland Developers Group - Delphi mailing list >> > Post: delphi@delphi.org.nz >> > Admin: http://delphi.org.nz/mailman/listinfo/delphi >> > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with >> Subject: unsubscribe >> > >> ___ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with >> Subject: unsubscribe > > > ___
Re: [DUG] What is the future for Delphi programmer?
I agree, Not sure if many people can remember but one of the main reasons that Delphi was very popular and quick on the uptake in NZ (back with version 1) (other than product quality) was due to the fact that a lot of the educational institutions had free educational licenses, rolling out of turbo pascal and into delphi, which meant that you went through university learning these tools and continued the usage on your way out of University. The disestablishment of this model I think was the start of the end for Delphi. On another note, remember how puzzled we were when Visual Basic was so popular even though Delphi had a superior component set ? Microsoft has always been smart with their business model, and their approach always has been to concentrate on the core functionality and let the developer community take care of the rest. Each time I hear about a Delphi for Linux version, or Apple, or all these extension projects / integration options, I cringe with frustration for what might have been if those radical thoughts had not crept in. That approach is amateurish and has no commercial basis. I applaud those on this list that have slammed Delphi/Inprise/Embarcadero for heading off on tangents. Its better to do 5 things well than 10 things poorly. Microsoft try these projects every now and then and most of them fail, but because they are a juggernaut they can sustain the failures. Delphi needs to concentrate core only, but that decision should have been made 5 years ago. A sponsored Project Jedi was the perfect avenue for extension sets for Delphi (Sandbox or Prototyping). Note Microsofts model is to let other people do the hard work, then as soon as they get good, buy them. Its more economical for them, and takes the risk out of the development project. Notice now, the majority of good component set makers for Delphi are gone, back in the day there were huge numbers. That lack of support is like oxygen that gets taken out of the whole equation, and Delphi is left suffocating. These days I use VS2008, C# and all the pains are gone. Multithreaded debugging, remote debugging, interprocess debugging, .Net 3+!!, reflection, serialization, garbage collection, better code completion and linking, the list goes on. It works! I own a company which has 2 years ago started to convert all software from Delphi to C# and expect to be Delphi free within the next 2 years. All my consultancy is C# / ASP.Net based. Delphi was the best thing out, but in my opinion has had its day. Those people that have not jumped ship yet, in my opinion are making the decision about whether customers care or not about the new rounds of features coming through and thats a risk / reward decision and one that needs to be made on a case by case basis. And don't give me the fact that you can do anything in any language, thats rubbish. It may be true, but doesn't take into account the economic viability for that time. BTW, on last point, beware also about comparing the Delphi decline to COBOL thinking you have time. There are very few similarities there other than the fact that both platforms are dying. Back 20 years ago, development was extremely slow (10 times slower than replacing a system today) so investments would take time to pay off. With COBOL, comparitive platforms were similar in construct at the time and alternatives were in the 1st and 2nd gen bracket. Nowadays you have an environment where almost every coder considers themselves an architect, and where tools (such as garbage collectors) cover developers mistakes. Development time is rapid +, and duplicating a solution is becoming easier and easier. You can databind controls with a single click (orderable, searchable, filterable grids) etc. Ease of development is leading to a resurgence in Service / Support to once again prove a competitive advantage and to ensure long term stability for Software Providers (hence the SaaS model). IMHO, if you are under 50 years of age and expect to be developing in 5 years time, and/or want to make money out of development. You need to either switch tools now (and I would switch to c# + SQL Server), or need to be multi faceted in your development approach. Let the razzing begin :) Matt. > Jolyon, sadly you are so right. Unless Embarcadero can effectively compete > with the Microsoft Express Edition Tools, they will be on a road to > nowhere! > > -Original Message- > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On > Behalf Of Jolyon Smith > Sent: Tuesday, January 12, 2010 4:40 PM > To: 'NZ Borland Developers Group - Delphi List' > Subject: Re: [DUG] What is the future for Delphi programmer? > > [[JS]] > I want to wait and see if there is a posibility to compile Delphi > [[JS]] > for iPhone and/or Android. If Embarcadero are smart enough to > [[JS]] > jump into that hugely growing niche and it eventuates then Delphi > [[JS]] > could be a killer language again. > > > I see a problem with this li
Re: [DUG] Delphi Books
I've got about 20 books, ill list them this evening. Cheers, Matt. > > Paul. > > > > If you're located in Christchurch I'll happily take those off your hands. > > > > Eric. > >> Date: Mon, 4 Jan 2010 14:35:34 +1300 >> From: paul.a.nor...@gmail.com >> To: delphi@delphi.org.nz >> Subject: Re: [DUG] Delphi Books >> >> Dear Jeremy, >> >> I've got Delphi 3,4, 6 in Marco Cantu's Mastering series - also moving >> out of Delphi . >> >> paul >> >> 2010/1/4 Matthew Comb : >> > Hi, >> > >> > I have a bunch of Delphi books, (some dating back to D2) that Im about >> to >> > throw into a dumpster. >> > >> > Some are good books, but dare I say it, I'm not coding much in delphi >> > these days, so they are just taking up space. >> > >> > I'm located on the North Shore of Auckland, if anyway wants them they >> can >> > come get them today, otherwise I'm going to toss them out. >> > >> > Cheers, >> > >> > Matt. >> > >> > ___ >> > NZ Borland Developers Group - Delphi mailing list >> > Post: delphi@delphi.org.nz >> > Admin: http://delphi.org.nz/mailman/listinfo/delphi >> > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with >> Subject: unsubscribe >> > >> ___ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: >> unsubscribe > > _ > Find a way to cure that travel bug MSN NZ Travel > http://travel.msn.co.nz/___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
[DUG] Delphi Books
Hi, I have a bunch of Delphi books, (some dating back to D2) that Im about to throw into a dumpster. Some are good books, but dare I say it, I'm not coding much in delphi these days, so they are just taking up space. I'm located on the North Shore of Auckland, if anyway wants them they can come get them today, otherwise I'm going to toss them out. Cheers, Matt. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] mysql components
Hi Steve, dbx4mysql from Microolap. Have been using in production for 4 years now. Very solid and not expensive. Matt. > Hi > > Before I start downloading and testing various alternatives, just wondered > if anyone has any preferences. > > Free or cheap component for connecting to MySql. > > This doesn't need all the bells and whistles. I just need to do a nightly > transfer of data between a MySql db and another local db. > > thanks, > Steve > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] [Off topic] Senior developer
That statistic actually comes from the UK, and for anyone that has ever worked with a brit, its understandable :) Matt. > I recall my boss told me that average developer write around ten lines of > code each day ;-) > > Regards > Leigh > -Original Message- > From: delphi-boun...@delphi.org.nz > [mailto:delphi-boun...@delphi.org.nz]on > Behalf Of Peter Joint > Sent: Wednesday, 13 May 2009 3:29 p.m. > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] [Off topic] Senior developer > > > I thought it was related to the Developer Productivity Ratio. > > > > Pizza Slices + Coke consumed divided by error free lines of code > produced > per day. > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Delphi 7 to Delphi 2009
I didn't think any version of delphi compiled your apps well Jeremy ;) Matt. > VS2008 IDE doesnt compile my Delphi apps. very wellhehehehesorry > had to do it ;-) > > jeremy > > On Fri, Feb 20, 2009 at 3:53 PM, Alister Christie < > alis...@salespartner.co.nz> wrote: > >> Since we've been comparing D5 / 7 to D2007 / 9. I'd be interested in >> knowing how they compare to the VS2008 IDE in terms of usability and >> productivity. I've had a play with the free version, but not enough to >> know how it compares to Delphi. >> >> What are peoples impressions? >> >> Alister Christie >> Computers for People >> Ph: 04 471 1849 Fax: 04 471 1266 >> http://www.salespartner.co.nz >> PO Box 13085 >> Johnsonville >> Wellington >> >> ___ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: >> unsubscribe >> > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] SQL Server - Not enough storage to execute command
Appears to be an issue with ntext fields. Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Comb Sent: Sunday, 5 October 2008 8:31 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: [DUG] SQL Server - Not enough storage to execute command Hi Guys, We have a tool that we have written which is having some problems sending updates through to a SQL Server 2005 instance on another server. This problem is consistent in the way that the same records fail each time, yet inconsistent in that some records update and others don't. "Not enough storage is available to complete this operation" I suspect that the Not enough storage error is a red herring, as there are no environmental resources constraints. This is one of those errors, that you will either have been through yourself or won't be able to offer any assistance. I have found on a couple of message threads, that others have experienced same thing but no solutions have been found. Here is a thread describing similar/same issue in more detail. https://forums.codegear.com/thread.jspa?messageID=25479掇 Is this ringing any bells for anyone ? Cheers, Matt. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Barker Sent: Saturday, 4 October 2008 2:08 p.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] TActionManager Hi, I'm evaluating Delphi's TActionManager/TActionMainMenuBar/TActionToolBar components for a couple of projects here. It seems that when you allow the user at runtime to customise the toolbars and menus, the component streams to a file to save the current toolbar layouts. However, if I later release a new version of the app with a new menu item , it won't appear because the user's saved file does not contain it, and so it overwrites my designed menu. What would be the options here? -Don't allow the user to change the menu, only the toolbars (not sure how this can be done). -Subclass the TActionManager and replace the saving/loading code so that designed items are always saved? -Just tell everyone to customise again and drop the new menu item into place? -Use a different component set (must be able to allow user customisation). Anyone else using these - any ideas? Regards, Steve Barker ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
[DUG] SQL Server - Not enough storage to execute command
Hi Guys, We have a tool that we have written which is having some problems sending updates through to a SQL Server 2005 instance on another server. This problem is consistent in the way that the same records fail each time, yet inconsistent in that some records update and others don't. "Not enough storage is available to complete this operation" I suspect that the Not enough storage error is a red herring, as there are no environmental resources constraints. This is one of those errors, that you will either have been through yourself or won't be able to offer any assistance. I have found on a couple of message threads, that others have experienced same thing but no solutions have been found. Here is a thread describing similar/same issue in more detail. https://forums.codegear.com/thread.jspa?messageID=25479掇 Is this ringing any bells for anyone ? Cheers, Matt. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Barker Sent: Saturday, 4 October 2008 2:08 p.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] TActionManager Hi, I'm evaluating Delphi's TActionManager/TActionMainMenuBar/TActionToolBar components for a couple of projects here. It seems that when you allow the user at runtime to customise the toolbars and menus, the component streams to a file to save the current toolbar layouts. However, if I later release a new version of the app with a new menu item , it won't appear because the user's saved file does not contain it, and so it overwrites my designed menu. What would be the options here? -Don't allow the user to change the menu, only the toolbars (not sure how this can be done). -Subclass the TActionManager and replace the saving/loading code so that designed items are always saved? -Just tell everyone to customise again and drop the new menu item into place? -Use a different component set (must be able to allow user customisation). Anyone else using these - any ideas? Regards, Steve Barker ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
RE: [DUG] Delphi ftp server component
Synapse Matt Comb | CEO Fern International Mobile: 021 771 777 Phone: 09-636 1433 P.O Box 100-402 NSMC,Auckland, New Zealand. [EMAIL PROTECTED] l www.ferndigital.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leigh Wanstead Sent: Monday, 28 April 2008 9:53 a.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] Delphi ftp server component Good morning, Can anyone recommend a open source/free Delphi ftp server component except Indy? TIA Have a nice day Regards Leigh ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
RE: [DUG] SMTP Server Component
Hi Neven, Try the following: var MultiPartMix, MultiPartRel, MultiPartAlt: TMimePart; MimeMessage := TMimeMess.Create Try { multiparts (parent-parts) } MultiPartMix := MimeMessage.AddPartMultipart('mixed', nil); MultiPartRel := MimeMessage.AddPartMultipart('related', MultiPartMix); MultiPartAlt := MimeMessage.AddPartMultipart('alternative', MultiPartRel); { plain text-part } MIMESSAGE.AddPartText([Your Text], MultiPartAlt); { html-part } MimeMessage.AddPartHTML([Your HTML], MultiPartAlt); { embedded images } MimeMessage.AddPartHTMLBinary([Your image-stream1], [Your Filename1], [Your ContentID], MultiPartRel); MimeMessage.AddPartHTMLBinary([Your image-stream2], [Your Filename2], [Your ContentID], MultiPartRel); { attachments } MimeMessage.AddPartHTMLBinary([Your attachment-stream1], [Your Filename1], MultiPartMix); { encode message } MimeMessage.EncodeMessage; { send message via SMTP } SMTP := TSMTPSend.Create; try SMTP.SendToEx([MailFrom-address], [MailTo-address], [mail-subject], [STMP-host], MimeMessage.Lines, [account-Username], [account-Password]); finally SMTP.Free; end; finally MimeMessage.Free; end; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Wednesday, 28 November 2007 6:01 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] SMTP Server Component Matt Do you have any example of using SMTPsender with an attachment? Thanks > I wouldn't use anything but synapse for socket stuff... so clean and > compact. > > Matt. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Neven MacEwan > Sent: Monday, 26 November 2007 2:43 p.m. > To: DUG > Subject: [DUG] SMTP Server Component > > Hi all > > I know there are a lot of SMTP Client comonents available but can anyone > suggest the "best of breed"? > > TIA Neven > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: > unsubscribe > > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe > > > ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
RE: [DUG] SMTP Server Component
I wouldn't use anything but synapse for socket stuff... so clean and compact. Matt. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Monday, 26 November 2007 2:43 p.m. To: DUG Subject: [DUG] SMTP Server Component Hi all I know there are a lot of SMTP Client comonents available but can anyone suggest the "best of breed"? TIA Neven ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
RE: [DUG] Rare access violations reading listitem.subitems
Note that a try except is not the same. An access violation is not the same as raising an exception. So the approach is definitely different. If you want an example try to do this. Var Object: Tobject; begin Try Showmessage(inttostr(Object.Tag)); //note no create on Object Except Showmessage('There was an exception'); End; End; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ross Levis Sent: Sunday, 12 August 2007 8:30 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: RE: [DUG] Rare access violations reading listitem.subitems I have put a try..except block around these now which is as good as your code but it doesn't prevent the problem of replacements not occurring which is the main problem. I also suspected a thread issue initially. I do have 2 threads that update a couple of the SubItems, but I checked these and they are only ever accessed using Synchronize, so no problems there. It is certainly an odd one. Cosmin's idea of something running on the users computer causing window handles to be recreated could perhaps explain it, but it sounds dodgy to me. Thanks, Ross. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Comb Sent: Sunday, 12 August 2007 20:03 To: 'NZ Borland Developers Group - Delphi List' Subject: RE: [DUG] Rare access violations reading listitem.subitems Ross, Two things. 1. What has access to these items ? Could a thread be altering these items out from beneath you ? (I noticed in a previous email from you in July that you are working with threads). 2. Why not make the code a little safer e.g. If (length(Items.SubItems) > 2) then begin Result := StringReplace(Result,'%a',Item.Caption,[rfReplaceAll]); Result := StringReplace(Result,'%t',Item.SubItems[0],[rfReplaceAll]); Result := StringReplace(Result,'%s',Item.SubItems[1],[rfReplaceAll]); Result := StringReplace(Result,'%c',Item.Subitems[3],[rfReplaceAll]); End Else Begin What the hell am I doing trying to access an array element that does not exist. End; I have one user of my software which is experiencing an occasional access violation in a routine which is simply reading some data stored in a ListView. The items in the listview are static and not changing at the time. There are always 5 columns of data, the Caption, and 4 SubItems. The function simply replaces some parameters in a user formatted string with data as follows. Not very efficient but nevermind. The first line always works. Item.Caption gets replaced correctly every time and never crashes. If an Access Violation occurs, it's usually on the 2nd line, but sometimes this also works, and the crash occurs on the 3rd line. I've not seen a crash on the 4th line. The items were loaded at least 20 minutes prior to this function being called, so it's not a matter of the ListItem being deleted or created at the same time. It's completely beyond me. Are there any known issues with ListViews in Delphi 7, or any other ideas? Thanks, Ross. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
RE: [DUG] Rare access violations reading listitem.subitems
Ross, Two things. 1. What has access to these items ? Could a thread be altering these items out from beneath you ? (I noticed in a previous email from you in July that you are working with threads). 2. Why not make the code a little safer e.g. If (length(Items.SubItems) > 2) then begin Result := StringReplace(Result,'%a',Item.Caption,[rfReplaceAll]); Result := StringReplace(Result,'%t',Item.SubItems[0],[rfReplaceAll]); Result := StringReplace(Result,'%s',Item.SubItems[1],[rfReplaceAll]); Result := StringReplace(Result,'%c',Item.Subitems[3],[rfReplaceAll]); End Else Begin What the hell am I doing trying to access an array element that does not exist. End; I have one user of my software which is experiencing an occasional access violation in a routine which is simply reading some data stored in a ListView. The items in the listview are static and not changing at the time. There are always 5 columns of data, the Caption, and 4 SubItems. The function simply replaces some parameters in a user formatted string with data as follows. Not very efficient but nevermind. The first line always works. Item.Caption gets replaced correctly every time and never crashes. If an Access Violation occurs, it's usually on the 2nd line, but sometimes this also works, and the crash occurs on the 3rd line. I've not seen a crash on the 4th line. The items were loaded at least 20 minutes prior to this function being called, so it's not a matter of the ListItem being deleted or created at the same time. It's completely beyond me. Are there any known issues with ListViews in Delphi 7, or any other ideas? Thanks, Ross. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
Re: [DUG] Pulling status bar text off another application
True ;) > Matt >> What if the Manufacturer of that third party software changes their >> layout? or changes TStatusBar to TEnhancedStatusBar, then your code >> stops >> working. >> > > Hell we work with that everyday, its one of the joys of working with > Microsoft, There > are no guarantees > >> Matt. >> >> >>>> Yes you are correct, you will need either the class name OR the name >>>> of >>>> the >>>> control. >>>> So, to do that, you use something like Spy++ which comes with Visual >>>> Studio, >>>> or download for free windose from Greatis software which will give yo >>>> that >>>> information. >>>> >>>> Trust me, this definitly works on NON Delphi apps too. The getting >>>> info >>>> from controls on a non delphi app. that is. >>>> >>>> >>>> Jeremy >>>> >>>> -Original Message- >>>> From: Matthew Comb [mailto:[EMAIL PROTECTED] >>>> Sent: 30 July 2007 22:36 >>>> To: [EMAIL PROTECTED]; 'NZ Borland Developers Group - Delphi List' >>>> Subject: RE: [DUG] Pulling status bar text off another application >>>> >>>> Correct me if I am wrong it's been a while, but you require the >>>> windows >>>> class name in order to use FindWindowsEx ? >>>> >>>> Your two calls use 'TfmMain' and 'TStatusbar' which are Delphi >>>> specific. >>>> >>>> It's worthwhile keeping this in mind when thinking about 'ANY browser >>>> and >>>> ANY app' >>>> >>>> Your code won't work for any browser consistently. >>>> >>>> Only way you can achieve that is by using a common interface. >>>> >>>> Of course if you know the application you are wanting to connect to >>>> and >>>> can >>>> determine these classnames then you don't have to worry. >>>> >>>> Matt. >>>> >>>> -Original Message- >>>> From: [EMAIL PROTECTED] >>>> [mailto:[EMAIL PROTECTED] >>>> On >>>> Behalf Of Jeremy Coulter >>>> Sent: Monday, 30 July 2007 7:32 p.m. >>>> To: 'NZ Borland Developers Group - Delphi List' >>>> Subject: RE: [DUG] Pulling status bar text off another application >>>> >>>> Nope, not at all. If you LOOK at the code you will seeit uses >>>> "FindWindowEx" >>>> to find a child control. It could be a VB textbox for all it cares. >>>> Infact, I have uses FindWindowEx to actually access a disabled textbox >>>> ina >>>> vb app, and change it to being enabledso I could copy the text >>>> from >>>> it >>>> and paste it into my delphi appcost I can nearly ALWAYS find a >>>> hack...hehhehe >>>> >>>> Jeremyp.s Matt, you firndigtal.com email bounced back when I >>>> replied. >>>> >>>> -Original Message- >>>> From: Matthew Comb [mailto:[EMAIL PROTECTED] >>>> Sent: 30 July 2007 19:06 >>>> To: [EMAIL PROTECTED]; 'NZ Borland Developers Group - Delphi List' >>>> Subject: RE: [DUG] Pulling status bar text off another application >>>> >>>> " It also means that Phil can support ANY browser, or ANY app. That >>>> has >>>> a >>>> statusbar." >>>> >>>> That was written in Delphi ? :) >>>> >>>> -Original Message- >>>> From: [EMAIL PROTECTED] >>>> [mailto:[EMAIL PROTECTED] >>>> On >>>> Behalf Of Jeremy Coulter >>>> Sent: Monday, 30 July 2007 7:03 p.m. >>>> To: 'NZ Borland Developers Group - Delphi List' >>>> Subject: RE: [DUG] Pulling status bar text off another application >>>> >>>> Did ANYONE apart from Phil take a look at the code I supplied?? >>>> My function does it is a LOT less complex manner that some of the >>>> ideas >>>> suggested thus far. >>>> It also means that Phil can support ANY browser, or ANY app. That has >>>> a >>>> statusbar. >>>> >>>> Jeremy >>>> >>>> -Original Message- >>>> From: [EMAIL PRO
Re: [DUG] Pulling status bar text off another application
Yes I know this will work with any windows app, my point is that it is not automatic and in 100% of cases. Just as you have said below, you must manually find out the class name before it will work. In most situations this is unpractical. What if the Manufacturer of that third party software changes their layout? or changes TStatusBar to TEnhancedStatusBar, then your code stops working. Matt. > >> Yes you are correct, you will need either the class name OR the name of >> the >> control. >> So, to do that, you use something like Spy++ which comes with Visual >> Studio, >> or download for free windose from Greatis software which will give yo >> that >> information. >> >> Trust me, this definitly works on NON Delphi apps too. The getting >> info >> from controls on a non delphi app. that is. >> >> >> Jeremy >> >> -Original Message- >> From: Matthew Comb [mailto:[EMAIL PROTECTED] >> Sent: 30 July 2007 22:36 >> To: [EMAIL PROTECTED]; 'NZ Borland Developers Group - Delphi List' >> Subject: RE: [DUG] Pulling status bar text off another application >> >> Correct me if I am wrong it's been a while, but you require the windows >> class name in order to use FindWindowsEx ? >> >> Your two calls use 'TfmMain' and 'TStatusbar' which are Delphi specific. >> >> It's worthwhile keeping this in mind when thinking about 'ANY browser >> and >> ANY app' >> >> Your code won't work for any browser consistently. >> >> Only way you can achieve that is by using a common interface. >> >> Of course if you know the application you are wanting to connect to and >> can >> determine these classnames then you don't have to worry. >> >> Matt. >> >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> On >> Behalf Of Jeremy Coulter >> Sent: Monday, 30 July 2007 7:32 p.m. >> To: 'NZ Borland Developers Group - Delphi List' >> Subject: RE: [DUG] Pulling status bar text off another application >> >> Nope, not at all. If you LOOK at the code you will seeit uses >> "FindWindowEx" >> to find a child control. It could be a VB textbox for all it cares. >> Infact, I have uses FindWindowEx to actually access a disabled textbox >> ina >> vb app, and change it to being enabledso I could copy the text from >> it >> and paste it into my delphi appcost I can nearly ALWAYS find a >> hack...hehhehe >> >> Jeremyp.s Matt, you firndigtal.com email bounced back when I >> replied. >> >> -Original Message- >> From: Matthew Comb [mailto:[EMAIL PROTECTED] >> Sent: 30 July 2007 19:06 >> To: [EMAIL PROTECTED]; 'NZ Borland Developers Group - Delphi List' >> Subject: RE: [DUG] Pulling status bar text off another application >> >> " It also means that Phil can support ANY browser, or ANY app. That has >> a >> statusbar." >> >> That was written in Delphi ? :) >> >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> On >> Behalf Of Jeremy Coulter >> Sent: Monday, 30 July 2007 7:03 p.m. >> To: 'NZ Borland Developers Group - Delphi List' >> Subject: RE: [DUG] Pulling status bar text off another application >> >> Did ANYONE apart from Phil take a look at the code I supplied?? >> My function does it is a LOT less complex manner that some of the ideas >> suggested thus far. >> It also means that Phil can support ANY browser, or ANY app. That has a >> statusbar. >> >> Jeremy >> >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> On >> Behalf Of Dennis Chuah >> Sent: 30 July 2007 18:49 >> To: NZ Borland Developers Group - Delphi List >> Subject: Re: [DUG] Pulling status bar text off another application >> >> >> Why don't you use automation to get access to the browser application >> object. From there you can use the HTML Dom to get access to the status >> bar >> text. >> >> - Original Message - >> From: "Phil Scadden" <[EMAIL PROTECTED]> >> To: >> Sent: Monday, July 30, 2007 2:57 PM >> Subject: [DUG] Pulling status bar text off another application >> >> >>>A webapp running in IE put text in the status bar that I would dearly >>>like to snaffle into another running application. Statusbar I think is >>>a wincontrol so c
RE: [DUG] Pulling status bar text off another application
Correct me if I am wrong it's been a while, but you require the windows class name in order to use FindWindowsEx ? Your two calls use 'TfmMain' and 'TStatusbar' which are Delphi specific. It's worthwhile keeping this in mind when thinking about 'ANY browser and ANY app' Your code won't work for any browser consistently. Only way you can achieve that is by using a common interface. Of course if you know the application you are wanting to connect to and can determine these classnames then you don't have to worry. Matt. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Coulter Sent: Monday, 30 July 2007 7:32 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: RE: [DUG] Pulling status bar text off another application Nope, not at all. If you LOOK at the code you will seeit uses "FindWindowEx" to find a child control. It could be a VB textbox for all it cares. Infact, I have uses FindWindowEx to actually access a disabled textbox ina vb app, and change it to being enabledso I could copy the text from it and paste it into my delphi appcost I can nearly ALWAYS find a hack...hehhehe Jeremyp.s Matt, you firndigtal.com email bounced back when I replied. -Original Message- From: Matthew Comb [mailto:[EMAIL PROTECTED] Sent: 30 July 2007 19:06 To: [EMAIL PROTECTED]; 'NZ Borland Developers Group - Delphi List' Subject: RE: [DUG] Pulling status bar text off another application " It also means that Phil can support ANY browser, or ANY app. That has a statusbar." That was written in Delphi ? :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Coulter Sent: Monday, 30 July 2007 7:03 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: RE: [DUG] Pulling status bar text off another application Did ANYONE apart from Phil take a look at the code I supplied?? My function does it is a LOT less complex manner that some of the ideas suggested thus far. It also means that Phil can support ANY browser, or ANY app. That has a statusbar. Jeremy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Chuah Sent: 30 July 2007 18:49 To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Pulling status bar text off another application Why don't you use automation to get access to the browser application object. From there you can use the HTML Dom to get access to the status bar text. - Original Message - From: "Phil Scadden" <[EMAIL PROTECTED]> To: Sent: Monday, July 30, 2007 2:57 PM Subject: [DUG] Pulling status bar text off another application >A webapp running in IE put text in the status bar that I would dearly >like to snaffle into another running application. Statusbar I think is >a wincontrol so could be possible. Anyone with bright ideas on >discovering it? > > -- > Phil Scadden, GNS Science Ltd > 764 Cumberland St, Private Bag 1930, Dunedin, New Zealand Ph +64 3 > 4799663, fax +64 3 477 5232 > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: > unsubscribe > ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.19/917 - Release Date: 25/07/2007 01:16 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.19/917 - Release Date: 25/07/2007 01:16 ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.19/917 - Release Date: 25/07/2007 01:16 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.19/917 - Release Date: 25/07/2007 01:16 ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Develo
RE: [DUG] Pulling status bar text off another application
" It also means that Phil can support ANY browser, or ANY app. That has a statusbar." That was written in Delphi ? :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Coulter Sent: Monday, 30 July 2007 7:03 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: RE: [DUG] Pulling status bar text off another application Did ANYONE apart from Phil take a look at the code I supplied?? My function does it is a LOT less complex manner that some of the ideas suggested thus far. It also means that Phil can support ANY browser, or ANY app. That has a statusbar. Jeremy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Chuah Sent: 30 July 2007 18:49 To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Pulling status bar text off another application Why don't you use automation to get access to the browser application object. From there you can use the HTML Dom to get access to the status bar text. - Original Message - From: "Phil Scadden" <[EMAIL PROTECTED]> To: Sent: Monday, July 30, 2007 2:57 PM Subject: [DUG] Pulling status bar text off another application >A webapp running in IE put text in the status bar that I would dearly like > to snaffle into another running application. Statusbar I think is a > wincontrol > so could be possible. Anyone with bright ideas on discovering it? > > -- > Phil Scadden, GNS Science Ltd > 764 Cumberland St, Private Bag 1930, Dunedin, New Zealand > Ph +64 3 4799663, fax +64 3 477 5232 > > ___ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: > unsubscribe > ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.19/917 - Release Date: 25/07/2007 01:16 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.19/917 - Release Date: 25/07/2007 01:16 ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
RE: [DUG] memory freeing option
Ani, Has your second form (B) been responsible for creating and using any objects during its lifetime. Form (B) may not be setup to dispose of these correctly. Calling B.Free or FreeAndNil does not guarantee these other objects are freed. You need to make sure that your destructor on (B) is taking care of the disposal of all of these things. Matt. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ani chakra Sent: Sunday, 22 July 2007 5:07 p.m. To: delphi@delphi.org.nz Subject: [DUG] memory freeing option Hi, Is there any other way to free up memory consumed by a form containing a lot of components, apart than free or FreeAndNil? I have code piece which is like on a button click in one form A it calls execute method of another form B which basically creates an object does its' work and then gets freed up by using FreeAndNil, within try - finally - end block. What is baffling me is even after calling free, the memory is not freed. I have tried using Release but its giving me Access Violations which I guess due a large number of components placed on the form. I have read the delphi 2005 documentation ( I am using D2005) and it says for a modal form it hides it when the form is closed. But, in my case the formStyle is set to fsNormal. Also I am passing Nil as a parameter while creating form B to make sure I am the one responsible for freeing up the memory. This is confusing me a lot. Any pointers please... Thanks! ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
[DUG]: Leaving List.
Just a quick note to say thanks to everyone for their help over the last few years. There are legendary people on this list and its great that everyone is willing to help each other. Keeps the borland tools ticking along. I'm going to live in Italy or a while with a quick stop in New York. Take care, Matt.
Re: [DUG]: Offtopic, WinXP Search and .pas files
Jason THANKYOU THANKYOU THANKYOU THANKYOU THANKYOU THANKYOU THANKYOUTHANKYOU THANKYOU THANKYOU THANKYOU THANKYOUTHANKYOU THANKYOU THANKYOU THANKYOU For the past couple of months I have had to use another machine every time I needed to search for something which was all the time. Makes my life a whole heap easier. Matt. - Original Message - From: Jason Coley To: Multiple recipients of list delphi Sent: Thursday, November 14, 2002 10:57 AM Subject: [DUG]: Offtopic, WinXP Search and .pas files Hi there, just a small hint I found about WinXP and its search feature. I sometimes use the windows search to search through files in a dir, and search for certain text in the file, well in WinXP apparently WinXP doesnt know to search through .pas files, or any Delphi file for that case. But there Is a small hack that can be done in the registry to allow WinXP to read through .pas files. Go to the HKEY_CLASSES_ROOT\.pas Add a key called PersistentHandler and change the default string to read {5e941d80-bf96-11cd-b579-08002b30bfeb} Then log off and then back on and Windows will then search through these files. Just thought someone out there could use this? Jay
Re: [DUG]: Auckland DUG Meeting
I would like to see UML.. - Original Message - From: Neven MacEwan To: Multiple recipients of list delphi Sent: Friday, October 25, 2002 2:41 PM Subject: [DUG]: Auckland DUG Meeting Hi Guys Slight Change of Plan, Meeting is now Tuesday 30th October at Borland Level 4 Landmark House 187 Queen Street 5:30 kickoff, Lawrence Wilkinson on F1 Software (How many of you guys write software that does 0-100kph in 2.7 sec) 6:00 Drinks Speaker to be decided, Or General Mingle 6:30 End Please Vote on 2nd Half 1/ UML 2/ XP (Eextreme Programming) 3/ General Mingle Regards Neven N.K. MacEwan B.E. E&E Ph 649 621 0001 Fax 649 621 0400 [EMAIL PROTECTED]
Re: [DUG]: Auckland DUG Meeting
3 people from here. - Original Message - From: Neven MacEwan To: Multiple recipients of list delphi Sent: Thursday, October 24, 2002 10:59 AM Subject: [DUG]: Auckland DUG Meeting Hi All DUG Meeting for Wednesday Next Week is confirmed, Can I pls have a count of number attending Regards Neven N.K. MacEwan B.E. E&E Ph 649 621 0001 Fax 649 621 0400 [EMAIL PROTECTED]
Re: [DUG]: Duped by SaveToStream
why not do a quick encrypt/decrypt or something. I have routines that do a basic encrypt in just a few lines if you are keen Matt. - Original Message - From: "vss" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Monday, October 21, 2002 2:32 PM Subject: RE: [DUG]: Duped by SaveToStream > Na, it was just for SOME reason I didnt expected it to be strings...like > you say, if I had thought about it.oh well, it IS monday. > > Jeremy > -Original Message- > From: "Chris Milham" <[EMAIL PROTECTED]> > To: Multiple recipients of list delphi <[EMAIL PROTECTED]> > Date: Mon, 21 Oct 2002 14:18:39 +1300 > Subject: RE: [DUG]: Duped by SaveToStream > > > Hi, > > > > Just wondering why you were duped? Are the docs wrong or vague? > > Surely feeding some strings to a stream is going to leave them as-is. > > You need to do the jumbling yourself. > > > > Chris > > > > > -Original Message- > > > From: vss [mailto:vss@;vss.co.nz] > > > Sent: Monday, 21 October 2002 1:56 p.m. > > > To: Multiple recipients of list delphi > > > Subject: [DUG]: Duped by SaveToStream > > >=20 > > >=20 > > > Hi all. > > >=20 > > > I am just working on a wee project at the moment, and I=20 > > > wanted to save a=20 > > > items in a list to file. > > > I ALSO wanted the data to be a bit jumbled to look at, just=20 > > > to put people=20 > > > off. I.e. if it looks like HEX, people tend to leave files alone. > > >=20 > > > To my HORROR !! I opend the file up in note pade, only to fine it > > was=20 > > > plain text :-( :-( > > >=20 > > > Oh well > > >=20 > > > Jeremy > > >=20 > > > -- > > > - > > > New Zealand Delphi Users group - Delphi List -=20 > > > [EMAIL PROTECTED] > > > Website: http://www.delphi.org.nz > > > To UnSub, send email to: [EMAIL PROTECTED]=20 > > > with body of "unsubscribe delphi" > > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > >=20 > > --- > > > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
[DUG]: Dynamic array in slice.
Hi people, trying to do the following, fdxdraw.surface.canvas.polyline(slice(frpoints,round(fvel_index))); however frpoints is a dynamic array and it doesn't like that. Anyone know of a workaround? Regards, Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: Newbie midas question ?
Whoa thanks Alan, that is handy! Matt. - Original Message - From: "Rose, Alan (MDF Rangiora)" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 1:04 PM Subject: RE: [DUG]: Newbie midas question ? > Heres a handy link Matt. > http://homepages.borland.com/dmiser/dcom95.htm > > -----Original Message- > From: Matthew Comb [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, 13 August 2002 10:48 > To: Multiple recipients of list delphi > Subject: [DUG]: Newbie midas question ? > > Just playing around with a little bit of midas. I ran a server on > another > machine and when I tried to connect I got the message 'ACCESS > DENIED'. Am I > correct in assuming this is because I have not deployed the midas > license? > > The client server does work on the one machine and when the server > wasn't > registered on the remote machine is was giving a class not found > error > instead. > > Matt. > > > > -- - > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > DISCLAIMER: This electronic message together with any attachments is > confidential. If you are not the intended recipient, do not copy, disclose or > use the contents in any way. Please also advise us by return e-mail that you > have received the message and then please destroy. Carter Holt Harvey is not > responsible for any changes made to this message and / or any attachments after > sending by Carter Holt Harvey. We use virus scanning software but exclude all > liability for viruses or anything similar in this email or any attachment. > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: Newbie midas question ?
Thanks Jeremy, got past that stage, now I get the error, 'Error loading type library/dll' Any ideas? Matt. - Original Message - From: "Jeremy North" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 10:58 AM Subject: Re: [DUG]: Newbie midas question ? > > I assume you are using DCOM. You need to run DCOMCNFG.EXE and setup access > permissions. > > JED > > >Just playing around with a little bit of midas. I ran a server on another > >machine and when I tried to connect I got the message 'ACCESS DENIED'. Am > I > > > > ** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the [EMAIL PROTECTED] > > ** > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
[DUG]: Newbie midas question ?
Just playing around with a little bit of midas. I ran a server on another machine and when I tried to connect I got the message 'ACCESS DENIED'. Am I correct in assuming this is because I have not deployed the midas license? The client server does work on the one machine and when the server wasn't registered on the remote machine is was giving a class not found error instead. Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
[DUG]: volume file type.
Title: RE: [DUG]: Source Scrounge Does anyone have any quick routines for finding the volume file type... I am currently playing around with getvolumeinformation, but if anyone has been there done that, that would be awesome. Matt. - Original Message - From: Stephen Barker To: Multiple recipients of list delphi Sent: Wednesday, October 17, 2001 11:36 AM Subject: RE: [DUG]: Source Scrounge RX tools also has one called comboedit. regards, Steve -Original Message-From: Tom Munro Glass [mailto:[EMAIL PROTECTED]]Sent: Tuesday, 16 October 2001 12:47To: Multiple recipients of list delphiSubject: RE: [DUG]: Source Scrounge LMD Tools TLMDEdit component does this, but I can't give you the source! It may be in the lite version on the Delphi companion tools CD. Tom Munro Glass > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Neven MacEwan > Sent: Tuesday, 16 October 2001 10:31 a.m. > To: Multiple recipients of list delphi > Subject: [DUG]: Source Scrounge > > > Hi all > > Does anyone have source for a simple Tedit that has a button > on the right > (like an ellipses) and an OnButtonClick Event > > TIA > > Regards Neven > N.K. MacEwan B.E. E&E > Ph 649 574 0027 > Fax 649 570 2706 > [EMAIL PROTECTED] > > > -- > - > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ >
Re: [DUG]: modification dates.
Hi Rohit, I found out some interesting information on the microsoft site. Apparently NTFS stores files in UTC (grenich mean time) whereas fat stores local time zone information. This may explain why on nt4 you were getting different results with different drives. I have more information and the link to the technical info as well if you are interested. - Original Message - From: "Rohit Gupta" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Monday, October 15, 2001 3:57 PM Subject: Re: [DUG]: modification dates. > Its worse than that. IT changes on 2000. However on Nt4, it > changes on some drives for some users 9Seemingly at random). > This was supposed to be fixed in Sp5 or thereaboust but it has > probably come back. > > When you think about it, there is no solution. Assuming that 2000 > now stores the GMT for filedatetimestamps, transalation to local > time will change on whether you have day light saving on or not. IT > still a pain in the posterior when suddenly thousands of your files > suddenly change thier date of modification. > > To: Multiple recipients of list delphi <[EMAIL PROTECTED]> > Send reply to: [EMAIL PROTECTED] > From: "Matthew Comb" <[EMAIL PROTECTED]> > Subject:[DUG]: modification dates. > Date sent: Mon, 15 Oct 2001 14:16:21 +1300 > > > Hi people. I have found something interesting with the modification dates > > for files on different operating systems. > > > > On windows 98 if you change time zone or daylight savings the modification > > date doesn't change, on windows 2000 if you change those settings, the > > modification date DOES change at least it does on my machine. > > > > 1. Can some other people test that for me on different configurations and > > tell me what they get? (particularly interested in win 95 and win nt 4). > > > > 2. Does anyone know why this difference exists? > > > > 3. Does anyone know how windows handles dates with regard to files and time > > zones? > > > > Any help would be appreciated. > > > > Matthew Comb > > Technical Director > > Mobile: (021) 350 147 > > > > FileSafe - http://www.filesafe.co.nz > > Numberworks - http://www.numberworks.com > > > > The information contained in this message and attachments is confidential > > and intended for the named recipient(s). If you have received this message > > in error: 1. You are prohibited from copying, distributing, and using the > > information. 2. Please contact the sender immediately and destroy original > > message. If you have any doubt about the authenticity of this message, > > please confirm with the sender. > > > > > > > > -- - > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > > Regards > > Rohit > > == > CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand > PH(649) 489-2280 > FX(649) 489-2290 > email [EMAIL PROTECTED] or [EMAIL PROTECTED] > == > > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: modification dates.
Rohit, thanks for the response, In sysutils, the fileage method does this : FileTimeToLocalFileTime(FindData.ftLastWriteTime, LocalFileTime); if FileTimeToDosDateTime(LocalFileTime, LongRec(Result).Hi, LongRec(Result).Lo) then Exit; If you bypass the filetime to localfiletime method, should this in theory give you just the gmt basically and is this reliable or is this likely to change somehow too? Matt. - Original Message - From: "Rohit Gupta" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Monday, October 15, 2001 3:57 PM Subject: Re: [DUG]: modification dates. > Its worse than that. IT changes on 2000. However on Nt4, it > changes on some drives for some users 9Seemingly at random). > This was supposed to be fixed in Sp5 or thereaboust but it has > probably come back. > > When you think about it, there is no solution. Assuming that 2000 > now stores the GMT for filedatetimestamps, transalation to local > time will change on whether you have day light saving on or not. IT > still a pain in the posterior when suddenly thousands of your files > suddenly change thier date of modification. > > To: Multiple recipients of list delphi <[EMAIL PROTECTED]> > Send reply to: [EMAIL PROTECTED] > From: "Matthew Comb" <[EMAIL PROTECTED]> > Subject:[DUG]: modification dates. > Date sent: Mon, 15 Oct 2001 14:16:21 +1300 > > > Hi people. I have found something interesting with the modification dates > > for files on different operating systems. > > > > On windows 98 if you change time zone or daylight savings the modification > > date doesn't change, on windows 2000 if you change those settings, the > > modification date DOES change at least it does on my machine. > > > > 1. Can some other people test that for me on different configurations and > > tell me what they get? (particularly interested in win 95 and win nt 4). > > > > 2. Does anyone know why this difference exists? > > > > 3. Does anyone know how windows handles dates with regard to files and time > > zones? > > > > Any help would be appreciated. > > > > Matthew Comb > > Technical Director > > Mobile: (021) 350 147 > > > > FileSafe - http://www.filesafe.co.nz > > Numberworks - http://www.numberworks.com > > > > The information contained in this message and attachments is confidential > > and intended for the named recipient(s). If you have received this message > > in error: 1. You are prohibited from copying, distributing, and using the > > information. 2. Please contact the sender immediately and destroy original > > message. If you have any doubt about the authenticity of this message, > > please confirm with the sender. > > > > > > > > -- - > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > > Regards > > Rohit > > == > CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand > PH(649) 489-2280 > FX(649) 489-2290 > email [EMAIL PROTECTED] or [EMAIL PROTECTED] > == > > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
[DUG]: modification dates.
Hi people. I have found something interesting with the modification dates for files on different operating systems. On windows 98 if you change time zone or daylight savings the modification date doesn't change, on windows 2000 if you change those settings, the modification date DOES change at least it does on my machine. 1. Can some other people test that for me on different configurations and tell me what they get? (particularly interested in win 95 and win nt 4). 2. Does anyone know why this difference exists? 3. Does anyone know how windows handles dates with regard to files and time zones? Any help would be appreciated. Matthew Comb Technical Director Mobile: (021) 350 147 FileSafe - http://www.filesafe.co.nz Numberworks - http://www.numberworks.com The information contained in this message and attachments is confidential and intended for the named recipient(s). If you have received this message in error: 1. You are prohibited from copying, distributing, and using the information. 2. Please contact the sender immediately and destroy original message. If you have any doubt about the authenticity of this message, please confirm with the sender. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
[DUG]: Daylight Savings.
If you stick adjust clock for daylight savings on and go to the appropriate mth on your clock, why do all your files say they have been modified an hour later. Doesn't this throw havoc with copying files and syncronisation etc? Is there a way to check for this in the registry or anything? Matthew Comb Technical Director Mobile: (021) 350 147 FileSafe - http://www.filesafe.co.nz Numberworks - http://www.numberworks.com The information contained in this message and attachments is confidential and intended for the named recipient(s). If you have received this message in error: 1. You are prohibited from copying, distributing, and using the information. 2. Please contact the sender immediately and destroy original message. If you have any doubt about the authenticity of this message, please confirm with the sender. Matthew Comb Technical Director Mobile: (021) 350 147 FileSafe - http://www.filesafe.co.nz Numberworks - http://www.numberworks.com The information contained in this message and attachments is confidential and intended for the named recipient(s). If you have received this message in error: 1. You are prohibited from copying, distributing, and using the information. 2. Please contact the sender immediately and destroy original message. If you have any doubt about the authenticity of this message, please confirm with the sender. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
[DUG]: Programmer wanted.
Greetings, We have another position going for a delphi programmer working for a company based in Byron Ave, Takpuna on the North Shore. Position would suit competent programmer (not necessarily Delphi but preferred) with an interest in multimedia programming. The job is programming for a company that makes educational software so english skills must be good as you will have to work unsupervised at times. Email [EMAIL PROTECTED] for more details or for submitting CV. Matthew Comb Technical Director Mobile: (021) 350 147 FileSafe - http://www.filesafe.co.nz Numberworks - http://www.numberworks.com The information contained in this message and attachments is confidential and intended for the named recipient(s). If you have received this message in error: 1. You are prohibited from copying, distributing, and using the information. 2. Please contact the sender immediately and destroy original message. If you have any doubt about the authenticity of this message, please confirm with the sender. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: closing modal form.
Yer there is an ftpclient (ICS) component on the main form and I am wondering if it is doing something weird to the application that makes the form unable to react to that property being set. I haven't tried freeing it at that point. Ill give that a shot out of interest but I think I'm just going to make these other forms fsstayontop. Only problem is that I have three levels of forms but I guess if I keep track of which should be visible (only one form should ever be visible) then I can just make sure that that form is fsstayontop and the others are normal. Seem logical? Matt. - Original Message - From: "Patrick Dunford" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Wednesday, September 19, 2001 10:52 AM Subject: RE: [DUG]: closing modal form. > Are you using a message box, or a form of your own that you have made modal? > > If the latter, can you free the form and will it then go away? > > I have the same problem in an app. It may be necessary to make the form > "modal" in some other way. > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Matthew Comb > > Sent: Wednesday, 19 September 2001 09:16 > > To: Multiple recipients of list delphi > > Subject: Re: [DUG]: closing modal form. > > > > > > thanks guys. Weird thing is I'm not doing any of those??? > > > > > > > > - Original Message - > > From: "Robert Martin" <[EMAIL PROTECTED]> > > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > > Sent: Tuesday, September 18, 2001 4:05 PM > > Subject: Re: [DUG]: closing modal form. > > > > > > > Setting modalresult to 0 will also not close the form. > > > > > > Robert Martin > > > Software Engineer > > > Wild Software Ltd > > > - Original Message - > > > From: "Steve Peacocke" <[EMAIL PROTECTED]> > > > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > > > Sent: Tuesday, September 18, 2001 3:54 PM > > > Subject: RE: [DUG]: closing modal form. > > > > > > > > > > -- Original Message -- > > > > >Under what circumstances would it not close? > > > > > > > > > > > > 1. Anytime during OnCreate > > > > 2. if OnCloseQuery does not allow it > > > > > > > > Can't think of any more off hand. > > > > > > > > Steve > > > > > > > > > > > > -- > > > - > > > > New Zealand Delphi Users group - Delphi List - > > [EMAIL PROTECTED] > > > > Website: http://www.delphi.org.nz > > > > To UnSub, send email to: [EMAIL PROTECTED] > > > > with body of "unsubscribe delphi" > > > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > > > > > > > > > -- > > - > > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > > Website: http://www.delphi.org.nz > > > To UnSub, send email to: [EMAIL PROTECTED] > > > with body of "unsubscribe delphi" > > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > > > > -- > > - > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: closing modal form.
Ha ha :) - Original Message - From: "Steve Peacocke" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Wednesday, September 19, 2001 10:34 AM Subject: Re: [DUG]: closing modal form. > -- Original Message ------ > From: "Matthew Comb" <[EMAIL PROTECTED]> > >thanks guys. Weird thing is I'm not doing any of those??? > > Oh, and one other: If you are running Windows :) > > Steve > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: closing modal form.
thanks guys. Weird thing is I'm not doing any of those??? - Original Message - From: "Robert Martin" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Tuesday, September 18, 2001 4:05 PM Subject: Re: [DUG]: closing modal form. > Setting modalresult to 0 will also not close the form. > > Robert Martin > Software Engineer > Wild Software Ltd > - Original Message - > From: "Steve Peacocke" <[EMAIL PROTECTED]> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > Sent: Tuesday, September 18, 2001 3:54 PM > Subject: RE: [DUG]: closing modal form. > > > > -- Original Message -- > > >Under what circumstances would it not close? > > > > > > 1. Anytime during OnCreate > > 2. if OnCloseQuery does not allow it > > > > Can't think of any more off hand. > > > > Steve > > > > -- > - > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
[DUG]: closing modal form.
Hi. For some reason in my program at certain bailout points in a routine. If you call close on the form which has been shown modally, the form will not close. I have checked the formstate at that point to determine if it is still modal and it is. Under what circumstances would it not close? Help appreciated. Matt. - Original Message - From: Jeremy Coulter To: Multiple recipients of list delphi Sent: Monday, September 17, 2001 2:21 PM Subject: [DUG]: Keymappings - Found a solution Hi allI found a solution to the key mappings issue I had. I was reading something in the helpfile that mentioned that you can do extra keymappings via the open tools api. Now, being lazy(since its the last day of my holiday), I did a search on Torrys and found a component called "Block Shift IDE Editor Enhancement v.1.0 " Does the trick just nicely. Cheers, Jeremy Coulter
[DUG]: sockets programmers.
Any delphi sockets programmers around at the moment - particularly people with experience in ftp. Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
[DUG]: shutting down windows.
Does anyone have any code for forcing the shutdown of a machine? I need it for both win98 and 2k. Cheers, Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: enhanced tchecklist?
Does anyone know of a tchecklistbox that also has expansion like in attree view? So that you can group tickable items?Matt. - Original Message - From: Mark Howard To: Multiple recipients of list delphi Sent: Wednesday, May 30, 2001 12:55 PM Subject: Re: [DUG]: SQL and Parameters Okay - Too vague? Further to my post below: The error is and EDBEngineError "Could not find object' and it occurs on the line that opens the query. Is there any way to get more specific information about the error? What sort of things would cause an error of this nature? Any help would be greatly appreciated. TIA Mark Hi Using Paradox. When I run the following SQL code (DocNos.Sql) using the LoadFromFile method, things work fine; Delete from DocketNos Where DocketNo in (Select DocketNo from DocketsWhere ForCode not in (Select distinct forcode from docketswhere docketdate > '03/31/2001')) But when I try to parameterise it as follows, and with the final line of the Sql file changed to : where docketdate > :SaveDate)) then I get an error message "Could not find object" procedure RunPQuery(SQLFile: string); begin with RSQuery do begin Close; Unprepare; SQL.LoadFromFile('DocNos.SQL'); ParamByName('SaveDate').AsString := DateToStr(CurrentDate); Prepare; Open; MainForm.Memo.Lines.Add('Done'); end; end; Can any one see where I have gone wrong? TIA Mark
Re: [DUG]: user name and password undefined.
Good idea but no.. nothing that sophisticated going on. Its bare bones, one database, one query. the database has a database name and the query uses that database name. the database runs when the app runs and is never at any point disconnected for anything (by us anyway). Cheers, Matt. - Original Message - From: "James Low" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Thursday, May 24, 2001 2:57 PM Subject: RE: [DUG]: user name and password undefined. > The server isn't closing the database for a backup or something simple like > that is it? > > -Original Message- > From: Matthew Comb [mailto:[EMAIL PROTECTED]] > Sent: 24 May 2001 14:44 > To: Multiple recipients of list delphi > Subject: [DUG]: user name and password undefined. > > > Hi people, > > This is just about driving me nuts. I have a server app that has an access > back end (ODBC). Hardly anything is going on database wise, when people > connect it > checks there username and password in a table and either disconnects or > validates them. > > I am using 1 tdatabase comopnenet and one tquery component. There is no user > name and password set. > > Every couple of days, the server throws up an error message 'User name and > password undefined' and then the whole server application closes after a few > seconds of that without user intervention, I just managed to catch it. > > This database is also shared with an ASP page which is doing nothing > unusual. > > Where should I start looking? Any bright ideas? > > Actually If someone was looking to earn a dinner, I would love someone to > come over and check my database configuration out. Based in Takapuna if > anyone is interested. > > Matt. > > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: user name and password undefined.
Hi people, This is just about driving me nuts. I have a server app that has an access back end (ODBC). Hardly anything is going on database wise, when people connect it checks there username and password in a table and either disconnects or validates them. I am using 1 tdatabase comopnenet and one tquery component. There is no user name and password set. Every couple of days, the server throws up an error message 'User name and password undefined' and then the whole server application closes after a few seconds of that without user intervention, I just managed to catch it. This database is also shared with an ASP page which is doing nothing unusual. Where should I start looking? Any bright ideas? Actually If someone was looking to earn a dinner, I would love someone to come over and check my database configuration out. Based in Takapuna if anyone is interested. Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: help formats.
Wicked thanks Donovan! - Original Message - From: "Donovan J. Edye" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Friday, May 18, 2001 2:18 PM Subject: RE: [DUG]: help formats. > M, > > There are a number of components out there that translate WinHelp calls into > HTMLHelp (.chm) calls. Have a look at: > > http://www.ec-software.com/tutorial.htm : All about Delphi and help files > http://www.ec-software.com/comppage.htm : Translation components > > HTH's > > -- D > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Matthew Comb > Sent: Friday, 18 May 2001 12:01 > To: Multiple recipients of list delphi > Subject: [DUG]: help formats. > > Does Delphi handle the chm help format or just the hlp file formats? > > the chm seems to be used heaps more these days. Is anyone using it? > > Matt. > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: Basic database error.
Hi Corey yes I am using a tdatasource and ttable because I only have professional and not any of the ADO controls. I get the prompt when the application first loads, but more drastically, I don't know if the session is timing out or whatever but sometimes I come in in the morning and there is an error message User name and password undefined. I click ok and the application closes. How can i configure it so that this prompt never occurs while still using these controls? Any ideas? Matt. - Original Message - From: "Corey Murtagh" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Friday, May 18, 2001 2:08 PM Subject: Re: [DUG]: Basic database error. > Matthew Comb wrote: > > > > Hi people, > > > > What can I do to stop User name and password undefined error message in my > > app. (has access via odbc backend). > > Are you using a TDatabase to access the ODBC data source? They give you > more control over ODBC parameters, including the username and password. > Just remember to change the database that your tables/queries are connecting > to so that they go through the connection created by the TDatabase. > > -- > Corey Murtagh > The Electric Monk > "Quidquid latine dictum sit, altum viditur!" > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: help formats.
Does Delphi handle the chm help format or just the hlp file formats? the chm seems to be used heaps more these days. Is anyone using it? Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: Basic database error.
Hi people, What can I do to stop User name and password undefined error message in my app. (has access via odbc backend). It for some reason takes the app down? Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: MDI
Are MDI forms still being used or are they fairly redundant these days. What is the easiest way to make sure that your whole app only gets one icon in the taskbar and when you minimise second and third etc forms that the whole application minimises? Cheers, Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: MDI
Are MDI forms still being used or are they fairly redundant these days. What is the easiest way to make sure that your whole app only gets one icon in the taskbar and when you minimise second and third etc forms that the whole application minimises? Cheers, Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: Re:RE: [DUG]: Command Line Compiler
Paul its been a while but have you tried the -U and -R switches for the command line compiler. Unless your using that config file for dcc32 in which you can designate the unit search paths. Do you have to be in the directory with that config file in it in order to call dcc32 otherwise it may not load the settings and not have a valid search path list? Matt. - Original Message - From: <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Wednesday, January 10, 2001 2:23 PM Subject: Re:RE: [DUG]: Command Line Compiler > That was what I thought - but sadly no... > > I can compile no problem in the IDE, But not via the command line (unless I > include the .DCU) > > Reply Separator > Subject: RE: [DUG]: Command Line Compiler > Author: [EMAIL PROTECTED] > Date: 10/01/2001 13:16 > > > > I have no experience with the command line compiler at all, but from the > message could it be refering to the resource (.res) file??? > > Nahum. > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of [EMAIL PROTECTED] > > Sent: Wednesday, January 10, 2001 1:56 PM > > To: Multiple recipients of list delphi > > Subject: [DUG]: Command Line Compiler > > > > > > Help, > > > > I have a simple program (D5) the Project 1 Form and some units. > > I need to use the command line compiler (DCC32.exe) on this but it keeps > > throwing an error > > The Error is "File Not Found" for the Forms .DCU > > > > Any help much appreciated. > > > > TIA > > Paul > > > > > > > > > > > > -- > > - > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > > > - -- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] >Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi"(See attached file: att1.eml) > > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: system file versions and driver versions.
Hi people, wondering if anyone has ever written something to spit out a list of version numbers/dates for dlls and driver file versions/dates on a machine for diagnostic purposes? Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: Interbase ASP.
Can someone point me to some resources to do with accessing an interbase database via ASP...Are there ODBC drivers? Cheers, Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: Interbase ASP.
Can someone point me to some resources to do with accessing an interbase database via ASP...Are there ODBC drivers? Cheers, Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: findfirst-next-close
Flag that... just found out what was wrong.. our error - frustration ends. Matt. - Original Message - From: "Matthew Comb" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Wednesday, December 20, 2000 11:28 AM Subject: [DUG]: findfirst-next-close > Hi people, we have a routine that recurses through a directory makes a list > of the directories using findfirst findnext findclose... then after the > findclose, goes through that list in reverse order and deletes the > directory. > > This routine works fine under win98, but under win2k it deletes the first > directory and then fails to delete the others as though win2k was locking > them somehow. > > Does anyone have any ideas why this might be happening? > > There are no files in any of the directories... > > I can supply source for this procedure if necessary. > > Matt. > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: findfirst-next-close
Hi people, we have a routine that recurses through a directory makes a list of the directories using findfirst findnext findclose... then after the findclose, goes through that list in reverse order and deletes the directory. This routine works fine under win98, but under win2k it deletes the first directory and then fails to delete the others as though win2k was locking them somehow. Does anyone have any ideas why this might be happening? There are no files in any of the directories... I can supply source for this procedure if necessary. Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: MS Linux
You might have wanted to read some of the text on the page. e.g.: Microsoft Invades Cuba Microsoft's plan to invade cuba and overthrow the government has succeeded. One Microsoft official said "It's a win-win situation. The US Government is happy and shuts up the DOJ while Microsoft institutes a monopoly within Cuba for everything from computer software to toilet paper. One more step closer to world domination. Heck, we could feed a whole development department for the cost of one developer's salary in the US. They may not know how to create an Operating System very well, but neither do our US developers." Microsoft Monkey Colony on Mars Microsoft has announced that a team of monkeys will be shot into space in 2005 to establish the first Martian Colony. At a recent press conference, Bill Gates confirmed, "We are already training the monkeys to do simple tasks like reboot the space ship when it blue screens. The space vehicle will be running our newest product, SpacePod 2004. This product will instruct the monkeys how to colonize Mars and establish trade with the Martians. We intend to monopolize this market before Human travel to Mars is possible." MS Linux to have Start Button Microsoft is working to incorporate the well known "Start" button from the Windows Platform into X Windows' Gnome interface. "We just can't figure out how the hell to get that darn foot out of there! The damn thing is like stuck." The team will have this feature ready by product launch. Matt. - Original Message - From: "Sandeep" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Thursday, December 07, 2000 1:07 PM Subject: RE: [DUG]: MS Linux > On 7 Dec 2000, at 13:31, [EMAIL PROTECTED] wrote: > > > I heard this was a hoaxthat ms were ding their own version of Linux. > > > > It sure fooled my...but...eh...it was a hoax > > UNLESS MS read the same or similar email and its being developed to save face...hehehe > > > > Jeremy Coulter > > Check out MS Linux website > http://www.mslinux.org > > Sandeep > > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: file in use?
How do I go about finding out if a file is in use? Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: file option in windows.
Can anyone give me examples on how to add a file option to windows. e.g. right click on a directory and have the option compress there like winzip does? I would like to add something to both directories and all files. Cheers, Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: embedded database.
Ian, does it completely compile into the executable? Do you require ADO or anything else to be installed. Are there any distributable dlls? and do the standard database controls work with it? Cheers, Matt. - Original Message - From: "Ian Fear" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Saturday, November 25, 2000 12:02 PM Subject: Re: [DUG]: embedded database. > On 25 Nov 2000, at 11:34, Matthew Comb wrote: > > > Gidday, I remember someone talking about embedded database engines (or maybe > > a couple of dlls you distribute with your app), as apposed to having to > > deploy the bde. > > I use Flash Filer from turbopower , your project can be complied as a single exe if you wish or > set up as client server, runs very fast in single use and supposed to be able to handle 20 to 30 > users ok although I have not tested this. > > The drawback is it is not SQL > Another I have heard well spoken of is DBISAM -- Is SQL but not sure about being able to move > up to Client server for multi user > > > Does anyone know what these ones are and have links to them? > > > > Cheers, > > > > Matt. > > > > -- - > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > > Ian Fear > Fear Consulting Ltd > 1427 Te Kopia Rd > RD 1 > Rotorua > New Zealand > Phone 64 7 333 1548 > Fax 64 7 333 2548 > mob 025 742 772 > [EMAIL PROTECTED] > GMT +1200 > http://mysite.xtra.co.nz/~IJFear/ > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: embedded database.
Gary, great, exactly what I ws after! Matt. - Original Message - From: "Gary T. Benner" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Saturday, November 25, 2000 10:42 AM Subject: RE: [DUG]: embedded database. [Reply] At 11:28 on 25/11/2000 Malcolm wrote >To : >CC : >From: Matthew Comb, [EMAIL PROTECTED] >Gidday, I remember someone talking about embedded database engines (or maybe >a couple of dlls you distribute with your app), as apposed to having to >deploy the bde. > >Does anyone know what these ones are and have links to them? Take a look at Kyle Cordes site: http://www.kylecordes.com/ Don't forget that Interbase is regarded as an 'embedded database", and that with v6 there is an install API. Kind Regards Gary Gary Benner - Software Developer [EMAIL PROTECTED] Corporate Software New Zealand Limited Auckland - New Zealand tel: +64-9 846-6067 (24hr) fax: +64-9 846-6152 mob: (021)-966-992 Software System Design - Consulting - Mentoring - Data Modelling Client Server - Delphi - Interbase - Oracle - Web-based Technologies Electronic Automation and Systems - Microcontroller Design & Software http://www.corporate.co.nz Ref#: 41006 --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: embedded database.
Gidday, I remember someone talking about embedded database engines (or maybe a couple of dlls you distribute with your app), as apposed to having to deploy the bde. Does anyone know what these ones are and have links to them? Cheers, Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: dbhelp
Thanks Nello, really appreciate that... had no idea where to look to be honest. Matt. - Original Message - From: "Nello Sestini" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Tuesday, November 21, 2000 3:32 PM Subject: Re: [DUG]: dbhelp > Matt > > > One of our programs apparently threw up a dbhelp error message. > > > Don't have any more info than that, other than its running convention > delphi database controls on a > paradox table BDE etc. > > > > What is a dbhelp error message? > > > DBHELP is (was?) a utility for XBASE tables which were (still are?) > supported > by the BDE as an alternative "desktop database" to paradox.If your app > is using > paradox tables i'm surprised it's using DBHELP. > > I tried to find something about this on > http://community.borland.com/downloads/ > but I keep getting "Too many users" errors. > > -ns > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: dbhelp
Hey I posted this message a while back but didn't get any response, thought i might try my luck again. One of our programs apparently threw up a dbhelp error message. Don't have any more info than that, other than its running convention delphi database controls on a paradox table BDE etc. What is a dbhelp error message? Can anyone offer any starting points? Cheers, Matt.
Re: [DUG]: Is Everyone dead or something ?
Hands up the programmers who are just twiddling their thumbs waiting for 5:00 to roll around? Matt. - Original Message - From: "James Sugrue" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Tuesday, November 21, 2000 2:29 PM Subject: RE: [DUG]: Is Everyone dead or something ? > Was it ever alive ? ;-) > > -----Original Message- > From: Matthew Comb [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 21 November 2000 16:35 > To: Multiple recipients of list delphi > Subject: Re: [DUG]: Is Everyone dead or something ? > > > Or Java is dead... that should get Nic interested at least... > > Matt. > - Original Message - > From: <[EMAIL PROTECTED]> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > Sent: Wednesday, November 22, 2000 3:15 AM > Subject: [DUG]: Is Everyone dead or something ? > > > > Very few messages today ! > > > > someone should start a thread that is contriversial > > > > something like.Microsoft is the best company in the worldJUST an > example. > > > > hehehehe > > > > Cheers, Jeremy Coulter > > > > > > > > > > -- > - > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > > > > CAUTION - This message may contain privileged and confidential information intended only for the > use of the addressee(s) named above. If you are not the intended recipient of this message you are > hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. > If you have received this message in error please notify Progressive Enterprises Ltd. immediately via > email at [EMAIL PROTECTED] Any views expressed in this message are those of the > individual sender and may not necessarily reflect the views of Progressive Enterprises Ltd. > > This footnote also confirms that Progressive Enterprises Ltd. has swept this email message for the > presence of computer viruses. This does not guarantee this message is virus free. > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: Is Everyone dead or something ?
Or Java is dead... that should get Nic interested at least... Matt. - Original Message - From: <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Wednesday, November 22, 2000 3:15 AM Subject: [DUG]: Is Everyone dead or something ? > Very few messages today ! > > someone should start a thread that is contriversial > > something like.Microsoft is the best company in the worldJUST an example. > > hehehehe > > Cheers, Jeremy Coulter > > > > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: [OFF TOPIC] Which unversity is good?
Leigh, I went to Massey University in Albany, the maths department was top notch (had this guy Francis Thio who is now head research mathemetician for NASA) but not sure that the computer science department is so strong out there. Could be wrong it has been a couple of years. One thing Massey does have going for it are facilities, actually have fast machines, decent usage on them, parking etc... these things make a difference if you are doing it onsite. Realistically either is going to be good, which is easiest to get to from where you are? Matt. > Hello everyone, > > I just want to know for Master of Computer Science which university is good > in Auckland? University of Auckland or Massey University Albany campus? > > Thanks in advance. > > Leigh > > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: database error.
Hi people, sorry to post a really vague message. Have franchisee in England reporting the following error message fragment. Does anyone recognise this? KNow what causes it? Dbhelp An error has occurred in your program Cheers, Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: runtime packages.
Should have checked there first. Thanks Myles! - Original Message - From: Myles Penlington To: Multiple recipients of list delphi Sent: Monday, November 13, 2000 10:28 AM Subject: RE: [DUG]: runtime packages. There is a demo about runtime packages includes in the demos directory - this shows most of the techniques you need to know about. Myles. -Original Message-From: Matthew Comb [mailto:[EMAIL PROTECTED]]Sent: Monday, November 13, 2000 12:31 PMTo: Multiple recipients of list delphiSubject: [DUG]: runtime packages. Hi people, just playing around with runtime packages.. I can only find the following under help. with OpenDialog1 do if Execute then with PackageList.Items do AddObject(FileName, Pointer(LoadPackage(Filename))); Once past here how do you access the objects within the package? Matt.
[DUG]: runtime packages.
Hi people, just playing around with runtime packages.. I can only find the following under help. with OpenDialog1 do if Execute then with PackageList.Items do AddObject(FileName, Pointer(LoadPackage(Filename))); Once past here how do you access the objects within the package? Matt.
Re: [DUG]: question.
yes please to both. Cheers, Matt. - Original Message - From: "Peter G Jones" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Wednesday, November 08, 2000 11:18 PM Subject: Re: [DUG]: question. > I've made a start on documenting this on my website. As soon as I have > something useful to read I'll post a message here. > > If you like I can send you some code when I get home. > > > >From: "Matthew Comb" <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: Multiple recipients of list delphi <[EMAIL PROTECTED]> > >Subject: Re: [DUG]: question. > >Date: Wed, 8 Nov 2000 09:45:53 +1200 > > > >Peter, thanks for your insight. Any chance you could give me some examples > >of how to achieve this. Sounds like the way to go. > > > >Cheers, > > > >Matt. > >- Original Message - > >From: "Peter G Jones" <[EMAIL PROTECTED]> > >To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > >Sent: Monday, November 06, 2000 6:37 PM > >Subject: Re: [DUG]: question. > > > > > > > With Delphi 5 (I beleive earlier versions may behave differently) the > >only > > > way I got this to work was to use a dynamically loaded runtime package. > > > With a standard DLL, the form would not get tab key presses and menu's > > > wouldn't work either. With a runtime package everything works just > >fine. > > > > > > > > > - Original Message - > > > From: "Matthew Comb" <[EMAIL PROTECTED]> > > > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > > > Sent: Monday, November 06, 2000 4:56 PM > > > Subject: [DUG]: question. > > > > > > > > > > Hi people, > > > > > > > > another stupid question from me coming up. > > > > > > > > In the past when I have dealt with loading forms from a dll I have > >always > > > > done the standard showmodal and release method. > > > > > > > > Now I need a form that will essentially embed itself in the calling > >form > > > so > > > > that buttons on the original form can still be pressed while edit > >boxes > >on > > > > the second (called from dll) form are still receiving the focus. > > > > > > > > Can anyone offer me some advice. > > > > > > > > The desired effect can be achieved within an application by just going > > > > form2.parent:=form1; and then call form2.setfocus. You can still click > >the > > > > buttons on form1 but form2 still receives input. > > > > > > > > Any help would be appreciated. > > > > > > > > Cheers, > > > > > > > > Matt. > > > > > > > > > > > >-- > > > - > > > > New Zealand Delphi Users group - Delphi List - > >[EMAIL PROTECTED] > > > > Website: http://www.delphi.org.nz > > > > To UnSub, send email to: [EMAIL PROTECTED] > > > > with body of "unsubscribe delphi" > > > > > > > > >-- > >- > > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > > Website: http://www.delphi.org.nz > > > To UnSub, send email to: [EMAIL PROTECTED] > > > with body of "unsubscribe delphi" > > > >--- > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > >To UnSub, send email to: [EMAIL PROTECTED] > >with body of "unsubscribe delphi" > > _ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: question.
Peter, thanks for your insight. Any chance you could give me some examples of how to achieve this. Sounds like the way to go. Cheers, Matt. - Original Message - From: "Peter G Jones" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Monday, November 06, 2000 6:37 PM Subject: Re: [DUG]: question. > With Delphi 5 (I beleive earlier versions may behave differently) the only > way I got this to work was to use a dynamically loaded runtime package. > With a standard DLL, the form would not get tab key presses and menu's > wouldn't work either. With a runtime package everything works just fine. > > > - Original Message - > From: "Matthew Comb" <[EMAIL PROTECTED]> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > Sent: Monday, November 06, 2000 4:56 PM > Subject: [DUG]: question. > > > > Hi people, > > > > another stupid question from me coming up. > > > > In the past when I have dealt with loading forms from a dll I have always > > done the standard showmodal and release method. > > > > Now I need a form that will essentially embed itself in the calling form > so > > that buttons on the original form can still be pressed while edit boxes on > > the second (called from dll) form are still receiving the focus. > > > > Can anyone offer me some advice. > > > > The desired effect can be achieved within an application by just going > > form2.parent:=form1; and then call form2.setfocus. You can still click the > > buttons on form1 but form2 still receives input. > > > > Any help would be appreciated. > > > > Cheers, > > > > Matt. > > > > -- > - > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
[DUG]: question.
Hi people, another stupid question from me coming up. In the past when I have dealt with loading forms from a dll I have always done the standard showmodal and release method. Now I need a form that will essentially embed itself in the calling form so that buttons on the original form can still be pressed while edit boxes on the second (called from dll) form are still receiving the focus. Can anyone offer me some advice. The desired effect can be achieved within an application by just going form2.parent:=form1; and then call form2.setfocus. You can still click the buttons on form1 but form2 still receives input. Any help would be appreciated. Cheers, Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: Re:Copying Files
There is a third parameter which determines whether the function should copy over a file if a file of the same name already exists: From help: Specifies how this operation is to proceed if a file of the same name as that specified by lpNewFileName already exists. If this parameter is TRUE and the new file already exists, the function fails. If this parameter is FALSE and the new file already exists, the function overwrites the existing file and succeeds. For the string pchar problem have you tried casttyping e.g. pchar(whatever)? Matt. - Original Message - From: "Colin Dillicar" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Tuesday, October 17, 2000 2:04 PM Subject: [DUG]: Re:Copying Files > Hi all,> > I'm attempting to create a simple install program that will (just) fit> together with an application on a single floppy disk.> The idea is that a client will put the diskette in the drive, select> START/RUN then open A:/Install and the program will display a directory> list of C:\ , for selection or an Edit box instead. That way I can ensure> that idiot entries will be checked for.> > Trouble is when I assign, for instance, 'C:\{directory}' to a string> variable 'PathStg' and call MkDir(PathStg) the directory is created, but> when I later try to copy a file from A:\ by using the construct -> CopyFile('A:\Program.exe', PathStg); the compiler tells me that there are> incompatible types 'String' and 'Pchar' in the command - Please, why is> this ?> > If I use - CopyFile('A:\Program.exe' , 'C:\DestDir\Program.exe'); then I'm> told 'Not enough actual parameters' - Why ?> > The Help topic 'Moving, Copying and Renaming Files told me to use> CopyFile(FromFile,ToFile) where these parameters are strings. Where am I> going wrong ?> > Using Delphi/V3.> > TIA> > Colin> > > > > > - Original Message -> From: Patrick Dunford <[EMAIL PROTECTED]>> To: Multiple recipients of list delphi <[EMAIL PROTECTED]>> Sent: Wednesday, September 27, 2000 2:46 PM> Subject: RE: [DUG]: Application Idle> > > > Application.OnIdle is not the same. It fires when the app becomes idle.> But> > it does not tell you how long the app has been idle.> >> > However you may be able to implement a timer by polling with> > WaitForInputIdle. Application.OnIdle event is equivalent to calling> > WaitForInputIdle with the parameter value INFINITE.> >> > > -Original Message-> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On> > > Behalf Of Rohit Gupta> > > Sent: Wednesday, 27 September 2000 13:12> > > To: Multiple recipients of list delphi> > > Subject: Re: [DUG]: Application Idle> > >> > >> > > IF you havent found it yet... try teh application.onidle event> > >> > > To: Multiple recipients of list delphi> > > <[EMAIL PROTECTED]>> > > Send reply to: [EMAIL PROTECTED]> > > From: "Dedy Darmayanto" <[EMAIL PROTECTED]>> > > Subject: [DUG]: Application Idle> > > Date sent: Mon, 25 Sep 2000 16:05:46 +0700> > >> > > > Hi,> > > >> > > > How to detect Application Idle in Delphi,> > > > I mean that when the user does not use application in 5 minutes,> > > > then the application close> > > >> > > > Dedy,> > > >> > > >> > >> > >> > >> > > Rohit> > >> > > ==> > > CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand> > > PH (649) 489-2280> > > FX (649) 489-2290> > > email [EMAIL PROTECTED] or [EMAIL PROTECTED]> > > ==> > >> > > --> > > -> > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]> > > Website: http://www.delphi.org.nz> > > To UnSub, send email to: [EMAIL PROTECTED]> > > with body of "unsubscribe delphi"> > >> >> > --> -> > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]> > Website: http://www.delphi.org.nz> > To UnSub, send email to: [EMAIL PROTECTED]> > with body of "unsubscribe delphi"> >> > ---> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]> Website: http://www.delphi.org.nz> To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi"
Re: [DUG]: Re: Interbase
Definately is true... Sorry.. I had a table which used a token word which screwed up when executing SQL statements, easy just to put a prefix like r_ (for rohit) or something... Matt. - Original Message - From: "Rohit Gupta" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Wednesday, October 04, 2000 3:07 PM Subject: [DUG]: Re: Interbase > Is it true that one is limited in field names under interbase. I am > told that I cant have a fieldname such as Date or Time or Action or > Message or or or I have long list from a project conversion > > Please dont tell me this is so. > > Rohit > > == > CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand > PH(649) 489-2280 > FX(649) 489-2290 > email [EMAIL PROTECTED] or [EMAIL PROTECTED] > == > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: What is the best Freeware FTP Components?
Take a look at ICS, they are quite awesome. http://users.swing.be/francois.piette/indexuk.htm - Original Message - From: Chris Crowe To: Multiple recipients of list delphi Sent: Sunday, September 24, 2000 7:28 AM Subject: [DUG]: What is the best Freeware FTP Components? Hi, I am trying to find a decent free FTP Component. Basically I have a small app that uploads pages to my web site through FTP, it sometimes needs to upload 1 page, or maybe 100. I have tried 3 to date all with their own set of problems. 1) Monster FTP VCL 0.4.6 Does not fire events correctly, such as changing a directory into a non existant directory. 2) FastNet FTP (comes with D5) - If you get a failure (onFailure Event) you can not determine what the failure is other than it failed while it did a particular task, you do not appear to be able to get the error code such as 550 - Unable to create file, other than that it appears to be ok, but no source code. 3) Some other crap component. All I want to do is this: 1) Logon to the FTP Site 2) Change a directory 3) Create a directory 4) Upload a file After all of these actions I want to get a Success or Failure status, if a failure the REAL reason why. I want the control to wait until the action has completed before returning control to me as well. Also all of the controls I have at some point do weird stuff, such as returning error 500 or something meaning "command not understood". The command returns to me as something like "5" when I sent maybe an upload file command. It only appears to happen when IHUG is busy, but I have NEVER seen this is any FTP program, whereas in my FTP application it happens often when the Internet is busy, has anyone else experienced stuff like this?. The ftp client is running on a Internet Connection Sharing Client. To me it sounds like the server is sending this back since al the FTP components get this problem. Chris Crowe IISFAQ Web Site http://www.iisfaq.com
Re: [DUG]: Win 2000 and the Registry
Can you post your code, because I am doing similar things but not having any problems. Matt. - Original Message - From: "David O'Brien" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Thursday, September 21, 2000 3:06 PM Subject: [DUG]: Win 2000 and the Registry > We have a number of apps that read keys from HKEY_LOCAL_MACHINE. A client > has upgraded their site to Win2000, and unless they are an administrator, > cannot use our software. The keys return BLANK for a normal user. > > If a normal user runs Regedit, they can see the key is there and correct. > But we cannot read the key programmatically. > > Any Ideas? > > Dave. > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: Capturing an image from an mpg video
Did you want to do it programatically? Matt. - Original Message - From: "Darren J Gilbertson" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Monday, September 18, 2000 10:41 AM Subject: [DUG]: Capturing an image from an mpg video > I have a videoplayer component running but would like to capture a frame > image to the clipboard. Does anybody know how to do this? > > > Cheers > Darren Gilbertson > > -- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"