How about scotts valley where embarcadero are based?
LizR 171 Posting Virtuoso
How about scotts valley where embarcadero are based?
Liz, once again your answers are of no use to anyone but your ego.
What I'm asking for is generic pseudo-code. Your crappy list hardly answers any single one of my questions.
Well perhaps its your ego thats got the problem..
You showed NO effort at all, but now feel its fine and dandy to poke at someone else.. This is an exceptionally childish attitude
You didnt ask for pseudo-code, you didnt really ask for anything.
I asked you to try something, for which you didnt bother but come back with insults.
my "crappy" list gives you more info than you put in effort for your first post.
1. Well the obvious answer is to look see if its there.
2. See 1
3 yes.
Your statements sound like you have already been shown/explained answers.
So Start with the first problem you need to find out if the data is new data or not..
Go with that.. attempt some answers, post your ideas..
OK.....
Have a read on making events.. that would be a good place to start.
Trigger an event at the end of the threads running
You test if the value is set or not.. if it is dont let them change it
Or, you have to use multiple accounts within the app to connect to the database and have a special account that moves the record from one table to another where the second table is read only.. but thats complicated and leads to issues as you have more than 1 table to look up on.
Please use the search button this forum has a number of questions about getting data from excel with answers
Collect the data you want from however many sources you need to collect from, and place it in a single place (such as a CSV file) and merge.
Have a boolean field to say "dont update any more"
is your project using the new 2.0 framework?
You also need to stick with 1 thread on the same question
is the remote server also SQL 2005?
if so, and you know the DB format (presumably you made it or, you have a prefixed format from someone else) ensure you make tables on remote end if they dont exist and copy data table by table to from one connection to the other.
no Im not going to code it.
so you want to do a mail merge in effect, why not use office?
Dont run the query twice?
You have your code in a transaction, Im guessing it doesnt return the answer you want as the transaction doesnt close..
(Dont have an oracle to hand to test)
Crystal doesnt print access reports, it prints crystal reports.
Does it have the same version of excel installed?
Why run it as 2 queries, why not just run it as one?
.net doesnt really have pointers.. You dont need them
Other than your initial question seems an overly weird thing to do.. I cant think of why you would ever find yourself in a position to do what that code does.. but .. we'll ignore that..
Everything in .net is an object, so by turning it to a generic "tobject" you have your effective pointer. Does that explain it better?
OK, the showmessage is a dialogbox, all processing in your app stops when thats sent. So it probably does "eat" the second message if you click twice.
Hmmm.. you must have a nicer version then mine. When I click & drag, I get the circle with a slash through it and nothing drops in.. I also tried copy & paste.. No go.
I did find the with VB 2008 it is still working nicely.. But not C#.. this is frustrating!!!
VS 2008 express is all Im using.
Take a look in your delphi samples directory - theres one provided
Have a search on this forum, both these kinds of questions have already been answered.
Sure. But as you split that string up you would need to programattically do the splitting into the arrays.
As I said before, if you did that code twice it would add 2 rows.
STOP MAKING NEW THREADS ON THE SAME QUESTION
Its a text file, you should be able to read them with streamreader
add data for all the rows you want.. This just shows you're being incredibly lazy
If you create a data connection in the Visual studio IDE you can drag and drop tables etc to access them
So now you have 4 threads on the same subject. If you cant work out and reply to a one you already made, how do you realistically expect to learn to code?
You havent changed a single word of it, so it still doesnt make sense.
But thats not the question you asked. Please try some grammar, some punctuation, and real words. Please mark this thread and the other pointless one like it asking to put a control within itself, as solved, and stick with the thread about your data. Then, go there, explain what you want. better than you have here, as the above is not clear due to lack of readability.
Got to love dup posts of pointless questions.
You havent done that much reading then. make a data source in memory, and assign it to the datagrid view.
That makes no sense what so ever. You want to add something to itself?
Do a search on User Interface design.
Im fairly sure Ive seen free units that work. I tried it a few times but didnt do much with it as it costs money
Strings can contain line feeds etc
then search for file monitoring and c# on google - plenty of examples :P
Well it would seem daft you're reinventing the wheel when there are free anti malware pre-existing apps done by professional companies who spent a lot of time and money making them.
However, you would need to decide exactly what you're monitoring for and then do it.
Wether thats connecting to websites, creating/opening/reading/writing files
But your question seemed to be not how to detect the malware but how to tell your anti-malware client how to update and know what to look for - for which how your AV product works is the best example of exactly that senario which I outlined.
thats normally why you bind the control to the table/query
Well to do so you would need admin permissions to the remote machine, and then you can use WMI to retrieve various peices of data- however to connect to the remote machine you would normally already have a name - which you should be able to do a look up on to get IP..
What have you tried so far?
Think of how your AV product works.
On the client you have an engine which uses a signature file to scan all files for specific details, activies etc.
On the server end you have a file where your client can "phone home" and be told current or download this new one.
Why not just implement the same concept.
Actually you can :)
as you can ask if Sender is TCheckBox :)
Can you post the stored proc contents, and the delphi query
Or, override the show function with a variable to make it so you pass the required variables with it.
Or how to pass it when making/opening the other form
then please check the casing of your variable.
Step is something that delphi kinda overlooked.
Easiest answer is a while loop.
Well, what have you tried so far? the helpfile has full examples of putting data in a datagrid