Hi
I am trying to get FTP over SSL to work and it's getting to me now :/.
The code is strait forward:
ServicePointManager.ServerCertificateValidationCallback += new
System.Net.Security.RemoteCertificateValidationCallback(justReturnTrue);
System.Net.FtpWebRequest ftp = (FtpWebRequest)Ft
Interestingly you will find that Microsoft SQL Server does not use Bankers
when rounding, which is why the .Net SqlDecimal.Round function also does not
use Bankers.
Darrel
On 4/20/06, Peter Ritchie <[EMAIL PROTECTED]> wrote:
>
> Yep, searching for the banker's algorithm--especially with respect
Yep, searching for the banker's algorithm--especially with respect to
Math.Round--leads into many different discussions/rants and other
algorithms. Generally, I've found the discussions lead to "avoid
Math.Round and implement your own".
But, we don't have the ability of overriding how System.Draw
If you pass integers derived from floats (where the fractional parts are simply
truncated) you can get a not-banker-rounded result by adding 0.5 to the float
values (that will be truncated).
But I think your point is well taken -- in the context of computing pixel
positions (that are inherently
Casting from a real number to an integer simply truncates. I can get that
with Point.Truncate(), Size.Truncate(), and Rectangle.Truncate(); if
that's what I wanted to do--which isn't.
On Thu, 20 Apr 2006 10:19:15 -0400, G G <[EMAIL PROTECTED]> wrote:
>On Wed, 19 Apr 2006 15:50:38 -0400, Peter Ri
Actually the "outcry" started (AFAIK) the day the first VS2005 WebDev bits
were released. All the mailing lists I was on (alpha testers and the like)
had a large number of people complaining about the new model. Scott and team
just seemed to ignore them until they got "done" with their features the
On Wed, 19 Apr 2006 15:50:38 -0400, Peter Ritchie
<[EMAIL PROTECTED]> wrote:
>Has anyone else noticed that the Round methods in System.Drawing use the
>banker's rounding algorithm?
>
>For example:
> PointF pointF = new PointF(3.5f, 4.5f);
> Point point = Point.Round(pointF);
> Debug.WriteLine(poin
Except--unlike mathematical calculations--with drawing, I want
consistency; not statistical unbiasedness as my number of calculations
approach infinity. I certainly don't want all my even coordinate pixels
to be on one side of the line and all my odd coordinate pixels to be on
the other.
On Thu,
> -Original Message-
> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> [EMAIL PROTECTED] On Behalf Of JOYCE Ben
>
> Also, I did a quick google and found this:
> http://www.aspnetresources.com/articles/debug_code_in_production.aspx
>
> Interesting reading.
If you liked that, y
As my posts start to appear on the list, I realize I'm having serious
grammar issues this morning.
Apologies if the messages are difficult to read.
I think I need a nap already.
--s
> -Original Message-
> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> [EMAIL PROTECTED] On
I have not seen anything comparable in 2005. The primary reason for this
approach in 2003 was to get rid of the atrociously fragile bindings between
Visual Studio and IIS. In VS2005 that problem is nearly non-existent,
regardless of the project model you pick.
You might try moving some of your dis
Yes, you can find a lot of dissatisfaction over the new web site model in
VS2005: http://www.google.com/search?hl=en&q=project-less+web. The ASP.NET
team has said publicly that they should have include Web Application
Projects (a.k.a. the old model, a.k.a WAP) in the RTM release of VS2005.
Unfortun
Thanks Shawn.
It's a shame those files aren't in the Solution Explorer; it's useful to be
able to edit the auto-generated "Protected Withevents" declarations for the
form controls.
Also, I did a quick google and found this:
http://www.aspnetresources.com/articles/debug_code_in_production.aspx
In
If you are using the default project model, the partial class with the
generated fields appear in a subfolder of the Temporary ASP.NET Files
folder. You can find them if you have in
web.config.
The .designer. files are specific to the Web Application Projects model.
You'll see them in solution ex
Hi all,
Does anyone know how to do this for VS2005, This article explains how to do it
on VS2003
http://pluralsight.com/wiki/default.aspx/Fritz.AspNetWithoutWebProjects
Paul
===
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and man
that would definitely be my first check...
make sure all computers have the same version of the framework installed.
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Stephen Bub
Sent: Thursday, April 20, 2006 4:30 AM
To: ADVANCED-DOTNET@DISC
Shawn, are we talking about the same IDE? I'm using VS.NET 2005 Pro -
there's no "Show Hidden Files" button in the Solution Explorer, but there is
a "Nest Related Files" button.
All my .vb files start with some 'Imports' statements and then begins
partial classes - no designer code anywhere!
Ver
After a quick inspection with reflector, all the round methods in the
system.drawing namespace seem to use Math.Round... so all the KB
articles do apply.
Paul
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Ritchie
Sent: Wednesday,
I fear my original question is dead
> Date: Thu, 20 Apr 2006 06:51:00 -0400> From: [EMAIL PROTECTED]> Subject: Re:
> [ADVANCED-DOTNET] VS ASP.NET 2005> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> >
> Ah, now I remember, but if you click the (Show All Files) button in a VB.NET>
> project, it will
Ah, now I remember, but if you click the (Show All Files) button in a VB.NET
project, it will show you the nested classes (this is different from C#
where you can show the nested classes by default).
Thanks,
Shawn Wildermuth
http://adoguy.com
C# MVP, MCSD.NET, Author and Speaker
-Origina
Yes I did. It says that the object is of type IRemoting, but not of
type ConcreteRemoting (which I really need). I believe the problem is
that the IMessage is filled on the client side, and the client only
knows about the interface.
I need to hook into the remoting pipe after the .NET mechani
Thanks for the quick replies chaps, but I'm not having much luck here. Is
this specific to C#?
I'm in a VB project. I can see the .aspx and nested aspx.vb files, but the
.vb file doesn't contain anything that I didn't write myself - and I know
for a fact I dragged & dropped controls onto the pag
I fear my original message turned into a debate about inline scriting.That was
not the purpose of my mail. My intention was to find out if anybody else is
disattisfied with the new Web model and like me had reverted to the old model
outlined here:
http://webproject.scottgu.com/Default.aspx
Oh yeah...
Thanks,
Shawn Wildermuth
http://adoguy.com
C# MVP, MCSD.NET, Author and Speaker
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Dean Cleaver
Sent: Thursday, April 20, 2006 5:01 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Su
Shouldn't have to - in 2005, all files like that are "expandable" and
are in the Solution Explorer without selecting show all files...
Dino
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Shawn
Wildermuth
Sent: Thursday, 20 April 2006 20
You may need to click (Show all Files) button in the top of the Solution
Explorer to see that file.
Thanks,
Shawn Wildermuth
http://adoguy.com
C# MVP, MCSD.NET, Author and Speaker
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Dean
It's in the other partial class - .designer.cs
Dino
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of JOYCE Ben
Sent: Thursday, 20 April 2006 20:34
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] VS ASP.NET 2005
Ju
Just out of interest, where has all the designer code gone? I thought it
was a bit weird it had disappeared... I'm asuming I can still get to it
somewhere and modify it?
Cheers,
Ben
> -Original Message-
> From: Discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of
I get the following error when trying to install a Windows Forms
application on another computer (there are no problems installing on the
development computer):
Unable to get installer types in the assembly. --> One or more
of the types in the assembly unable to load.
Can someone tell me why th
29 matches
Mail list logo