| Thread | Last Post | Replies |
|
| XML Document validation against XSD schema | 18 Jun 2007 15:15 GMT | 2 |
I got this code to validate my XML against a XSD schema, and it works fine. static void ValidatingProblemHandler(object sender, ValidationEventArgs e) { if ((e.Severity == XmlSeverityType.Warning) || (e.Severity ==
|
| C# If statment execution order | 18 Jun 2007 15:05 GMT | 11 |
In C# if(exp1 && exp2 && exp3) Does it evalutate left to right (exp1 -> exp2 -> exp3)? or right to left (exp3 -> exp2 -> exp1)? Or would it execute all of them even if exp1 turned out to be false?
|
| Obtaining exclusive access to file / file lock | 18 Jun 2007 13:30 GMT | 5 |
Sorry for aksing such a basic question but I have searched the internet high and low and none of the solutions seem to help. Here is my (not working) code: FileStream fs = new FileStream(FileName, FileMode.Open,
|
| XmlDocument and utf-8 | 18 Jun 2007 13:27 GMT | 4 |
A question: all the XML files I've seen use this declaration: <?xml version="1.0" encoding="UTF-8"?> BUT files created using XmlDocument have: <?xml version="1.0" encoding="utf-8"?>
|
| Is it possible? | 18 Jun 2007 12:30 GMT | 1 |
Is it possible to convert this progect to an activex dll in vs.net 2003? I want to call this form from ms-access 2003. http://www.codeproject.com/csharp/TestEmailDragDrop.asp
|
| failed to import ActiveX | 18 Jun 2007 10:02 GMT | 2 |
I tried to import an ActiveX into the toolbox. There seems te be a problem when the designer generates the wrapper assembly. Also tried to use Aximp with same error :
|
| what or how to do if the user need to change password before entering the system. | 18 Jun 2007 09:08 GMT | 2 |
i'm making Form authenticate page to let the user first logon before using the application. However, like most security manner, the new user is needed to first logon and forced to change password before using the application.
|
| A trick to 'minimize' for ListView? | 18 Jun 2007 08:06 GMT | 5 |
Minimizing an app that uses a ListView in a custom control causes all entries in the ListView to disappear, never to return. What would affect this?
|
| How do I convert IntPrt data to byte[]? | 18 Jun 2007 06:43 GMT | 6 |
Hi, I'm using VS2005, .net 2 and C# for windows application. I need to convert a IntPtr to a byte[] to be able to add a meetingBlob data to the meeting class object in Active Directory schema. I get a "unspecified error" if I tried to add the data before converting to a byte[] ...
|
| Should AutoResetEvent be Disposed explicitly? | 18 Jun 2007 06:24 GMT | 3 |
In order to arrange a time-out operation, I make the task running in a worker thread; and wait in main thread with AutoResetEvent help. The code is like below. AutoResetEvent ev = new AutoResetEvent();
|
| C# question | 18 Jun 2007 05:53 GMT | 2 |
I'm quite new in C# programming and windows workflow foundation I have a problem regarding a Local Communication Service question and is like this: I have an interface in my workflow:
|
| How do i process logoff operation | 18 Jun 2007 04:48 GMT | 2 |
i'm using VS 2005 to make the window form authen application. there is a logon status to make use of logoff procedure when the user click on it. however if the user didn't click at logoff control, how do i determine the event of the closing application to process internal
|
| Is there a way to convert a string representation of a type name into a Type object? | 18 Jun 2007 03:55 GMT | 6 |
I want to be able to pass in a function a string say: "TextBox" Then I need a way to convert that string representation into a Type object so i can search through some controls and check their type. Then I can do my check: If ( control is type) { //continue }
|
| How to get DNS Server IP address? | 18 Jun 2007 03:35 GMT | 2 |
In windows, Dns.GetHostEntry invocation on a non-existent domain cost time (about 25 seconds in my machine). So, I decide to implement my own DNS resolution with UDP packet transfer. One problem is that, how to get DNS server IP config for current
|
| How to determine the drag and drop destination? | 18 Jun 2007 03:20 GMT | 1 |
I am trying to develop an application that allows the users to drag a few file(s) from a zip archive to a destination. My question is, how do i determine where the drop destination is because i need to do some validation checking before extracting the files from the zip
|