|
Thank you very much for your reply. I used to run windows update and i found that my computer require to update vs 2005 sp1. Then I download from an internet (431 Mb). I installed it but during the time that it is nearly finish (remain around 1mn) the eletricity was disconnect and i try to use the command
shutdown -s -f -t: 5 to force shutdown my machine before the electricity cut off. So I'm not sure whether i could install vs 2005 sp1 successfully or not. But when i try to run windows update again i fould that my computer still require vs 2005 sp1. So I doubt that it might not install properly. Thank in advance.
|
|
|
|
|
Look in the about box of VS2005.
I doubt it. If it isn't intuitive then we need to fix it. - Chris Maunder
|
|
|
|
|
|
What is the difference between WriteLine and Print methods of Debug class?
|
|
|
|
|
They are identical. In other words, they call exactly the same function internally.
You may find Reflector.NET handy for these situations.
|
|
|
|
|
Thanks leppie.
Do you know why then two methods with exactly the same functionality exist?
|
|
|
|
|
Maybe for legacy reasons. I didnt even know a Print method existed till you said it
|
|
|
|
|
Hi All,
I am currently working with web services and while sending data to web service i am getting this Error:
"The request failed with HTTP status 400: Bad Request"
Can anyone tell me why i am getting this Errr ...
Regards,
Perry
|
|
|
|
|
See this[^] answer. Not very helpful, I'm afraid, but that's how it is...
Peter the small turnip
(1) It Has To Work. --RFC 1925[^]
|
|
|
|
|
I'm using the
decimal for group totals in an application that exports financial data. The only calculation done on the total is accumulation; no multiplication, division, tax etc. In my output, I get a decimal total value of '13135984.162500000001985789145', where if I load the export file in Ecel and sum the values, none of which have beyond four decimal points with no explicit rounding, I get the same total as the control file I am comparing my export file to: '13135984.1625'.<br />
<br />
<br />
<br />
<div style="display:none;" class="CPhogPost"></div> <br />
<br />
<div class="ForumSig">Semicolons: The number one seller of ostomy bags world wide. - dan neely</div>
|
|
|
|
|
Anywhere in there that you cast to double? 29 precision looks like it has been converted to double somewhere.
|
|
|
|
|
I can't find anything. The only double I used in the whole project is in my PercentComplete event, totally unrelated to the totals. I'll have to go and sniff out what the database is returning.
Semicolons: The number one seller of ostomy bags world wide. - dan neely
|
|
|
|
|
How are any numerical constants specified? The default format for numerical constants is double, so if you take your "decimal" number and add 1.3 to it, you'll really be adding something that isn't quite 1.3 and the "decimal" will capture that imprecision.
|
|
|
|
|
There are no constants, but I'm going to look at the data type carried in from SQL Server. It looks to be decimal for money fields, but their may be are 'money' fields that are not money but float, which the CLR converts to doubles.
Semicolons: The number one seller of ostomy bags world wide. - dan neely
|
|
|
|
|
We're developing a new application framework and need to implement a script host so custom logic can be added at several places in the application. As a test, I put in the IronPython script host and it worked well. However, I'd rather use a language like JScript/JavaScript because it is a little more common. I have read that the DLR will support JScript eventually, but only IronPython by the end of the year.
We really need to be able to run these scripts in a sandbox environment, giving the script host access to the objects and methods that we want the users to have.
Does anyone know of a great script hosting solution for .Net?
|
|
|
|
|
You can execute script using ActiveScript technology. It works. Another great thing with this, WinForm components properties can be accessed like if they were ActiveX. Page me directly if you need to know more about this.
1. I will develop myself to the maximum of my potential in all ways
2. I will look for the good in all people and make them feel worthwhile.
3. If I have nothing good to say about a person, I will say nothing.
4. I will always be as enthusiastic about the success of others as I am about my own.
5. I will always remain loyal to God, my country, family and my friends - Chuck Norris
Ernest Laurentin
|
|
|
|
|
You can always use PowerShell extensions. It is very powerful, but not so intuitive.
|
|
|
|
|
Hi,
I am implementing PC Charge payment server using PSCharge.dll (ver 4.3.0.0) it some times shows transaction canceled but again immediate after that transaction processed. Why the error is coming first time. Is this version not compatible to asp.net2.0.
Thanks in Advance.....
Regards
Sandip
|
|
|
|
|
Hello All,
I had written a piece of code for working with the BackgroundWorker.Following is the code for the same:
BackgroundWorker ^ defReportWorker = gcnew BackgroundWorker();
defReportWorker->WorkerReportsProgress = true;
defReportWorker->WorkerSupportsCancellation = true;
defReportWorker->DoWork += gcnew DoWorkEventHandler(this, &Form1::GenerateDefaultReport);
defReportWorker->ProgressChanged += gcnew ProgressChangedEventHandler(this, &Form1::updateProgress);
defReportWorker->RunWorkerCompleted += gcnew RunWorkerCompletedEventHandler(this, &Form1::DefEndWorker);
GenerateDefaultReport is the function which i need to execute
DefEndWorker is the function which will be called upon completion of the GenerateDefaultReport function.
The client was a german client and we were developing the code on the german OS machines in our company. The problem we faced in this code was that the function "GenerateDefaultReport" was not called when the code compiled on the German OS machine was executed on the English OS machine. but the code compiled on the English OS machine was executing properly and the said function was called on the German OS machine.
German compiled - german execution - running
German compiled - English execution - not running
English compiled - English execution - running
English compiled - german execution - running.
Can any one please help in this?
|
|
|
|
|
Don't cross post
led mike
|
|
|
|
|
This isnt cross post. Its related to .Net Framework and its working.
If you can't help then please do not write one liners which reach the dead end.
Is the behaviour of BackGroundWorker is different for the different regional languages?
This is the question and the would appreciate if any answers are received.
|
|
|
|
|
antariksh wrote: This isnt cross post.
Cross Post means you posted the same question in more than one forum, which you did so it IS A CROSS POST.
led mike
|
|
|
|
|
Ok. Now it is not a cross post. A help will be more appreciated.
I have also checked the problem with other developers in my offline network, but couldnt get the reason for the same. All of us are stumped as to why the executable doesnt execute the function. I shall just give a glimpse of the situation again.
A German language OS compiled code does not transfer the control to GenDefaultReport function in the BackgroundWorker thread, when the code is executed on the English language OS. The more detailed description is mentioned at the start of thread.
|
|
|
|
|
antariksh wrote: Is the behaviour of BackGroundWorker is different for the different regional languages?
This is the question
Well I've never heard of that but I have never done any development using the different OS versions. Here are some obvious questions you likely have already investigated:
How do you know it's not called?
Have you stepped through the code in an environment where it doesn't work?
Is there a flow of control bypassing the call that might flow different due to the language? Like checking a Date or string or something not implemented with proper internationalization approachs?
led mike
|
|
|
|
|
->How do you know it's not called?
I had written some message boxes at the called function start and also was creating a log file for all the functions being called.
->Have you stepped through the code in an environment where it doesn't work?
Yes i have debugged the code in both the environments, but didnt get the reason.So am asking here in the forum.
->Is there a flow of control bypassing the call that might flow different due to the language? Like ->checking a Date or string or something not implemented with proper internationalization approachs?
There is no flow control statement.
Can you please ask your co-developers about the problem.I have also asked developers other than my company, and even they haven't heard of this behavior. The solution was to just re-compile the code in English OS.
|
|
|
|