createdbyx's Q&A profile
Visual Studio Team System 'Custom' parameters in queries
Hello, Is there a way to add a custom parameter to a query so it will be prompted to the user when he/she double-click the query to open it. To give you more details, we are looking for creating a query that will accept a list of work item IDs and return all the issues that matches these IDs. A convenient way will be for us to specify this kind of condition when building the query: ... And ID In @myIDList ... We tried that, but it seems to be not supported. Thanks for your help, Gaetano. OK. Any chance you will add this feature in a future release I will vote for it if this is the case. Thanks, Gaetano. ...Show All
.NET Development DataTable.ImportRow question
Hi, I have a question about the .NET DataTable.ImportRow method. If I import a DataRow into an empty DataTable, will the empty DataTable pick up the schema of the DataRow I'm trying to put into it For example, I have code that looks like this: DataTable tableWithData; DataTable emptyTable = new DataTable(); emptyTable.ImportRow(tableWithData.Rows[0]); If I call tableWithData.Columns.Count, I get 5. If I call emptyTable.Columns.Count before calling ImportRow, I get 0, which is what I expect from the DataTable constructor with no arguments... But when I call emptyTable.Columns.Count after calling ImportRow, I still get 0. And just to make sure that a DataRow is being imported, calling emptyTable.Rows.Count after the ImportRow stat ...Show All
Windows Forms Adding icon inside TextBox
How to add icon inside textbox Thanks the following article might be useful http://www.vbaccelerator.com/home/NET/Code/Controls/ListBox_and_ComboBox/TextBox_Icon/article.asp ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multiuser games?
Just curious... but has anyone used XNA/C# to develop MOG's or even MMOG's AndyL wrote: Back on topic - the performance of a MMORPG server is all about architecture and nothing about raw language performance. If you have the skill set to design such a system, and the time, it could be implemented equally well in C++, C# or Java. But you have to understand how to build a system that scales well across 50 to 100 servers if you are going to emulate something like Everquest. Agreed completely - just look at Second Life - they have their own interpreted language that is used for the server-side scripting of every object in the game world! I'm interested in that kind of stuff, so I found this video particularly ...Show All
Visual Basic Automatic Namespace generation in VB
I've just finished a dll written in VB. I've never bothered with namespaces much until now, but this is a bit complex, so I've arranged it into sub-folders, with a top-level class, a few sub-classes (and base classes), and other classes that hang off some of the sub-classes. Every class has the same "Namespace Handler" around it. Looks garbage in the object viewer - every class is under the root namespace. When using the object however, it looks fine, i.e. you only see the correct sub-sub-classes hanging off the correct sub-classes, etc. However, one of my colleagues who talks C# had a look at my code, and commented that my namespaces were not declared properly, then we discovered that when coding in C#, the namespace line wer ...Show All
Visual Studio Express Editions concerning media player
renee where do I post pause button code btpause.Text = "pause" btpause.ForeColor = Color.Beige ps.....these two lines have to be copied into the play and stop button events ...Show All
Visual C# w3wp.exe process greyed out
I'm currently using windows server 2003 with visual studio 2005 installed on it. When I hit debug--> attach and then go through my process list, the w3wp.exe processes on my machine (web processes) are greyed out and I can't attach to them. I'm not sure what causes this behavior. I recently joined the computer to a domain, but it did happen once before that and seemed to go away on its own. What causes a process to be greyed out Thanks for any help. ...Show All
Smart Device Development Displaying a picture with Transparent Background
Dear ppl, I have a .bmp picture with transparent background..but when i display it on the form using a picture box, the area that should suppose to be transparent is being displayed as the background color of the picture box. Even if i set the picture box background color to transparent , it doesn't make any difference. So I created a user control and override the onpaint() method to draw the picture using the imageAttribute SetKeyColor() method, but that is not working as well....what is happening is the picture is being displayed properly with transparent area not being displayed, instead the transparent area is being painted as the backcolor of the usercontrol...even if i set the back color of the usercontrol to transparent it ...Show All
Visual Basic search string and return the following six characters.
How would I best click a button and display the six characters that follow a specific part in a string. i would like to display in a label. for example search the above state ment for "button and " then return "display" to a label in the form. Thanks in advance!! string into double: Dim theDoubleValue as Double if Double .TryParse( StringValue , theDoubleValue) = True then 'Successful conversion, the value will now be stored in theDoubleValue end if TryParse will do exactly as it says, it will try to parse the string variable given into a double, storing the result in the double parameter given "theDoubleValue" if i ...Show All
Visual Studio Generating a chm help file from Javascript source code comments
I’m wondering if you could suggest some tool that we could use to generate CHM files from Javascript (AJAX-style) source code. I’ve been using JSDoc so far, but the output isn’t very nice (it looks exactly like the output from javadoc), and it’s not customizable. I was trying to get some more information on Microsoft’s HTML Help Workshop ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/htmlhelp/html/hwMicrosoftHTMLHelpDownloads.asp ), but none of the files in HelpDocs.zip from that page seem to work. Microsoft’s Sandcastle also seems promising, though it seems geared towards .net development, with little mention of javascript. Hi, Do you know if there is already a tool that can help us generate a do ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Spacewar not working correctly
Hi, I've downloaded all the necessary components and was playing around with the Spacewar starter kit. I can launch the game but it seems like it's missing a lot of the objects. For example when I start the game I can hear the ship moving around, but I can's see it. Only the jets are visible. Also the background is not visible. The only thing that I can see is the score, the time and a couple graphics in the corners of the screen. The rest is black. Doesn't matter if I start the game in retro mode or not. Am I missing something Thanks. LOL... my gfx card is soooo old I had to wind back the 24 bit depth stencil to 16 bit and comment out the lines referencing the reflection texture cubes before I could eve ...Show All
Visual Studio Team System Unable to download Visual Studio Team Suite, 180-day trial version
Hi all, I am trying to download the 180-day trial version of Visual Studio Team Suite. What I got was a 1KB file: En_vs_2005_vsts_180_trial.img! Could anyone help me with this Thank you very much David Phung The correct download location is: http://www.microsoft.com/downloads/details.aspx FamilyId=5677DDC4-5035-401F-95C3-CC6F46F6D8F7&displaylang=en . I just downloaded this and confirmed that it works for me. Perhaps you can try again. I would also recommend using a download manager like www.freedownloadmanager.org which can speed up your downloads and auto-resume in the event that your connection is dropped. Brian Keller ...Show All
.NET Development Trouble Receiving Arrays from COM Server - whose arg are VARIANT* (using VBNet)
In managed .NET object Browser shows the function from the COM servers as Function ATempArray(ByVal str As String, ByRef tmpArray As Object, ByRef sArray As Object) Using oleview.exe to look at the type library for that function it shows long ATempArray(BSTR str, VARIANT* tmpArray, VARIANT* sArray) I can make this COM method operate correctly from VB6 as follows Dim TArray As Variant Dim StateArray As Variant Dim ArrayLength,ArraySize As Long ArrayLength = coCls.ArrayLen("ar01") ReDim TArray(ArrayLength) As Single ReDim StateArray(ArrayLength) As Integer ArraySize = coCls.ATempArray("ar01", TArray, StateArray) I do not know how to inter-operate with this unmanaged method from .NET ...Show All
SQL Server Show table create date AND TIME for tables in a database?
Is there a way to change the info displayed when working with tables in a database I'm really, really, _REALLY_ missing the timestamp component on in the "Created" column and would like to have it back if possible. Seems like it is there behind the scenes, but just isn't displayed. Did I miss a date format option setting somewhere Thanks for any assists Rob Hi, do you mean when a table was created That would be: SELECT name , crdate FROM sysobjects WHERE name = 'ErrorLog' Displaying when a rows was inserted you would have to create a default value on a column defining the GETDATE() as a default value. (...) InsertedAt DATETIME DEFAULT GETDAT ...Show All
Visual Studio Express Editions Datagridview Comboboxes
I have been searching for info about dtatgridview dropdowncomboboxes. I have found all the needed info except how to display info that is available in the dropdown. For example in a list with 5 items say Item1, Item2, Item3, Item4, and Item5 there would be a selection into the database of various members of this list. If it was a textbox column displaying them would be easy, how do I do the same with a combo box This is probably an easy question but I am stumped. Mike Are you wanting to know how to populate the data items from the database into a dropdown list if so... Take a look at this reply of mine: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=549622&SiteID=1 More ...Show All
