Evan Mulawski's Q&A profile
Visual Studio Team System How to log worked time for each work-item?
Hi: I want to use VSTS to log time for each employer, and generate related reports. Does VSTS provide and how Thanks Ron Ron, VSTS provides a work item repository in the server side part of the product called "Team Foundation Server" (TFS). Out of the box, these work items contain a "Estimate Hours Renamining", "Hours Worked" etc type fields that can be used to collate the data that you require. You can customize the work items to collect whatever data you want for each work item. You can generate reports based on the data stored in your work item repository. Note that this will only collect information about work items (i.e. Bugs, Features etc). This does not really provide the capability to re ...Show All
Smart Device Development Custom Build Step Problems
Hi, I created a Pocket PC 2003 (ARMV4) project and added a custom build step to generate a file. It seemed to work, but after closing and reopening the project it was broken. I figured out, that as soon as I add/remove a space in the command line the custom build step is working again, until restarting of VS2005 again. Also cheating like this in the "Additional Dependencies" section works. But not for Description. It doesn't seem to reassign the FileConfiguration to that build configuration in this case. Reading through the forums gave me the impression, that custom build steps are having problems in general, but manually changing "Pocket PC 2003 (ARMV4)" to "Win32" inside of the vcproj file made it working. S ...Show All
Microsoft ISV Community Center Forums excel hyperlink - top/bottom of screen
Hi, I have hyperlinks in a sheet that simply take you to other places in the same sheet. The problem I am facing is that on some computers, clicking on a link (let's say it's destination is cell A101), shows that cell (A101) at the bottom of the visible screen, whereas on other computers, clicking on the same link shows the cell (A101) at the top of the visible screen. What I need is for it to always show at the top. The versions of Excel on these machines are the same...so I'm wondering is there a setting somewhere in Excel that this needs to be set Please do respond, I need this to work! Thank you, Kriti It has something to do with how the sheet scrolls. Have you ever experienced when you use the left/r ...Show All
Software Development for Windows Vista Markup with ComposityActivities
Hi, I have the following scenario: I have a custom activity named BaseActivity. This acivity has a DependencyProperty string name. I have a custom activity named ComposityActivity. This activity is a sequential activity which has two child activities: BaseActivity and CodeActivity. I create an instance of ComposityActivity and I set the property name to "Test", then I create an instance of SequentialWorkflowActivity and I add the instance of ComposityActivity. When I use WorkflowMarkupSerialize to write a XOML representation of the instance I lost que value of my string because it write something like: <SequenceActivity x:Name="SequenceActivity" etc...> <ns0:ComposityActivity:Name="composityActivi ...Show All
Visual Basic Public Array
I've read in the forms about making a public variable in a form accessible to another form in the same project, and have been able to do so with a single variable. Is there a way to share a complete array (to be specific e.g. String Array(i,j,k,) where i,j,k are all integers) in a project between forms - i.e. From Form 1 to be used in Form 2. I have coinsidered referrencing every variable in the Array by a loop subroutine, but is there a better way Thanks CRV I tried to make these changes - The code as changed follows - (The Array I am using is dArray - I am assuming that I substitue my dArray name in place ot the myarray, but as a virtual newbie, I am not vertain about wheter to leave theArray as is or sub ...Show All
Visual Studio Packages for Express Editions
I have built the BasicPackage sample and it works great in Visual Studio both with the Experimental hive and full. I exported the registry keys and tested it both ways and it works great. I then updated the .reg files and altered them to write out to VCSExpress. VCSExpress is failing to load these giving the infamous "Package Load Failure" message. - I know the dll is registered correctly (it didn't move between the tests) - I know the registry entires are valid (only the base key I write to changed) - I ran "vscexpress.exe /setup" but it returns immediately, unlike devenv.exe - I ran "vscexpress.exe /log" yet it appears to do nothing, unlike devenv.exe I understand that most of the extensiblity ...Show All
.NET Development Is it possible to create a RSACryptoServiceProvider from existing private key?
Hi, If I already have a private key and public key used before, is there any chance to create a RSACryptoServiceProvider directly based on them For example like RSACryptoServiceProvider(privatekey, publickey) or just RSACryptoServiceProvider(privatekey) Many Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. .X file - Retrieve vertex and normal information
Hello, I am wondering if there is a way to retrieve the vertex information from a .X file while you load the file and create a mesh object like your going to display it Basically I am creating terrain in 3D Studio Max with no mats or textures, as all I would like is the vertice information. I think there was some type of mesh.GetVertice in C++ (dont remember the mdx version) But I am using C# & MDX 1.1 Is there some way to retrieve this information from the BaseMesh class Reason being is I would like to gather the data so I can then create an array of [X, Z] and an array of [ Y ] for the height from the .X file, as I dont want to just load up and display the terrain as a mesh object. I believe if I was to load and ...Show All
Windows Forms Dialog form is hidden sometimes
Hello all. In my application I have some form that I show modally. DialogForm frm = new DialogForm(); frm.ShowDialog(); So what's happening sometimes.... frm is "hiding" before the main applciation form. And it looks like that application is frozen (its because frm is active now but does not have focus). Is it a bug in .Net If you open that dialog from a method of your main form, pass the this pointer as parameter to ShowDialog. That makes it modal to your main app. -- SvenC ...Show All
Visual Studio How to determine localized name of scope for key binding?
When setting e.g. the keyboard shortcut "Ctrl-D" for a command in the scope of the text editor, I have to specify "Text Editor::Ctrl-D" as the string for the binding -- when using a US version of Visual Studio 2005. In the German version, I have to use a different name for the scope ("Text-Editor" instead of "Text Editor"). How can I determine the correct name from inside an add-in for a specific localized version of Visual Studio 2005 Or, if this is not possible, where can I find a complete list of the scopes for all localized versions of Visual Studio We currently do not use an un-localized strings for these values. We pull them directly from the UI, so they will always be localized. Also ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can you edit a Model's vertices at runtime?
Is it possible to edit the vertices contained in ModelMesh Like could I get the vertices, alter their position and set the data back in the collection I ask this because for the terrain object in my game, I want it to be deformable. I've been playing with the content pipeline and my custom importer / processor / writer writes the height data as a byte array. When the object is read back, an index buffer and vertex buffer are generated in the terrain class. The vertex buffer is specified with ResourceUsage.Dynamic which to my knowledge is the only way to make the buffer read / write enabled. I'm considering altering my custom content pipeline objects to create ModelContent objects instead of my current approach, but I will abandon that id ...Show All
Visual C++ cout << int; always displays 0
void setbeamtypevars(){ if (beamtype == 1) { double beamtypedmg=0.5; double beamtyperange=200; double beamtypewt=24; double beamtypespace=10; int mintl=8; double beamtyperof=2; int isimpaling=1; beamname= "Laser (Standard) " ; } } void getinput2(){ .... cout << beamname << "chosen, Minimum TL is TL" << mintl << endl; .... } where beamname is a char* and mintl is an int, both defined in the same function prior (SetBeamTypeVars();)to this function (GetInput2();) being called. This returns "Laser (Standard) chosen, Minimum TL is TL0", but it should return "Laser (Standard) chosen, minimum TL is TL8&q ...Show All
Smart Device Development Sample sdk code "Mapirule" works only on PPC. Facing problem on SP 3.0 and 5.0. Need help
Hi, I am working on the sample application "MapiRule" supported by Windows Mobile SP0.3 and 0.5, PPC0.3 and 0.5. It will be available in \Program Files\Windows CE Tools\wce420\SMARTPHONE 2003\Samples\Win32\Mapirule This is working perfectly on PPC 2003 device but not on Smart Phone 2003 and 2005. After deploying it on PPC3 it helps me filter sms messages with subject/msg as "zzz" . It displays the sms in message box and later deletes it. So it helps me filtere the sms message for which i register. This filtered sms is thus not seen in PPCs native Inbox. In case of SP3.0 and 5.0 its doing the registery entries as mentioned in msdn help but its not calling the processmessage() which actually recives the sms ...Show All
Windows Forms Programmatically editing rows in bound DataGridView
I have a DataGridView which I have bound to a datasource. bindSource = new BindingSource(); bindSource.DataSource = eventList; bindSource.DataMember = "Events"; eventsGrid.AutoGenerateColumns = false; eventsGrid.DataSource = bindSource; The user can enter data only through a form, which is displayed as a modal dialog. After he fills it in and clicks OK, the data he entered should be added to the DGV as a new row. eventsGrid.EditMode = DataGridViewEditMode.EditProgrammatically; eventsGrid.BeginEdit(false); eventList.Events.Add(tempEvent); this.BindingContext[eventsGrid.DataSource].EndCurrentEdit(); The problem is that when I do this, I get the following error message : "Operation ...Show All
Software Development for Windows Vista Workflow Persistence and tracking -Error
Hi, I am getting this error while trying to access sqlTrackingWorkflowInstance.ActivityEvents ActivityEvents 'sqlTrackingWorkflowInstance.ActivityEvents' threw an exception of type 'System.Data.SqlTypes.SqlNullValueException' System.Collections.Generic.IList<System.Workflow.Runtime.Tracking.ActivityTrackingRecord> {System.Data.SqlTypes.SqlNullValueException} What might be the problem Looking forward to some inputs to fix this Thanks kesh Hi, If you are using Windows Workflow Foundation Beta 2.2, you have to: 1) Delete the previous Tracking database. 2) Copy the sql scripts from C:\WINDOWS\WinFX\v3.0\Windows Workflow Foundation\SQL\EN. 3) Create again the Tra ...Show All
