Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Publishing An ASP.NET Website With Visual Studio .NET 2005
Nathan Sokalski - 1 Jul 2006 7:42 PM - 13 messages
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/ folder in the same directory ...
Score File performance
Cairn - 1 Jul 2006 9:37 AM - 7 messages
I am opening a number of large files (100 to 900 Mhz) to extact some header information (500 bytes). watching the memory usage on the task bar when ever the call Filestream fs = File.Open(filename, Filemode.Open) is called, the ...
Score XML Documentation & Namespace...
Lloyd Dupont - 1 Jul 2006 3:18 AM - 3 messages
How do you XML document namespace? I'm tetsing my project documentation with NDoc. And I could see I have no namspace documentation. How do I fix that? ...
Score How do I do this
Larry Smith - 1 Jul 2006 1:13 AM - 5 messages
Looking at the ".resx" files produced by the Windows forms designer, I see nodes like this:   <data name="MyRadioBtn.Size" type="System.Drawing.Size, System.Drawing">     <value>94, 21</value> ...
Score Cryptography: RSA Questions
David - 1 Jul 2006 1:04 AM - 2 messages
1)  Is RSA  used by other programming system?  Eg.  If I gen. a key, can I share it and someone with Java, etc. access it? 2). When generating a public key, you get  <Modulus> and <Exponent> ...
Score service pack ?
Spartaco - 30 Jun 2006 3:59 PM - 2 messages
do you know if there is a plan from MS to release a service pack for .net 2.0 and vs2005 ? thanks.- ...
Score FileStream & MapViewOfFile comparison
Lloyd Dupont - 30 Jun 2006 3:47 PM - 5 messages
I need to access big data in a readonly fashion. I was thinking to open a FileStream and seek and read as needed. I was wondering if it was worth doing my own FileStream class which would use internally use MapViewOfFile internally? ...
Score Escaping backslashes in XPath (C#)
chris - 30 Jun 2006 3:37 PM - 3 messages
I have an XML file which have nodes that contain filepaths, e.g.<path>c:\SomeDirectory\SomeFile.txt</path> I'm using an XmlDocument and XPath query to try and find a node XmlDocument doc = new XmlDocument(); ...
Score .Net framework and VB
Prateek - 30 Jun 2006 1:41 PM - 6 messages
Hi, I have recently started coding and designing the ,.NET based system using different technology involved in .NET and well from the subject line of this post, it is obvious that I am coming from a VB background. I have many years of expirance in designing distributed system based on ...
Score Casting IEnumerable<T> to IEnumerable<V>
Daniel - 30 Jun 2006 11:57 AM - 6 messages
Suppose a collection class defined as: public class Friends: ReadOnlyCollection<Friend> {} where Friend implements IPerson: public class Friend:IPerson {} My question: is there a neat+lean way to implement IEnumerable<Person> in the collection class?: public class Friends: ReadOnlyCollection<Friend>, IEnumerable<Person> ...
Score Creating extra classes
Nathan Sokalski - 30 Jun 2006 6:13 AM - 2 messages
I recently upgraded from VS 2003 to VS 2005. In VS 2003 all I had to do to make an extra class was put the following in a *.vb file: Imports System.Web.UI Imports System.Web.UI.WebControls Public Class MiscExtras ...
Score ImageAttributes isn't working
ryandailey21 - 30 Jun 2006 5:23 AM - 4 messages
Hello, For some reason this ImageAttributes isn't doing what I tell it.  I'm not sure what I am missing.  I am trying to get background of the image to display as transparent.  But it draws the image unchanged.  Here's ...
Score Convert to Long from Double that is over 18 digit long from Oracle
Jordan - 30 Jun 2006 4:53 AM - 4 messages
This is a serious bug in .NET 1.1 Using SQL select one field from Oracle table, This column Oracle data type is: Number(18), the field value is:  235312035283022003 which is the correct value. However, using DataReader, (We want the end result is long type, the only way is GetDouble(reader,0)) ...
Score mail failed
Crespo - 30 Jun 2006 2:50 AM - 4 messages
hi,everybody   I use dotnet 2005 and c sharp to deliever a mail to a certain mail address,but it failed with messages such as "invalid parameter,the server response: decode failed". My codes is listed belowed:        try ...
Score ASP.NET: VSNET2003 to VSNET2005
Nathan Sokalski - 30 Jun 2006 12:07 AM - 4 messages
I just upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005. There are several questions I have about the code differences between them (I use VB.NET for as my language of choice): 1. 2003 used "Public Class classname" and 2005 uses "Partial Class ...
Score Global.asax.vb in Visual Studio .NET 2005
Nathan Sokalski - 29 Jun 2006 11:43 PM - 6 messages
I recently upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005. Visual Studio .NET 2005 does not create the Global.asax files that Visual Studio .NET 2003 did, which I used for variables such as the location of my ...
Score Opening projects from VS 2003 in VS 2005
Nathan Sokalski - 29 Jun 2006 9:07 PM - 4 messages
I recently upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005. I have several projects that I created in Visual Studio .NET 2003, but when I try to open them in Visual Studio .NET 2005 it tries to force me to ...
Score How to Stop a Listening socket?
rossu - 29 Jun 2006 8:52 PM - 5 messages
I'm trying to make a simple little asynchronous socket server.  It accepts connections, reads and writes, but I can't make it gracefully stop listening. listener.listen(1) listener.beginaccept(...) If before anyone has attempted to connect, I try to stop the listener ...
Score Now I need to do this without breaking ASP.Net
Patrick Bates - 29 Jun 2006 8:51 PM - 3 messages
I've been struggling for two weeks now to duplicate a VB6 ActiveX control in VB.Net, and also improve it's functionality.  The control is used to collect the user's fingerprint and compare it to a stored copy on the server, and if ...
Score Up/down value conversions
Mike - 29 Jun 2006 5:43 PM - 3 messages
Greetings, We are using an up/down control to facilitate numeric data entry, however, we are noticing issues converting from the up/down value (apparently a Decimal) to the units we are working with (Double) and vice versa. There appear to be precision issues, and then we take those ...
Score Display text in different colors in a textbox using WndProc
digitalshehan - 29 Jun 2006 4:19 PM - 2 messages
Hi All, I need to have a text box that displays text in different colors. I tired overriding WndProc but I still couldn't. Below is the code snippet I'm using. Would appreciate if someone could help me out with this (wolud ...
Score MS Unit test and CruiseControl.Net integration
StuG - 29 Jun 2006 4:06 PM - 2 messages
Hi All, We are currently running continous integration using a server running cruise control.net. This server does not have VS2005 installed on it, only the .Net framework. Previously, we have been using Nunit to write our tests but I thought I ...
Score Maximum Characters in Stringbuilder?
avarga82 - 29 Jun 2006 12:44 PM - 3 messages
Hello, I'm using a Stringbuilder to building dynamic HTML, and I was wondering how long it can get before it gives up.  I won't know the length of the HTML until it's finished building it.  I've read a few articles that ...
Score Pinning a managed structure
Ulrich Sprick - 29 Jun 2006 12:43 PM - 3 messages
Hi all, is there a simple possibility to pin down a C# class member (a structure) so that I can use it in an unmanaged DLL? I only found the C# fixed() statement, but the structure is used throughout the whole application lifetime, so fixed() does not seem to be the method of ...
Score binding to an unsigned assembly outside the appbase
janekw - 29 Jun 2006 9:20 AM - 6 messages
....is this possible? Can you perchance provide an entry in the config file which would allow such behaviour? I think it should be possible at least on the local machine, you can always copy those unsigned assemblies to a subfolder of your app, so ...
Score Event Broker
Goh - 29 Jun 2006 3:56 AM - 5 messages
Hi,     How Event Broker actually work? Any simple examples show Event Broker future in simple way? Thanks , Goh ...
Score how do I download the right version
Windwatcher - 29 Jun 2006 12:33 AM - 3 messages
I am trying to install a program which requires Net Framework 1.1.4332. Microsoft has so many different listings for this, I can't figure out which one I am supposed to download.   I'd appreciate a link or just the correct ...
Score Getting Array Type From Type
gary - 28 Jun 2006 11:21 PM - 3 messages
Currently I am doing the following to find an one dimensional array type of a type - Type asSingle; Type asArray = Array.CreateInstance ( asSingle , 0 ).GetType ( ); Is there a way to do this without creating an instance? I do not know the array type at design time. ...
Score Update Profile of Created User
Morgan - 28 Jun 2006 10:17 PM - 5 messages
I've created my own version of the CreateUserWizard control that gathers up all the information I need when a user requests an account.  Once all the data is gathered and validated, the FinishButtonClick property calls a method that does the following: ...
Score Get Dotnet Framework version from command line
bcastaing - 28 Jun 2006 4:45 PM - 5 messages
Hi everybody, I write a VBS script witch uses csc.exe (command line dotnet compiler), but my problem is to detect what version of Dotnet Framework is installed on the server to use the good repertory 1.1 or 2.0 (v1.1.4322 ...
Score Combobox refresh after changing displaymember and valuemember
dchman - 28 Jun 2006 4:31 PM - 3 messages
I want to set the values for the combobox.displaymember and valuemember at runtime.  Its seems simple enough, but after changing them in response to a change in an option group, I can't figure out how to get the combobox to ...
Score OrderedDictionary - to retrieve objects in same order
Suhaib - 28 Jun 2006 3:20 PM - 3 messages
Hi,    I want to use OrderedDictionary to get my objects in same order as they are inserted in. I also want to access the objects using a key. So my question is whether this is the best option or there is some better ...
Score Not CLS-compliant
Kevin Burton - 28 Jun 2006 3:09 PM - 4 messages
I have an argument in the constructor for a VB form that as a parameter that looks like: ByVal lblHeader As Controls.MGLabel Visual Studio 2005 gives me a warning: Type of parameter 'lblHeader' is not CLS-compliant I am not sure what to do. ...
Score how to produce library documentation?
Lloyd Dupont - 28 Jun 2006 2:23 PM - 8 messages
I'm trying to write the documentation of my library using XML tags. I'm using NDoc but it doesn't support C# 2.0 very well. Any tip on what other product I could use? ...
Score Tab Control without tab section
Goh - 28 Jun 2006 10:51 AM - 7 messages
Hi,         Any component that work like Tab but without the all the tabs for user to click from one view to another view. we will programmatically other button to perform tabs view change from one to another. ...
Score Managed to unmanaged performance
Toadfather - 28 Jun 2006 6:24 AM - 2 messages
Hi all Existing COM ATL DLL wrapping a C++ library. Interoping from a C# application, passing a large string containng XML (5-130kb). Need to significantly improve performance of both the interoping and the performance of the native functions (performance critical app). ...
Score way using splash screen
Goh - 28 Jun 2006 4:25 AM - 6 messages
Hi,         Just think to get some comment from communitiy regarding best pratice using splash screen. If we develop an application that need loading database to dataset it's we need done it at main page fill up all nessarcy ...
Score How to figure out if data is base64encoded.
Jeremy Chapman - 27 Jun 2006 11:25 PM - 3 messages
Is there some way to programatically tell if a string is base64 encoded? ...
Score Assembly.LoadFrom loading a .net 2.0 assembly from a 1.1 app
Jeremy Chapman - 27 Jun 2006 9:28 PM - 3 messages
Is it possible to load a .net 2.0 assembly from a 1.1 app using Assenbly.LoadFrom or possibly some other means? ...
Score Versions Needed?
Tom Grillot - 27 Jun 2006 9:26 PM - 4 messages
In my "Add or Remove Programs" list I have the following:     Microsoft .NET Framework (English)         Update         Installed on 3/16/2005         Update         Installed on 3/18/2005 ...
Score Diagnosing root cause of .NET application using nearly 500 MB memory
Matt Adamson - 27 Jun 2006 8:23 PM - 3 messages
We have a .NET application which is obviously using nearly 500MB memory and we can't understand why. I created a dump for a different issue and the server ended up creating a process shutdown dump of this size. I have seen the DumpLargeObjectSegments command however I'm not sure what to ...
Score Selialize exceptions
YC - 27 Jun 2006 2:57 PM - 7 messages
Hi, I creating a custom exception and I'm implementing the best practice with a constructor which is needed for serialization (with Serialization Info info, StreamingContext context). My question is - what’s the use for serializing exceptions when working with ...
Score CHM file with .NET
Fla - 27 Jun 2006 2:05 PM - 4 messages
Hy! I've got the following question in VB.NET. How can I access to a particular topic of a CHM file generated by HTML Help Workshop? Some newsgroups/sites on web suggest to use CHM file for help-on-line ...
Score Reference of Available Metadata Attributes
Nathan Sokalski - 27 Jun 2006 6:47 AM - 4 messages
Does anybody know of a page with a good reference of the available Metadata Attributes in .NET? Thanks. ...
Score convert datetime to sortable format
pranesh.nayak@gmail.com - 27 Jun 2006 6:38 AM - 6 messages
Hello again, I need to convert date to "yyyy-MM-ddTHH:mm:ss" format. Below code does this, but it appends time twice in date variable. DateTimeFormatInfo dy = new DateTimeFormatInfo(); dy.ShortDatePattern = "yyyy-MM-ddTHH:mm:ss"; dy.ShortTimePattern = ""; // next set dy to current culture ...
Score DateTime without time instance
pranesh.nayak@gmail.com - 27 Jun 2006 6:01 AM - 2 messages
Hello group, I'm calling Java webservice from c#.Net client which accepts only date without time instance. The type of variable should be DateTime. I think c# doesn't support shortdate type. Please let me know if anybody has ...
Score NOT using the System.Threadpool in server class applications
Chris Mullins - 27 Jun 2006 4:24 AM - 26 messages
Quite often of late I've been asked about when to use the System Threadpool. I finally sat down and wrote a blog detailing the issues in the ThreadPool and why it's unsuitable for use in production grade server applications. ...
Score Programmatically Install Certificate into Windows Certificate Store
Brad - 26 Jun 2006 7:08 PM - 3 messages
I have a Personal Information Exchange PCKS #12 certificate file that requires a password when manually installing.  This certificate was issued by a 3rd party company I need to communicate with via https. Initially I exported the PCKS #12 certificate to a DER encoded binary ...
Score How should I convert Rtf to plain text?
PIEBALD - 26 Jun 2006 7:03 PM - 4 messages
So far, as a work-around at least, I'm instantiating a RichTextBox, setting its Rtf property to the rich text I have, then using the Text property to get the plain text. This works, but I expect there's a more efficient way. ...
Score XML merging
Sanjib Biswas - 26 Jun 2006 3:52 PM - 4 messages
Hi All,    I am looking for XML merging for the following scenarios. I want to load both the input files and show in the tree viewer and highlight the differences. Now its up to the user to select the correct node. Any non conflicting differences should be automatically merge onto the merge document. Any suggestion/caveats on how to do this in VB.Net? ...
Score DataGridView
Goh - 26 Jun 2006 10:05 AM - 5 messages
Hi,     As we all know that Asp.net allo DataGridView inside another DataGridView. How can we implement this kind of thing in Win Form. Thanks. Goh ...
Score Create my own designer
Andrey Dzizenko - 26 Jun 2006 9:56 AM - 3 messages
Hi all! I want to create a designer for graphical elements such as line or  rectangle. This designer should add an object to some workspace and then  allow to transform it (change size and position). Its something like ControlDesigner, but ControlDesigner doesn't allow to  ...
Score Get text message of textbox in a webpage
vutaviva - 25 Jun 2006 10:14 AM - 2 messages
Hi,    Please help me!    I want to get the text of one textbox in a webpage. For example, I compose mail by gmail. After I type content of my mail and click a button on toolbar (created by myself), my function will grasp all this ...
Next » 2 3 4 5 6 7 8 9 10