all groups > dotnet sdk > april 2005
EVENTLOG.WRITEENTRY THROWS AN EXCEPTION IF THE EVENT LOG IS FULL
Posted by Andy Fish at 4/28/2005 12:00:00 AM
Sorry to shout, but I'll bet this is a common mistake when programming
windows services (or anything that uses the event log). I didn't really
think of it until our demo system wouldn't start up just before an important
demo.
What happened was this:
1. the service started OK
2. it tried... more >>
Connecting to IIS using ADSI
Posted by Richard Ruben at 4/26/2005 11:48:01 PM
Hi
I hope somebody can help me because I really don’t know how to solve this
problem.
I want to do the following.
We have an IIS server that I want to administrate using ADSI. I did some
testing in a test domain and everything went well. This because me user
was an administrator on t... more >>
How to load cookie file into Cookie class?
Posted by cindy liu at 4/25/2005 9:51:07 AM
Hi,
I'd like to load cookie files from "Temporary Internet Files" directory to
..Net Cookie class. Can I do it? How to do it?
Thanks in advance!!!
Cindy... more >>
Problems with sockets, started with conversion to .NET.
Posted by Dave Leach at 4/21/2005 2:35:03 PM
With .NET and C++, when using the CSocket class for creating a Client and a
Server, both using the CSocketFile and CArchive classes to transmit/receive
data, it appears that the Client socket sometimes completes the send
operation ( Serialize() followed by Flush() ) yet the WM_SOCKET_NOTIFY
... more >>
Thread.Sleep never returns (hangs?)
Posted by Jeremy Chapman at 4/20/2005 9:49:31 AM
We have a thread running in our application, it runs a while loop that does
some minor things then sleeps for 15 seconds and continues the loop. This
application runs 24 hours every day, but some nights the Thread.Sleep(15000)
call never returns. Not every night, but fairly often. So far each ... more >>
Stacktrace of an executing thread
Posted by Jeremy Chapman at 4/19/2005 9:19:31 AM
At any time, I want to be able to programatically get the stack trace of an
executing thread in my application, can this be done?
... more >>
About the Duwamish7.0
Posted by Kylin at 4/19/2005 12:00:00 AM
In Duwamish7.0,Common.Data
In every classes which inhert from dataset all have this code ,
[System.ComponentModel.DesignerCategory("Code")]
meaning ?
Any Document about this ?
... more >>
system.web.mail namespace not found
Posted by Hardik Shah at 4/15/2005 8:35:55 PM
Hello,
Unfortunately I have to post same massage again, Please give response.
I am using .net 2003 with Win Server 2003. But I am unable to use
System.Web.Mail NameSpace ,
Please tell me its DLL name , and how to install it.
Thanks in advance.
Hardik Shah
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
file comparison in .Net
Posted by Venkat at 4/11/2005 3:42:02 AM
I got to compare the contents of 2 files programatically. Is there any direct
or indirect .Net API to this task?
If there is no .Net API available, which is the best way to do..? Any
pointers will be of great help to me.
Thanks
Venkat ... more >>
How to access a web page that uses cookie in .net
Posted by cindy liu at 4/11/2005 1:06:01 AM
Hi,
I want to use .Net APIs, like HttpWebRequest, to access a web page to get
response content back. A lot of web pages need corresponding cookies to get
the correct content. Otherwise a sign-in page is returned back. How can I
avoid the sign-in page?
Thanks in advance!!!
Cindy... more >>
Error 1935 during installation
Posted by Sebastian Mares at 4/7/2005 5:15:14 PM
Hello!
While trying to install the Framework SDK, I received the following=20
error message (taken from the installation log, German):
Fehler 1935.W=E4hrend der Installation der Assemblierung=20
"SoapSudsCode,Version=3D"1.0.5000.0",FileVersion=3D"1.1.4322.573",Culture=
=3D"neutral",PublicKe... more >>
How to load html string into html dom in .Net?
Posted by cindy liu at 4/6/2005 11:59:06 AM
Hi,
I have a piece of html code and want to load it into html dom. Can I do it
in .net? Is there any APIs to manipulate html dom in .net?
Thanks in advance,
Cindy... more >>
Interface Mapping with Metadata API
Posted by Reinhard at 4/6/2005 6:14:48 AM
I need to find out for class Foo whether a method implements a method
from interface IFoo or not. In case of method Bar() I can use
EnumMethodImpls, but for Baz() there is no MethodImpl entry.
interface IFoo
{
void Bar();
void Baz();
}
class Foo : IFoo {
static void ... more >>
Framework 2.0 SDK BETA CLR Debugger
Posted by Val3 at 4/5/2005 3:11:40 PM
Hi all.
I'm using Microfoft CLR Debugger to test my c# programs. It seems works fine
except for one thing. When I try to modify code message "cannot currently
modify this text in the editor. It is read only"
appears in the status bar at the bottom. If I use Visual C# 2005 Espress
Edition Be... more >>
DB Connection Timeout
Posted by Badri at 4/4/2005 11:05:06 AM
I am having a long running stored procedure and I'd like my C# code to wait
longer before it timesout. So I use the following connection string but still
it always timesout after about 40 secs.
"Server=" + ServerName + ";Database=" + Database + ";Integrated
Security=SSPI;Connect Timeout=600"
... more >>
Date formatting
Posted by KDV at 4/4/2005 8:15:06 AM
I am using the the date format string "dddd, MMMM dd, yyyy" which formats
Date type to Monday, April 04, 2005. Is there any way I can specify in the
format string so that the day should be in capital letter eg MONDAY, April
04, 2005. I don't want to parse myself.
Thanks in advance... more >>
|