Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Using System.Net.Mail with Antivirus Software ...
Christopher Kurtis Koeber - 24 Feb 2007 11:55 PM - 3 messages
Hello,         I am creating an application that sends messages using the System.Net.Mail class and I am running into a problem with Antivirus software delaying messages. If I disable the e-mail protection features of ...
Score Questions about uninstalling .NET Framework
Kauman - 24 Feb 2007 5:32 AM - 2 messages
I have .net framework on my computer, probably b/c it was an update or something.  Anyway I was trying to clean up unused programs to free up space on my hard drive and I noticed in my Add/Remove progams list that I have Net ...
Score I believe I have found a bug in CLR 2.0 (System.Runtime.InteropServices)
johnxhc - 24 Feb 2007 2:48 AM - 2 messages
I have the big application, it has C#, VB.NET, VB6 & VC++ components, those components calling each other, passing the objects between the managed & unmanaged layer. The application crashes in one operation scenario, the crash is caused by the following: ...
Score Writing to CDRs and DVDRs
DXRick - 23 Feb 2007 10:41 PM - 2 messages
I did a search first and found that there are Win32 APIs for writing to CDRs. So far though, it would seem that there is nothing in the Windows API or ..NET for writing to DVDRs, and it also seems that the current retail programs ...
Score Interitance and PropertyInfo Question
lucius - 23 Feb 2007 10:15 PM - 7 messages
..NET 2.0. In the below code, when GrandChildThing is instanced, the GrandChildProperty is never set in line 9 of ChildThing. Visual Studio 2005 IntelliSense says that the instance is GrandChildThing, but there are no properties in the propInfos count and the property is never ...
Score Missing ASP.NET tab in IIS
musosdev - 23 Feb 2007 10:08 PM - 5 messages
Hi everyone, Hopefully someone could clear up my problem here. I'm setting up a new server (Win 2003 Standard 64-bit) for use as an Intranet server. I have 3 web apps written in asp.net - one uses .NET 2.0.50727 and two are ...
Score Get LOGON USER name in .NET 2.0
Brad King - 23 Feb 2007 9:53 PM - 4 messages
I recentlly converted some web services to 2.0. So far everything has worked great with the exception of one of the functions in an AD service. the following code: string sUser = HttpContext.Current.Request.ServerVariables["LOGON_USER"]; Worksk fine if debugging in VS 2005 but when I publish to the server. An ...
Score Is there a way to get caller environment variables from Reflection?
SteveM - 23 Feb 2007 9:41 PM - 2 messages
I am needing to get the environment variables (or at the very least USERNAME and COMPUTERNAME) from a calling method in my (receiving) library. So far I know how to get the method name, the class name and even the file path of the calling method. I also know how to get the ...
Score Reflection and Interfaces
Random - 23 Feb 2007 7:07 PM - 1 message
I'm sure this has got to be something simple, but if someone could help shortcut me on this, I'd be very grateful. I have a set of classes that implement my interface IGenericInference. Some of the classes have an event that gets raised when one of the interface ...
Score MailMessage.Fields possible keys and values
Alexander Smirnov - 23 Feb 2007 5:41 PM - 2 messages
Hello! Can somebody give me a link to documentation for all possible keys and their corresponding values for property System.Web.MailMessage.Fields I searched but didnt found this information in msdn Thanks in advance ...
Score Include Framework 2 in Install Pack
bahnin - 23 Feb 2007 5:38 PM - 3 messages
Hi group I need to install framework 2 before my app in the install pack. I have add a launch condition, and spécify the url. but once the framework is installed, the install stop, and my app is ...
Score Unit Test Framework for .NET 2.0?
Brian McCullough - 23 Feb 2007 2:23 PM - 12 messages
Hello, I posted a similar question to the less active MSBuild community group, so I apologize in advance for double posting, but I think it is applicable to this group as well... If I am using the Standard or Professional editions of Visual Studio 2005, ...
Score Framework 1.1 for Win2k3 Server Std x64
musosdev - 23 Feb 2007 2:09 PM - 4 messages
Hi guys I'm trying to install a web application which runs on .NET 1.1 onto a Windows 2003 Server Standard (x64 Edition) machine. Simple question... is there a x64 build of the .net framework 1.1, or will ...
Score .net 2.0 : looking for a "best practice" for multi threading jobs
Steve B. - 23 Feb 2007 9:38 AM - 5 messages
Hi, I'm building an application that follow this scenario. 1. Download a file on a server with http 2. Analyse this file and extract other files in one of the section of the file (like dependent files) 3. Foreach found files, repeat the whole process. ...
Score "Microsoft.Sdc.Tasks" project is not getting recognized
ash07 - 23 Feb 2007 9:37 AM - 1 message
Hi All,        I am facing the problem . I am not able to use the Sdc.Tasks.dll . I want to use Installshield Class located at Microsoft.Sdc.tasks.Tools which is use to convert .ism to .msm . I ...
Score Determining per-connection bandwidth - 1Please Help!
OPM - 23 Feb 2007 2:41 AM - 3 messages
Hi guys and gals, I've been Googling hi and low for the past few hours trying to work out how to do this and having very little luck. I'm trying to determine how I can determine the in and out speed (bytes/sec) for TCP connections. ...
Score CurrentPrincipal not in Compact Framework
mjp - 22 Feb 2007 10:38 PM - 1 message
How should I implement custom authentication in the compact framework and persist the user info / is authenticated and role checking throughout the app since the compact framework does not have System.Threading.Thread.CurrentPrincipal? ...
Score Copy Content Text File in Project to a Folder or a String
vjunkl@hotpop.com - 22 Feb 2007 10:04 PM - 2 messages
Hello, I have a content text file in my project and I'd like to copy it to a folder at some point in the execution of the application(not during a build). If this is not possible, how about reading a content text file into a ...
Score Net 3.0 runtime installer
gneuner - 22 Feb 2007 8:33 PM - 1 message
I recently downloaded the full Net 3.0 runtime redistributable package (x86 32-bit) from Microsoft's site.  I have since noticed that whenever I access the directory in which that file resides, Explorer freezes and the CPU utilization goes to 100% for about 30 seconds. ...
Score visual studio 2005 installation
Ganesh - 22 Feb 2007 8:05 PM - 4 messages
Hi There, I've xp pro, i installed visual studi 2005  with visual c#. i don't see Asp.net web application from File->New Project dialog box. I remember i used to see the Asp.net application in visual studio 2003 ...
Score Determining Thread objects in a process
Pete - 22 Feb 2007 6:11 PM - 3 messages
Is there any way that anyone knows of to get a list of the Thread objects for a running process from within the process? I don't mean ProcessThreads returned by the Process in System.Diagnostics, but the Thread objects ...
Score PreTranslateMessage and .NET
Luis F. Rodas - 22 Feb 2007 5:57 PM - 3 messages
Dear All, Does anybody know if exist functions in C# equivalent to PreTranslateMessage (MFC) ? Best regards, Luis F. (Indusoft Team) ...
Score Disable MDA for LoaderLock
Martin Hart - 22 Feb 2007 5:49 PM - 2 messages
Hi: I want to create a mda.config file for my application to disable the LoaderLock MDA, but don't understand the documentation for disabling it. According to the documentation, to enable it I use: <mdaConfig>    <assistants> ...
Score MultiUser Environment
AnikSol - 22 Feb 2007 1:42 PM - 2 messages
Development Environment: VB 2005 Prof, SQL Server 2005 In a typical Multi User environment, what is the best way to handle updates of disconnected datasets of other users. Eg: User A opens application Winform 1, dataset1 is loaded on his machine ...
Score System.Diagnostics.Trace.WriteLine
Ollie Riches - 22 Feb 2007 9:32 AM - 2 messages
Just wonder what the cost of using the API System.Diagnostics.Trace.WriteLine() is? Infact does anyone know how this works internally - are all calls to the API processed asynchronously by another thread and does it use some form of a ...
Score Assembly redirection problems...
Sinex - 22 Feb 2007 8:45 AM - 2 messages
Hi !   I've developed a strong named assembly (dll) thats being used by a client application(exe). The dll is deployed to the application directory only. Now i have a new version of the dll.  I replace the old version with the new ...
Score Seeking Sample Application Introducing .NET Remoting
Laser Lu - 22 Feb 2007 6:56 AM - 5 messages
Well, it's hard for me to get working sample applications which demonstrate the .net remoting architecture. Does anybody knows if there is any good tutorial application? The sample application would be better if it is released together with C# source code. ...
Score remote registry authentication
Darren Mar-Elia - 21 Feb 2007 10:19 PM - 2 messages
I have an app that uses the RegistryKey class to open and read keys on remote systems in .Net 2.0. I want to give the user the ability to provide alternate credentials to make the connection to untrusted systems but there ...
Score How to read all icons in a .ico file
Bob Altman - 21 Feb 2007 9:43 PM - 4 messages
Hi all, If I have a .ico file that contains mulitple icons, is there a way to construct System.Drawing.Icon objects from all of the images in the file? The Icon constructor does not provide an "index" argument to specify which ...
Score HTML AJAX to DOT.NET in Different Domain
Thom Little - 21 Feb 2007 7:47 PM - 10 messages
I am looking for an example of ... - HTML or ASP 3 page using AJAX - ASP.NET 2.0 web service in a different domain HTML or ASP 3 pages passes a string to Web Service and it returns an XML ...
Score works suite 2006 template loading problem
colin england - 21 Feb 2007 5:33 PM - 3 messages
can anyone help. i have loaded some of the most used programmes for me but no templates are showing can someone out there give me idiot proof instructions on how and where to look so that i can rectify this problem. yes i have an ...
Score High CPU in .NET 1.1 Windows Service
solidstore - 21 Feb 2007 5:16 PM - 1 message
The problem we are seeing, on our quad-cpu box, is 100% cpu (at random intervals) from our service process for several hours (~2-15h) before it recovers. Upon investigation with DebugDiag, Application Verifier and WinDbg it appears that one thread is holding a critical section blocking 88 other ...
Score Out of control threads
ujjc001 - 21 Feb 2007 5:08 PM - 8 messages
Hello group.  I have a vb.net winform app that, in a sub, starts 10 new threads.  The sub waits in a loop for these threads to finish before continuing.  The end of the sub thread's sub sets a boolean ...
Score How to add NetworkCredential?
fj - 21 Feb 2007 4:06 PM - 3 messages
I use TCPClient object. Is there any way I can add networkCredential object to the request? How can I add username, password information on the web request? Again I am using TCPClient and send byte stream through socket. thanks in advance ...
Score how can i add a reference to a dll which is in other machine
chinna - 21 Feb 2007 3:11 PM - 2 messages
can i add a reference to a dll which is present on the machine in LAN.. ...
Score How to start app at startup ?
Kunal - 21 Feb 2007 3:02 PM - 2 messages
Hi friends, I'm faced with a requirement that is kind of unknown to me. In my situation, if my application was running and the machine reboots, then I need to start my application automatically once the machine comes up. If the ...
Score ANN: VintaSoftTwain.NET Library v2.1 has been released.
support - 21 Feb 2007 1:44 PM - 1 message
VintaSoftTwain.NET Library is a pure .NET Library which allows to control work of scanners, cameras and any other TWAIN devices. With this library you can fully control the image acquisition process, use the automatic document feeder, clean up images using noise removal, ...
Score Link an object to an Assembly
Volker Thebrath - 21 Feb 2007 12:58 PM - 5 messages
Hi, I have a Program(exe) and a API (dll), both in c#, works very fine. Now I'm looking for a way to link both together. To have only one file(exe) to copy to the installation directory. Is this possible? ...
Score which version of visual studio would we need to use Windows Workflow foundation?
karsten.weinert - 21 Feb 2007 12:54 PM - 3 messages
Hello, in our windows sb server 2003 enviroment with sql server we consider to map our workflow with the .net3 windows workflow foundation component. What license of visual studio would we need to build workflow-based applications - express, standard, professional, or even ...
Score System.Drawing.Printing.PaperSize.Rawkind in version 1.1
Paul S - 21 Feb 2007 10:18 AM - 2 messages
Hi Is it in any way possible to get access to the property System.Drawing.Printing.PaperSize.Rawkind in version 1.1 I can see that it has been made public in 2.0 + A solution is of course to use the win32 method DeviceCapabilities,  but I ...
Score Unexpected Error with .NET Framework 2.0 runtime
Anbu - 21 Feb 2007 10:05 AM - 1 message
Hello All, I have developed an Win 32 application using .NET 2.0 Framework. This application uses the cassini dll provided by one of the Microsoft groups. While using this component, I'm getting an error (occationally) and the application terminates with unexpected ...
Score Application.ExecutablePath() issue in Windows Vista
Dani K. - 21 Feb 2007 8:24 AM - 1 message
Hi. I have a Windows Forms application developed in .NET Framework 1.1. The Application.ExecutablePath() function does not return correctly the application path if the path or the EXE filename contains non-english characters (like "c:\aplicación\aplicación.exe), but only in Windows Vista ...
Score .Net recent version?
ash07 - 21 Feb 2007 6:54 AM - 3 messages
Hi All,    Can you help me getting the recent version of .NET framework?    I have .NET 2.0 installed. Which is the recent release by Microsoft?    Is Orcas(.Net 3.5) Released?If yes, Where it is available for ...
Score Property Indexer
hufaunder@yahoo.com - 21 Feb 2007 5:24 AM - 2 messages
I have found some examples on MSDN ([link] default.asp?url=/library/en-us/csref/html/ vcwlkIndexedPropertiesTutorial.asp), Code Project, etc about property indexers. In these examples the indexer uses a reference back to the ...
Score How to add NetworkCredential
fj - 21 Feb 2007 1:46 AM - 1 message
I use TCPClient object. Is there any way I can add networkCredential object to the request? How can I add username, password information on the web request? Again I am using TCPClient and send byte stream through socket. thanks in advance ...
Score computer will not turn off after shut down
rythymace - 20 Feb 2007 11:29 PM - 2 messages
My computer just hangs after attempting to shut down.  I went to microsoft support and it only suggests changing the power source for "APM" or something like that. I don't have that tab as an option.  I only have UPS.  What is ...
Score The right tool for Vista development in .Net 3.0
Dale - 20 Feb 2007 10:33 PM - 16 messages
I have searched high and low and I cannot find any blogs or posts to explain this.  I am kind of surprosed; I had guessed it would have been one of the most asked questions here or in the Vista forums on MSDN. ...
Score Visual Studio Wildcard Compiler Directives?
lucius - 20 Feb 2007 8:21 PM - 4 messages
Why can't I do this in C#: using mynamespace.subspace.*; ? ...
Score GPMC won't install
Joe Germanoski - 20 Feb 2007 7:38 PM - 1 message
GPMC won't install - error message says .NET Frameowrk needs installed but I know that it is. I went to a website - [link] - that successfully tested the installation. Any ideas? ...
Score weird problem with VS.NET 2003, win32 app and Interop
Hermit Dave - 20 Feb 2007 4:10 PM - 2 messages
Hi, I am facing a strange problem. I am using c# 1.1, Visual Studio 2003 on Windows XP SP2 I have a middle-tier project that calls some win32 api's like OpenMutex, CreateMutex etc (the Mutex class in c# 1.x is not helpful enough). The ...
Score HttpWebRequest and Request.form validation error.
fedrok - 20 Feb 2007 3:40 PM - 3 messages
Hi! I've got a problem with HttpWebRequet class. I've to make a POST http sendind a data stream. This data stream contains some "<" characters and so I get an internal server error 500 described as this: A potentially dangerous Request.Form value was detected from the client... ...
Score TCPClient - Detectiing loss of remote host connection
Andrew McNab - 20 Feb 2007 2:49 PM - 3 messages
Before I go and make massive changes to a TCP/IP library I made, I was wondering if the detection of connection loss is possible through the TCPClient class. The problem I have is that I make a connection to another application using ...
Score localized exception messages
leibnizster - 20 Feb 2007 12:41 PM - 6 messages
hello, how do I set ADO.NET exceptions to be thrown in a particular language? I downloaded the dutch language pack, set current culture etc. Everything works OK for regular System exceptions (ex. Divide by zero => it shows "Poging door nul te delen."). But the exception related to ...
Score Singleton implementation over multiple instances of one DLL (copy) ?
Lothar Behrens - 20 Feb 2007 12:10 PM - 3 messages
Hi, I have a class (called pluginmanager) that gets loaded indirectly by an assembly loaded with a call to LoadFrom. On the other hand I use operator new on other plugins, that are directly known in my test project. So i mix the way of creation of objects. ...
Score Adding VB.Net addin in Excel Tool Menu
shantanu - 20 Feb 2007 7:51 AM - 3 messages
Hi all I have developed a ADDIN for excel 2000, now i want to add the addin in the Tools menu of Excel. How can i do that. regards shantanu ...
Score Getting our Application to support Vista
Roger - 19 Feb 2007 9:28 PM - 10 messages
Hi All, Hope this is the right forum.  If not, please direct me to another that might be more appropriate.  We sell a commercial application that uses MSDE as the database.  From our understanding, this will not work going forward ...
Score .Net Runtime Optimization Service Amok from Outlook 2007 w BCM .Net Frmwk 2.0 Hotfixes
Phil C. - 19 Feb 2007 8:49 PM - 1 message
Hi.  It appears that after installing BCM for outlook 2007 which automatically installed two hotfixes for the .Net 2.0 framework (kb922981 & kb923319), my .Net Runtime Optimization Service is running very frequently on my laptop.  I have entries clogging my Event Viewer Application log for ...
Score Failed to grant permission to execute
-pb- - 19 Feb 2007 5:55 PM - 1 message
Hi, I am developing a windows form application using C# on .net 1.1. This exe uses a COM dll which I had added as a reference and VS2003 had produceds necessary stub for inter operation. Now when I run this exe on my production area it gives me an error ...
Score Failed to grant permission to execute
-pb- - 19 Feb 2007 5:55 PM - 1 message
Hi, I am developing a windows form application using C# on .net 1.1. This exe uses a COM dll which I had added as a reference and VS2003 had produceds necessary stub for inter operation. Now when I run this exe on my production area it gives me an error ...
Score Failed to grant permission to execute
-pb- - 19 Feb 2007 5:55 PM - 1 message
Hi, I am developing a windows form application using C# on .net 1.1. This exe uses a COM dll which I had added as a reference and VS2003 had produceds necessary stub for inter operation. Now when I run this exe on my production area it gives me an error ...
Score possibly a simple question
SP - 19 Feb 2007 4:30 PM - 5 messages
I have a web service application which uses 3rd party assemblies. I recently upgraded my solution to use .NET Framework 2.0 instead of .NET Framework 1.1. The 3rd party assemblies that I refer are built on .NET Framework 1.1 ...
Score Indicating the object type from app.config
Dick - 19 Feb 2007 1:33 PM - 2 messages
I’m successfully using the classes in the System.Configuration namespace to strongly type my configuration objects. However, I can’t see a mechanism by which I can use the configuration file to indicate the *type* of object to create. Is this possible? ...
Score Enterprise Library
Thunderchicken - 19 Feb 2007 1:00 PM - 1 message
Does anyone know how to remove the 3 login lockout feature from the Enterprise Library? ...
Score newie. Any pointers?
flo - 19 Feb 2007 12:41 PM - 7 messages
Hi, I m trying to learn C# and the dot net framework and I am a bit daunted by the size. I ve been developing software for the last 3 or 4 years with delphi never had the chance to get into .net ...
Score How to make Global Change to MS Document?
Muhammad Nasir Waqar - 19 Feb 2007 7:28 AM - 4 messages
Dear All, I have 3000+ MS Word doucments in a folder and want to insert a header (image file) and a footer (some text) to all of these documents. Is it possible to write some script (VBA?) and have it insert the headers/footers to all the documents automatically? ...
Score does anyone see what is wrong with my .gif download logic? no matter what image url i try it downloa
dr - 19 Feb 2007 6:23 AM - 2 messages
does anyone see what is wrong with my .gif download logic? no matter what image url i try it downloads a junk file that can't be opened in any paint program. System.Net.WebRequest myRequest = System.Net.WebRequest.Create(url); ...
Score tool to profile 1.1 asp.net execution?
ChrisA - 19 Feb 2007 3:47 AM - 1 message
I'm looking for an execution profiler for asp.net 1.1.  Can anyone recommend something?  I thought I'd found one a while ago, but can't find it now. Thanks ...
Score MouseWheel Events
bern11 - 19 Feb 2007 3:42 AM - 2 messages
I have an panel containing an image which creates scrollbars if the image is too large for the panel.  MouseWheel events automatically scroll the scroll-bars.  How do I intercept the mouse-wheel and make it perform another function?  I added a delegate mousewheel handler, but ...
Score Available "Initial Catalog" in given Data Source (sql)
Krys - 18 Feb 2007 10:38 PM - 5 messages
In SQL connection string i have to provide Initial Catalog and Data  Source. How can i read available initial catalogues when i know only the  given Data Source (for example "(local)\SQLEXPRESS")? ...
Score What is the difference between runtime version and the version propery in a .net assembly
nenzax - 18 Feb 2007 7:42 PM - 2 messages
What is the difference between runtime version and the version propery in a .net assembly Thanks -Nen ...
Score WIC Install Fails: "could not verify the integrity of the file Update.inf"
Ram - 18 Feb 2007 8:28 AM - 10 messages
Hey, Whenever I tried to install .Net Framework 3.0, the installation always failed, and by looking at the install log I saw the problem was in the WIC install, so I downloaded the WIC installer from MS site. But when trying to install the WIC, I recieve the following error: ...
Score how to get the System.Drawing.Point of FormStartPosition, e.g. if i want to recenter the form on the
dr - 18 Feb 2007 5:24 AM - 1 message
how to get the System.Drawing.Point of FormStartPosition, e.g. if i want to recenter the form on the screen at some point other then startup. ...
Score Thread Synchronisation
Steven Spencer (Spinalogic) - 18 Feb 2007 3:07 AM - 6 messages
Hey everyone, just converted a class from .net 1.1 to .net 2.0 and the compiler has warned me of some deprecated usage of functions :(.  Namely thread.suspend and thread.resume. My class was quite clean and the logic was sound (ie it worked).  Now I was ...
Next »