Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Windows XP security update not letting other program run
nanny''s nook - 14 Apr 2007 10:18 PM - 3 messages
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 ...
Score connect to another computer
magdamm - 14 Apr 2007 3:22 AM - 3 messages
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 :) ...
Score System.Net.Mail
Micus - 13 Apr 2007 10:30 PM - 3 messages
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 ...
Score External Config Files
camainc - 13 Apr 2007 7:01 PM - 12 messages
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 ...
Score Visual Studio.net 2003 Addin Project related Help
Hermit Dave - 13 Apr 2007 2:28 PM - 1 message
Hi, I am in process of writing an addin for visual studio.net. I have a great deal of it working and for asthetics i would like to add some custom icons to ProjectItem(s) based on their status. I can get handle to  user selected project item by using ...
Score waitforexit and hyperthreading
nemesistime - 13 Apr 2007 11:08 AM - 4 messages
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(); ...
Score reflections
Perecli Manole - 13 Apr 2007 1:00 AM - 2 messages
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 stuff ...
Score HttpWebResponse object works only 1 time and next time it times ou
ChanKaiShi - 12 Apr 2007 9:38 PM - 1 message
Hi, I have code below which works fine 1 time and next time I call it it would through "time out" exception. What might be causing it? Code Snippet striring strRequest += ""[link]" + Address + ...
Score Windows XP Shutdown
PHIL - 12 Apr 2007 9:12 PM - 2 messages
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 ...
Score Screen Scraping a Password Protected Site
apondu - 12 Apr 2007 7:38 PM - 1 message
I'm trying to screen scrape a site that requires a password. I am using C#.Net, i am new to this and with the information available around on the internet i just put tht information into the code. But still i am not able to achieve what i want to. ...
Score Screen Scraping a Password Protected Site
apondu - 12 Apr 2007 7:38 PM - 1 message
I'm trying to screen scrape a site that requires a password. I am using C#.Net, i am new to this and with the information available around on the internet i just put tht information into the code. But still i am not able to achieve what i want to. ...
Score Callback Delimma...
altagrego - 12 Apr 2007 3:35 PM - 2 messages
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 ...
Score Threading, Callback Question...
altagrego - 12 Apr 2007 3:19 PM - 1 message
Greetings, 1. ...
Score Could not create SSL/TLS secure channel inside my web service
Filippo Bettinaglio - 12 Apr 2007 2:44 PM - 1 message
I have developed a web service under ASP.NET2.  this web service call another web service which need a SSL connection. Therefore I pass, to be able to connect, I pass credential and certificate X509Certificate x509cert = new X509Certificate(@"C:\Visual Studio ...
Score Excel/Word question
Lloyd Dupont - 12 Apr 2007 2:32 PM - 1 message
I have multiple embeded Excel spreadsheet in a Word document.                   And I want to run some calculation in one spreadsheet with value from an other spreadsheet embeded in this Word document. ...
Score Metadata in Manifest Or Manifest in MetaData
Sriman - 12 Apr 2007 2:08 PM - 3 messages
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. ...
Score RSACryptoServiceProvider stores key in user profile?
dfa_geko - 12 Apr 2007 1:18 PM - 1 message
Hi Everyone, Does the RSACrytoServiceProvider store the key in the user profile by default? What if I am using CspParameters key container? I'm writing an encryption/decryption code in ASP.NET and it doesn't throw an exception. I didn't use the RSACryptoServiceProvider.UseMachineKeyStore ...
Score Registered JIT debugger?
Michael Bray - 12 Apr 2007 11:59 AM - 1 message
I have an .NET 1.1 application that will run fine for days at a time, and then suddenly drop into that most hated of Error Dialogs - Registered JIT debugger is not available.  How can I install a JIT debugger on this ...
Score Need help on GUI
AVL - 12 Apr 2007 11:22 AM - 2 messages
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... ...
Score "A sql mobile dll could not be loaded"
Benjamin Hauser - 12 Apr 2007 8:18 AM - 1 message
Hello NG, i have a mobile solution developed on VS 2003 and CF 1. ans SQL-CE 2.0 Now i upgrade it to VS 2005, cf 2.0 and SQL Mobile. Now i am getting this error: "A sql mobile dll could not be loaded" ...
Score Failed to Load resources from resource file
Ashish - 12 Apr 2007 8:06 AM - 1 message
Hi, We have got one file from the developement team for testing. Application is built in Windows .Net 2003. We are trying to install it on XP Machine with SP2, .Net Franework 1.1 installed. On some machine, it gets installed successfully. While on some machine we ...
Score Config file deletion on Close() with System.Configuration
Jouan Amate - 12 Apr 2007 8:02 AM - 1 message
Hi, Here is my code Code: class ConfigFile {     public void AddToConfig(string drive, string path)     {         System.Configuration.Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);         config.AppSettings.Settings.Add(drive, path); ...
Score try catch (re)throw problem...
Lloyd Dupont - 12 Apr 2007 7:27 AM - 3 messages
I have an object where I do 'special' cleanup in case of exception my code is somewhat like that: void Method() {     try     {         Something();     }     catch ...
Score delegates
DiamondDavo - 12 Apr 2007 5:44 AM - 7 messages
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 ...
Score .Net 2005 user control
Ariel - 12 Apr 2007 5:34 AM - 2 messages
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 ...
Score .Net framework 1.1 2 and 3
Paul - 12 Apr 2007 5:03 AM - 4 messages
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 ...
Score Per-thread-pool-thread data using ThreadPool class
travislspencer - 12 Apr 2007 4:57 AM - 1 message
Good Evening All, I am using the .NET framework's ThreadPool class for the first time. I have a good amount of experience with the ATL Server's templatized thread pool class ([link] ...
Score WF ActivityValidator: checking if DependencyProperty has been boun
_keith - 12 Apr 2007 3:18 AM - 8 messages
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 ...
Score AspNet_RegIIS ...encrypting web.config when running Cassini
Hey it's Filippo - 11 Apr 2007 11:34 PM - 1 message
ASP.NET 2.0 Windows app written in C# and VS 2005 ============================= I am having difficulties encryting web.config files when using Cassini (IIS is currenly disabled) as the VirtualDirectory param seems to only work when IIS is up and running. ...
Score Is data always serialized when passing through a WCF service?
Juan Dent - 11 Apr 2007 8:48 PM - 7 messages
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? ...
Score Make Single Instance in C#
Alex Maghen - 11 Apr 2007 8:24 PM - 11 messages
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# ...
Score EETypeLoadException
Bob - 11 Apr 2007 8:11 PM - 2 messages
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... ...
Score Cascading Delete not Cascading
Jason Weier - 11 Apr 2007 5:28 PM - 1 message
I am having a strange issue with cascading deletes in that it simply isn't cascading. Heres what I'm using: VB .NET 2005 sp1 SQL Express 2005 For simplicity, I will give 2 of the many table adapters in the app and ...
Score Failed to find or load the registered .Net Framework Data Provider
Ray - 11 Apr 2007 5:06 PM - 1 message
I am very new to Visual Studio 2005 and am using the following tutorial. [link](VS.80).aspx I installed the SQL Server and SQL Mobile included with Visual studio 2005. ...
Score Reading a 2.0 manifest with dotnet 1.1
DotNetter - 11 Apr 2007 1:39 PM - 2 messages
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 ...
Score Signing XML does not work on second computer
Hans - 11 Apr 2007 1:10 PM - 1 message
I have a small test app that signs an XML node and verifies if the signature is valid. I have created a containter and inserted a key pair using "SN -i" On one computer, all works fine. On antother computer, the app inserts the signature, but validates the XML ...
Score SmartClient - ASP.NET Issue
Mike - 11 Apr 2007 1:01 PM - 2 messages
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 ...
Score cannot install sp1 for 1.1
s_m_b - 11 Apr 2007 12:35 PM - 1 message
(tried windowsupdate ng with no answers!) I need to have both .net 1.1 and 2 installed , which is no problem, but cannot get sp1 for 1.1 to install. I just get 'error code 0xC1' each time, and running the setup from commandline silently fails, not even writing an ...
Score strings vs regular expressions
AVL - 11 Apr 2007 8:26 AM - 7 messages
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.... ...
Score Notification when a new column is added to a table
deepak - 11 Apr 2007 6:50 AM - 3 messages
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 ...
Score Preventing generation of XML serialization assemblies at runtime (also for dlls)
Andreas Schuler - 11 Apr 2007 5:50 AM - 1 message
Hi all, Here's my basic problem: In my application I am using web services as well as other classes that can get serialized using the XML serializer. I have a simple installer project so I can deploy my application on other people's machines. What I have found is that the ...
Score X509 certificate with password
Filippo Bettinaglio - 10 Apr 2007 10:10 PM - 2 messages
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  !!!! ...
Score StringDictionary and web method parameter
Hardy Wang - 10 Apr 2007 9:28 PM - 1 message
Hi all, StringDictionary has [SerializableAttribute], I would like to use it as one of parameter in web method of one of my web service, it seems that I cannot do it. When I try to update web reference with this new paramter, I get ...
Score Event ID 1084 aspnet_wp.exe could not be started & Server Application Unavailable
achen - 10 Apr 2007 8:02 PM - 1 message
*************************** Problem Desciptions *************************** I have already spent hours researching the solution of this, however 99% or articles that I've found suggested me to do something about the ASPNET account.  This box is a Windows 2000 domain controller, so there is no local account that I can tweak. ...
Score Serialization Woes
Oldman - 10 Apr 2007 7:28 PM - 4 messages
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 ...
Score Graphics.Clear() in Terminal Services
Pete - 10 Apr 2007 4:59 PM - 1 message
There's a known issue with Graphics.Clear() causing a generic GDI exception in Terminal Services. For more info: [link] and [link] ...
Score DeadLock Issues
Duncan - 10 Apr 2007 4:38 PM - 2 messages
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.. ...
Score Native compilation
VBAdev - 10 Apr 2007 2:06 PM - 3 messages
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 ...
Score [feature request] Array.IsNullOrEmpty
Wiktor Zychla [C# MVP] - 10 Apr 2007 1:36 PM - 2 messages
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 ) ) ...
Score command line arguments
AVL - 10 Apr 2007 1:02 PM - 2 messages
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.. ...
Score BeginAccept callback problem
Clayton - 10 Apr 2007 8:47 AM - 3 messages
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 ...
Score Socket.BeginReceive errorCode parameter
Alexander Smirnov - 10 Apr 2007 7:33 AM - 4 messages
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, ...
Score Interop.IWshRuntimeLibrary.dll for Windows 2000 Server
Valerie Hough - 9 Apr 2007 9:15 PM - 3 messages
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. ...
Score SmtpMail
Gerhard - 9 Apr 2007 8:06 PM - 2 messages
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")) ...
Score ANN: Reminder: MVP-hosted Device AppDev Chat tomorrow
Michael Fosmire [MSFT] - 9 Apr 2007 7:38 PM - 1 message
Hello! Just a reminder that MVPs will be hosting an online chat tomorrow concerning Device Application Development with Visual Studio 2005. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Title: MVP chat: Device Application Development with Visual Studio 2005 Chat Date: April 10th 10:00am - 11:00am Pacific Time ...
Score F1 keydown for menuitem
B. - 9 Apr 2007 7:19 PM - 3 messages
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 ...
Score Generic question
Enosh Chang - 9 Apr 2007 5:52 PM - 2 messages
Hi all: I have one question about generic class. public class Base<T>     where T : new() {     public Base() {}     public void A()     {         T newObject = new T(parameter); ...
Score [ANN] Event logging, tracing, conditional code and performance counters
Richard Grimes [MVP] - 9 Apr 2007 4:27 PM - 1 message
New, free, .NET workshop from Richard Grimes, covering Conditional Code, Tracing, Asserts, .NET Trace Sources and Trace Listeners, Performance Counters and The Event Log: [link] Richard ...
Score NUnit Crashes when WebEx is Installed?
Mike Hofer - 9 Apr 2007 3:18 PM - 1 message
Hi folks, Last week, our company was evaluating WebEx and I was asked to install it locally to test it so that we could do training for our project over the Web, rather than sinking money into plains, trains and ...
Score Unable to go back to default profile after creating a new one
Geoff - 9 Apr 2007 2:22 PM - 2 messages
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 ...
Score security exception when running .net app from network drive
Brian - 9 Apr 2007 12:57 AM - 2 messages
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 ...
Score How does Microsoft support WS-*??? (MSE2.0,MSE3.0, NET3.0)
johnxhc - 8 Apr 2007 5:04 PM - 3 messages
Although I see a lot of reference telling me that MSE.2.0 MSE3.0 support WS-*, but I have not seen any concrete sample on how the WS-* is supported, for example ws-transfer & ws-address. How does MS ...
Score Net Framework 3 loads up 2 as well?
skypeeper - 8 Apr 2007 1:58 PM - 7 messages
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? ...
Next »