microsoft.public.dotnet.general Archive - January 2002
Post a message to this list
Messages
Page: 123456
Version compatibility between components (9 replies)
microsoft.public.dotnet.general
I have built an application that consists of several libraries (DLLs), and a variety of client applications (EXEs) that depend upon these libraries. All assemblies are being signed with strong names to allow them to be downloaded from a network file server. As a consequence, the references between assemblies is version dependent (by default). In other words, (using Visual Studio) when I setup proj...
CodeDom questions (3 replies)
microsoft.public.dotnet.general
Hello, I'm creating a Visual Studio add in that will create a concrete implementaion of an abstract base class, stubbing in all abstract class members. I've got it all working except for two issues: 1) I can't get the CodeMember object to create members with protected access. The CodeMemeber has an attributes property which allows you to specify whether the member is public or private but the enum...
Datagrid OnXXXXIndexChanged (4 replies)
microsoft.public.dotnet.general
Is there a way, in a Composite Custom Control, to set the OnSortCommand and OnPageIndexChanged? My current Code is... DefaultProperty("Text"), ToolboxData(" {0}:List runat server /{0}:List ") Public Class DataGrid Inherits System.Web.UI.WebControls.WebControl Private text As String Private strParent App ID As Int32 Private intSection ID As Int32 Private Section As New wbPage.wbpage.Section() Priva...
Postback + EventBubble (2 replies)
microsoft.public.dotnet.general
Hi, I am dynamically injecting controls based on user input. For this, I have set Autowire property to true.Based on a user click, I instantiate a web user control. This control loads just fine. This webuser control has asp: calendar and asp:imagebutton. If I click on either of them , the control does a postback and vanishes away no error just vanishes!!! any help will be much appreciated rc
C# app and COM connection points - is it possible? (2 replies)
microsoft.public.dotnet.general
Is it possible to use the connection points of a connectable COM object (COM object that support connection points) in a C# app? Best regards, Juergen
C# (2 replies)
microsoft.public.dotnet.general
How do i decleare objects?
Controls Binding (2 replies)
microsoft.public.dotnet.general
Hello I need to make the data binding for textbox and other controls and I am working with ASP.NET it only works with datagrid and datalist but with the others controls I don't know wich properties I need to set to bind my controls to the table control that is fill with a DataSet, Thanks
paging with a datalist? (2 replies)
microsoft.public.dotnet.general
Whats the best way to do paging with a datalist?
Color of ListView sub-items? (2 replies)
microsoft.public.dotnet.general
Has anyone had any success using the ListViewSubItem.ForeColor property to change the color of an individual subitem? It doesn't seem to work at all for me.
atoi function in C# (5 replies)
microsoft.public.dotnet.general
Hello, I need to convert a string such as "2002" into its integer equivalent. I haven't been able to find a function like atoi() in C#. Any pointers are appreceated. TIA, eric
.Net Deployment - Experts Please Look...! (4 replies)
microsoft.public.dotnet.general
We've posted this question a number of times with no luck. So, my first question is has anyone ever *really* deployed a real world .Net Windows application? If yes, please continue reading... :) Question #1: What exactly needs to be installed on the client PC? We've tried to install just the re distributable .Net Framework runtime but the app wouldn't run. The .Net Framework runtime is in Beta2 an...
Attempting to wire up events using reflection. (3 replies)
microsoft.public.dotnet.general
Situation: I am loading one or more custom server controls and user controls from a single page, the catch is which controls that load is determined at runtime. I have the fully qualified type name as a string value available at runtime for any given control that is loading and I can create the control as type Control: System.Web.UI.Control oCtrl Page.LoadControl("apps\\" oSnapClassView[0]["codema...
Session in .NET (2 replies)
microsoft.public.dotnet.general
Hi, On logging out from the web application , i call FormAuthentication.Signout() function, but FormAuthentication.Signout() doesnt works. The session & cookies are not deleted. Why does this happen. (or) how do i manage session logout in .NET Pl help in providing a solution. thx Regs Gopi
Reflection, wiring up event (7 replies)
microsoft.public.dotnet.general
I am attempting to wire up an event that is defined in a page to a handler within a control contained by the page. MethodInfo mycmdhandle workingtype.GetMethod("myCmdHandler"); this.sPecEvent new CmdHandler(mycmdhandle .Invoke(oCon,null)); This returns an error: method name expected for "mycmdhandle ..Invoke(oCon,null)" I am using reflection for various reasons so I can't just do: this.sPecEvent n...
Handling session_end. (3 replies)
microsoft.public.dotnet.general
Hi, Iam facing difficulties in handling session end. while closing of browser doesnt calls session end event of Global.asax in ..NET. When i exclusively call Session.abandon it takes 2 session end in Global.asax. But i need 2 end the session when browser closes. Pl help me in providing a sol. Regs K.Bala
Active Directory, How do I Remove a User or Group (3 replies)
microsoft.public.dotnet.general
I can create Users and Groups and add users to/remove users from groups using LDAP. But i can not remove a user or group from Active Directory. Is there someone that has done that succesfully? When I use this code a get an error: fatherMember.Children.Remove(existingMember); Iwan Kramer
How to get information from my User Control (ascx) pages? (2 replies)
microsoft.public.dotnet.general
Hi all: I have a web application, users must logon to access resources, thus I designed a form based authentication, after users log in I can get userID by reading from User.Identity.Name in all my regular ASPX pages without problems. now I have some User Controls to embed in my regular pages. In these controls I want to list some information from database with different content according to diffe...
Declarative Role based security question? (2 replies)
microsoft.public.dotnet.general
I have posted this a couple of times with no success. Regardless of my success on the newsgroups I will post my findings here. Keith Brown of Develop mentor posts an monthly article in MSDN magazine "Security Briefs". In his latest incarnation of his magazine he not only informs but bedazzles with his Security Mastery. If you do not have his book "Programming Windows Security the book" I highly re...
Naming standard for enum. (2 replies, VIP)
microsoft.public.dotnet.general
Looking for advice and comments on naming standard for enums. The .Net framework design guideline contradicts itself: it says "DO use a singular name for enums" but the example that immediately follows is the enum name "Bindings". I like plural. Then what about naming variables of that enum type? I'm think that they would be the singular of the enum. e.g., Bindings binding Bindings.GetField;
RC1 Bug: Can't close Form when 'X' is clicked! (5 replies)
microsoft.public.dotnet.general
All of a sudden, after upgrading from Beta2 to RC1, I can no longer close out my top level form by clicking the 'X'... It's as if somehow the Close event isn't firing. I've searched deja.com and others are experiencing the same problem with RC1 but no one has a solution. Any ideas? David
Uploading files through a web service (3 replies)
microsoft.public.dotnet.general
Hi, i am new in developing web services. I want to upload files through a web services to a server. my files can be in any format pdf, doc, txt, html. is this possible ??? How ?? Please tell me.. thanks in advance. Deepak
Windows .NET Enterprise Server B3 (3 replies)
microsoft.public.dotnet.general
I have B3 installed now, and testing it of course. The OS is stable (but I have crashed alot of serviceS). I have noticed the IIS v6.0 becomes unstable when running 3rd party applications like: perl.exe or php.exe. when ran as a executable script. I have also noticed, that exchange 2000 (even with SP2) doesnt install correctly. How would I go about informing MS of these problems? And has anyone el...
Remoting Object vs COM out of proc : Poor performance (3 replies)
microsoft.public.dotnet.general
I'm comparing the temporal performance of .Net Remote object to a similar COM out of proc server. I'm observing that the project written in C# is 5 times slower then the similar project COM out of proc server (ATL, vc7) (100 000 iterations C# takes 100 sec vs COM out proc 20 sec) In the 2 projects the server method does a NOP. Both project are compiled in Release. Question 1) Is the remoting objec...
DataGrid context menu HELP! (2 replies)
microsoft.public.dotnet.general
I am using a datagrid to show certain rows of a datatable using a dataview. I want a context menu for the datagrid to show "delete record" as an option and for this to call a method that deletes the record from the dataset. I create a context menu for the datagrid and activate it on a left button mouseDown event. I use the binding manager base to retrieve the message ID number for the datatable. I...
Basic question on inheritance (2 replies)
microsoft.public.dotnet.general
Working through the Wrox book, Beginning VB.Net, I am now looking at inheritance (~page169). I understand about adding an inherited class, after having added a property to the parent class, but what I am puzzled about is in the Module1.VB part of the "consumption" of the property. I can use the statements such as: Function DisplayCarDetails(ByVal myCar As Car) Console.WriteLine("Color: " & myCar.C...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com