Eduterio's Q&A profile
Windows Forms DataGridView Filter
Hello, I'm using DataGridView to display about 50,000 records. I've added a filter to the dataview, tried to use various implementations, but all of them work very slow (same implementation on .net 1.1 gave a much faster performance). I've tried RowFilter, RowCount, etc. I understand that there is an option of using VirtualMode in DataGridView for a large number of records, but have found no way of filtering when using it... Can you please direct me to the right direction of increasing the performances, or maybe tell me where am I wrong Thanks, Marina I'm not aware of what changes have been made in ADO ...Show All
Smart Device Development Splitter click event
the compact framework does not support the click event for slitters. I need to know when this is clicked because I am doing my own dynamic resizing of a custom control that I made. I am not trying to change the behavior of the splitter, I just need to temporarily suspent my dynamic resizing while the splitter is in use because it is causing the splitter to behave strangely. Is there a way to know when the splitter is being clicked/touched It turns out that I misdiagnosed the problem. What exactly determines how far left or right the splitter can go. Here is some code that reproduces the problem I am having. ...Show All
Windows Forms Another dataGridView coloring rows problem
I have a dataGridView connected to a database. The database has a boolean field called authorised which does not show in the grid. I want to color the rows in the grid red when activated is false. The various other threads deal with coloring rows based on a column value and work well but I cannot see where I should put code to color the grid as it is filled. Look at the DGV FAQ: http://www.windowsforms.net/Samples/Go%20To%20Market/DataGridView/DataGridView%20FAQ.doc on the Custom Painting section, I think you will find what you are looking for. ...Show All
Visual C++ Books about VC++ 2005
Does anyone know if there are any books for someone to learn about VC++ 2005, specifically with the new syntax I have the 2003 book, but I can't compile anyone of the programs in it because the language has gone through extensive changes. The MSDN library doesn't give really good tutorials with the new syntax. Thanks for the help. You're talking about managed C++ then - that changed significantly. C++ itself has not changed, nor could it. The book you want is not quite out yet: http://blog.voidnish.com/ ( scroll down to the May 10 entry ) http://www.manning.com/catalog/dotnet/ ...Show All
.NET Development BinaryReader.PeekChar fails when checking for end of file
VB.NET 2005 - Beta 2 I create a new filestream and then a binaryreader from that filestream. I then loop doing a ReadByte until PeekChar = -1. On one file in particular that I am reading, somewhere while reading the file (it may be at the end of file, but I am not sure) I get the exception message: The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'. Any idea why this is occurring and how to get around it Here's the code: Dim strLine As String Dim fs As FileStream Dim br As BinaryReader Dim newByte ...Show All
Smart Device Development Activesync
I am trying to write an application that can make activesync start.... I downloaded pocket pc sdk 2005 and it has a c++ example, but I would like to have it done in c#.. There are other things I wish to do and c# is my language of expertise. Any idea what to do..I hae vs 2005 Bear23 wrote: I am trying to write an application that can make activesync start.... I downloaded pocket pc sdk 2005 and it has a c++ example, but I would like to have it done in c#.. There are other things I wish to do and c# is my language of expertise. Any idea what to do..I hae vs 2005 You'll p ...Show All
Visual Studio missing menu options in visual studio
I used the end to end sample from the march version of SDK. Compiled the project and installer following steps in the supplied guide and installed the resulting designer on my machine. Now I can not find the project template I should use the start using the designer in a solution. Maybe it is just me, maybe I missed something. The installer tells me everything is installed allright, yet the designer project template doesn't appear. Who can help I think my biggest problem is that the menu option file->export template seems to be missing How can I restore this menuitem [My apologies ...Show All
Visual Studio Express Editions Using Regex
I googled this several times but I couldn't find anything right =/ Does anyone know how to use Regular Expressions in C++ .NET Or how to access them. I mean I know Regex stuff I am pretty good at making patterns but I can't seem to access them in C++ Thanks in advance You can use the regex class in C++/CLI. By just using the appropriate namespace and compiling with /CLR Take a look at http://msdn2.microsoft.com/en-us/library/594w4665.aspx Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Express Editions .NET and Oracle
Well, I didn't find a specific forum where to post this, so I'm doing it here, at Installing and Registering. Maybe someone can lend me a hand. Here I go: I'm covering the role of IT Manager in an enterprise that expect to make a big jump in the forecoming months. We worked with Oracle technology for a very long time and I think it's time to make a twist in our old Developer Suite-made applications. We have just two options to go: .NET or Java. I know that Oracle, historicaly, supports Java and bla bla bla, but I find Java and all its world a little... sluggish about medium and big applications construction and deployment. Construction ...Show All
.NET Development ArrayList.Contains Bug
Consider the folowing C# code snippet: public class Class1 : System.IComparable { #region Object Members public override bool Equals( object obj) { return ( this .CompareTo(obj) == 0); } #endregion #region IComparable Members public int CompareTo( object obj) { return -1; } #endregion } public class Class2 : System.IComparable { #region Object Members public override bool Equals( object obj) { return ( this .CompareTo(obj) == 0); } #endregion #region IComparable Members public int CompareTo( object obj) ...Show All
Visual Studio Express Editions Slow screen redraw
I am in inexperienced programmer who has an application that displays many (50-60) controls on a form. The application is a production planning system, that requires many controls displayed on screen (1 for each job qued on individual machines) Whenever the form is re-draw, it is painfully slow, I have set the doublebuffer ControlStyles etc, but are unable to fix the issue. This issue is running on a P4 2.8GHZ / 500MB PC. Can anyone assist I have attached an example of my problem (not my actual application, but the samle gives the same issue). The sample simply displays many controls onto a form. When you force a redraw ie ALT ...Show All
.NET Development setting up OLE DB connections / drivers
Ola - I was using the online .Net dev environment and immediately wanted to try to connect to my database (i.e. local to my machine/network, not the online environment's). It wanted an OLE Db connection, as (I understand) .Net doesn't use ODBC any longer (yes, I am just coming up to speed on this ). However, I can't find any clear directions on a) where and which ole DB drivers to get and b) how to install them or set them up so the .Net datagrids can reference them. Can someone give me some detailed pointers on this Preferably for MSS and Sybase. Thanks. Hi, You could still use ODBC if thats what you a ...Show All
Visual Studio Team System How to exclude a Folder from a Webproject
Hi We are testing here TFS SP3, and have the following question. We have a website project, that uses TFS as source-control. When adding some files to the folder of the webpage, TFS automaticly adds it to the TFS Soruce control. But when doing checking, it always wants also to checking these files, but I don't want to checking that, as this is just test-data created on the local environment. What do I have to do Thanks Patrick There are a couple of ways to handle this: 1) The simplest is after the IDE automatically pends an add of your test data, right click on the file(s) and select "Undo Pending Chang ...Show All
Visual C# How to Add a Windows Service in VC#2005 Express Edition
Hi Refer to my subject, thanks. The service application templates are not included in the Visual Studio Express products, but there is a workaround to allow you to use them. What I have done in the past is to load up the trial version of the Visual Studio System and create a base application from each template and then export them as templates. Then once inside the Express IDE I would then import the templates, from this point on I now have a windows Service template that I can use. If you do not have the trial you may be able to find someone to export the template for you. But, it are just templates, so this means you ca ...Show All
.NET Development new Part2 "map to the same server" error message
Hi again, Trying to start up Visual.NET for first ASP web application coding (am still a learner....) This is the error message I am being present when I select 'New Project' then ASP Application: Unable to create Web project ‘WebApplication1’. The file path ‘c:\inetpub\wwwroot\WebApplication1’ does not correspond to the URL ‘http://localhost/WebApplication1’. The two need to map to the same server location. HTTP Error 403: Access Forbidden WebApplication1 is the default name given to an application - - I can change that but it doesn't affect this. Given the hint that 'Access Forbidden' - I ...Show All
