Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score .net framework V2.0.40903
Karen - 26 Feb 2005 9:53 PM - 6 messages
can anyone provide a link to where I can get this version of .net framework please.  I have downloaded the new SQL Express program but the managment program requires this version of .net framework to be installed and I cannot ...
Score DirectoryInfo.Create "succeeds" even if a same name file exists
Pepe Smythe - 26 Feb 2005 8:31 PM - 7 messages
Hello all. Is there any way to report bugs in the .NET framework? I've found that both DirectoryInfo.Create and Directory.CreateDirectory "succeed" even if a file with the same name already exists.  No directory is actually created (thank God, so the file remains in tact), but neither call ...
Score Customising a windows close buttons and title bar
thechaosengine - 26 Feb 2005 8:09 PM - 3 messages
Hi all, Some applications achieve a really nice look and feel in part because they have changed the bar at the very top of the form window. There appears to be a way to customise the whole bar and its buttons but I have no idea how ...
Score What do you need to set up a .net architecture and support after.
Stephen Barrow - 26 Feb 2005 4:09 PM - 2 messages
I am very new to .Net. I want to know exactly what you have to have to set up a .Net development environment and production environment for web service applications. What needs to be supported after the environments are set up. ...
Score Is The Source Code of Terrarium will released?
yy - 26 Feb 2005 4:18 AM - 2 messages
I found the Terrarium is very interesting.But I'm very sad about that I can't find any source code about it except some plant code or animal code. But the author said he will release the full source. ...
Score Remote Printing From DotNet GDI+
howard39@nospam.nospam - 26 Feb 2005 2:35 AM - 5 messages
We have an application that prints a combination of text and vector graphics using the GDI+ support in DotNet. Everything is fine when we print to printers on the same LAN as the application, but printing over the WAN to a remote printer is slow. I ran ...
Score Converting 1.0 web applications to 1.1
RDJ - 26 Feb 2005 12:35 AM - 3 messages
I'm having trouble converting a current .NET web application developed in 1.0 into 1.1 framework. On my localhost, I have IIS with .NET 1.1 framework as well as MS Visual Studio 2003 Enterprise.  I obtained the web application from Visual Source ...
Score keydown event
Rob T - 25 Feb 2005 10:10 PM - 3 messages
I have a simple windows app.  On the form, I have one panel which displays an image.  I have a KeyDown event that I use to tweek the image depending on which keys are hit. ie.  ctrl-D, ctrl-A, etc.  Works fine so far. ...
Score Switch assembly versions at runtime
Johny - 25 Feb 2005 9:47 PM - 3 messages
Hi people i need you help: Someone have a way to switch assembly versions at runtime without recompiling code. I want to do that but i don't know how...Please would you tell me the way to do this??? ...
Score random exclamation gets inserted in mailmessage body of html email
Tash - 25 Feb 2005 8:59 PM - 3 messages
Hi, I have seen this problem around the net and dont really think its that popular but still happens. My problem is that I create a mailmessage with a html body type. A random "! " (exclamation mark and space) gets entered into the body of the ...
Score Why no serious MS Application in .NET yet ??
Herr Lucifer - 25 Feb 2005 5:31 PM - 156 messages
As the founder of .NET framework, Microsoft claims that it invention will be the next best platform for programming in a near future. Now it is 2005, ..NET is 5 years old, and can talk and walk for himself with some help of his ...
Score session questions
Chris - 25 Feb 2005 4:37 PM - 3 messages
Hi, A few quick questions: 1. when a user sends a request to the server, does this reset the session timeout back to the default? i.e.: 20 minute session timeout, user does nothing for 15 minutes, submits back to the server, the user has a renewed 20 ...
Score Change NT Service user name and password after installation
Bruce Parker - 25 Feb 2005 2:15 PM - 5 messages
Is there a way to change a NT Service's user name and password after it has been installed.  I want to perform a check for the user name in the On_Start event of the service.  If it is not the one I want I want to change the user ...
Score Socket.Available != 0, Socket.Read --> Exception
Tomasz Naumowicz - 25 Feb 2005 1:34 PM - 3 messages
Hello Everybody, I have the following problem with Socket: Socket.Available reports data in the buffer (e.g. 1849 bytes) but I can't read it because Socket.Read throws an exception The exception ist being thrown because the connection is already closed. How ...
Score xml
sajiv nair - 25 Feb 2005 12:17 PM - 4 messages
is it possible to create xml tag name at runtime i.e while running the program it should take the parameter which the user enters and make that as the tag name in the xml file generated. *** Sent via Developersdex [link] *** ...
Score design pattern
Hugo Batista - 25 Feb 2005 12:04 PM - 4 messages
Hi everybody, I would like to have your opinion... Imagine i have a pattern that defines: - abstract factory : my consumer always handle with a interface and not with direct implementation, and calls a factory to get an object instance; - the kind of object returned in that instance varies according to some ...
Score Events between appdomains
mons - 25 Feb 2005 11:08 AM - 4 messages
I want to receive events from another appdomain. I use a separate appdomain as a sandbox and whant to know and have control over which assemblies get loaded. I need to comunicate with a library in the sanbox appdomain from a plugin in my other appdomain, ...
Score What's wrong in my code?
jean-dot-paul-at-opelwilly-dot-com - 25 Feb 2005 8:19 AM - 4 messages
Hello, I want to swalow all mousclicks in a comboBox control. I created wy own 'public class roComboBox : System.Windows.Forms.ComboBox ' Created a property ReadOnly and call only the base events if the ReadOnly is false (see code beneath) but the mousclicks still pass. ...
Score MSIL: overriding explicit interface member?
Roger - 25 Feb 2005 8:17 AM - 3 messages
I know its not possible to override explicit interface declarations in a subclass. But is it doable in MSIL? what I need to do is to create runtime proxies for different IList implementations. which currently work just fine for implicit virtual declarations. ...
Score verifying datatype convertibility programmatically
Kumarforg - 25 Feb 2005 5:25 AM - 3 messages
Hi,     I need a mechanism to verify programatically, if a particular datatype can be/ can not be converted to another datatype with/without any loss of data.     i tried using TypeConverter.CanConvertFrom, but am getting incorrect values. ...
Score Any good info on how forms work internally
me - 25 Feb 2005 1:38 AM - 3 messages
What I am looking for is the details on how Forms work internally in terms of threads that get created, message loops, etc. Here are the type of question(s) I am looking answer so I need info that would help: ...
Score Reflection: How to get implicit struct constructor?
Philipp Schumann - 25 Feb 2005 1:26 AM - 4 messages
Hi, Using Type.GetConstructors(BindingFlags), I can't seem to be able to acquire a ConstructorInfo object for the implicit, parameter-less constructor for a struct if it doesn't define an explicit constructor with parameters itself. The same apparently works for classes, though - if a class doesn't specify ...
Score Visual Studio.NET Question
Roshawn Dawson - 25 Feb 2005 1:18 AM - 4 messages
Hi, I am currently experimenting with ASP.NET.  There is one particular problem that I continue to have.  Whenever I run the current project, it appears to call code from another ASP.NET project.  I'm not referencing ...
Score SETUP.INI localeid
Paul Aspinall - 24 Feb 2005 10:04 PM - 5 messages
Hi Does anyone know how to force a windows package to use a specific locale id?? ie. I just want to have 1 locale set of strings in SETUP.INI and to have my setup.exe use these regardless of which locale the user is from. ...
Score User defined Object in Clipboard
Rob T - 24 Feb 2005 9:42 PM - 6 messages
I'm having problem pasting a user defined object that's put into the clipboard.... Here's a crude example of what I'm trying to get done. Dim fromShapes as Shapes  'shapes is my custom object Dim toShapes as Shapes ...
Score Visual Studio vs Microsoft Word
Radek - 24 Feb 2005 8:15 PM - 3 messages
Hi, I have got such problem: in my directory "C:\folder" I have 3 files in MS WORD (having tables, images etc), these are: "1.doc",  "2.doc", "3.doc". I want to write an application (could be in C++, Java or C#) which will ...
Score New app in classic ASP using .Net classes: is it daft?
eric_mamet_test - 24 Feb 2005 5:26 PM - 3 messages
Hi there, I am currently working in ASP.Net/VB.Net but I am about to embark into a new project (part time) with a chap who's only programming experience is classic ASP (and SQL Server). We are thinking of him writing the front-end in classic ASP, using .Net ...
Score LOGON_USER
John - 24 Feb 2005 5:19 PM - 2 messages
Hi, I am needing to find the Pre Windows 2000 Active Directory Account name via Request.ServerVariables("LOGON_USER"). I seem to remember the v1.0 framework storing the pre2k account name in the servervariable (while v1.1 stores UPN).  Is this correct? ...
Score formate datagrid text columns
oscar - 24 Feb 2005 4:43 PM - 2 messages
i currently have a datagrid with a price column and would like to know if there is a way to formate the column so a '$' appears in front of everything in the column.  i've seen a few of the table style utilities people have ...
Score Design issue: Property vs. Method
Jeff Robichaud - 24 Feb 2005 4:21 PM - 4 messages
Hello, I have an obect that needs to inform the outside world wheter prices are synchronized or not. My first idea was to use a public property for this: public bool PricesSynchronized But I need to access a database and the query takes a (relatively) long time ...
Score setting the VS.Net IDE to new Framework
Sharon Gorev - 24 Feb 2005 4:11 PM - 10 messages
Hi all I just downloaded the new Beta dot Net Framework 2.0 from MS web site After installing it , how to I set the VS.Net IDE to recognize the new classes of the new Framework ? The reason I'm asking is because my current project fail to compile because ...
Score Assembly using COM Interop stubs can't be registered in the GAC
Angelos Karantzalis - 24 Feb 2005 2:17 PM - 4 messages
I've built an Assembly to wrap around a COM component. However, I need to add it to the GAC. Upon trying to do that, I'm trying to give the assembly a strong name, which fails because the com interop generated assembly it uses doesn't have a ...
Score How to prevent a request being sent to aspnet_wp
Atul - 24 Feb 2005 1:45 PM - 4 messages
Hi, We are using a web application developed using ASP.net, When user requests any .aspx page, first IIS receives that request & forwards that request to aspnet_wp. On a certain condition, I want to prevent this request(request of .aspx) being forwarded to aspnet_wp. ...
Score In memory data access
martyn_wynne - 24 Feb 2005 1:11 PM - 2 messages
I have 3 fields, SecurityID (int), Price (decimal) and DateStamp (DateTime), up until now i've been recording the price in a SQL table and reading it out. The reading is fine, but the boxes are really stuggling with the writing, the Avg. Disk Queue Length is bordering on ...
Score VS 2003 won't open existing web project on localhost
IT Drone - 24 Feb 2005 8:29 AM - 3 messages
I'm running Windows Server 2003, IIS 6.0, and VS 2003.  I have an ASP.NET project I previously created, and went to open it back up to make modifications.  Now VS won't open http://localhost ...
Score GAC and class library mechanisms how does it work?
Jens H. Hamann - 24 Feb 2005 8:27 AM - 3 messages
Hello group, Is there anyone here that knows of a good article/whitepaper that explains how the GAC and libraries work in the .NET framework? I just don't understand the mechanisms behind it. The problem I am facing is ...
Score Standard JIT vs Eco-fast JIT
msnews.microsoft.com - 24 Feb 2005 8:25 AM - 2 messages
Hi, Is there anything called ECo-fast JIT in .NET ?? ...
Score httpwebrequest/response inputstream
request - 24 Feb 2005 5:40 AM - 3 messages
Hi all I am trying for conversion of xml to binary xml. i have used httpwebrequest where i can give the URL. in getresponse() i got the stream. this stream is XML file enclosed in double quotes. now i have to save that stream to disk as .xml file. then i give this ...
Score Catching errors globally
Phil Jones - 24 Feb 2005 5:30 AM - 4 messages
Is there a way of setting a master error handler for an assembly? What I mean is being able to somehow assign a procedure to catch any unhandled exceptions for an entire app (in my case a WinForms app) so that ...
Score Macro Reflection???
batwater - 24 Feb 2005 2:51 AM - 2 messages
Based on a given text I would like to call that corresponding macro. Is this something that is even possible in Managed C++ or .NET? Ideally I would like to do this without using a gigantic conditional statement.  (Additional Info if needed: The macro that I would like to ...
Score How to terminate a window which is running a listener?
hyzong - 23 Feb 2005 6:06 PM - 2 messages
I have a Window program (vb) which has a UDP listener. I'm having problem terminating this program as the program is listening to a port and not to my btnExit_Click event. Here is the code: Dim sErr As String = "" ...
Score Assembly info file..
VJ - 23 Feb 2005 5:38 PM - 4 messages
Can I give a variable in the assembly info file? Say like     <Assembly: AssemblyTitle(var1)> var1 is a static variable in my project that is common for the project VJ ...
Score Locate assemblies in "common files" directory
sudhakar - 23 Feb 2005 5:32 PM - 4 messages
Hi I've two products which share lot of common DLLs. I want to create a common directory (under say c:\program files\common files\company name) and store these common DLLS. Now how can i make my executables (or other assemblies) search for the ...
Score Calculating date differences in C# (DateDiff for c#??)
Paul Aspinall - 23 Feb 2005 4:15 PM - 3 messages
Hi I want to calculate the difference between 2 dates in C#. I know there is a function in VB, called DateDiff, but I don't want to ref the VB library, and want to try to do it natively in C#. ...
Score reporting services, colors of stack chart
taub - 23 Feb 2005 3:39 PM - 2 messages
Hi I’m trying to change the colors of a stack chart in a report of reporting services. I know that I can change the palette but I want to choose the color manually. Any idea if I can do that? ...
Score Drawing a single pixel
Rob T - 23 Feb 2005 2:50 PM - 10 messages
This seems like a really stupid question, but here it goes........ is there a command to draw a single pixel? The closest I can get is to draw a line that is 2 pixels wide, or do create another image that's 1x1 with the color of the pixel, then do a DrawImage to ...
Score IMF vs SmtpMail
Kal - 23 Feb 2005 2:10 PM - 12 messages
This began when I installed the Intelligent Message Filter on the Exchange Server 2003 I use to send the mail: "Error sending email: The message could not be sent to the SMTP server. The transport error code was 0x800ccc69. The server response was 550 5.7.1 ...
Score Starting UI process(e.g. calc.exe) from an aspx/C# page
habdalla - 23 Feb 2005 1:39 PM - 3 messages
Im trying to start a process e.g. calc.exe using System.Diagnostics.Process.Start() from an aspx page to call an executable on the server. The following is the code I use: Process p = new Process(); p.StartInfo.FileName="c:\\windows\\system32\\calc.exe"; ...
Score dotnet and unix
psid - 23 Feb 2005 12:39 PM - 4 messages
Is .net framework ported on other platforms? I'm intrested in freeBSD, where can I find more information any help much appreciated. ...
Score ASP.NET Version 1.1 issue
Gaurav Vyas - 23 Feb 2005 8:02 AM - 2 messages
I receive the following error message when attempting to use the Creating New WebProject wizard to : Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or ...
Score Bug in X509Certificate.GetSerialNumber and X509Certificate.GetSerialNumberString
John Allberg - 23 Feb 2005 7:35 AM - 6 messages
Hi! There is a bug i X509Certificate.GetSerialNumber and X509Certificate.GetSerialNumberString where the serialnumber bytes is in the reverse order. Example: Open a verisign certificate. Verisign certificates have very long serialnumbers, since they are generated from a hash value. For my verisign certificate: ...
Score Cant install dotnet framework on my pc
Lucas McLarty - 23 Feb 2005 5:05 AM - 4 messages
every time i run the install program it comes up with about 10 error messages. ive tried re downloading the installer but no go any help would be fantastic ...
Score listview, gdi objects, GC
ken@nospam.nospam - 22 Feb 2005 8:57 PM - 3 messages
I have noticed that the listview and GC can get into a state where thousands of gdi objects get created (from scrolling through the listview items, either by keyboard or using the scroll bar).  Under XP they eventually get cleaned up.  ...
Score DrawString size?
Rob T - 22 Feb 2005 7:30 PM - 6 messages
Is there a way to determine what the size of a GDI+ string output would be prior to drawing? For example, If I have something like this: Dim fnt As New Font("Times", 12) Dim drawFormat As New StringFormat drawFormat.LineAlignment = StringAlignment.Center ...
Score Controlling number of worker threads when using asynchronous socke
Oldman - 22 Feb 2005 7:13 PM - 2 messages
If I am writing the server side of a client-server application using C/C++ the most scalable solution to handle requests is to use the I/O completion port model. In C# I discovered that asynchronous sockets use the I/O completion port ...
Score Custom exceptions
vbMental - 22 Feb 2005 7:07 PM - 5 messages
Following guidelines from MSDN, I created my custom exceptions by inheriting from ApplicationException. Unlike the .NET framework exceptions, I cannot set my Message property in the first line of the constructor like this: Class CustomException(Message as string)   MyBase.New(Message) ...
Score windows forms leak
Vyacheslav Lukianov - 22 Feb 2005 5:56 PM - 3 messages
Hello, I've created a windows application with custom message loop, without using an Application.Run method, and got all my forms not garbage-collected. Profiler shows that forms' instances are referenced only by their own event handlers. Clearing them manually helps, but this solution is not applicable for all ...
Score Load framework first time
Gene Vangampelaere - 22 Feb 2005 10:23 AM - 2 messages
I've created an application in VB.NET. The application works fine but when you start it the first time it takes a long time (5-10seconds) to load (I think that the framework is beeing loaded at that time???). ...
Score Maximum number of threads in a process
Edward Diener - 21 Feb 2005 10:34 PM - 7 messages
Is there an operating system limit to the number of threads in a process ? A test program I was writing created approximately 105 threads for a process ( many unused because of some thread pool code ), and an out of memory error ...
Score Forcing traffic to a proxy server
Russ Ferrill - 21 Feb 2005 6:52 PM - 3 messages
Hello All! I'd like to be able to force all outbound traffic to a proxy server without relying on the browser's proxy server configuration. I'm not using Microsoft ISA server or Microsoft Proxy server, so I can't use their built-in facility ...
Score run app remotely?
David Thielen - 21 Feb 2005 4:57 PM - 4 messages
Hi; Is there any way to run an application remotely? In other words, on machine A can I run a program (that is on machine B) on machine B and get back the std out and error? And I assume I would have to make this call impersonating the user under ...
Score Get environment from remote machine
David Thielen - 21 Feb 2005 4:57 PM - 4 messages
Hi; Is there any way to get the value of an environment variable from a remote system - in the context of a given user? ...
Score Assign attributes to a property at runtime ?
Herve Bocuse - 21 Feb 2005 4:39 PM - 2 messages
Hi, I use a class and I don't have the sources. One of its properties may or may not have some attributes assigned to it. What I want is to assign some more attributes to the property at runtime. Is it possible ...
Score Socket Send and Receive Thread Safety
Nizar - 21 Feb 2005 4:01 PM - 4 messages
Is it safe for one thread to call Socket.Receive and another to call Socket.Send on the same Socket at the same time? The documentation says that instance members are not guaranteed to be thread safe, but I'm not sure whether this combination is or not. ...
Score Unix and .NET
mhartman@crimes.net - 21 Feb 2005 3:23 PM - 3 messages
CAn anyone tell me if .NET platform supports UNIX? ...
Score Assume SQL Server Rights for apps, any cons?
Stephan Hoppe - 21 Feb 2005 2:41 PM - 2 messages
Hi, I’ve got a requirement from one of my clients and I am not sure if there are any cons. I am developing a data management software for him. He administrates the underlying SQL Server 2000 database by himself. Now he ...
Score access denied to CDO.Message
Pooja - 21 Feb 2005 10:25 AM - 8 messages
Hi, I have developed a windows application for our client, which informs passengers thru email regarding a schedule change of flights. When i tested it at my end, using their SMTP server, the mails were being sent but when application was installed at client's place, using the same SMTP server, ...
Score How to get the child list of a section group in app.config
Joyce - 21 Feb 2005 7:01 AM - 2 messages
In app.config, I create a sectionGroup which includes NameValueSectionHandler and SingleTagSectionHandler. How can I get the child list of that sectionGroup? Is there any build-in functions like ConfigurationSettings.GetConfig("")? Or I need to write a function to find ...
Score Obfuscation
Alex Glass - 21 Feb 2005 5:12 AM - 2 messages
I've been looking around for a program to decompile a HelloWorld application I created.  Im trying to test the vulnerbility of my other development projects.  Is there anyone who could suggest a tool that has an evaluation / ...
Score Book recomendation
Sharon Gorev - 20 Feb 2005 9:50 PM - 3 messages
Hi guys I'm a java programmer making my first steps in the .net world I'm looking for a book that will include "advanced topics" in .NET and that will demonstrate using C# The syntax of C# (loops ,conditions,declarations etc...) is not an issue and ...
Score Application.Run
Paul Aspinall - 20 Feb 2005 9:46 PM - 2 messages
Hi I have an app which starts using Application.Run(...........); I want to create a logon screen, prior to the main app running, so I modified my main() to look similar to frmLogon logon = new frmLogon(); logon.ShowDialog(); //Check for valid logon ...
Score Encryption algorithms for product licensing
Paul Aspinall - 20 Feb 2005 9:12 PM - 4 messages
Hi Can anyone point me in the right direction to find some encryption routines / algorithms for use with product licensing?? I want to pull data such as the computer name etc etc, and encrypt them against a string of mine, which will then create a product key. ...
Score GenericPrincipal serialization.
Kevin Burton - 20 Feb 2005 9:05 PM - 5 messages
Once a user has signed in I would like to cache the authentication that has happened so I need to serialize GenericPrincipal. I would like to serailize this object to a string that will be stored in a database untill neeed later. ...
Score strong naming fails if delay signed
David Thielen - 20 Feb 2005 4:01 PM - 7 messages
Hi; I have a solution with 2 projects. 1 project is a windows forms exe and the other is a dll (all C#). If I set the dll to be delay signed, then even after I sign it, when the exe runs and first tries to access a class in the dll, I ...
Score Protecting code
Paul Aspinall - 20 Feb 2005 1:28 PM - 2 messages
Hi Has anyone got any reviews of the various products around to protect .NET code.... I know there are many obfuscators out there, but which are best. Also, I believe that Salamander protector compiles down to Win32 code.. Has anyone tried it?? ...
Score Including MSDE in Windows package, containing C# app
Paul Aspinall - 20 Feb 2005 10:52 AM - 3 messages
Hi, I am trying to create a windows installer package, that will install: - .NET framework - MSDE - My app.. Can anyone offer some advice, or point me in the right direction. How would the package know if .NET framework is already installed, or if ...
Score Release date for .NET 2.0
Paul Aspinall - 20 Feb 2005 10:44 AM - 4 messages
Hi Does anyone know the expected release date for .NET 2.0?? Thanks ...
Score When does a Windows Form create it's message processing thread
me - 20 Feb 2005 3:24 AM - 7 messages
I have a Class Library that contains a Form and several helper classes. A thread gets created that performs processing of data behind the scenes and the Form never gets displayed (it is for debug puposes only and is not ...
Next » 2 3 4 5 6 7 8 9 10