Niclas S's Q&A profile
Visual Studio Team System Search Work Items in VSTS
Is it just me, or does the lack of a Search feature in Team Explorer make it extremely cumbersome to use We have been using VSTS since Beta 2 to manage and track our projects. Of course, the number of Work Items has been steadily increasing over time, and we now have over 1500 Work Items (Task, Bugs, Risks, QoS Reqs, etc...). With so many Work Items, finding a specific Bug/Task/whatever is a tedious process. Since there ...Show All
Visual Basic How to create .exe that can accept extra command line parameters?
I'm learning to create a simple a first-person shooting game. How to make the .exe that can accept parameters Forexample, game.exe -a. Thank you. Start your program from sub main like this: Public Sub Main(byval args() as string) ...Parse command line args here... end Sub ...Show All
Visual Basic how to integrate multiple forms and a module
I am trying to create a pointless program where you can log in and then you can play a game or add a user. I am having trouble getting one variable to be the same on both forms...do i need to use a module if so how do i use a module Much appreciated, Hi, You can use a module to do that. Use menu Project | Add Module to add a new module. This article may help: http://msdn2.microsoft.com/en-us/library/aaxss7da.aspx . Best regards, ...Show All
.NET Development Retreiving ClickOnce Published Version Number
I would like to retreive the Last or Next ClickOnce Published Version Number at run time. Is this Possible If so how VB Only Please. Framework 2 In System.Deployment.dll there's an ApplicationDeployment class whic exposes the current version: ApplicationDeployment.CurrentDeployment.CurrentVersion There's also an UpdatedVersion property you can look at. -Shawn ...Show All
Visual Basic Running an external application
Hi All: I want to program a button's click event to run a Windows batch program. Is this "legal" If so, could you either provide me with an example or point me to where I can find some documentation on this. If not, please tell me how this little feat can be accomplished elegantly. Thanks. Thanks for running the code for me, David. It turned out I did have a problem in the definiti ...Show All
Visual J# Tooltip and Change Backround
How to make the toolip for example on button, then you are on button , it shows tooltip. and one more qestion How to change main form image by pressing for example button. You push the button, and the backround image changes. How to programme that about tootip. hmm but i don't need to create new button, i need to make it for already created button, so what now and there exactly i need write it, in that event and about changing bac ...Show All
SQL Server Connect to SQLExpress via Internet with Windows Authentication?
I posted this message on Google but never received an answer so I thought I would try here. Is it possible to connect to SQLExpress over the Internet (TCP/IP) using Windows Authentication I can connect using SQL Authentication but the client would rather use Windows Authentication to avoid manageing another set of user names and passwords. I have tried connecting with a workstation using cached credentials but I just receive an error &quo ...Show All
Visual C++ how to get errors for nonstandard ISO c++?
As I understand it, "for each" (as opposed to for_each() from STL) is not allowed in standard ISO C++, it's part of the new C++/CLI standard instead. So if I take the program below, it doesn't compile in Cormeau's compiler. However, it compiles in VC2005 even if I use /Za and do not use /clr. My question is, how can I prevent the compiler allowing new constructs like this My friend's compiler doesn't compile them! What switch am ...Show All
Software Development for Windows Vista embedded rule file with spaces in the filename
Hello, When I compile (coded version) the workflow with rules I get a compilation error when the rules filname contain white spaces. The format of the CompilerOptions is as following string resources = @"/resource:" + rulesFile + ",NS.Foo.rules"; parameters.CompilerOptions += resources; if rules file has the format "C:\TestWF\Foo.rules" it works fine, if the filename is "C:\Test WF\Foo.rules" I get a ...Show All
Microsoft ISV Community Center Forums Problem Programmatically adding treeview in Excel 2000
I am trying to dynamically add a TreeView control to an Excel 2000 worksheet. This is added in response to clicking a button. The control appears to be disabled. It has the nodes that I added, but appears in a smaller font than I had specified. To enable the control I seem to need to go into design mode and then exit design mode, at which point the control becomes enabled. Similarly, if I programmatically select another worksheet and then res ...Show All
Windows Forms BackColor Property for TabControl
Wouldn't it be nice if THIS property worked You're exactly right. I do understand that I have the option of using the paint, GDI, or graphics but the precision required to make it look good is higher than my abilities or pati ...Show All
Visual C# textbox test always highlighted on window open
I have a help non-modal dialog that just displays a text message in a textbox. The textbox is the only component in the form. The problem is that when the dialog is displayed, all the text in the textbox is selected / highlighted. I have tried calling deselectAll on the textbox in the constructor and in the load and visible changed methods with no change. How do I get rid of the selection Correct. I don' ...Show All
Visual Studio Team System Using the SummaryResults.xsd for a Generic Test
The documentation on Generic Test talks about generating a class out of the schema file called SummaryResults.xsd for merging the results from an external executable and show them as part of the result in the Summary Page of the Test Result. But I am unable to locate the file in the folder specified (Common7\IDE\PrivateAssemblies), is it available in a different location the documentation link is @ http://msdn2.microsoft.com/en-us/library/ms2431 ...Show All
Visual Studio Express Editions Problems Installing C# and Visual Basic 2005 Express Edition
I'm trying to install manuallly the two products in subject with no success. I downloaded the ISO images as specifyied in http://msdn.microsoft.com/vstudio/express/support/install/ , then I extracted files using IsoBurner but, when I run setup.exe, after a few seconds appears the message: "A problem has encountered while loading setup components. Cancelling setup". I installed Visual Web Developer 2005 Express Edition ...Show All
Visual Basic Find the last item selected in a MultiSimple listbox...
I'm trying to find a way to determine which item was selected last in a listbox with a MultiSimple selectionmode. I'm currently doing it using a mouse point in the mousedown event, but I'd like to find a way to do it in either the listbox's click event or the listbox's selectedIndexChanged event. I'm trying to make a listbox select either "ALL" OR some. Any suggestions on how to do this or another way to do it will be apprecitated. ...Show All
