|
This is truly awful code. Are you competing in an unreadable code contest ?
This is a variation on code you posted the other day. You've done nothing to improve it. The error message means what it says. It seems to mean that your data does not contain a primary key which can be used for updating. Everything about this tells me that you are writing next to no code and letting wizards and auto generating tools do it for you. This path will only lead to a big mess, because you plainly don't understand how to write readable code, what any of this code does, etc.
If you're writing code for fun, start again, buy a good book, and learn how to actually write methods, and SQL, and so on. If you're being paid for this code, you are a disgrace, and I would expect that this project will either not be delivered, or be an unmaintainable mess when it is.
I also note you ask the same basic questions over and over, but never respond when people try to help you. No-one is even capable of fixing this mess based on what you posted, so start to discuss your problems with us, or just stop posting. You won't get a solution, ever, by doing what you're doing, we just cannot help you by giving exact instructions, even if we wanted to, based on this.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
OK, maybe tune it back a little now. 
|
|
|
|
|
I have tried to help this guy several times, so have other people. I'm sorry, but people who ask clueless questions, then don't answer when people try to help them, are just a waste of space. I always try to help in the first instance, even tho it's clear to me he is doing paid work and has no clue how it's done.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Christian Graus wrote: but people who ask clueless questions, then don't answer when people try to help them.
and this is increasing day by day
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
And he did the last thing we are expecting from him, deleted the post. 
|
|
|
|
|
Yeah, imagine my surprise....
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
What language(s) used behind flash tool/software.
|
|
|
|
|
Google broken where you live ? It's not C#, so you're in the wrong spot.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thanx Sir. Just checked Google with the same keyword ie "Language behind flash" but their engine already scanned this page in minutes & published as topmost result matched. Despite wrong forum, your reply DUE now as this page now top match that a typical surfer'd find (try above). It wont be appropriate to say 'action scripts' that appears 2b Macromedia® adapted proprietary for 'Java Applet®' behind the scene. Regards
FN: If I had tried Google first, I 'd never have made wrong forum choice.
modified on Saturday, September 26, 2009 2:24 AM
|
|
|
|
|
alrsds wrote: What language(s) used behind flash tool/software.
Not Chinese I guess
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
What about Japanese as flash now Adobe® sponsored
modified on Saturday, September 26, 2009 1:25 AM
|
|
|
|
|
|
How bad of an idea is it to use the customer's Windows Product Key to fingerprint an installation? I would ask them to run a 'registration utility' that would display their Windows Product Key, and ask them to email it to me. Then provide a version of the application that only works with that key. A quick search did not provide instance of attacks via Windows Product Key. (I guess I should encrypt it prior to displaying and asking to send). Please advise the newbie, thanks
|
|
|
|
|
First, create a product worth stealing...
|
|
|
|
|
There are installations out there that all use the same product key, i.e. corporate installations and Ghosted copies. It's definately NOT a fingerprint for Windows.
|
|
|
|
|
Dave, thank you for your response. The app has a small (no corporate licenses) and vertical market and I just want to make it hard enough to beat the ubiquitous 'viral cd with magic markered key'. Users who beat Microsoft (if I understand ghosting), will certainly beat me. If you have pointers to another fairly easy way to protect small projects, or other insights, I'd appreciate it. thanks again
|
|
|
|
|
The way we did it, was to have an online license generator, which generates a response key. That key is then stored in a file, so we can check for it. It's a checksum based on their license key and a unique id generated from the machine processor, network card, etc. If the app requires the web, you could make it check online every time, but the core point is, our software is disconnected from the license keys ( we can just bulk produce DVDs ), but, each key we give out will only work for a certain number of machines, so your licenses are secure so long as no-one reverse engineers your app and removes the license check altogether.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
was8309 wrote: Users who beat Microsoft (if I understand ghosting),
Ghosting is not a "beat" of Microsoft. it's actually a legitimate, and Microsoft supported, deployment method. Ghost itself is not supported by Microsoft, but the idea of it is.
was8309 wrote: If you have pointers to another fairly easy way to protect small projects, or other insights, I'd appreciate it.
I could tell you outright, but that would expose where I get my licensing data. I can tell you that I dig around in Windows and find data from various points, from the Registry to the Hard Drive to some rather not-so-well-known portions of Windows internals. You don't pickup a couple of points of data. You use as much as you can come up with. IIRC, I use some 18-20 points of data. Some of the data can be the same from machine to machine, but not all of it can be, even if the machine is ghosted. It all gets compiled into a nice little pacckage, encrypted, then sent to the licensing server. From there on, I really can't tell you what I do, for obvious reasons.
|
|
|
|
|
was8309 wrote: I would ask them to run a 'registration utility' that would display their Windows Product Key, and ask them to email it to me.
I don't think I would be too happy sending my Windows Product Key to a stranger.
|
|
|
|
|
From the other responses, it seems its common for apps to get all kinds of information from user's machines, but I see you point and so while I plan to try to implement the suggested solutions, I will not come right out and ask them to send any info. thanks
|
|
|
|
|
It would be better to hash the key before sending it, otherwise the keys could be stolen, and you don't really care about the key anyway - you're just using it to see whether it's "still the same key" which could also be done with hashes.
|
|
|
|
|
|
I want to create a c# winform application that creates & stores a list of tasks including date and status info. What are the options for storing my tasks. i read a little about serialisation and was considering that, is that a good idea ? What are the alternatives?
This is my first solo mini project aside from exercises in books, I would appreciate any help at all i'm looking for ideas and things to read up on mainly, all suggestions gratefully received.
|
|
|
|
|
SQL Server -- or any database.
Eventually you'll want to learn about reading and writing text and XML files so those are possibilities, but not as good.
|
|
|
|
|
Serialisation allows you to create a list of objects, then store that as a binary file, and restore it from there. It may be a good choice in this case, as it doesn't involve requiring a database, learning SQL, etc.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|