mtt_1966's Q&A profile
Windows Forms How to improve Listbox performance in ADO.NET 2.0?
I have a bunch of listboxes on my windows forms with a couple of thousand records in each one of them. It takes almost about a minute to load a form in .NET 1.1 We are migrating the application to .NET 2.0 and was wondering if there is any way to improve the performance in ADO.NET 2.0 so that the listboxes are loaded faster in .NET 2.0 I tried running speed test as per: http://msdn.microsoft.com/msdnmag/issues/05/11/DataPoints/default. ...Show All
.NET Development SaveControlState and LoadControlState events don't fire
Greetz, I have written a web control which saves and recovers item information with the SaveControlState and LoadControlState event. This worked fine for a long time. Now we have to surround our controls with a special border (with header items and so on in it). So I decided to create another web control which creates this special surounding borders. The Code in the aspx page would look like this: < wn : GroupControlsContro ...Show All
SQL Server Encryption Keys (Reporting Services Configuration)
Ok I am playing around with SQL Server 2005 got it all setup. Then I decided to change the admin password and run dcpromo. Now I got all the issues resolved except this one. It had a key from what the server use to be called. I deleted it to make a new key for the state of the server now. Well big mistake I am finding out. Below are the only real directions I have found to recreate the key and it is not a lot of help. Does anyone know how to do ...Show All
Visual Basic How to create .exe that can accept extra command line parameters?
I'm learning to create a simple a first-person shooting game. How to make the .exe that can accept parameters Forexample, game.exe -a. Thank you. Start your program from sub main like this: Public Sub Main(byval args() as string) ...Parse command line args here... end Sub ...Show All
.NET Development Adding URL-encoded '&'s as data in a URI parameter
I'm developing a client application that needs to send the '&' character in HTTP requests as data. I DO NOT want these to be interpretted as the start of a new parameter but rather would like them passed to the application as parameter data. I realize that you need to URL encode characters with special meaning. My problem is that in .NET, when you attempt to create a URI with a %26 (the URL-encoded version of '&'), it automatically conve ...Show All
SQL Server Database Mirroring: Cannot set the Mirror Server instance as the partner on Principle server
Hi, I’m trying to get database mirroring working but having problem when principal and mirror are not on the Domain. (I got it working once if both principle and mirror servers are on the domain.) Both servers have fully qualified domain names. Both have Windows server 2003 SP1 and SQL Server 2005 June CTP. I used Local System Acct/Mixed mode and follow the Setting up Database Mirroring using Certificates article i ...Show All
Windows Forms Delete rows from DataGrid not working?
My DataGrid is bound to a DataSet and showing only those records whose Client_Liability_ID IS NULL and I am using RowFilter to do so. Following is the code: 'Set Select Command for WithdrawalDA. WithdrawalDA.SelectCommand = New SqlCommand With WithdrawalDA.Sele ...Show All
Visual Studio 2008 (Pre-release) Dialogs on a 3D cube...
I'm trying to make 3D animated cube with dialogs on it. I must make different dialogs on different sides of cube. Dialogs must support interactivity with users, such as enabling text inputs in a TextBoxes, clicking on Buttons, etc. Have you got any suggestions about solving this problem I'm using Vista CTP Sep 05. To clarify, this has been asked on the newsgroups and answered ...Show All
Smart Device Development Sync hangs with 5 seconds to go
Hi I have an ipaq rx3715 (active sync 4.1)and up until tonight it sync'd fine Now it hangs when it gets to files - there is no error message, there are no new files, that i can see that need to sync. Any suggestions This forum is device development related. Since your question is not related to development, it's off topic here. Please post to relevant forum or news group: http://support.microso ...Show All
Windows Forms DataGrid Column ?
I have a datasource assigned to datagrid that has 5 columns. I want the last column not to be visible to users. How is this done Datagrid.Column(4).visible = False Thats what I want to do. Whats the command Cant seem to find it. Help Deasun ...Show All
Windows Forms How to show a dialog in the relative center of the parent form?
Is there a way to show a modal/non-modal dialog in a location that is the relative center of its parent form Thanks. just set the StartPosition Property to FormStartPosition.CenterParent ...Show All
.NET Development web service does not work on webserver only on local box!
Hi there. Interesting thing I just found. I made a webservice which updates my app on request. This is the way it works, simple pseudo: [webservice] Recieves incoming versioning compares with server files if server file versioning > incoming versioning send the file name end if [client] if filename != null create the file request file size from webservice [webservice] recieves incoming request for updat ...Show All
Visual Studio Dynamic Image
Hi, I want to show in my report dynamic Image through Object data source. I was set source property for Image 'Extarnel' after runing report showing symbel 'x' instead of Image. But Embedded Image working perfectly OK. I am using June CTP version. Is it possible to show dynamic Image in the report or I am doing somewhare wrong Thanks in Advance Je Crois que c'est ca que tu cherche : P ...Show All
Visual C# Dynamic menu bar
Hi. Your help is very much appreciated. I am building Win app in which I'm allowing the users to add entity-types (i.e. entity-type = client or supplier,etc..) at run time .(I dynamically add tables in the db to support this requirement [I add client table, supplier table, etc.). However, I want to menu bar to reflect the existing enitity types. So I want the menu bat to look something like: Clients | Suppliers .... Find Find Add ...Show All
Windows Forms Adding new rows to DataGridView does not follow sort order
Hi! I have a datagridview in which I add rows using the rows.add method. Grid is not bound to any datasource. The problem I have is that newly added rows are always added at the bottom of the grid, ignoring the selected sort order. Do I miss anything I wouldn't like to call .sort method again, since my grid may contain a lot of data and rows might be added every few milliseconds. Awesome. Thanks! -mark DataGridView Program Manager Micro ...Show All
