zhpsam's Q&A profile
Windows Forms Flickering Problem with Windows Form containing DataGridView
I'm writing a User control where i'm displaying a windows form on click of a button and the Form contains a DataGridView. This dataGridview would typically contain 4000-5000 no of records. Now when i'm resizing the Form i can see the VERY NOTICIBLE flickering effect. How can i reduce it Any suggestions...... [NOTE] I have set the DOCK property of the DataGridView to FILL so that on resize of the FORM the dataGrid should be resized to cover the ...Show All
Visual Studio A blank grey window that won't disappear
Hi, I've recently uninstalled vs 2005 beta 2 and installed vs 2005 rtm (team version). I've also installed sql server 2005 and the tfs client (refresh 3). Every time I open the VS IDE a floating grey window appears. Even when I close the window and reopen the IDE the window shows up again. The window also shows up every time I end a debug session (either by clicking on the stop button or ending the debug normally). No matter what ...Show All
SQL Server Pivot Issues
Hello, So here's what I have in a table: CoNo RentalIncome OtherIncome Insurance 1111 200 500 100 2222 300 400 50 3333 100 600 200 .... ... ... ... ...And here's what I need to do: CoNo 1111 2222 3333 .... RentalIncome 200 300 100 ... OtherIncome 500 400 600 ... Insurance 100 600 200 ... I've played with a fe ...Show All
Windows Forms App crashes when run from default install location
Hi folks, A new user of my application had a problem in that the app never started. It installed fine, but crashed as soon as it ran. I tried all sorts of things to diagnose the problem, and finally out of sheer desperation I asked him to try copying the exe, the exe.config, and a few support files it uses to a new folder (under My Documents, for example) and try running it there. It ran fine. What could cause an application to work ...Show All
Windows Forms some WebClient questions
Hi, there ***************************************************************** string remoteUri = "http://test.com/test/"; string fileName = "test.jpg", myStringWebResource = null; myStringWebResource = remoteUri + fileName; WebClient myWebClient = new WebClient(); myWebClient.DownloadFile(myStringWebResource,fileName); ************************* ...Show All
Visual Studio Team System TFS Add Windows Folder?
I've searched and I haven't been able to find any posts/blogs about this. I'm coming from a subversion world, where windows directories actually reflect what stored in the repository. I have an app that creates the directory structure for me, but I don't seem to be able to check in directories alone. I can check in directories once they have files in them, but this would be a pain as I'm not the person who will create ...Show All
Software Development for Windows Vista decoupled hosts and getting list of pending workflows
Team, The Scenario: I need a workflow to be able to start in one application and persisted there (sortof acting like a queue) and then for a second application (could be in different data center) that can pick the workflow up out of the persistence db and continue its processing. Think of a web service that simply receives a document that will need to go through an extensive workflow and needs to start the workflow, but will not have anyth ...Show All
Visual Studio Tools for Office get_XML
I have several bookmarks in my document and I'm trying to retireve the Word html data associated with each programatically. I thought I would be able to use this method: Microsoft.Office.Tools.Word. Bookmark bookmark; string data = bookmark.Range.get_XML( false ); This returns to me a lot of Word document tags, etc, but not the actual text within the bookmark. So, I tried the same call with 'true': Microsoft.Office.T ...Show All
Smart Device Development Can't change Label BackColor in designer (VS2005 Final)
Hello, The environment Visual Studio 2005 Final, Smart Device Application for Windows Mobile 2003, using .NET Compact Framework 2.0. The problem I have uninstalled VS2005 Beta 2 (using the automatic uninstall tool) and then installed VS2005 Final. When I add a Label control to a blank form in the designer, I can't set the Label BackColor to a Web or Custom Color. It seems that when the underlying Form has the System Bac ...Show All
Visual Studio Tools for Office Button is not getting removed after uninstalling the Word add-in
Hi All, I'm creating and installing a Word Add-in. The add-in creates a button on standard toolbar. When I uninstall the add-in the button is not getting removed. The add-in is the basic add-in from the link http://support.microsoft.com/default.aspx scid=kb;en-us;Q302901 as it is. The code in OnBeginShutdown is as follows: public void OnBeginShutdown(ref System.Array custom) { object omissing = System.Reflection.Missing.Value ; System.Wi ...Show All
Visual Studio Tools for Office Embed Word document in VB
Is there a way to embed a word document within a Visual Basic form Or at least get the preview image of it Hi Webbrowser is the best route but there are issues in that this is editable and can have side affects in template VSTO solutions not running and the document is editable etc etc. There are a few controls available to allow you to read Word Docs which will be possibly better. Regards ...Show All
.NET Development XML 2 XLS???
I have an Excel spreadsheet and i save it as a .xml file...I need to some help on trying to get my sql tables columns to populate the xml and then show it in ms excel and links or help on what object i need to use i see the System.Xml but i dont know if i should use the XmlReader and pass the streamreader with the file name of the xls any help would be great!! Can you be a little bit more clear on what help you need (Some grammar and ...Show All
.NET Development insert into a table using DataSet
I'm trying to insert a row into a table using a DataSet, and having no luck. Here's what I have so far: DataSet ds = new DataSet(); SqlDataAdapter sda; XmlSerializer ser = new XmlSerializer(typeof(myClass)); & ...Show All
Visual Basic How to use Textbox to serch a database & dislaying in datagrid
Hi everyone, my roblem is that, I want to use the textbox to type using it textchange event when one type it search the database for the matching data as it found each data it display then in a datagrid and the pointer point to the record. any help our surgestion will do thanks all You may want to think about what your trying to do - putting it in a text changed event causes the filter to be carried out every time the textbox ...Show All
Software Development for Windows Vista Explanation of UnloadOnIdle?
Can someone provide a better explanation of UnloadOnIdle (not the property, really, the mechanism) Specifically, an understanding of when a workflow is considered to be idle would be good. I've read something about a delay causing a workflow to be idle. What about waiting for an external event I would think this would cause a workflow to be considered idle, but unless I am doing something wrong, when my state machine workflow is simply waitin ...Show All
