Mendelt's Q&A profile
Visual Studio Team System How to display test case number on Test results
Hi , I need a help regarding display contents of Test results avilable in Test Manager (VSTS). Actually I have some 500 Test scripts with me . If I run these scripts and see the results .I am able to see Test name, resilt, class name etc. But I want to see test number also. "ID" filed shows the full name of the test method not the test number (like 1,4). Please suggest any way to get test number on test results.. I know hot to add properties to the test method but I don't know hot display these properties on test results . Please hlp me regarding this There is no test number for a test -- just it's name and it's ID (some sor ...Show All
Visual C# Options Form
hey ppl. i was wondering how to design an options form, for example the visual studio options form have a treeview docked to left, and when u select an option the content of the right panel changes, i think each treeviewItem useits own panel and when u select the threeveiw the panel changes, but this is very hard at design time, becasue if u have many options u need many panels, and i just want to know how usually the options forms are made becase its hard to set panels position and size when u work with many of them :P mig16 You could create each option view as a separate UserControl. That would allow you t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. draw sprite doesn't work when inside VS (executable works fine)
This may be a known issue, but I haven't been able to find it anywhere... and I'm a good googler =o)... I have this code (directly taken from Microsoft) to draw a simple sprite: public Device device=null; public Microsoft.DirectX.Direct3D.Spr ite sprite=null; public Texture tex=null; public void InitGraphics() { PresentParameters p=new PresentParameters(); p.SwapEffect=SwapEffect.Discar d; p.Windowed=true; device=new Device(0, DeviceType.Hardware, this, CreateFlags.SoftwareVertexProc essing, p); sprite=new Sprite(device); tex=TextureLoader.FromFile(dev ice, "F:\\eber\\charmed2.bmp"); } public void doRender() { device.Clear(ClearFl ...Show All
SQL Server New to SQL but want's to learn!
Hi, I was wandering if anyone could please recommend a good book to learn the basics of SQL 2000 I have made connections etc to a sql db through Visual Studio but would really like to read up on the subject and get a complete grounding on the subject. And also prepare me for the exam 70-229. Many thanks, James Hi If you need to learn the exam for SQL, you are best buying the Microsoft suite of books for that exam but I can tell you this, it is not easy AT ALL. To learn SQL, its best looked at examples, reading books again and trial and error. C-sharp corner website is a good place, but also posting here i ...Show All
Visual Studio Express Editions Express registration: going crazy...
I searched the whole forum, I found 32 links with th e"activation key" None of them helped me. I just installed Web Express. I go to Help->Register Product (Many post states that there is an "Activate product" in Help. No, there is nothing like thios. It is "Register product" instead.) I get a web page, I log in with my passport. Finally I receive a web page that looks exactly like this: Thank you for registering! Your e-mail address has been verified and a "thank you" e-mail with links to valuable registration offers and resources has been sent to your inbox. And if you haven’t done so already, subscribe toda ...Show All
Visual Basic contolling a file on web site
how can i control whether the file name exists or not i want to make like that my program will check www.blabla.com/blabla.exe how can i control if theres really a file name like blabla.exe can u pls help me ITS URGENT! Thank u If you have a ftp set up for the site you can use the ftp classes to check if the file exists. ...Show All
Smart Device Development SerialPort Component IOException issue
I have a Ipaq Pocket PC. It connects to a bluetooth GPS Receiver (COM6). Whenever I try to open this COM Port using the SerialPort component I get an IOException. I have even tried listing all COM ports on the PPC, and opening each one inturn. Some work and some throw an IOException. Does anyone have a suggestion Hi carda, You will need to pair up with the bluetooth receiver before you use the serialport class. Are you able to use other programs to communicate with the receiver Cheers, Anthony Wong [MSFT] ...Show All
Visual Studio Adding code lines to a VS 2005 source code file
I need to add some code lines to an existing source code file (.cs or .vb) in VS 2005. I'm writing a VSPackage that has to do this. Which is the better way to do this - I add code lines directly in the source file as text - I get the code dom graph and I add the code lines adding instruction statement to it and then serializing it again. - other... Any hints Thanks the code dom lets visual studio worry about language syntax and positioning, but doesn't do a good job of covering things that are different between languages or new in vs '05 (for example - i haven't found a way to use t ...Show All
Visual Studio Team System Task "WITs" from Group "WorkItemTracking" failed
Hi, I have suddenly met the following error when I try to create a new team project on a B3R team foundation server : (Single server, Active Directory) TF30162: Task "WITs" from Group "WorkItemTracking" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.AddToCache(ProjectInfo project, Identity identity, String parentSid, Boolean isDelete ...Show All
Visual Basic Add combox in Datagrid 2003???
Dear Team DO you have a simple code for adding a combobox in datagid Thank you very much I have added a text file with some extra comments... The code I have sent assumes you want a databound combobox in the datagrid Let me know what you think and see if you can follow my code... ignore the bits where I build a DataTable... it's just so that you can see data in the table and comboboxes when you run the Form... ...Show All
SQL Server generate a text file from SQL Server
Hi I need to generate a text file from SQL Server. The task automatically runs daily. The format of the text file use "/" to separate the field and the row. At the end of the file, it adds number of char and uses "\". The number of char includes the data parts and excludes a few word of "the number of char". For example, The underline fonts mean the first row record. The Bold fonts mean the second row record. The Italic fonts mean the third row record. The red fonts mean the number of char and the end of file. 1/060222/008888/234/1/7441/2/BB/10000//////290025///// 1/060222/008888/234/1/7441/3/XX/100-//////290025///// 1/0602 ...Show All
Visual Basic how to declare a var in one form that can be shared from others?
Hi, I need little help on how to declare a var in one form that can be shared from others. I have this code in my form1, but my form2 cannot access the variable connString. Did I declare the scope wrong or it was on the wrong place Thanks! Public Class myForm1 Public connString as string ="Data Source=xyz..." Private Sub Button1_Click(ByVal ...) Dim frm2 As New myForm1 frm2.Show() End Sub End Class I got "Name 'connString' is not decleared." Build error. The public connString is only valid inside of the form. A public variable inside a module wil ...Show All
SQL Server Remote synchronise from PDA to SQL Server 2005
What is the best way to synch with a very large database (e.g. 40,000 products in Inventory Master) in connection oriented way and also offline mode for remote synchronizing the Data from PDA to SQL Server 2005. Kindly provide us some of the best practices on this concept. Thanks ...Show All
Visual Basic vb6 upgrade wizard error - OLE_E_CANT_BINDTOSOURCE
When I run the VB6 upgrade wizard in Visual Studio 2005 I get an error. It is not related to the application I am upgrading, because I even get the error if I run it on a "blank" vb6 app. I've re-installed, and still no luck. The entire error reads: Unexpected exception occurred during upgrade engine operation: Not able to bind to the source (Exception from HRESULT: 0x8004000A (OLE_E_CANT_BINDTOSOURCE)) Hi, Based on my research, I found a known issue, you may have a try to see if that works for you. <><><><>< ...Show All
Visual Basic Reading Registry Key
I am working on a VB.NET application that can take a computer name and connect to that computer over the server and check several of the local security policies and create a log of what policies are incorrectly set. In a nutshell, it is an automated way of going through a security checklist rather than manually looking at each policy at each computer. I am currently trying to read the "Audit Policies" such as "Audit Policy Change" etc. I found a registry key located in HKEY_LOCAL_MACHINE\Security\Policy\PolAdtEv named "(Default)" that is a hexadecimal value that represents the setting of each of the 9 audit polic ...Show All
