Montane's Q&A profile
Windows Forms DataGridView is slow.. Sorting and Unbound Mode
I have a datagridview bound to a custom business object that inherits from BindingList<T> and implements IBindingListView so that the objects can be sorted and filtered upon from the grid. I implemented a sortcomparer as well to assist in the sorting of the custom business object. Right now my list has 170 items being displayed and so far the performance of the sort has been pretty bad. I have my DGV setup to autogenerate columns and it ...Show All
Visual Studio 2008 (Pre-release) How can I put one canvas on top of another? or How can I draw multiple layers in the same area?
Pretty new to graphic dev, so please bear with me. I have an animation (a wheel with colored circles on its outer edges, that spins), which I accomplish by drawing a large ellipse, and some smaller ellipses (sp ). I do this on a transparent canvas, then I rotate the canvas. Conceptually, what I would like to do is draw an opaque rectangular structure over the animation layer, but provide a small "hole" or view through the opaque ...Show All
SQL Server .NET Framework 2.0 question
This question also posted to microsoft.public.sqlserver.notificationsvcs. Notification Services on SQL 2005 utilizes .NET Framework version 2.0. (correct ) If so, will there be a version of microsoft.sqlserver.notificationservices.dll for SQL 2005 NS that will allow me to create subscription management applications using VS 2003 and .NET Framework 1.1 Or must I use VS 2005 and .NET Framework 2.0 Thanks, Peter ...Show All
Smart Device Development Using SavedState causes unwanted prompts
Hello, I am very impressed with the Device Emulator. When I run the DE with a DESS file which had been saved with NE2000 networking enabled and a sharedfolder, when the DE starts, I receive two unwanted prompts: Do you want to enable emulation of NE2000 Network Card and Do you want to allow folder sharing for directory... Is there any way to force a YES response to these prompts or disable them altogether Great stuff so far! ...Show All
Windows Forms Docking Problems
I have a form with a menu and a toolbar, a splitter panel and other controls in the splitter. If I dock the splitter, it slides up under the toolbar and the menu bar. I put the menu and toolbar into a panel and docked that panel to the top. then dock the splitter to fill or to the left. Fill puts the splitter under the top panel and left moves the top panel to the side. Is there an attribute I am missing to prevent this S ...Show All
Visual Studio Team System Changing Methodology During Working On The Projcet
Hi Can we change project methodology during working on a project If YES, How thnx Not really in an easy way. The best that you can do is too modify the existing workitems or add new ones (modifying the existing types is very limited). Reports, documents, etc can be handled in a similar manner. ...Show All
Visual C# ToString() -- 'No overload for method ToString takes 1 argument' error
Hi: I'm trying to display a dateTime value in the format '07/31/06' but when I use the ToString() as follows I get the above errormessage, despite the fact that the documentation clearly shows that ToString( string ) exists. What's up with this string timeStr = myDate.ToString("mm dd yy"); I also tried string timeStr = myDate.ToString( "d"); with the same result... Thanks for all help! John F. ...Show All
.NET Development Insertion of node to XML doc
hi.. I already have a XML document ..in which , time to time with the occurance of some event i want to insert a node..Can anyone suggest how to do that. Thanks You have a lot of options using the XmlDocument class, here is one of the things you can do: // Open the XML file you want to edit. XmlDocument xd = new XmlDocument (); xd.Load( @"c:\My xml file.xml" ); // Se ...Show All
Software Development for Windows Vista VB wf designer problem with rules and withevents
Hi, I'm experiencing the compile time error WF1368: Activity 'ifElseBranchActivity1' validation failed: Property "Condition" has invalid value. Condition expression is invalid. The field "delayActivity1" on type "wwfcon.Workflow1" does not exist or is not accessible. if using the vb workflow designer and some simple rules. I've tracked it down that the property can be found if the Activity (delayActivity ...Show All
Visual Studio Express Editions AxWebBrowser questions
I'm writing an app that uses the AxWebBrowser on Form2. When the user clicks a button on Form1, it opens Form2, navigates to a login page, submits the user's login info, navigates to another page after login is successful, then brings that WebBrowser to the front. The problem that I'm encountering is that I need to allow the user to have forward and back functionality, but not to be able to return to the login page. Is there a way to reset ...Show All
Smart Device Development using IrDA as a serial port using the sockets API...
Hi I'm new to IrDA port programming, I've seen a lot of docs mentioning is possible to open IrDA port through the Sockets API which sound great, anyway I need to use the IrDA port as a serial port. The question is if it's possible to use the same Socket API to simulate the serial port behaivior on the IrDA port Thanks in advance, any clues will be greatly appreciated... Pls refer to following link ...Show All
Visual Studio Team System How to create a Regular Expression in Data Generator?
Hello everybody, it's a GREAT feature I can create a random text field using a Regular Expression, but.... HOW can I specify a regular expression You can select a column in Column Details tool window, choose RegularExpression in Generator column, and invoke properties browser by click view -> properties Window main menu. In properties browser, navigate to Generator section, and there is Expression property, y ...Show All
Software Development for Windows Vista Feature Request: Display activity description in designer
Not sure if you're taking feature (luxury item) requests, but I'd find the following to be a useful WF feature. Annotation/comment activities were requested in the following post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=162632&SiteID=1 I think it would be extremely useful to be able to use the activity's description property for comments, and to be able to see those comments on the activity itself (not just in the mouse over p ...Show All
.NET Development Windows Service using Sockets
I am experiencing a wierd problem... I have a C#.Net application Server which uses Sockets. It listens on port 11000. and it runs as a Windows Service. -- If I run it as a consple Application, I can connect to that port/Application from any machine on the network as well as from my local machine. -- BUT If i install it as a Windows Service, I cannot connect to it from the network though it works just fine form the local machine. --A ...Show All
Windows Forms Question about textbox
hi there, i would like to make my textbox to listen to my enter key, and do something after i type in my text and press enter, how can i do that can anyone help me thanks On the textbox control, just use the KeyUp event and catch the Keys.Enter key. Raise a KeyUp event on the control and using a delegate to push to the method that will handle it such as: textbox1.KeyUp += new EventHandler(textbox1_OnKeyUp) ...Show All
