|
The best solution is to set a flag (with date/time) and check the flag before starting an edit session. If there is a possibility of a client not being able to reset the flag (ex: restart) before completing the edit, run a job in the background to check for flags that are open for the last x mins and reset those flags.
|
|
|
|
|
I want to embed the Power Point Viewer in my Windows Panel Control.
and send slide show on tcp channel
Is ther anyway to do this. Please suggest
Thanks
|
|
|
|
|
this was asked and answered here[^]. Asked by you, answered by me.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
But Luc! That was two days ago, and you didn't come round and update his code for him...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
OriginalGriff wrote: That was two days ago
AFAIK my answer still stands. Its sell by date hasn't passed yet.
OriginalGriff wrote: you didn't come round and update his code
His code? I must have missed more than a simple reply, a thank you note, a quest for more information.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
It was a joke - a poor one - I was implying that the OP was expecting you to visit him in person and implement the changes for him.
It's the only reason I could see why he would repeat the question...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
OriginalGriff wrote: It was a joke
Yeah, I did get it in one.
OriginalGriff wrote: a poor one
not really, it was OK for a Sunday morning.
BTW: did you notice the bad joke levels have dropped significantly in the Lounge?
On a different note: how is the summertime situation in the UK? did you adjust the clocks this weekend? or will you any time soon?
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
Yes, the clocks went forward last night, so we lost another hours sleep. With the new cat trying to keep us awake all night for two weeks, we are both feeling a rather tired! You?
Later today I will have to visit my elderly neighbour, and do all her clocks - that'll take about half an hour, since she has quite a few and the only radio-controlled one she keeps in a bedside cabinet drawer "so she can look at it at night".
The bad jokes do appear to have dropped in the lounge - is it a coincidence that DD is on holiday?
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
OriginalGriff wrote: Yes, the clocks went forward last night
Thanks, here too, so nothing has changed for me getting on line in time for the next CCC...
OriginalGriff wrote: rather tired! You?
I don't need a cat for that, in fact I'm allergic to all fluffy creatures. Our chess team just ended a tough chess competition pretty successfully. Up one league next year!
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
Luc Pattyn wrote: Up one league next year
Good for you! Should be harder competition next year...
We are thinking of calling the cat "Shrekie", short for "Schroedingers Wrecking Ball" - if you know where the cat is, you don't know what it is destroying...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
OriginalGriff wrote: if you <layer>know where the cat is, you don't know what it is destroying...
that is more of a Heisenberg behavior then.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
Yes, but he had a silly name when it comes to abbreviating it for cats..."Heisie" doesn't really work
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
hi,
could you please some one tell me when should I use interface? what is it,exactly?
|
|
|
|
|
No thanks. If one answers one such question, you'll be back asking about inner classes, abstract classes, patterns, inversion of control, and many more. Get yourself an introductory book to C# and study it, there is much to learn, and it doesn't make sense for anyone to write it down here piece by piece.
Now when you have a specific question relating to some code of yours, we all will be willing to help you out.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
|
check this & this
i think google is your best friend.
|
|
|
|
|
No, this is the current instance
|
|
|
|
|
|
|
|
Go to a CLASS or INTERFACE with a book!
Better still, CP Archive has This[^] article.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Ditto what everyone else has said.
Also, I think at your stage of learning it is very informative to look closely at some of the existing interfaces in the framework, and how they are implemented.
An example, one of many off the top of my head, is say IComparable and/or IComparable<T> . Then read the msdn blurb on the List<T>.Sort() method, and think about how implementing one of those interfaces in some class you design makes it possible to sort a list of instances of that class.
Again, I am not contradicting the good advice given by the previous posts, I am simply saying that studying some of the built-in interfaces and finding examples of their usage can be ONE aid to understanding interfaces in general.
|
|
|
|
|
|
i create a class with its attributes "id description category and default value" for each propriety inside it,
then i create another class that uses instance of the first class to draw some shapes on a windows form (with a windows form application) every thing is working just fine, but
the pb is: i cant c the attributes of the first class in the proprieties menu in visual studio,
knowing that i can c the attributes of the windows form, buttons, and all instance of the 2nd class, so is there any way to c the attributes if the first class.
|
|
|
|
|