| How to access radio button in Datagrid (2 replies) |
| microsoft.public.dotnet.framework |
| Hi In my ASP.net I am using Datagrid which need to have Radio button( as group) in one of the column. for which I used Template column. Now my problem is how can I attach value to option button at runtime and if I click on any one of the radio button how can I know it's value. Itried using server control Radiobutton but it was not grouping all the radio buttons into one group.So I used HTMl radio ... |
|
| more info - Serialization and CDATA (3 replies) |
| microsoft.public.dotnet.framework |
| I have a VB object set up for deserialization from XML with a tag that has both an attribute and CDATA for the innerxml. In this case the CDATA seems to be ignored upon deserialization (no errors, but comes through the VB object property as a blank string). On a second object setup for an XML tag with CDATA but no attribute, the CDATA is recognized and returned by the object property correctly. Is... |
|
| ANN: Programming C# 2nd Edition (12 replies) |
| microsoft.public.dotnet.framework |
| This is a one time announcement that I hope will be of interest to this list... I'm pleased and proud to announce that the second edition of Programming C# is now in stores. This is a full update, in which all the known problems have been fixed, and all the code has been tested with Release 1 of .NET. You can read about this book and review a sample chapter on my web site (http://www.LibertyAssoci... |
|
| System event logging (2 replies) |
| microsoft.public.dotnet.framework |
| Are the classes provided that handle system event logging? Thanks, Tony |
|
| Get current CPU load (2 replies) |
| microsoft.public.dotnet.framework |
| Is there a way to obtain the current CPU load on the machine (% of CPU usage)? Thanks, Tony |
|
| How to use AppDomain.load to load an assembly file from other path? (2 replies) |
| microsoft.public.dotnet.framework |
| Hi, I am trying to use AppDomain.load to load an assembly file from other path? But the parameter of AppDomain.load is an AssemblyName, not AssemblyFile. Can I load a assembly from a file which is not in Global Cache and not in Sub Directory of process? Thank you very much. James Lin |
|
| const or readonly? (2 replies) |
| microsoft.public.dotnet.framework |
| Hi, Could someone tell me what the differences are between the const and readonly keywords in C# and when it is best to use one over the other? Thanks Paul |
|
| WishList: Readonly Arrays (3 replies) |
| microsoft.public.dotnet.framework |
| It would be nice if Arrays exposed a readonly wrapper. From example... Dim X() As Integer //fill the values Dim R() as Integer X.ReadOnly R would be a wrapper for X, not a copy. Thus any changes to X would be reflected in it. However, anyone given R would be prevented from making changes to the array. Also, the type used for R would inherit from Integer() so that you can pass it to methods that ne... |
|
| Windows Services and Interactive Desktops (6 replies) |
| microsoft.public.dotnet.framework |
| I'm trying to build a .NET Windows Service that can launch other applications as independent processes. The problem is that the launched processes need to be able to read files from network shares. The launched processes are third party normal Windows GUI apps. The service will control them by using SendKeys to automate their actions. If I run the service logged in under a user account, with appro... |
|
| Apllication Configuration File (7 replies) |
| microsoft.public.dotnet.framework |
| in vb.net, I can access the configuration settings via the System.Configuration Class (implementing the Interface IConfigurationSectionHandler). if I have normal application (no web application). I created a configuration file, named ApplicationName.exe.config. Then, I copied the file to the folder bin\debug and also in the root directory of my application. But I am not able to access the configur... |
|
| I'm sorry, I don't think this method name is long enough. (2 replies) |
| microsoft.public.dotnet.framework |
| I really think System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile needs another few paragraphs to it. Maybe a few Shakespeare sonnets in the middle...? Maybe MS should hand out free keyboards to .NET developers all the shift key pressing to type .NET as well... |
|
| System.IO.File Not Found (2 replies) |
| microsoft.public.dotnet.framework |
| An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module. The error above occurs when I try to install a demo program from IBuySpy Store. I have installed OS : Windows 2000,VisualStudio Enterprise Beta version 2.,MSSQL. Please let me know how to check the .NET Framework version. Regards, S.Chandrasegarran |
|
| HELP CONNECTING - Using SQL Server with .net framework and ASP (4 replies) |
| microsoft.public.dotnet.framework |
| I have tried all three of these and still get "The page can not be displayed" This database was set up by the installation of .NET framework. I think I have the datasource correct as it is the name I see when looking at the sql server. Is there just a guest user ID I can use? Do I look at users? I am running Windows 2000 Professional (NOT SERVER). % set conn server.createobject("ADODB.Connection")... |
|
| OpenFileDialog directories? (2 replies) |
| microsoft.public.dotnet.framework |
| Hello. I'd like to use OpenFileDialog to select a directory. How can I do that? |
|
| regex and unicode (2 replies) |
| microsoft.public.dotnet.framework |
| Hey together Are you able to explain why this very simple bit of code doesn't work? The Expression :Nd is expected to match a number in UniCode. An the other symbol :d doesn't work either! static void Main(string[] args) { //Versuch mit UniCode Match pMatch Regex.Match("4322435",":Nd"); Console.WriteLine(pMatch.Value); //Versun mit native pMatch Regex.Match("4322435",":d"); Console.WriteLine(pMatc... |
|
| Runtime error (3 replies) |
| microsoft.public.dotnet.framework |
| Hi! I have several ASP.NET applications on my server and I keep getting an error sometimes that I can't figure out. It happens usually when I have modified som project, rebuilt, and copied the files to the server. The only solution is to restart IIS, and then it works fine for å while. The error message I get is: Cannot execute a program. The command being executed was "d:\winnt\microsoft.net\fram... |
|
| Controlpaint class (2 replies) |
| microsoft.public.dotnet.framework |
| I want to use the ControlPaint class to draw reversible lines and the like on forms. Problem is that this class's drawing methods use screen coordinates and not form coordinates. My problem is determining the screen coordinate that corresponds to a location in the form's display area. It's easy to get the screen coordinates for the form itself, but I need the screen coordinates relative to the cli... |
|
| File dependency. (2 replies) |
| microsoft.public.dotnet.framework |
| Hi, I want some code to be executed every time a file changes,something like the call back function that gets called when an item in the cache expires in a web applicaton.Can this be done? Thanx in advance, Abid. |
|
| sleep, wait in .NET (4 replies) |
| microsoft.public.dotnet.framework |
| Hello, I'm trying to figure out how to do a wait(nSeconds) or sleep(nSeconds) in .Net (C#). Any pointers would be appreciated. sj |
|
| XmlTextReader (4 replies) |
| microsoft.public.dotnet.framework |
| Hi Creating an XmlTextReader( Stream ), passing a 'NetworkStream' as the parameter, causes the system to block until data is ready to be received. Is this correct? This stops me creating an XmlTextReader well in advance of the data being received over the network. Is there another way of creating the XmlTextReader before the data is ready on the stream? Thanks Mark |
|
| User Authentication (3 replies) |
| microsoft.public.dotnet.framework |
| I want to create a application in VB.NET that will authenticate the user using the NT domain account. ... does anyone out there know how I can do that?? I can't find anything (clear and concise) in the NET documentation. Sample code would be appreciated. Thanks in advance prescott ... |
|
| Fully qualified domain name in .Net (2 replies) |
| microsoft.public.dotnet.framework |
| If I call the following .Net code, the name of the user is returned, but in SAM format. i.e. domain\username. I need the fully qualified domain name so I can query active directory. i.e. username@domain.com The .Net code is System.Security.Principal.WindowsIdentity.GetCurrent.Name Please note, we run a Pure Windows 2000 domain here. Cheers Mike |
|
| Problem with Time formatting. (4 replies) |
| microsoft.public.dotnet.framework |
| I have a DateTime object and I want to convert it to a string in 24 hour clock, with a leading zero for times before noon. (IE : 06:43:23). My code is: dtObj.ToString("%HH:mm:ss") But when my DateTime object contains a time after noon, for example 10:47:23pm, what I get is: 2222:47:23 This seems like a bug, if I am reading the documentation right. Do I really need to change the format string betwe... |
|
| Security Issue in COM Interop (2 replies) |
| microsoft.public.dotnet.framework |
| Hi, I have a VB COM Component which returns a Recordset Object. I have a managed wrapper. But when I invoke it from ASP.NET I get the following error "Exception Details: System.UnauthorizedAccessException: Access is denied. The ASP.NET process is not authorized to access the requested resource. For security reasons the default ASP.NET process identity is '{machinename}\ASPNET', which has limited p... |
|
| Help with VS.NET Release: Error CS1595 (11 replies) |
| microsoft.public.dotnet.framework |
| I've just upgraded a win2k server to the release version of asp.net. My code that ran fine under Beta2 is now giving me the following error: System.InvalidOperationException: Unable to generate a temporary class (result 1). error CS1595: 'string' is defined in multiple places; using definition from 'C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll' error CS1595: I've tried some of the solut... |
|