Peelio's Q&A profile
Windows Forms Performance / Datagridview /TreeView / Large Data
Hi , I have a performance related issue which I hope you can help me out with. Here it is . Environment: VS 2005 Beta 2 SQL Server 2005 Beta 2 Winforms on XP Architecture: Distributed architecture with .NET remoting. Application server with a console server as a host to the remote object. (Single call, TCP) Database server Client Issue 1: a. Load large data in a datagridview: We have a table with currently 10 lakh records. We are loadin ...Show All
Windows Forms BindingSource designer databinding
Hi, Drag & drop fields from the Data Source window add's a new dataset and a new BindingSource to every smartpart. I don't need this because all my data is kept in a state object (see CAB project or MVC pattern). How can I relink these databindings to the new datasource (datasets in state ) In short : 1. Every databinding in a control on a smartpart (usercontrol) is bound to the same BindingSource. 2. Every smartpart (usercontrol) co ...Show All
Visual Studio Team System URL in Redirect is not encode
Hi, I have a ASP .NET app. In the Search.aspx there is a redirect to an URL with a QueryString parameter (data). This parameter is created at run time and contains characters like %. When i run the web test, the parameter value is not right, as something replace some characters. In the Object was moved here... page the parameter looks OK. <html><head><title>Object moved</title></head><body> <h2>Object ...Show All
Windows Forms checkbox column value returns nothing
Hi, I have a windows form with a datagridview control. It has a checkbox column. In the event handler for cellcontentclick, value property for Datagridview.currentcell returns nothing. I have set the truevalue and falsevalue for the column, however it is not a bound column. I need to know whether the currentcell in the control is checked or unchecked. Thanks in advance Vishal If the column is not ...Show All
Visual Basic How do I share variables in between subs and forms?
I know this is a really nooby question but I cant figure it out. I've been using lable.text to hold variables so far but I know that work work in multiform applications. Help plz. oh ok, can i have an example plz that would be very helpful. ...Show All
Windows Forms paste event?
I have a "paste" button on a toolbar above a richtextbox object. When I click it, I can test to see if the clipboard format is one I am expecting and then do the paste (I don't want the user to be able to paste in ...Show All
SQL Server How to avoid Caching of Reports?
Hi All, We have a Report wherein we specify the criteria and then generate the report. The issue is when we give a new criteria the second time and generate the report, we get the old result set that was for the previous criteria. How can we avoid this Thanks in advance. Sundar if you are calling the report via URL access then add in the rs:ClearSession=true command to the url ...Show All
SQL Server Incremental Update
Am using SSAS 2005, was trying to process cube on incremental update basis. During configuration of the settings from Object List dialog box, selection is made for measure group, partition, table - data source view. But there's no selection for table schema and name, hence the fact table name is entered manually. 1. What causes the table schema and name dropdown to be empty and resolution 2. Then during processing c ...Show All
Visual C# Problem installing Visual Studio SP 6
I'm trying to install Visual Studio SP 6 and when I click on the setupsp6.exe I get a message reading The NTVDM CPU has encountered an illegal instruction Has anyone else had this Do you know of a workaround I understand it's caused by the machine trying to start a 32-bit application in a 16-bit 'mode' but how to I stop that. Thanks in advance, Col I would recommend asking that question in a di ...Show All
Visual C# Empty C# application use almost 20mb memory
I just started learning C# and decided to make a small alarm application, like an egg clock. And after a while i noticed the alarmclock used almost 20mb of memory when it was minimized to the systray. If i minimized normaly it went down to 1mb, and when it’s on normal form it uses 20mb again. I also noticed that its the exact same thing with a empty C# application. Why is that A small windows form with a button, textBox and timer should not ever ...Show All
Visual Studio Team System How does the OverlayIconIndex property of BaseHierarchyNode work?
I'm assuming that the index would point to the same imagelist as that used for the display icon of the node but this seems not to be the case. Furthermore I'm guessing that provided I could get this function to work the icon at the index would be overlayed on the main Icon. Sort of like the short cut overlay icon. Am I right in my assumptions and can some one show me how to use the property. Thanks. This is a question for the Visu ...Show All
Visual Studio Express Editions Thanks!
Help! How do you change font sizes in code Set the font property. Here's an example Me .Button1.Font = New Font( "Arial" , 12, FontStyle.Bold, GraphicsUnit.Point) ...Show All
Windows Forms Do Custom prereq's have to be located in ...
[VS 2005 installation directory]\SDK\v2.0\Bootstrapper\Packages Is there a way to set VS 2005 to look in any other directory for custom prerequisite packages Thanks. John, There is a way to store packages in directory other than the default. Under HKLM\Softwar\Microsoft\GenericBootstrapper\1.0, set the Path string value to new location of bootstrapper packages. Please note that setting this regi ...Show All
Visual Basic How to set cursor for a control from a file
Hi How can I set cursor for a control from a "cur" file in VB2005 Thanks Button1.Cursor = New Cursor( "path_to_cursor.cur" ) ...Show All
Windows Forms Can't update my data!
I have a piece of code like this: DsContactos1.Contactos(0).Contacto = txtContacto.Text then I pass it to my webservice, but the data isn't updated. I'm sure the dataset leaves to the webservice and I quick watch it to see and the text from t ...Show All
