all groups > dotnet framework > march 2008 > threads for march 1 - 7, 2008
Filter by week: 1 2 3 4 5
Error 080080008
Posted by Alonso at 3/7/2008 9:45:00 PM
Please advise how do I solve this problem. I have tried to install the
actualizations without positive result.... more >>
Syntax Difference C#/VB.NET when calling a Method
Posted by Mike at 3/7/2008 10:59:00 AM
Hi. I'm a VB.NET developer learning C#, and I have a simple syntax question.
In C# whenever you invoke a method you need to include the parentheses ()
after the method name even if there are no parameters. In VB.NET you don't
have to do this. For example -
IDataReader oReader;
while (o... more >>
Updating a collection using a lambda
Posted by Paul Prewett at 3/7/2008 8:20:03 AM
Hi -
I have a situation where I'd like to use a lambda, but I'm not sure how.
Basically, I have a collection of objects and I want to set a property on
each object that meets a condition.
Right now, I have this:
IEnumerable<VariableCode> codes =
variable.VariableCodeList.Where(c =... more >>
File IO
Posted by AVL at 3/7/2008 5:13:00 AM
Hi,
I've a requirement wherein I need to close an opened file programatically.
How can I acheive it/
Thanks
Vijaya
... more >>
is there difference between XP Pro and Server2003?
Posted by soworl at 3/6/2008 3:19:00 PM
Hi,
my local machine is XP Pro.
when I built the WCF hosted in IIS, it works fine.
(create virtual directory on IIS and open that website and coding.. that's
it.)
but When I try to built the WCF hosted in IIS in server machine, it causes
error.
(create virtual directory on IIS and open ... more >>
Does HttpListener have the same quirk as HttpWebRequest
Posted by Mark at 3/6/2008 3:05:02 PM
Hi...
We've implemented a server process using HttpListener to get and process
certain requests, but we've been noticing some odd serialization that
reminded me of a quirk in the client code.
We recently discovered an odd behavior of HttpWebRequest in the client code
where mixing sync an... more >>
Any CPU assemblies, Framework64, and Process Explorer
Posted by Mark at 3/6/2008 2:54:03 PM
Hi...
We're building our assemblies Any CPU and just now trying to throw them up
on an x64 box. I was using Process Explorer to look at something else, and I
noticed something peculiar. All of our assemblies were in the Framework64
temporary assembly cache for the running process but Proc... more >>
Passing a Generic as a Parameter
Posted by Mike at 3/5/2008 11:37:13 AM
This seems like something that should be possible, but I am having
trouble setting up a function to accept a generic type as a parameter.
A basic function that shows what I am trying to do:
Public Class BaseRecord(Of T)
Protected _id As Integer
Public ReadOnly Property ID() As Integ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Socket connection was forcibly closed by the remote host
Posted by Frederick at 3/5/2008 11:11:06 AM
Hy everyone,
I have a little problem doing socket-programming.
I've made a console-application with a socket listening on a sertain port to
accept connections from other clients.
The only thing my application has to do is accept the incomming clients,
read the data and send it to a data... more >>
1.1 install and 3.0 uninstall
Posted by LK at 3/5/2008 7:19:06 AM
My computer runs Windows XP. I have a perpetual automatic update message for
an Express Install. It is trying to install .NET Framework 1.1 Service Pack
1. It fails, says simply it was unable to install, and then goes back into
the windows update queue. I have read on other posts to try an... more >>
Mass Email
Posted by SK at 3/4/2008 11:06:41 PM
Hi,
Is there a logic in .net to send 1000 emails per second or more ..? And Can
I use multiple servers to send mass emails at the same time using one
database. I know one server won't handle it :o(
Any help would be appreciated.
Thanks,
Sonu
... more >>
SSL certificates
Posted by Giulio Petrucci at 3/4/2008 6:34:54 PM
Hi there,
I'm writing a client app, connecting to a web-service over a https://
connection. Everything seems to work fine but... where does the .NET fw
load the proper SSL certificate from? From the remote serer (just like a
browser)?
thanks in advance,
Giulio - Italy
--
OnAir:
ht... more >>
Batch of Stored Procedures
Posted by mj2736@yahoo.com at 3/4/2008 6:27:43 PM
In our .Net 2.0 web service we need to insert/update data records into
SQL Server 2005 that have been uploaded to us in XML documents. There
could be anywhere from one to literally thousands of records in each
uploaded transaction, and there are several dozen destination tables.
Since performa... more >>
'is not a valid virtual path' - host header help
Posted by simon at 3/4/2008 1:48:57 PM
hello.
i'm trying to setup a website on my local server
when compiling it VS 2005 i get the error
"is not a valid virtual path"
from what i've read on the net, this is due to the fact that the site
is using IP:Port, which is no longer supported in VS 2005. I have to
use the IP:Port setup 19... more >>
shared assembly in the GAC?
Posted by Arniec at 3/4/2008 1:23:00 PM
I have created a shared assembly(adoio.dll) I have set the parameter to
local copy = false, but when I run my installer, I still get a copy of this
dll in my directory. The intention was to have a single copy in the GAC so
if I wanted to update it, it would be done in a single place.
Wha... more >>
y of baseline in millimeter
Posted by Marco Rego at 3/4/2008 12:49:26 PM
I need a method to write a string on a graphics pretty similar to DrawString
but instead of specifying the (x,y) of the upper left corner of the imaginary
rectangle that surrounds the string, I would like to specify the (x, y) of
the baseline of the first caracter.
Also, I use graph.PageUnit ... more >>
Reading office properties - dsofile.dll
Posted by greg at 3/4/2008 11:58:50 AM
Hello,
It does not appear that dsofile.dll is installed on Windows XP by default.
Is it installed on Vista or one of the dot net packs by default?
Is there any way of reading office document properties, besides using
dsofile.dll?
Anything built in to windows xp, vista, or dot net?
thanks ... more >>
.NET framework availability stats
Posted by Yuri Martsynovskyy at 3/4/2008 11:15:21 AM
Can you point me to the statistics about how many computers have particular
version on .NET framework installed.
I need to decide what version of .NET we can use for the desktop application
so that we could minimize downloads of framework redists.
--
Regards
Yuri,
Deep Software
... more >>
How to use VS Unit Test where code uses a BackgroundWorker
Posted by Andrew Bingham at 3/4/2008 3:34:00 AM
A feature I want to test calls a BackgroundWorker.
How do I use Visual Studio Unit Test to do this?
I can see why the callback method DoWork_Completed (in the sample below) is
NOT reached during when running Test1. Is there a way of achieving this?
<TestMethod()> Public Sub Test1()
D... more >>
Searching for SerialPort class alternative
Posted by Simon at 3/3/2008 10:23:48 PM
I have problems with .NET framework SerialPort class. First I had problems
with data received event. Than I have changed form event to thread which
checks for data every 100 my. Now after a while the components stops
receiving characters. I suspect that the problem is in framework and because ... more >>
Getting CSharpCodeProvider to use .NET 3.5
Posted by Ravi Bhavnani at 3/3/2008 7:30:33 PM
I have a .NET 3.5 app (built using VS2008 RTM, no CTPs installed) that uses
CSharpCodeProvider to compile some generated code that requires .NET 3.5.
When I set the compiler's .NET version to 3.5 (per the MSDN example), I get
a "csc.exe not found" exception thrown when I try to compile. Here's... more >>
Print To File
Posted by HaySeed at 3/3/2008 5:45:21 PM
I need to print to disk with a dynamic output filename. I have read some
material that would seem to indicate that the way to do this is to use the
Microsoft defined DOCINFO structure and the StartDoc function in the Win32
API. I have checked my Win32 API Bible and found no such reference.
... more >>
Upgrade from 2 to 3.5
Posted by Alan T at 3/3/2008 2:18:43 PM
I have installed VS 2005.
Then I would like to upgrade to 3.5, here are what I downloaded:
dotnetfx3.exe (50.3 MB)
dotnetfx35.exe (197 MB)
dotnetfx35setup.exe (2.73 MB)
Are these what I needed?
... more >>
devenv.exe memory consumption
Posted by Icarus at 3/3/2008 10:14:56 AM
Hi:
My devenv.exe process is consuming about 600MB of my RAM memory. Mi PC only
have 1GB and I think that memory consumtion is a crazy!.
Googling I found that a VS Service Pack implements a solution of that
problem and It supuso to happen when, In the solucion, you have incrusted
controls li... more >>
Int conversion
Posted by SK at 3/3/2008 10:07:34 AM
Hi All,
Dim str As String
Dim myParsedInt As Integer
str = "3,3,4"
myParsedInt = CInt(str)
MessageBox.Show(myParsedInt)
I get 334 as result but I need it to be 3,3,4 as an integer.
Any help!
Thanks,
Sonu... more >>
Dropdownlist...
Posted by MGRideout at 3/3/2008 7:40:02 AM
Hello I have the following dropdown list...
Public Sub DisplayCity()
Dim objDBConn As New SqlConnection
Dim objDataView2 As New DataView
Dim objCity As New clsDBCity
objDataView2 = objCity.GetCities
ddlCity.DataSource = objDataView2
d... more >>
Deserilazation of Object with collection property Options
Posted by nadeem at 3/2/2008 11:56:32 PM
I have a master class suppose Pubisher which contains UserObject as
property.
This UserObject has UserAlertsCollection.
I execute store procedure
CREATE [dbo].[PROC_PUBLISHER_SELECT_BY_PUBLISHERID]
(
@PublisherID AS NUMERIC(18,0)
)
AS
SELECT
Publisher.Publi... more >>
Strange code in Queue class in .NET framework
Posted by cody at 3/2/2008 5:54:03 PM
Hi folks, I had a look into the source code of the Enqueue(T item)
method of the generic Queue class in the .NET framework.
public void Enqueue(T item)
{
if (this._size == this._array.Length)
{
int capacity = (int) ((this._array.Length * 200L) / 100L);
..
... more >>
DNS server override for application
Posted by Alex Chudnovsky at 3/2/2008 3:25:52 PM
Hi,
I've got an application that heavily uses .NET HTTP functions, that in
turn use DNS resolves - I would like to make my application use specific
DNS servers that happen to be more reliable in terms of resolves than
average consumer grade network setup, the question is whether it is
possibl... more >>
Suggestions
Posted by RedLars at 3/2/2008 7:56:21 AM
What books on the topic of .NET framework are truely exceptional for a
software developer?
Read quite a few reviews on amazon lately and the two books that stand
out for me are;
* CLR via C#, Second Edition
http://www.amazon.com/CLR-via-Second-Pro-Developer/dp/0735621632/ref=pd_bbs_5?ie=UTF... more >>
Downloading webpages programmatically
Posted by Jacko at 3/1/2008 8:43:28 PM
Hi
I am in need of some code sample to download wepages using HttpRequest /
HttpResponse classes from webpages where there is need to input some text
(may username and password) and then click on a button (maybe submit), i am
not intrested in using WebBrowser controls of .NET.
TIA
Jacko... more >>
Update DNS Entry
Posted by Andrew Robinson at 3/1/2008 2:04:59 PM
Is there any easy way via .NET to update a DNS entry on a Win2003 server? I
need to update either a host or cname based on a web service call. This
domain could be either ad integraded or just a hosted dns domain, whichever
be easier.
Thanks,
-Andy
... more >>
|