|
It is possible (and quite trivial actually). All you need to do with is to call mo.Delete(); to mimic selecting Cancel in the Print monitor.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hello Pete,
Ok, what a suprise . Couldn't be easyer!
Thanks for your info.
Martin
|
|
|
|
|
Not a problem. Glad I could help.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete,
I could not find some properties in the ManagementObjects: Page size, and number of copies.
Plus, I have used a timer to keep getting a query at a fast rate. Even at this fast rate there is a possibility that it may miss an event or may miss some pages printed (opted to try and get the pages printed instead of using the total pages). Is there maybe another way to just retrieve all successfully printed print jobs?
Thanks.
Kevin.
|
|
|
|
|
How to get other people to code for me without lifting a finger myself on a simple search?
Give me's the codes!!!
-- modified at 11:53 Tuesday 19th December, 2006
Guess some people don't get sarcasm.
|
|
|
|
|
althamda wrote: How to get other people to code for me without lifting a finger myself on a simple search?
Pay them!
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
blackmail them...
V.
If I don't see you in this world, I'll see you in the next one... And don't be late. (Jimi Hendrix)
|
|
|
|
|
Along the lines of 'my code will kill your code if you don't give me the code'?
|
|
|
|
|
something along those lines yeah
V.
No hurries, no worries
|
|
|
|
|
|
quiteSmart wrote: r u serious?????????
No, was merely a sarcastic comment aimed at people who can't be bothered to research anything before posting a question.
|
|
|
|
|
Well your Subject got quite a lot of attention. Maybe I'll try it the next time.
|
|
|
|
|
Just post the problem here. While most of us will not do homework for people, some clown will post the answer.
|
|
|
|
|
It's always good to post some over complicated/unreadable code for those that want their homework doing for them.
|
|
|
|
|
Is there a method that reverse a string.
Example: if string is "quiteSmart"
it should be changed to "tramSetiuq"
thanks
|
|
|
|
|
you've got to write it yourself..
ex.
<br />
string ReverseString(string txt) {<br />
StringBuilder str = new StringBuilder();<br />
for(int i = txt.Length - 1; i >= 0; i--)<br />
str.Append(txt[i]);<br />
return str.ToString();<br />
}<br />
|
|
|
|
|
Thanks,
i wrote my own methode,
thanks again
|
|
|
|
|
|
You know what i am completly lost.
i have worked out a method for that in the same post that you linked me to now and i completly forgot it.
ohhhhhhhhhhhhhhhhhhhhhhhhhhhh
i need to take a vacation from work
|
|
|
|
|
I was a little confused as I later saw the replies to that special post!
quiteSmart wrote: i need to take a vacation from work
good idea!
|
|
|
|
|
yea i hope i can do that and leave for a vacation to another country with my girlfriend but they wont give this vacation.
( ((
|
|
|
|
|
How about this?
string str = "abcdefghijklmnopqrstuvwxyz";
char[] arr = str.ToCharArray();
Array.Sort<char>(arr);
Array.Reverse(arr);
StringBuilder sb = new StringBuilder();
foreach (char ch in arr)
{
sb.Append(ch);
}
Console.WriteLine(sb.ToString());
Console.ReadLine();
Jayant D. Kulkarni
Brainbench Certified Software Engineer in C#, ASP.NET, .NET Framework and ADO.NET
|
|
|
|
|
You can just do string thing = new string(arr); instead of your loop.
|
|
|
|
|
Hi All,
Iam using classes in the name space System.Data.OracleClient to call the stored procedure on the Oralce database. When iam trying to add a new parameter to OracleCommandObject's Parameter collection iam getting the following error.
The OracleParameter with ParameterName '' is already contained by another OracleParameterCollection.
The simillar problem is posted in the other forums like
http://www.dotnet247.com/247reference/msgs/46/232504.aspx
but i have failed to find any solution there.
Thanks in advance.
Regards
Pani
|
|
|
|
|
It's hard to say what your problem is without seeing your code.
|
|
|
|