LizR 171 Posting Virtuoso

How about scotts valley where embarcadero are based?

LizR 171 Posting Virtuoso

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.

LizR 171 Posting Virtuoso

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..

LizR 171 Posting Virtuoso

OK.....
Have a read on making events.. that would be a good place to start.

LizR 171 Posting Virtuoso

Trigger an event at the end of the threads running

LizR 171 Posting Virtuoso

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.

LizR 171 Posting Virtuoso

Please use the search button this forum has a number of questions about getting data from excel with answers

LizR 171 Posting Virtuoso

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.

LizR 171 Posting Virtuoso

Have a boolean field to say "dont update any more"

LizR 171 Posting Virtuoso

is your project using the new 2.0 framework?

LizR 171 Posting Virtuoso

You also need to stick with 1 thread on the same question

LizR 171 Posting Virtuoso

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.

LizR 171 Posting Virtuoso

so you want to do a mail merge in effect, why not use office?

LizR 171 Posting Virtuoso

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)

LizR 171 Posting Virtuoso

Crystal doesnt print access reports, it prints crystal reports.

LizR 171 Posting Virtuoso

Does it have the same version of excel installed?

LizR 171 Posting Virtuoso

Why run it as 2 queries, why not just run it as one?

LizR 171 Posting Virtuoso

.net doesnt really have pointers.. You dont need them

LizR 171 Posting Virtuoso

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?

LizR 171 Posting Virtuoso

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.

LizR 171 Posting Virtuoso

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.

LizR 171 Posting Virtuoso

Take a look in your delphi samples directory - theres one provided

LizR 171 Posting Virtuoso

Have a search on this forum, both these kinds of questions have already been answered.

LizR 171 Posting Virtuoso

Sure. But as you split that string up you would need to programattically do the splitting into the arrays.

LizR 171 Posting Virtuoso

As I said before, if you did that code twice it would add 2 rows.
STOP MAKING NEW THREADS ON THE SAME QUESTION

LizR 171 Posting Virtuoso

Its a text file, you should be able to read them with streamreader

LizR 171 Posting Virtuoso

add data for all the rows you want.. This just shows you're being incredibly lazy

LizR 171 Posting Virtuoso

If you create a data connection in the Visual studio IDE you can drag and drop tables etc to access them

LizR 171 Posting Virtuoso

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.

LizR 171 Posting Virtuoso

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.

LizR 171 Posting Virtuoso

Got to love dup posts of pointless questions.

LizR 171 Posting Virtuoso

You havent done that much reading then. make a data source in memory, and assign it to the datagrid view.

LizR 171 Posting Virtuoso

That makes no sense what so ever. You want to add something to itself?

LizR 171 Posting Virtuoso

Do a search on User Interface design.

LizR 171 Posting Virtuoso

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

LizR 171 Posting Virtuoso

Strings can contain line feeds etc

LizR 171 Posting Virtuoso

then search for file monitoring and c# on google - plenty of examples :P

LizR 171 Posting Virtuoso

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.

LizR 171 Posting Virtuoso

thats normally why you bind the control to the table/query

LizR 171 Posting Virtuoso

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..

LizR 171 Posting Virtuoso

What have you tried so far?

LizR 171 Posting Virtuoso

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.

LizR 171 Posting Virtuoso

Actually you can :)

as you can ask if Sender is TCheckBox :)

LizR 171 Posting Virtuoso

Can you post the stored proc contents, and the delphi query

LizR 171 Posting Virtuoso

Or, override the show function with a variable to make it so you pass the required variables with it.

LizR 171 Posting Virtuoso

Or how to pass it when making/opening the other form

LizR 171 Posting Virtuoso

See the responses in your other thread http://www.daniweb.com/forums/thread174448.html

LizR 171 Posting Virtuoso

then please check the casing of your variable.

LizR 171 Posting Virtuoso

Step is something that delphi kinda overlooked.

Easiest answer is a while loop.

LizR 171 Posting Virtuoso

Well, what have you tried so far? the helpfile has full examples of putting data in a datagrid