happymozart's Q&A profile
Visual Studio Team System Wiki capability?
We've been using an internal wiki for an ad-hoc collaboration system, and we really like the ease with which we're able to add content, and expand the site. Is there a "wiki" like capability to the VSTS I've looked over the "project portal" topics, and it seems to be strongly bound to the project, but I'm not seeing a location for general multiproject and non project related materials. Any feedback on this topic would be appreciated! Thanks Martin, I could certainly have phrased my question better! Now that I re-visited it. This is actually the kind of information that I'm looking for. We too have started down the wiki path for our product group here. (only a few months into it). We find tha ...Show All
Visual Basic VB.NET FORM CHILD OF VB6 MDIFORM
I'm goin' crazy. We have to manage an MDIForm in VB6, it calls a .NET library which shows forms inside the VB6 MDIForm. what we'd like to do is including .NET forms in the VB6 MDIForms we use a sentence like this VB6 code: Dim c As New MyClassLibrary.MyClass c.GetMyForm Me when I run this code .NET throw the following exception: Unable to cast COM object of type 'System.__ComObject' to class type 'System.Windows.Forms.Form'. Instances of types that represent COM components cannot be cast to types that do not represent COM components; however they can be cast to interfaces as long as the underlying COM component supports QueryInterface calls for the IID of the interface. in which way I can solve the problem could you give ...Show All
Visual C# C# Excel programming
I can't find anything on how to insert comment(notes) in an Excel worksheet using C#. Any ideas You can definitely insert headers and footers into excel via the Excel Interop. You must use the PageSetup propertly declared beneath the sheets class. You'll have to declare your worksheet: Microsoft.Office.Interop.Excel.Application excelAPP = new Microsoft.Office.Interop.Excel.ApplicationClass(); Microsoft.Office.Interop.Excel.Workbook wbk = excelAPP.Workbooks.Add(XlWBATemplate.xlWBATWorksheet); Microsoft.Office.Interop.Excel.Worksheet myWS; myWS = (Worksheet)wbk.Worksheets[1]; myWS.PageSetup.CenterHeader = "Test"; excelAPP.Visible = true ; You'll see that you have a center, right, and left head ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PIX and ID3DXSkinInfo::ConvertToIndexedBlendedMesh
Hi When I run my application through PIX ID3DXSkinInfo::ConvertToIndexedBlendedMesh fails with: ConvertToIndexedBlendedMesh: The input mesh, pMesh, does not have the same number of vertices as the skin info class But it does not fail in Debug mode or release mode. Is this a bug somewhere or am I doing something wrong Hello, PIX seems to have problems with some of the Mesh APIs. I will look into this and try to get it fixed for a future release. Thanks, -Mike Anderson PIX Development Team ...Show All
Visual Studio Team System How do you pause a test then resume it the later without starting over
If I run a Long test and need to stop it say in the middle. I do not want to start over from the beginning again. How do I Pause/stop and hold/shut down/etc the test such that I can restart it and continue from where I stopped. I want to resume the execution from where I stopped with all comments retained from the prior run of the test so that I continue on and not have to duplicate any work. Can I save the dtate of the objects anywhere and the continue processing or anything like that thanks Aya. Hi Aya - there is no such out of the box option in VSTS that can pause tests midway. However you could stop a test run as stated here ...Show All
Visual Studio 2008 (Pre-release) POX and Sessions
Is InstanceContextMode .PerSession supported on POX bindings It looks like the service type is being instantiated per call even if the InstanceContextMode is set to PerSession Thanks for the info. I tried adding the ReliableSessionBindingElement but without success ("The underlying connection was closed: The connection was closed unexpectedly.") What I will be needing is a custom binding configuration that would allow me to send POX messages to a service that exposes the data associated with a user session..Any suggestions ...Show All
Visual Studio Team System Encoding of filles not same on server and local HDD?
Hi, Some new sprocs uploaded into TFS were in different formats so I changed the encoding on ALL the files to Windows-1252. But now, when I read the encoding programmatically, some show as UTF-16 while others show as UTF-8. This obiously results in unexpected characters..in my case spaces between each letter (\0). Does anyone have any idea why this is happening This is giving me problems in the code I'm writing to aggregate all the sprocs into one common file. Here's my code snippet if it helps... I call this code passing the name of each file that has been downloaded. string sEncoding = string.Empty; using (StreamReader sr = new StreamReader(file, true)) { String LineToWrite; while ((LineToWrite = sr.ReadLine( ...Show All
Visual Studio 2008 (Pre-release) margin with frame navigationui and application dockpanel style
Problem: Frame navigationui takes on dockpanel margin specified in application resources style and I can not figure out how to override this. As a result, the frame (with navigationui) becomes inset by the margin assigned to the dockpanel type. In a simple application layout, I've been struggling to see how to control the margin of a frame when setting navigationuivisibility="visible" WHEN DOCKPANEL has a nonzero margin specified by a style in the application resources. When i set an application style for dockpanel to a non-zero value and later include a frame with the navigationuivisibility="visible", the frame (and navigationui) automatically take on the dockpanel margin set in the application style. I woul ...Show All
Visual Studio checkout file dialog box does not show the username.
hi, I am working with vs2005 and vss 6.0.Can anyone please tell me how do i show the user name who has checked out the file in vs2005. is there any option for this in vs2005/vss6.0 thank you.. Hi Riyaz, I tried reproducing the error message you mentioned a few times but haven't had any luck. When I check out the file it shows who it is checked out (exclusive or otherwise) to. Could you please attach a detailed list of reproduction steps and a few screenshots of the process so I can help you further Thanks! Steve ...Show All
Visual Studio Team System Work Item Add/Updates Not In Reports
Whenever a new Bug or Task is entered and/or updated the change is never reflected in the reporting. It doesn’t seem to matter if I enter the bug/task from within MS Project/Excel or from within Team Suite itself; the new B ug/Task is not viewable when I run the reports in the team portal. The same things happens when I resolve/close and issue. Is there a common issue surrounding this; if not could you point me in the right direction I resolved the issue. For anyone new to the Team System and having a similar issue please refer to the following post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=453581&SiteID=1 ...Show All
Visual Studio Team System Data Compare - Next button grayed out
Trying to a Data Compare. After I select my 2 data sources, I go to the next screen where I select the tables/views. I can select all tables or select individual tables, but no matter what I do the Next button is grayed out. Clicking the Finish button just closes the wizard without doing anything. What am I doing wrong I am running the initial CTP that was distributed at Tech Ed. Thank your for the responses. Nicole I see the same thing now when I click the Finish button. It isn't clear to me what the Next button is for. ...Show All
Smart Device Development How to suspend and resart a particular thread.
In my application there are three thread runing.I have assign Name to all of them.Let Say Name are A B C Now in one of the method of thread A i want's suspend the thread B then resume it. How Can I do it Sorry, missed the fact that Read and WaitAny aren't available on .NET CF. Also, Thread.ThreadState isn't documented as being supported by .NET CF. Try the following SuspendableThread class: namespace PRI.Threading { using System.Threading; abstract class SuspendableThread { #region Data private ManualResetEvent suspendChangedEvent = new ManualResetEvent ( false ); private ManualResetEvent terminateEvent = new ManualResetEvent ( false ); private long suspended; priv ...Show All
Smart Device Development How are files stored?
I am trying to find out how files are stored on a pocketPC. Since the machine uses RAM and ROM rather than hard disks (with sectors and clusters), how is the information stored For instance, say I have a file that is 111 bytes. Does the CF use exactly what is needed or does it act like a hard drive and allocate locations that may be larger than needed to store the file If you can explain this to me or steer me to a good source of information I would be eternally grateful.(I have Googled to try to find out how memory is allocated but to no avail.) Thanks again!! CF does not store anything on it’s own, it simply uses OS services for files which uses whatever file system is on device, probably TFAT. On some devices data might be comp ...Show All
Audio and Video Development Unicode Flaw in Media Player 11
Hi. I really love Windows Media Player 11, but I have found a flaw which forces me to resort to using Windows Media Player 10 instead. After installing WMP11, I discovered that I was unable to edit tag info (right-click file, properties, summary) with unicode. I listen mainly to Chinese music and my tags are mostly in unicode format. I could copy unicode information into the tags perfectly when WMP10 was installed. However, right after installing WMP11, I noticed that if I were to copy some unicode text into the tag of a mp3 file (from a folder, not editing the tag via WMP), then after applying the settings, the unicode text that I had just copied would disappear and that field would be blank. Is there some sort of a fix for this I rem ...Show All
Visual Basic ListView and an ArrayList
I have a ListView control and an ArrayList ---------------------------------------------------------------------------------- Public filename As New ArrayList() Public pathx As New ArrayList() Public phpath As New ArrayList() Dim fx As String = Path.GetFileName(OpenFileDialog1.FileName) Dim pcx As String = ComboBox1.Text filename.Add(fx) pathx.Add(pcx) phpath.Add(OpenFileDialog1.FileName) Dim item As New ListViewItem(fx) item.SubItems.Add(pcx) ListView1.Items.Add(item) ---------------------------------------------------------------------------------- For deleting an Item I have the following code: For Each x As ListViewItem In Li ...Show All
