Madhavi25577's Q&A profile
Windows Forms Proof of Concept: MDIForm does not call MdiChildActivate event
Goodday, I've got a strange problem! I've got a MDIForm which has form docked to it. The only thing this form does is to be the default background of my MDIForm (I realy don't know how to set the background of the MDIParent) I Don't want it to be clickable so I set the .Enabled propert to false. Now everytime I make a new form and show it in the MDIParent and I'll close that same form the MdiChildActivate event isn't raised. If I ...Show All
Visual C# anonymous methods and serialization
I am developing a server-side framework in C# that handles rapidly changing data (i.e. > 50k updates per second) and I need to offer a .NET Remoting interface into which client apps can query, in real-time, state across hundreds of thousands of objects. I want to let the client-side app developer have as much freedom as possible to develop the query. From my basic understanding of C# 2.0, it seems like anonymous methods could possibly be ...Show All
.NET Development Error while sending email using ASP.NET 2.0 Beta 2 (Visual Studio 2005 Beta 2)
While trying to send email using <code> SmtpClient obj_SmtpClient = new SmtpClient (); obj_SmtpClient.Host = "" t; obj_SmtpClient.Send(s_from, s_recipients, s_subject, s_body); </code> I get the error message: Failure sending mail. Unable to connect to the remote server An established connection was aborted by the software in your host machine at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, So ...Show All
Windows Forms Cell formatting in DataGridView
Hi everybody, I'm having problem formatting DataGridViewCell. I bind the DataGridView to DataTable. The requirement is simple: in read-mode i need to divide the value from one of the column in data table by 12. In edit mode, when the changes are commited to the data table, i need to multiply it by 12. I tried using CellFormating event, but it seems to work only 1 way. Suppose the data in DataTable is "12", but when displaying the da ...Show All
Visual Studio Team System Security behaving strange when adding users to project groups
Hi. Hope someone can answer why our TFS server behaving as it does. We are using TFS RTM 1.0 Trial, while waiting for the cds to be distributed If the user is not member of any TFS group, the user has no access to the TFS server at all. - Great this works as it should. If the user is a member of one of the projects, the user has access to all projects. This is both source safe and lots of other stuff. To get more background I will tr ...Show All
Windows Forms How to Extract the Date From Datetime
In dt variable I have - 6/9/2004 2:36 PM I want compare it's only date part i.e. 6/9/2004 with today's date How should I do it The DateTime (structure it seems) supports the property Date for this purpose, several other properties&nbs ...Show All
Windows Forms SelectedValue DGVComboBoxCell??
Hi! please help me, how can i select a value in a datagridviewcomboboxcell i'm using a dataset as datasource . . ex combobox contains: Display member Value member ABC 1 BCA &nb ...Show All
.NET Development How to un-format XML string using XMLReader & XMLWriter
Head+BrickWall I've got some xml with the xml declaration at the top that I want rid of, to leave me with basic bare XML. The XML is like this < xml version="1.0" encoding="UTF-8" > <Request ThreadID="763457"> <Authorisation> <CompanyID>999</CompanyID> <Login>LOGIN</Login> <Password>PWD</Password> </Authoris ...Show All
Visual Basic Database Design advice
Hi, I am trying to design a database for an IT Asset Tracking Management system and so far have added these example tables. I just want to know whether the design is ok or needs to be improved as I am trying to break my tables down as much as possible. The aim is not to store too many ID values in the main tables. Make table MakeID (int), Make (varchar) (This table will store values such as HP,Dell,Fujitsu,IBM etc) PCModel ...Show All
Visual C# return value from a application
Hello, I'm developing an command line tool which is started by another application Is there a way to handle all posiple errors with in my application an set an error code for the application manual at the end, so that i can tell the application, which started the commandline tool, that there was an error Thanks, Chris Yes when exiting the application do: Environment.Exit(int theErrorNumber) y ...Show All
Windows Forms Listview ColumnHeader
How can I change the color of the columnheader of the listview in visual basic 2005 thanks. ...Show All
Windows Forms creating a paper version in pdf of a winform
Any one know off a good component that can create PDF documents You are correct, Ken. Saving to PDF is supported with Crystal. We use this in house, however, I cannot provide an example. ...Show All
Windows Forms scrolling message
Hi All, I have been tasked with adding a scrolling message at the bottom of an application. Apparently, management wants to pass information to it's associates with this 'ticker tape'. I think it's a distracting annoyance and hey, what ever happen ...Show All
Visual Studio 2008 (Pre-release) What support does DLinq have for SQLXML, and can I do XLinq queries with it?
Hi there, Just interested to know how I can translate a "XML" column into DLinq. Does it support it only as a string primitive as of yet Better yet, any chance of it being supported as a XDocument I can most likely do this with custom read and writes, but doing something like this is what I would consider most correct: [Table] class Users { [Column(DbType="uniqueidentifier", Id=true)] &nbs ...Show All
SQL Server Oracle 9i -> SQL Server 2005: Initialization of table failes
Hi there, I'm trying to initialize a subscription for a transactional replication between Oracle9i and MS SQL Server 2005. The snapshot agent runs succesfully, but I get an error when the distribution agent runs to apply the snapshots at the subscriber. I've pastet the job history from the Log File Viewer below. Message 2006-06-08 09:27:25.516 Applied script 'ADDRESS_8.sch' 2006-06-08 09:27:25.516 Applied script 'ADDRESS_8.idx' 2006-06- ...Show All
