Software Development Network Logo
  • Visual Basic
  • VS Team System
  • Visual FoxPro
  • SharePoint Products
  • .NET Development
  • IE Development
  • Audio and Video
  • Smart Devicet
  • Windows Forms
  • Visual C#
  • SQL Server
  • Microsoft ISV
  • Game Technologies
  • Visual Studio
  • Windows Vista

Software Development Network >> Kevin Hoffman's Q&A profile

Kevin Hoffman

Member List

Diane Landen
Dan Shookowsky
WillieSea
QWERTYtech
AlucardHellSing
tamri
Big Andy 78
Bart Butell
Tonnie
Mike Greenway
dr.acv
Sanchit Bahal
JazzGeek
Wally9633
Bill Calkins
gafferuk
Syed Imam
coolkay
hazz
PedroSimao
Only Title

Kevin Hoffman's Q&A profile

  • Visual Studio Team System Adding a timestamp to a Note field

    I have a need to create a new Note field where developers can add their status to a work item, which in itself is easy enough. The problem I am having is the manager wants it to be like the history field where there is a timestamp associated with each entry in the note field. Therefore it would read something like: 2/20/07 - Investigated the bug.... 2/26/07 - Added new method X() to fix problem with widget.... 2/27/07 - Unit testing fix.... They want to be able to use this information to generate a report of the work items that had notes added during a certain period. (I.E. All work items with notes added between 2/22/07 and 3/3/07). I've tried to add a Notes field as type History but the Process Template Editor returns an e ...Show All

  • Visual Studio Express Editions Random text generator

    Hi, I'm very new to VB Express, I'm taking a college class about it. For a project, I would like to display a set of random statements when the user clicks a button, like a fortune cookie program. So when the user clicks btnSaying, I want one of eight statements to display. It is probably far more simple than I think, but for some reason I can't figure out how to set this up. I've read all kinds of different posts about random numbers and letters and arrays and things like that. I think I might just be lost. Please help me. sure. Basically you need a way to store your "statements", for simple reasons lets stick with an ArrayList. Dim theStatements as new ArrayList() declare that ...Show All

  • Visual Studio Team System Finding check-in policies and check out settings

    Hi, Through my application I want to fetch (using object model APIs) the check-in policies and check-out setting of a team project. I checked out classes like PolicyList, PolicyType from Microsoft.TeamFoundation.VersionControl.Client, but none of them give the list of exisiting check-in policies or check-out settings (ie. whether multiple check outs are allowed) Manasi Hello, you need object of class TeamProject. It contains: property ExclusiveCheckout method GetCheckinPolicies() method GetCheckinNoteFields() A few ways to get TeamProject is Workspace.GetTeamProjectForLocalPath or VersionControlServer.GetTeamProject or VersionControlServer.GetTeamProjectForServerP ...Show All

  • SQL Server DTS Package Migration Error

    I've been migrating SQL 2000 DTS packages into SQL 2005 using the Migrate DTS 2000 Package wizard in Visual Studio 2005. All packages migrate fine except one which throws out the following error: exception of type 'Microsoft.SQLServer.DTS.MigrationWizard.HelperUtility.DTSMWException was thrown No other supporting information is given to help diagnose the problem. Has anyone else come across this error before Looking at past threads, I've checked the DTS package for leading or trailing spaces which might cause an issue and there are none. Thanks. Hey i found the problem. if you are package is Incompleted take an example "doing the bulk insert from SQL Server Conn to Excel sheet but with ...Show All

  • Visual Studio Tools for Office Setup problem

    Hi, I have created one excel application through VSTO (installed in VS.Net 05). But I am not getting Pre-requisites as needed. I have done following things to prepare the system for office..... 1. To prepare the Office application and primary interop assemblies checks: I am not able to find this path...C:\Program Files\Microsoft Visual Studio 2005 Tools for Office Resources\VSTO2005 Windows Installer Sample; For that I have followed following path: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin (Is that correct....) Then I have used following command to check,,,,,,,, cl.exe -I "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\include" /Oxs /MT /GS AppCheck.cpp   But getting error that AppCheck.c ...Show All

  • Software Development for Windows Vista Get data from the workflow

    What's the recomended approach to get data from workflow I have handleExternalEventActivity to push data into the workflow I have call callExternalMethodActivity to push data into the host. What if I need from the host to get some data of the workflow I could use one handleExternal event and then call a method on the host through callExternalMethod. But I'm asking if there is a better, and if possible, synchronous approach to this problem Something like myDataService.GetMyDataFromWorkflow(instanceID) ... I'd use a custom tracking service to manage this. It makes it easy to do just what you want, which is ask a service for the properties on a given workflow instance ID. I've got a sample pos ...Show All

  • Visual Studio 2008 (Pre-release) Wcf Com Moniker in ASP under IIS 6.0

    Weird thing in the world... The following file, SiteTracking.vbs, works GREAT... ----SiteTracking.vbs----------------------------------------------------------- Set siteTrackingService = GetObject("service:address=http://10.72.128.140/services/siteGoalTracking/siteAnalyticsGoalTrackingService.svc, binding=basicHttpBinding, contract={74C37E30-0B82-3073-993A-D86025732122}") WScript.Echo siteTrackingService.CreateTrackingInformation("SO-415902") Set siteTrackingService = nothing -------------------------------------------------------------------------------- While the following file, SiteTrackingServiceExample.asp, in ASP under IIS 6.0 on the SAME machine gives the error seen below. ----SiteTrackingServiceExample.asp-- ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. support for device queries and direct access to the sound buffer

    I couldn't see any support for device queries and direct access to the sound buffer. Are there plans to add query and direct access support Cheers, e-stereo Do you plan the direct sound buffer access in the next XNA edition When I wrote about the "device queries" I thought about something similar to Query class (and Occlusion QueryType) in MDX 1.1. What it is needed to It is needed to visibility determination !!! Occlusion queries eliminate the need for portals, zones, etc. The Occlusion is totally automatic and fast. I am surprised why there is no this functionality in XNA. I read in some messages that XNA designers didn't know to what to use query and therefore didn ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do I load a 3d mesh (.x file)?

    How do I load a .x mesh into my scene The space game seems to use its own format (which it names .swm), and there's nothing in the help. I've been scanning through through the classes in the Framework namespace, but I can't see anything obvious! Is .x the recommended format for objects like this (If not, I change my question to be about the recommended format :D) If anyone knows anywhere that has some nice .x meshes I can play with, that'd be cool too. The only one I have lying around is a chair, and that's going to look a bit funny running around my game :D I didn't think the content pipeline stuff was in the beta I just added this code, which compiles: ContentManager contentManager = new ...Show All

  • SQL Server Defragmenting for SQL server performance???

    Can Anybody guide me whether DEFRAGMENTING the drive improve the SQL Server performance in general. What should be the location of the DATABASE files and the TRANSACTION log files. Should they be in a single drive or seperate drives Thanks in advance Jacx For best I/O performance they should reside on different drives. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • SQL Server Set "DataDir" via XMLA ???

    Hi all, Is there any way to set the datadir of the database thanks to XMLA Thanks in advance. Juan DataDir is server property and not a database property. Changing DataDir server property cause some severe effects. You will loose access to all of your databases. See previous discussion on the topic: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=500300&SiteID=1 As for using XMLA for changing server properties, it is pretty trivial: Here is example of changing BackupDir server property < Alter AllowCreate = " true " ObjectExpansion = " ObjectProperties " xmlns = " http://schemas.microsoft.com/analysisservices/2003/engine " > < ...Show All

  • Visual Studio Visual Studio 2005 Debugger cannot watch static class variables when /clr switch is on

    Has anyone had this issue We are evaluating the possibility of migrating our unmanaged app to managed code to take advantage of the managed extensions. We thought we would start by enabled the managed extensions so we could begin to use the extensions inside our existing classes. If I create the following class: foo.h: class foo { foo(); public: static int i; }; foo.cpp: int foo::i = 1234; foo::foo() { int j; j++; <--------Set breakpoint here and try to watch the static class varaible i } Then, if I compile this code with /clr flag turned on, I cannot watch i unless I put a #pragma unmanged at the top of foo.cpp. Is this by design Why can't I view static variables in a mixed mode dll ...Show All

  • .NET Development XML Serialization

    Hi all, I m new to the serialization. My question is "Is there any way to serialize an object without generating the physical xml file... Regards take a look at this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=590301&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=801237&SiteID=1 now in the last link, just change "StreamWriter" to MemoryStream for example or networkstream ...Show All

  • Visual C++ How to trap all exceptions?

    Due to bugs in my code, users experience crashes. When this happens, they get a window saying "<MyApp> has encountered an error and must close", and offers to send a report to MS. I want to have my pgm get control when one of these errors (such as an access violation) occurs, so I can create and store my own report. How can I do this I tried _set_se_translator (complied with /EHa), but this did not work, at least when I run the pgm in the debugger. If I run the pgm without the debugger, I get a JIT debugger dialog. Exceptions are for reporting unusual conditions which are expected under unusual, but foreseen, circumstances, such as file not found, out of memory, etc. An access viol ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Sample of animated character.

    Some time is passed after "XNA Game Studio Express/Framework 1.0" become available, there are now some source code samples from Microsoft (or others) of animated character (loaded from X file, animation too) Thank you Toni It took 6 months of development to release XNA It's been 3 months now for internal release checks on the animation samples. I guess that means a skinned animation demo is at least half as hard as making a game framework! ...Show All

©2008 Software Development Network