|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Frameworkmicrosoft.public.dotnet.framework
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 ...
IOC concepts
zorba128 -
1 Jul 2006 12:05 PM - 1 message
Hi. I'm thinking about fairly common problem - service binding. I'd like to have access to common services from all over the code without any special attenction. The .NET's service provider architecture achieves this, but has one drawback - ...
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 ...
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? ...
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> ...
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> ...
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.- ...
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? ...
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(); ...
.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 ...
Framework 2.0CD vs WU Redistributable
PattiR -
30 Jun 2006 12:55 PM - 1 message
Hello everyone, I recently ordered the CD's for 1.1 and 2.0 to avoid the long download time. I"m only using them to run apps that require them, no program development in mind. The 1.1 is the same size as is offered on WU, but the 2.0 on CD is ...
squishyTree component ASP.NET 1.1
Federico -
30 Jun 2006 12:39 PM - 1 message
Hi all, I have just a little problem to solve.. I have to add tooltip to nodes of my tree. Any help? Thanks in advance. ...
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> ...
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 ...
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 ...
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)) ...
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 ...
How to specify KEY_WOW64_64KEY in the .NET framewor?
mahesh joshi -
30 Jun 2006 2:14 AM - 1 message
Hi, I want to use 64bit hive from 32bit application. i am using Registry* classes of .NET framework to get the informtion. I don't know how to specify KEY_WOW64_64KEY flag while accessing the 64bit hive. Any help? Thanks in advance. ...
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 ...
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 ...
Framework 1.1 Problem
Steve Moro -
29 Jun 2006 11:29 PM - 1 message
Hi All, I do not know what happened to my machine but any program I try and run I get the following: An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module. Additional information: Object reference not set to an instance of an ...
Framework 1.1 Problem
Steve Moro -
29 Jun 2006 11:27 PM - 1 message
Hi All, I do not know what happened to my machine but any program I try and run I get the following: An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module. Additional information: Object reference not set to an instance of an ...
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 ...
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 ...
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 ...
RSACryptoServiceProvider.VerifyData Hangs
PV -
29 Jun 2006 8:46 PM - 2 messages
I have found that RSACryptoServiceProvider.VerifyData sometimes hangs for several (typically 6 or more) seconds. This is very irritating since a component that I am using makes this call every time a form in my application opens. The entire application freezes. Obviously it makes my ...
Up/down value conversions
Mike -
29 Jun 2006 5:43 PM - 1 message
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 ...
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 ...
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 ...
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 ...
.NET UpDown KeyPress Beep
Mike -
29 Jun 2006 2:06 PM - 2 messages
Greetings, We are handling the KeyPress event in an UpDown control, which determines if Enter or Escape has been pressed, then closes the dialog with either a DialogResult.OK or DialogResult.Cancel, respectively. We seem to be having a beep occur when this happens, at some point after ...
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 ...
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 ...
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 ...
How to sign a vsi content ?
Mehfuz Hossain -
29 Jun 2006 8:10 AM - 1 message
i have created a custom control and thus published it using vsi content , but i always get the "The content is not signed dialog" . How to sign a vsi content ? Thanks, Mehfuz Hossain. ...
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 ...
Creation of HTTP streaming server using .NET HttpListener
Andi Heusser -
29 Jun 2006 1:06 AM - 1 message
Hi, I'm posting this in the general .NET forum because I'm not sure into which subcategory this belongs. I've searched through the newsgroups and found many posts related to audio/video streaming mainly using the Windows Media ...
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 ...
General solution for word under cursor?
Phil F -
29 Jun 2006 12:02 AM - 1 message
Hi - I'm asking for a friend. Is there a "generalized" way to identify the word under the mouse cursor (when the mouse is not in motion) at any given moment? I can see using VB within the context of Word or Access to do this, but was wondering if there ...
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. ...
Process.GetProcessesByName creates many threads
RobinC -
28 Jun 2006 10:32 PM - 1 message
Hi, The call to Process.GetProcessesByName() seems to create several threads that remain for the duration of the calling application. I have a very simple console app, Process[] arrProcs = Process.GetProcessesByName( "foo.exe" ); ...
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: ...
Error with partitioned session
Demi -
28 Jun 2006 8:33 PM - 2 messages
Running ASP.NET2. Every once in a while I get this error: Unable to cast object of type 'System.Collections.DictionaryEntry' to type 'System.Web.PartitionInfo'. at System.Web.PartitionManager.Dispose() at System.Web.SessionState.SqlSessionStateStore.OnAppDomainUnload(Object ...
Coed Signing and Certifcates
John Bowman -
28 Jun 2006 7:27 PM - 1 message
Hi All, I need to learn how to digitally sign and strong name .NET assemblies, generating authentication certificates, etc. and add / remove certificates from Windows certificate store. I'm completely confused by the MS documentation as I'm completely a newbie in this area. Can anyone point me ...
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 ...
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 ...
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 ...
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. ...
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? ...
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. ...
Freeze columns in GridView ASP.NET2.0(Urgent)
Abhijeet Kumar -
28 Jun 2006 10:39 AM - 1 message
Hi I am working with ASP.NET2.0, How can i freeze some of the columns of GridView Control. Thanks in Advance. ...
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). ...
error: String was not recognized as a valid DateTime
pranesh.nayak@gmail.com -
28 Jun 2006 6:05 AM - 1 message
I'm facing an error:"String was not recognized as a valid DateTime" whille accessing DateTime from webservice. And when I try to set DateTime to the same webservice it fails with error:"Date value is of wrong type" it looks like xs:DateTime is not compatible with .Net DateType. Any ...
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 ...
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? ...
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? ...
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 ...
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 ...
Announcement: NLog 1.0 RC1 is available!
Jaroslaw Kowalski -
27 Jun 2006 3:45 PM - 1 message
NLog 1.0 Release Candidate 1 is available. NLog is a .NET logging library designed with simplicity and flexibility in mind. With NLog you can process diagnostic messages emitted from any .NET language, augment them with contextual information, format them according to ...
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 ...
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 ...
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. ...
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 ...
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 ...
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. ...
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 ...
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. ...
Possible binding issue
Trent Rossiter -
26 Jun 2006 6:00 PM - 2 messages
I am using reflection to create an assembly (Assembly A) and invoke a method. Assembly A has its own config file, which is set at run time. To read this config file I had to set some binding flags in the code, now this seems to ...
File - Size and Size on disk information
Suresh.Eddala -
26 Jun 2006 5:36 PM - 1 message
Hi, I am trying to get file size information in my code. FileInfo().Length is returning the size of the file. I have checked on File information in windows right click properties, it has two properties. ...
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? ...
Microsoft Connect vs. MSDN Lab Product Feedback Center
Jan Kucera -
26 Jun 2006 3:03 PM - 1 message
Hi! All you guys who worked with the PFC every day please go and vote for [link] ! Thanks. ...
Very strange problem on Windows Server 2003 (error loading config file).
QDL -
26 Jun 2006 2:19 PM - 1 message
Hello everyone, i have some dotnet 1.1 applications (aspnet, windows services, windowsforms) that i have installed without problems many times on both 2003 or 2000 servers. On one particular 2003 server I have this very weird situation: two windowsforms applications give me an error when trying to read from config ...
File properties
Greger -
26 Jun 2006 12:37 PM - 1 message
Hi, Want to be able to alter the Custom properties for a File. However I can not find any classes in the FrameWork that can help me with this? The properties Im looking for to alter is the keywords, title and comment ...
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 ...
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 ...
Winsock / .NET 2.0 Asynchronous Sockets - McAfee Problems
imran -
26 Jun 2006 8:50 AM - 1 message
Hi, Not sure if I have posted this in the right section. We’ve been developing anti-porn software using C# .NET which verifies web access via a proxy service through the user’s web browser. The application ...
FileShare Mode in FileStream
Abhidy -
26 Jun 2006 6:49 AM - 1 message
Hi!, I am doing some fllestream related operation.Multiple instances of my application are accessing a file(lets say FILE_1).First application will get read/write access to the file FILE_1 and remaing application will have only read access.For this purpose i am using this logic ...
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 ...
|
|||||||||||||||||||||||