And yes I test before I reply when I'm not quite sure.
(The most extreme I once did was downloading and installing a Fortran compiler in order to answer a simple Fortran question around here; I hadn't used the language in some 20 years, and never on a PC; but hey it worked very well on a PC!)
Luc Pattyn Local announcement (Antwerp region): Lange Wapper? Neen!
Is there any reason why you aren't just reacting to events (e.g. the user opening the browser or loging in into the PC) and just recording the time the events are raised?
IMO (and I'm prepared to be flamed on this) doing This will have a far smaller impact on performance over continually polling and, if you implement it correctly, you'll get an audit log of who was on which machine and when (useful where there is an Internet connection ....). This will make the cost calcualtion a little harder if, for example you have different rates at different times, but it shouldn't be too bad. As for taking breaks etc, you can add functionality stop/ & restart times just associate these with one user session.
"Could not find file '\\\\server\\share\\DL_JP_462153474_461535959_attest.JPG.pdf'."
The only problem is that the file does actually exist! Also, it works on files with shorter filenames in the same folder. For example:
Does anyone know what this is all about?
If you use the string with the @ symbol rather than your escaped version, you can copy the contents of the string you set fullFilename and perform some manual checks( such as pasting the path\\server\share\DL_JP_462153474_461535959_attest.JPG.pdf into explorer).
Thank you for your answer, but I have to admit that I screwed up, and the file actually doesn't exist
I am working with some testdata, and someone placed an error there (possibly on purpose?)
That is a lot of hours wasted...
I am trying to serialize/deserialize a class (for the first time), and the serialization works fine, but as soon as I try to deserialize it, it gives me the exception:
System.Reflection.TargetInvocationException was unhandled
Message="Exception has been thrown by the target of an invocation."
Message="Member '' was not found."
at Trainer.BoostedClassifier..ctor(SerializationInfo info, StreamingContext context)
The class I'm serializing contains a List<int> type, could this be the source of the error?
I would appreciate any ideas to what this exception might be hinting at. (let me know if more info is needed)
You will have to either
1) Keep a reference to the original form and pass it to the new form when you create it, and before you hid the original.
2) hook into an event from the second form to the original form which causes the original to re-display itself.
The second is better practice as it doesn't require form2 to know anything outside itself - it just throws an "I'm done" event.
Niether is too complex, the second is a few extra lines of code.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
Last Visit: 31-Dec-99 18:00 Last Update: 26-Sep-23 11:44