|
I sincerely apologize for the sloppyness, yet it still may be sloppy but I edited the code and added comments. Basically the alarm times that I set arent exactly turning out as its expected. And the when the timer is decreased it just seems like label5 itself is set to "00:00:00" when its duration is up, so even if I restart the timer without exiting the application its decrements further into the negative and I cant seem to find a way around that.
I pasted a link to the pastebin website for my Form Designer code. I didnt want to flood the forum with unnecessary code. I do hope this helps:
Form Designer Code(PasteBin)
|
|
|
|
|
I haven't read all of it again yet, however I noticed two things:
3.
you ignored my earlier #2 completely, so it is bound to fail, and more so the longer you wait.
4.
you use an equals test in If remainingTime15.Duration.Seconds = 0 Then , it would be much more defensive/safer testing for less than or equal to zero.
Now if you fix those points, I expect it would start to behave like you want it to.
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.
|
|
|
|
|
I didnt ignore your numero dos, I just happened to be in my car with an almost dead battery, so I only had enough time to comment it before it died , but yes I will give it a shot, hopefully it will behave properly, per your say. If I have any issues I will be back tomorrow with details. Later hubcap!
|
|
|
|
|
Now I'm getting really worried: either you can comment code in a hands-free way, or you have a private chauffeur, or you're just reckless.
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.
|
|
|
|
|
All of the above
|
|
|
|
|
I got as far as
Label4 , i.e. line 13, and didn't find this code worth looking at further. Guess why.
|
|
|
|
|
Hi everyone
whats "runtime" exactly?
I have read about it on MSDN but can you explain for me?
" You can think of the runtime as an agent that manages code at execution time, providing core services such as memory management, thread management, and remoting, while also enforcing strict type safety and other forms of code accuracy that promote security and robustness".
Thanks.
|
|
|
|
|
.NET (source)programs are compiled into assemblies. These assemblies are in the form of MSIL, MS Intermediate Language.
The runtime, Common Language Runtime (CLR) is the set of programs that compiles your .NET assemblies into binary code for the processor and operating system it runs on, and executes them.
All .NET languages (VB, C#, F#, Managed C++) are compiled into the same MSIL.
That's why you can mix assemblies written in any of the available .NET languages.
Whereas in the olden days (before .NET) you had to worry about things like memory management, now it's handled by the CLR.
Cheers
I don't like my signature at all
|
|
|
|
|
Thanks for your reply so runtime is equals with common language runtime and is it correct MSIL=CIL and they are same? and Common Language Runtime is a software or a virtual machine?
|
|
|
|
|
Yes MSIL==CIL. I think nowadays the official term is CIL, us old people have hard to break habits
Just as the JVM is a virtual machine solely to run JAVA-bytecode, the CLR is for .NET CIL-assemblies.
further reading : Common Intermediate Language[^]
Cheers
If you can read this, you don't have Papyrus installed
|
|
|
|
|
For such question please prefer using FAQs that will be faster.
|
|
|
|
|
Are you talking to moi?
It's saturday, spare time on my hands. It was a veryveryvery basic question, I know.
If you've got a good link, hijack the thread, hiho!
If you can read this, you don't have Papyrus installed
|
|
|
|
|
Think of the CLR as the engine that converts the C# code that you write into machine level code that the computer understands.
It does many other things like memeory management, thread management etc. while doing this conversion.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
|
|
|
|
|
<script type="text/javascript">
function SubmitParent(sourceID) {
if (sourceID.value != '') {
opener.document.getElementById('hf').value = sourceID.value;
opener.document.getElementById('Button1').click();
}
window.close();
}
function Cancel() {
window.close();
return;
}
|
|
|
|
|
Nice to know. How about:
- Not posting test messages on a public forum
- Asking a question about a problem, you know, like the site is intended for
- Resolve your issues (and I guess they are manifold) before posting again.
|
|
|
|
|
...and what were you "testing" with this??
I'd say you successfully failed your test.
|
|
|
|
|
Fail!
I must get a clever new signature for 2011.
|
|
|
|
|
|
Actually, it's Technical Issues, and that's what you appear to have had while posting this. Would you care to explain what your problem is, so that we can attempt to help?
|
|
|
|
|
Yeah, I agree. YOU do have technical issues.
|
|
|
|
|
Ok.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
|
|
|
|
|
ahmadfareedkhan wrote: Techinical Issues
what do you mean by Technical Issues.
|
|
|
|
|
...require Technical Answers.
|
|
|
|
|
return 5;
|
|
|
|
|