Vai0l0's Q&A profile
.NET Development Memory profiler recommendation
Hi. I'm looking for a memory profiler which is capable of profiling unmanaged resources, i.e. resources that are allocated by managed instances, but live in native heap. So far, I've found only one program; .Net Memory Profiler v3.0 beta. Is anyone familiar with another solution Thanks in advance, Yaakov I believe the F1 profiler which ships with Visual Studio 2005 can do both managed and unmanaged memory profiling. Hope that helps -Chris ...Show All
Visual Basic Painting User Control in a DataGridViewCell
If you've read my previous thread then you'll know that I'm creating a user control that consists of a TextBox and a DateTimePicker. This control allows the user to pick a date, which is then displayed in the TextBox. The advantage of this (over just using a DateTimePicker), is that the user can delete the date string in the TextBox and leave it blank if no date is required. Anyway, in my previous thread I had an error with trying to hook this new control up to a DataGridViewCell. However I have solved this error, but have now stumbled into a new problem that seems to be giving me even more grief. I'm very new to working with user control ...Show All
Visual Studio Visual Studio 2005 and Visual SourceSafe 2005
Hi all, Current Situation: - 5 Developers - VS 2005 Pro and VSS client plug-in installed on all 5 developer computers. - VSS installed on a development server. Already created a VSS Database with 2 projects/folders (let's call it A and B) Question: How do I use the shared VSS project from VS 2005 Pro Thanks in advance. Lucas Here is a good place to start: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvss/html/vssbest.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnbda/html/tdlg_rm.asp In general it should probably go like this: First user ...Show All
Windows Forms Can I adjust the width of Child columns?
I have adjusted column width of the parent columns using TableStyles/GridColumnStyles but these do not effect the width of the child columns. They need to be different widths from each other. (ie: "Description" wider then "Part #") Any suggestions (vb7, DataGrid) I figured it out myself, works great. You can use the TableStyle Editor in&n ...Show All
Visual Basic Form Focus Issues
First of all, I am using the .NET 2.0 framework with Visual Studio 2005. I have two forms. One is a form with a TreeView control on it (used as a menu - kindof a favorites list) and the other is a form with a WebBrowser control on it. The TreeView_Click event fires up the other form with the link passed to it via the Node. If the user clicks the TreeView and the form is already open with that link in it, it is supposed to set focus to the appropriate form. This does occur, but it appears that when the Click event completes, the form with the TreeView control on it gets the focus back. So other than the TreeView form, the proper WebBrow ...Show All
SQL Server SSIS XML Source with random child ID??
Hi, I am trying to load a XML document using SSIS into relational tables and pulling my hair out. In it's simpliest form I have: <Batch> <POSBasket> <Header> <SomeDetail/> </Header> </POSBasket> <POSBasket> <Header> <SomeDetail/> </Header> </POSBasket> </Batch> Now, when you have a parent child situation, you get a column in the output called xxx_Id, in my case, POSBasket_Id. This allows you to relate your header back to your root and SomeDetail back to header etc etc. Loading all of this in parrallel ...Show All
Visual Studio Team System Removing the Work Item and Documents folder from Team Explorer
How can i remove the Work Item and Document Folder from the Team Explorer Dont get me wrong i do like TFS, but atleast for the coming years we wont be using Workitems (we already have developed an equivalent of workitems and we want to continue using this for now.) and we also have a very nice Document Storage area. So anyone The Team Explorer loads plugins from the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\TeamSystemPlugins\Team Explorer Project Plugins If you remove a plug-in it will be removed for all projects. There is no way to specify this as part of th ...Show All
SQL Server Errorcodes Ole DB destination error
I send my error output (errorcode , errorcolumn) of an Ole DB destination to another Ole DB destination. How do I know which errordescription belongs to an errorcode. For example errorcode "-1071607683" http://blogs.conchango.com/jamiethomson/archive/2005/08/08/1969.aspx -Jamie ...Show All
Windows Forms Virtual Listview + ImageList
I'm trying to create a Virtual Listview like provided in the Control Gallery section - with one difference : It should support icons from ImageLists - I've tried to attach an Imagelist (got from SHFileInfo) to the Control, but it doesn't seem to have an effect, although no error is returned. The text is added correctly, but changing the iImage Index& ...Show All
Windows Forms DataGridView - functionality
Hi, I have a question to this DataGridView control shown here: click I don't know how to achieve two of these effects: a) "This is custom drawn text" - how can I achieve something like that b) There is for example an image column but one cell hosts a ComboBox ... how is that done Thanks oh ok, I just solved problem b :) Works just like thise: dataGridView1.Rows[2].Cells[0] = new DataGridViewComboBoxCell(); ...Show All
Visual Studio Cannont Get VSS2005 to Work with VS2005
I've installed, deinstalled and reinstalled at least 3 times now, VS2005 first, then VSS2005. Running VS2005 does not show any items that deal with VSS. Both apps work fine individually, but I cannot access VSS within VS. Hey, How do you acess it I've installed the VS.NET 2005 and got sourcesafe to work fine. Brian ...Show All
Visual Basic Add connection wizard fails with Access database
I have the RTM version installed. I am quite puzzled at this wizard. It works fine with SqlClient. But for Access databases, this wizard completely fails. In this wizard, I only have one option to do - setting the ConnectionString. I set it to Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\path\abc.mdb, which works fine in my code. But when I click OK, it complains: --------------------------- Microsoft Visual Studio --------------------------- Format of the initialization string does not conform to specification starting at index 0. --------------------------- OK --------------------------- And more, the Advanced button is dis ...Show All
Visual Studio 2008 (Pre-release) How to create a dragable canvas?
Hi, as the title, currently I only need to drag and drop the canvas on another canvas. show me some advice thanks. There are a number of ways in which you can get this effect. If you want to do this within a single application, adding mouse listener events (down, move, up) and detaching and reattaching the Canvas is the easiest solution. If you want cross-process drag/drop and something a bit more sophisticated (like the ability to both drop-copy and drop-cut), I walk through how to get this done in my blog at http://blogs.msdn.com/marcelolr/archive/2005/05/03/414490.aspx . The code samples are from an older CTP ...Show All
Visual Studio Express Editions Single Instance application crashes with an exeption...?
I was making a program that I wanted only 1 copy to be running at a time. If its multi instance, I can run it over and over. If its single instance, instead of letting just 1 copy run, whenever a second copy is launched, both it and the first copy CRASH with some fatal exception error. I'm simply checking off the "Make single instance application" option under the "Windows application framework properties" section. Why does this make the program crash Hi, Would you please post more details about the fatal exception you got That will help investigating this issue. Also, it's great if you can try this: - Click on 'View Application ...Show All
.NET Development Asynchronously Network Streaming Robot Servo Data
First, a bit of background: I'm rather new to programming in general, but I've read a good VBE book and most of the .NET help file, and am currently working on learning VC#. I'm building a biped robot made up of 19 servos and a servo controller. I'll be using my laptop's wireless card and a WiPort Module to create a network bridge between my computer and the servo controller. I need to write an asynchronous network stream to communicate back and forth, because I cannot afford the added time that waiting for a response from the servo controller would take if I were to write a synchronous stream. In about a week, I ...Show All
