all groups > dotnet framework > september 2007 > threads for september 8 - 14, 2007
Filter by week: 1 2 3 4 5
is there some per-process-limit on memory in .net processes? i keep getting System.OutOfMemoryException when my box has 8 gigs of unused memory.
Posted by Daniel at 9/14/2007 8:36:04 PM
is there some per-process-limit on memory in .net processes? i keep getting
System.OutOfMemoryException when my box has 8 gigs of unused memory.
... more >>
Using UDP sockets with large chunks of data... is there...?
Posted by ThunderMusic at 9/14/2007 1:57:27 PM
Hi,
I'm trying to use a UDP socket between two (or many more) applications
(actually, the same app, but on different machines). For the vast majority
of the messages, it's perfect because it transfers between 10 to 50 bytes.
The protential problem arises when two of these messages can contain... more >>
System.Net.Mail SmtpClient SMTP Quit Command
Posted by Philip at 9/14/2007 10:36:00 AM
I am using System.Net.Mail for sending mail.
How do I force a SMTP Quit command (SMTP session termination) with the
SmtpClient class ?
Even when the SmtpClient object goes out of scope and I reinstantiate the
SmtpClient class the SMTP session appears to not be terminated. What causes
SM... more >>
ProgID in .NET?
Posted by Boris at 9/14/2007 12:00:00 AM
As many of you know probably you can use ProgIDs in COM to instantiate COM
objects. The ProgID has the form Project.ClassName.Version. Thanks to
version it is possible to instantiate COM objects from different versions
of the same library. I wonder now if this is possible in .NET, too?
W... more >>
Timer Issue
Posted by Barry at 9/13/2007 7:38:33 PM
Hi
I need to download about 100 urls in a WebBrowser control, i want the of
each one to start after one of them has completed eg 2nd to start after 1st
completes etc.
I am parsing the downloaded html in "DownloadComplete" event.
Can someone give me some idea how to do this
TIA
Barr... more >>
How much memory does my .NET application use [Dot Net 1.1 ] [ Windows services]
Posted by aaa.aaa at 9/13/2007 7:09:36 PM
Hello All,
Here I have an application in mode Windows service under DotNet 1.1
(C#). I would like to takes a snapshot of the performances in a cyclic
way (every 10 minutes by example):
I would like to know and log:
1 - percentage of the CPU processor used by the application it even
2... more >>
IIS site default doc - entry point in ASP.net app - does not work
Posted by info NO[at]SPAM sites4agents.com at 9/13/2007 10:32:07 AM
Hi
I created a second IIS site, added Host Header etc etc
I created in it a virtual directory say testhost
that points to a web app having index.aspx
I go to Default Documents for IIS site and create a default doc to
/testhost/index.aspx
it says: You are not authorized to view this pag... more >>
.net BroadcastEventWindow on logoff with complicated achitecture
Posted by Chris Bardon at 9/13/2007 9:50:54 AM
I have a problem with an application that is popping up a ".net
BroadcastEventWindow" on shutdown/log off, and I can't seem to figure
out how to get rid of it. The problem is that the whole setup is a
little bit convoluted. I have a singleton COM server that uses
windows forms, and for the mos... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Performance in array copy in C#?Thanks
Posted by linuxfedora NO[at]SPAM yahoo.com.hk at 9/13/2007 9:41:41 AM
What is the difference in the performance for the following 2 codes?
Code1:
char[] data = new char[100];
...
class1.SendArray(data);
public void SendArray(char[] data)
{
SocketHandle.Send(data);
}
Code 2:
char[] data = new char[100];
...
class1.SendArray(ref data);
public vo... more >>
stacktrace and release mode - interesting problem
Posted by Iain Mcleod at 9/12/2007 8:17:24 PM
put the following into a console app in .net 2.0, compile it in release mode
and then run it 2 ways:
through visual studio (works as expected)
now double click the console app via windows explorer.
This crashes with a null reference exception because the stacktrace only
contains one frame [... more >>
E-mail Service
Posted by Thomas W. at 9/12/2007 6:38:02 AM
Hi,
I'm having problems with 2 of my e-mail servers,
first my outlook express I can't send e-mails out but, i can recieve e-mails
second my incredamail i can't open, it tells me its missing file #15, not
sure what that means. maybe you can help me out with this? ... more >>
setting datatype for columns of table in dataset
Posted by AVL at 9/12/2007 5:30:05 AM
hi,
i need help on setting datatype of a table's column at runtime..
i'm loading a dataset from an xml file...
after loading, i want to set the datatype of one of the column as int32..
how can i acheive it..
is there any way to set the datatypes of the columns before loading the data
from x... more >>
Assembly Loading Failure
Posted by Olivier Matrot at 9/11/2007 5:29:23 PM
Hello,
I have a .NET application that is called from within an installer custom
action.
The custom action is written in c# and called from a web site setup project.
The application is installed in the web site's bin directory.
It depends on libraries that are installed in the GAC.
The call ... more >>
Compatibility of 3.0 and 3.5.
Posted by william.dieterich NO[at]SPAM googlemail.com at 9/11/2007 3:48:02 PM
Is .net framework 3.5 a superset of 3.0 or like 1.0 and 1.1 are both
going to be required to be installed?
... more >>
Access to form control in an event handler
Posted by Mike Thompson at 9/11/2007 3:45:28 PM
I have an event handler defined within a class. It has the following
signature:
static void XYZ_EventHandler (object sender, XYZEventArgs e)
From within this event handler, I want to access the contents of a textbox
on the form that is defined within the default Form1 class. Ordinarily, ... more >>
C# on MONO
Posted by Giulio Petrucci at 9/11/2007 2:59:04 PM
Hi there,
does anyone of you ever used C# on MONO, in a Linux environment? In
particular I'd like to know:
1 - if WinForms are supported
2 - which development environmet should I use?
Thanks in advance,
Giulio - Italia
--
OnAir:... more >>
Accessing configuration files from class library classes
Posted by Oldman at 9/11/2007 12:50:01 PM
This has been bothering me for awhile now and I need to ask the question.
There are classes in the BCL and in third party apps that access the
configuration file programmatically. Let me use the new WCF class
ServiceHost as an example. The service host class can be completely setup
progra... more >>
Escaping a formatter {} in StreamWriter
Posted by BR at 9/11/2007 4:30:57 AM
Hi,
I found one issue with the StreamWriter class where the
StreamWriter.Write API interprets anything between { } as a formatter.
So if I write myStreamWriter.Write("This is test code { Ha Ha Ha }
string contd"); then I get a FormatException. I have not been able to
find a clean way of escap... more >>
vb.net and c# issue in for loop
Posted by Benjamin Fallar III at 9/11/2007 12:00:00 AM
hi,
i have some weird result using for loop...
here it is in vb.net.........
Module Module1
Sub Main()
For i As Integer = 1 To 3
Dim total As Integer
total += i
Console.WriteLine(total)
Next
End Sub
End Module
he... more >>
Configure Sprint ADSL modem when AT&T is ISP
Posted by Kim at 9/10/2007 7:18:00 PM
I was given a new ADSL Sprint Modem when my modem died, but I have AT&T as my
ISP. Since i don't have an Earthlink account, installation using the Sprint
setup CD is aborted. The Network Wizard says it cannot find needed software
when I check to "search CD and E:/" locations. If I have the ... more >>
power supply???
Posted by Terrell at 9/10/2007 11:38:07 AM
I have an win xp I purchased a new computer 2 years ago about 2 months ago I
noticed my power light was not as bright as it should be. Each day the light
go dimmer. Now you can barely see it. I tried logging on which I'm able to
do, but once computer is on for 5 mins, it automatically shuts... more >>
What is the best way to do thread locking in .NET?Thanks
Posted by linuxfedora NO[at]SPAM yahoo.com.hk at 9/10/2007 12:00:00 AM
if i have a Queue named testQ
Object lockQ = new Object();
testQ will be modified by:
void AddToQueue(string text)
{
lock(lockQ )
{
testQ.Enqueue(text);
}
}
string RemoveFromQueue()
{
lock(lockQ )
{
string text = (string)testQ.Dequeue();
}
return text ;
}
void PrintInfo()... more >>
envisioning phase
Posted by rodchar at 9/9/2007 8:36:00 AM
Hey all,
i'd like to show the following as a web page.
> Food $8.83
Restaurants $6.58
Grocery $2.25
Food is the major category and the following lines are sub-categories
(Restaurants and Grocery).
The sub-categories amounts will total on the Food line.
What's the best display and per... more >>
Standby problems - Win XP will not stay in Standby
Posted by Forbeskin at 9/8/2007 3:16:01 PM
Hi,
Very recently my computer has developed a condition where it will not
stay in Standby mpode, either automatic or manual. It will go in to Standby
but will immediately fire up again within a couple of seconds. This problem
has only just developed in the last week. Computer is fully upd... more >>
Running 3.0 Framework application on XP
Posted by WhiskeyRomeo at 9/8/2007 10:10:29 AM
Do the extensions added by 3.0 run on XP or are only targeted for Vista?
WR... more >>
Deserialising xml and Inheritance
Posted by Johannes Elsinghorst at 9/8/2007 9:07:56 AM
Hello,
I have a class "Version" and another two classes "SpezielleVersion1"
and "SpezielleVersion2", which inherit from "Version".
When i deserialize a xml-Instance of "SpezielleVersion1" like this:
XmlSerializer xs = new XmlSerializer(typeof(SpezielleVersion1));
XmlTextReader reader = new Xml... more >>
|