Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet framework > april 2007 > threads for april 8 - 14, 2007

Filter by week: 1 2 3 4 5

Windows XP security update not letting other program run
Posted by nanny''s nook at 4/14/2007 3:18:01 PM
After security update for windows xp (KB925902) published 4/3/2007 I had to install a hot patch fix to correct the error I was getting. Now I have discovered that I have a program that will not work and I feel sure it is because of the security update. The program is Turbo Lister used for Ebay...more >>

connect to another computer
Posted by magdamm at 4/13/2007 8:22:01 PM
i would like to connect to my fathers computer to help him fix things. how do i do that? he runs xp and i have vista. i just want to be able see his desktop and change things around- like settings. help :)...more >>

System.Net.Mail
Posted by Micus at 4/13/2007 5:30:45 PM
I have written a program using the Win32 API / MAPI to create email messages. Are there any code samples or good reference sites for doing this using managed code (C++/CLI if possible). TIA, M ...more >>

External Config Files
Posted by camainc at 4/13/2007 12:01:31 PM
I'm trying to share configuration information among several similar applications. I wrote a custom configSection handler and all that, and as long as the configSection lives in the app.config file everyone is happy. When I move the section out to separate file stored somewhere on the network,...more >>

waitforexit and hyperthreading
Posted by nemesistime at 4/13/2007 4:08:00 AM
I am using the following fragment of code in the main of a console application : ..... Process p = new Process(); p.StartInfo.FileName = "C:\\Programmi\\OpenOffice.org 2.\\program\\soffice.exe"; p.StartInfo.Arguments = "C:\\H\\TMP\\sql-20070410.log"; p.Start(); /* */ p.WaitForExit();...more >>

reflections
Posted by Perecli Manole at 4/12/2007 6:00:15 PM
Is there a way to reflect the events in a class that are declared as "Friend"? Dim objEventDescriptors As EventDescriptorCollection = TypeDescriptor.GetEvents(Me, New Attribute() {New ScriptEventAttribute(True)}) For Each objEventDesc As EventDescriptor In objEventDescriptors 'do stuf...more >>

Windows XP Shutdown
Posted by PHIL at 4/12/2007 2:12:03 PM
I recently installed dsl into a compaq computer. Computer will not shut down unless i turn dsl off. It does shut down but starts back up in about 3 minutes. Power options have been checked. Is this a problem with dsl or windows? Thank you in advance Phil...more >>

Callback Delimma...
Posted by altagrego NO[at]SPAM gmail.com at 4/12/2007 8:35:22 AM
Greetings, 1. Multiple threads will make REQUESTs. (I synchronous request per thread) The number of threads could vary.. (1..n) where n could be 10,000. 2. A separate thread will be monitoring the central RESPONSE depository. (queue/list whatever...) 3. Each request/response ...more >>



Metadata in Manifest Or Manifest in MetaData
Posted by Sriman at 4/12/2007 7:08:04 AM
one question in my mind. Please clarify. If my question is wrong, Please excuse. 1) metadata is a part of manifest Or Manifest is a part of metadata? I am assuming Manifest is a part in metadata. Regards, sri...more >>

Need help on GUI
Posted by AVL at 4/12/2007 4:22:02 AM
Hi, I've a requirement in which I need to open my windows application from a console application.. how do i it? any good samples......more >>

.Net framework 1.1 2 and 3
Posted by Paul at 4/12/2007 12:00:00 AM
Do u have to install 2 and 1.1 beforehand? Before .Net Framework 3? Last time I installed 2, something that needed 1.1 wouldnt work because it wasn't installed. (I thought 2 may have had the files required for 1.1). Obviously I was wrong! And I couldnt install 1.1 after I had installe...more >>

try catch (re)throw problem...
Posted by Lloyd Dupont at 4/12/2007 12:00:00 AM
I have an object where I do 'special' cleanup in case of exception my code is somewhat like that: void Method() { try { Something(); } catch { SpecialCleanup(); throw; } finally { NormalCleanUp(); } } my proble...more >>

delegates
Posted by DiamondDavo at 4/11/2007 10:44:03 PM
Hi there I have a delegate that needs to have only 1 function to call. There is a possibility that the function will be added to the delegate a second time if the button is clicked twice. Is it "legal" to assign a delegate null before adding a function to the delegate. eg del = null; del ...more >>

.Net 2005 user control
Posted by Ariel at 4/11/2007 10:34:02 PM
Hi. I'm trying to migrate a custom built user control for .net 2005, to .net 2003. How can this be done? I understood there was some way to wrap around it, and create a new user control. Thanks, Ariel...more >>

WF ActivityValidator: checking if DependencyProperty has been boun
Posted by _keith at 4/11/2007 8:18:01 PM
Scenario: I have a custom activity that has a DependencyProperty. The property type is a complex object (just an object with some properties, nothing fancy). When I drag my custom activity onto a workflow I want to ensure the property is bound to a field in the workflow. Solution: I’v...more >>

EETypeLoadException
Posted by Bob at 4/11/2007 4:11:27 PM
Does anyone know why I would get this error when running the below code? I am using C# no c++ at all. First-chance exception at 0x7c812a5b in myservice.exe: Microsoft C++ exception: EETypeLoadException at memory location 0x0012e1d0.. code... AssemblyName Name = AssemblyName.GetAssembly...more >>

Is data always serialized when passing through a WCF service?
Posted by Juan Dent at 4/11/2007 1:48:03 PM
Hi, Yes, I understand that in most cases the data will need to be serialized (ie, to reach another AppDomain). But what about a service that is self hosted, ie. called InProc? Seems to me serialization there is absolutely pointless and hurts performance. Don't you think? -- Thanks in...more >>

Make Single Instance in C#
Posted by Alex Maghen at 4/11/2007 1:24:01 PM
In the Visual Studio documentation for VISUAL BASIC ONLY, there seems to be the ability to mark an application as "Single Instance" so that it will run only once. How do implement this same functionality in a Windows Forms C# application? Alex...more >>

Reading a 2.0 manifest with dotnet 1.1
Posted by DotNetter at 4/11/2007 6:39:26 AM
Hi, Is it possible to read data from a dll (such as version, public token...), which has been created with VS 2005, with a program written in VS 2003. When I try to load the assembly (using reflection) it says that "Version 2.0 is not a compatible version." Thx ...more >>

SmartClient - ASP.NET Issue
Posted by Mike at 4/11/2007 6:01:16 AM
Greetings, I have an aspx page where on it is a link that calls my smartclient (a windows form) that opens up. When the user is done in the form, he or she hits a button that saves data and closes the form. I want the smartclient to call the opened browser (IE6 and maybe 7 down the line) and r...more >>

strings vs regular expressions
Posted by AVL at 4/11/2007 1:26:02 AM
hi, I need to comapare or check for substrings in a given string. which would give better performance - string related comapare functions or regualr expressions.......more >>

Notification when a new column is added to a table
Posted by deepak at 4/10/2007 11:50:16 PM
Hi There, Is there a way in which Sqlserver can notify the dotnet application when a new column is added . i believe we can not use Query notifiaction here(correct me if i am wrong) .i am using sqlserver 2005 and dotnet 2.0 . if anybody have an idea of how to do this or know any link in...more >>

[feature request] Array.IsNullOrEmpty
Posted by Wiktor Zychla [C# MVP] at 4/10/2007 3:36:05 PM
starting from .NET 2.0 there is a nice IsNullOrEmpty static method on a System.String class which saves the time so instead of string theString; if ( theString != null && theString.Length > 0 ) you write if ( !string.IsNullOrEmpty( theString ) ) I belive that the same pattern could ...more >>

X509 certificate with password
Posted by Filippo Bettinaglio at 4/10/2007 3:10:04 PM
Hi, I have a certificate X509 with a private key therefore is protected by password stored in a file. I need to read the certificate, with NET2 is a peace of cake: X509Certificate cert = new X509Certificate(@"...path...", "password"); Done !!!! Can someone tell me how it is possibl...more >>

Serialization Woes
Posted by Oldman at 4/10/2007 12:28:01 PM
I have a type that is serializable that is located in an assembly that is loaded dynamically from a special directory. When deserializing this object the framework fails to find the type. Now, I am aware of the SerializationBinder class and how it can be used to get around this problem how...more >>

DeadLock Issues
Posted by Duncan at 4/10/2007 9:38:02 AM
Hi all, We are running on W2K3, 64 bit, IIS6.. and recently started getting the following.. ISAPI 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll' reported itself as unhealthy for the following reason: 'Deadlock detected'. The worst part is what follows.. 1. Application...more >>

Native compilation
Posted by VBAdev at 4/10/2007 7:06:48 AM
Hi all, I'm looking for a tool to compile .net assemblies to native code to protect a product from decompilation. I already considered Remotsoft linker and minideploy tool. Can you suggest me any other product? TIA Marco Paci ...more >>

command line arguments
Posted by AVL at 4/10/2007 6:02:08 AM
Hi, Im a newbie to c#.net 2.0.. I need some info on command line arguments. how do I pass command line arguments in a console applications.....more >>

Generic question
Posted by Enosh Chang at 4/10/2007 1:52:22 AM
Hi all: I have one question about generic class. public class Base<T> where T : new() { public Base() {} public void A() { T newObject =3D new T(parameter); } } Document said I couldn't use T(parameter) but T(). Or do I have another = way to do that? T...more >>

BeginAccept callback problem
Posted by Clayton at 4/10/2007 1:47:49 AM
Hi all, I'm trying to develop a server that listens to incoming calls using the asycnhronous methods BeginAccept / EndAccept. I start the server (till this point it is ok) and few seconds later I stop it (with no clients connected). Once I press the stop button an ObjectDisposedException is f...more >>

Socket.BeginReceive errorCode parameter
Posted by Alexander Smirnov at 4/10/2007 12:33:20 AM
Hello! In .NET 2.0 Socket.BeginReceive has a new overloaded version: public IAsyncResult BeginReceive ( byte[] buffer, int offset, int size, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback callback, Object state ) My question is about errorCode parameter. Wha...more >>

Interop.IWshRuntimeLibrary.dll for Windows 2000 Server
Posted by Valerie Hough at 4/9/2007 5:15:28 PM
Hi, I created an application that uses the WSH runtime library in my XP development environment. As part of the build, the file "Interop.IWshRuntimeLibrary.dll" was created which I deploy with my application. However, my application does not work for Windows 2000 Server. Is there somewh...more >>

SmtpMail
Posted by Gerhard at 4/9/2007 1:06:01 PM
I have an application that uses SmtpMail. As part of that, I want a notification emailed to the sender on any failure. I am using: Dim SmtpMail As Mail.SmtpClient = New System.Net.Mail.SmtpClient(ConfigurationManager.AppSettings("strSmtpServer")) Dim MyMail As System.Net....more >>

F1 keydown for menuitem
Posted by B. at 4/9/2007 12:19:41 PM
Each of my menuitem has a help topic. When user selects the menuitem and press F1, it should pop up the help. However, how can I catch the F1 keydown event for the menuitem? There is no keydown event for the menuitem. ...more >>

Unable to go back to default profile after creating a new one
Posted by Geoff at 4/9/2007 7:22:03 AM
I needed to put password protection on my computer which at that time had no profiles created, I added a profile and accessed it okay. However I realised that all my information such as Outlook with all the saved emails and contacts was not there. When I tried to return to the original where t...more >>

security exception when running .net app from network drive
Posted by Brian at 4/8/2007 7:57:33 PM
I have a .net app I can't seem to run on a couple of the machines I need to run it on. It works on most but on these few I keep getting a .net security exception. I have gone to the .Net Framework 1.1 Configuration app, runtime security policy, "adjust zone security" and set full trust for all z...more >>

Net Framework 3 loads up 2 as well?
Posted by skypeeper at 4/8/2007 6:58:16 AM
Does anyone know why, after removing all versions of Net Framework, and then installing just the 3.0 redistributable package, that NF 2.0 shows up in the Add/Remove Program list again? Can't seem to permanently remove this one? No error messages on the uninstall of 2.0, it said it was remo...more >>


DevelopmentNow Blog