Software Development Network Logo
  • Visual Studio
  • VS Express Editions
  • Visual C++
  • Windows Vista
  • Architecture
  • Windows Live
  • VS Team System
  • Visual C#
  • Windows Forms
  • SQL Server
  • Visual J#
  • Game Technologies
  • Smart Device
  • Visual Basic
  • .NET Development

Software Development Network >> G. Andrew Duthie's Q&A profile

G. Andrew Duthie

Member List

Resserviour Dog
__sorcerer__
Johnny D
urpalshu
Maik Wiege
MacKenzie
NateLucy
DasFox
NihalChand
MOK123
techvistas
Irfan Khalil
mcvoid
benconnol1y
zdux0012
Ensoft
Glenn87
Webme
AndyPowell
Rube
Only Title

G. Andrew Duthie's Q&A profile

  • .NET Development Compute processor time & working set for a managed thread

    Hi, My code hosts external code for which I need to track CPU usage and working set. Each piece of code is independently held in an Assembly and loaded into a main container assembly which manages its execution and lifetime. Basically, I need to know on a per-thread basis, how much CPU usage and working set a thread uses. First, the ProcessThread class does not map 1-to-1 to a Thread class. Moreover, even if I somehow tracked their mapping to get to ProcessThread.TotalProcessorTime, ProcessThread doesn't have working set information. My other option is that, barring a huge performance hit, I wouldn't mind loading an Assembly for eac ...Show All

  • Visual Studio MSBuild and BizTalk Projects: (VS2003 & BTS 2004)

    Has anyone used MSBuild successfully to build BizTalk 2004 projects which are written in VS2003 I got following error while building Biztalk 2006 (Beta2) project with VS2005 warning MSB4078: The project file "Hws1\Hws1.btproj" is not supported by MSBuild and cannot be built. Does MSBuild support building Biztalk projects ...Show All

  • Windows Forms SolutionInfo

    I have a multi-project solution, and I want to have a single AssemblyInfo file for the solution. i.e. a SolutionInfo file. Is this possible  Has anyone seen any Microsoft documentation along these lines regards You can share a file among multiple projects if you go to the Add Existing Item dialog, click the drop-down arrow on the Open button&n ...Show All

  • Windows Forms Form Current Event?

    I need something like the Current event generated in Access when the form moves to the next record. How do I do that in VB 2005 using the designer datasets Also --- how can I easily access the value of the data from a bound form if the control whoes data I want to view is absent from the form That is how do I get to the underlying data to the record that is currently displayed Obviously I'm new to VB.Net/VS2005. The BindingSource sender will be of type BindingSource rather than BindingManagerBase.  Once you get the BindingSource, you can use it to get the Current item.     Dim bs A ...Show All

  • Visual Studio Express Editions Disabling Buttons

    I'm in the proccess of try to create a program that, at log in the user must accept the terms and conditions but I'm having trouble of diabling things like the windows key to stop people for bypassing it, does any one know of any coding I can put it to disable these buttons. Any help would be greatly apreciated Cheers Buttons include: Windows Key Windows Key + .......(e.g "e") Ctrl+Alt+Del any other that I've over looked You have to do some low level keyboard hooking (look it up on google - keyboard hooking like that is not a 'nice' thing to do to users). From the sound ...Show All

  • SQL Server Accessing Users & Members in Active Directory via Linked Server

    Hi, I'm trying to extract all the users and their membership to groups, and the membership of groups to groups from active directory though a link to server. I can get the users. I can get the groups.... individually. I can't get the info of what user is a member of or who are members of a group. Anyone know how to do this or am I going to have to right a vb app (Anyone already got the code...) I want to load this data into tables for reporting in my Data Warehouse. Cheers Chris Take a look at the following API: http://msdn.microsoft.com/library/default.asp url=/library/en-us/netm ...Show All

  • Visual Studio Express Editions Using a char variable as an array position

    Is it possible to use a char variable to point to a position in an array For Example, <code> char position; std::cin >> position; char array[] = { 'A', 'B', 'C', 'D' }; std::cout << array[ position ]; </code> I think I understand why it doesn't work. Its because a number in a char is not the same number, i.e. '1' = 49, '2' = 50, but is it possible to convert it to an integer In the given example array[position - 'A'] works (observing the obvious constraints for position). However std::map (http://www.sgi.com/tech/stl/Map.html) will serve you much better. ...Show All

  • Windows Forms The Treeview Drag&Drop AND using custom TreeNode !

    Here is the code that I use to  carry out a drag & drop on my TreeView, it goes very well !  but when I use my own custom TreeNode (named : 'UsrTreeNode' and have some properties added) instead of the original 'System.Windows.Forms.TreeNode' , the drag & drop do not have any effect. I tried doing something like : 1) My own custom Tree ...Show All

  • Windows Forms How do I catch SelectionChangeCommitted event of a combobox in a datagrid?

    I have a standard combo box in a datagrid (DataGridEnableComboBoxColumn) and I want to catch the SelectionChangeCommitted event.  Does anyone know how to do this   Blue & white hooped blood runs through my veins Hi Supa Is there any chance you could post the code up. I am having huge problems in this area... Thanks Touraj tourajv at hotmail dot com ...Show All

  • Visual Studio Team System Recommended Books

    Can somebody recommend me books about team system and MSF4 is there is already one. Thanks       Hi there at launch we will have an update to the Introducing VSTS book we released at Teched.  Following this we have about 5 more publications to hit from AW before March, and 2 more from MSPress also around this timeframe.  These are focused on many aspects including MSF, Project Management, QA, etc.  If you want to start accessing good information on VSTS, we have posted up most of the reviewers guide to teamsystemrocks.com thanks Michael ...Show All

  • Visual Studio Report Does Not Print

    Hi I am using the Visual Studio 2005 Report Viewer control. When a user runs one of our reports, it previews on the screen correctly without any problems. However, when they click the built-in printer icon to print the report, it goes through the motions but never prints the report. A dialog box comes up and allows them to select a printer. If they select a printer and click "Print" it shows printing page 1 of 4 thru page 4 of 4, but nothing ever goes to the print queue and nothing ever prints. I also notice that they always have to click the "Print" button twice before it does anything. Does anyone have any ideas about ...Show All

  • SQL Server store and retrieve files to/from database

    Hi! I want to store files (.doc/.ppt/.wmv) to SQL Server 2005 database and retrieve them. Can anybody help me with that Thanks in anticipation, Abby http://spaces.msn.com/baxiabhishek Hi, that should be no problem, whcih coding language are you using HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio VS.NET 2005 beta 2 destroys my network access...

    So I took Visual Studio 2005 beta 2 that arrived in our latest MSDN build and did a installation on one of our test laptops. It seems to work fine, until I shut the laptop down. When I restart it the network card is dead. It's happened to two laptops. At first we thought it was hardware failure, but sent the first laptop back to IBM, and they popped in a new harddrive with a fresh installation of windows and it worked fine again. Something in the installation of Vs.net beta 2 kills my network card... Has anybody seen or heard about this before __________________ Thanks Sam The device emulator (last item VS installs) installs a driver ...Show All

  • .NET Development VS2005 RC1 Dataset merge bad performance

    Hi, We've just migrated from Beta2 to RC1, and we get very bad performance with the (Typed) Dataset's merge function. After analyzing with a profiling tool, we've discovered that the merge function calls the GetRowType many many times more that in the previous (2.0 beta2) version. for example - for a dataset with about 10 tables, one of them with 6000 rows: in Beta2 - GetRowType called 18 times. in Rc1 - almost 20,000 times. in Beta2 - 1-2 second in Rc1 - 8-9 seconds Is there a workaround or will be a fix to that problem. thanks, Oren. hi Pham. i am readiing ur article. i am facing a similar kind of problem i ...Show All

  • SQL Server Some info on setting row delimiter values in package configurations

    I just spent the past 3 or 4 hours trying to figure out how i could represent carriage returns and line feeds properly in package configuration variables that an SSIS package can properly handle, so i figured I'd post my results in case anyone else has struggled with this. Initially, I thought I would be able to just represent the delimiter as the same value that you can pick from in the flat file connection manager dialog, i.e. {CR}{LF}, {CR}, {LF}, etc. nope. Then I decided to try actually storing the characters as hex, i.e. _x000D__x000A_ for {CR}{LF}. nope. After scanning the .dtsx packages for a while, I finally found something ...Show All

©2008 Software Development Network