nziese's Q&A profile
Visual Studio Express Editions Linking To A Web Page From Button
How do u link to a web page from a button, the web page is an .html stored on my computer. Help urgently required. Any help appreciated. thanks Process.Start will start an app. I believe it's System.Diagnostics.Process.Start nowadays. Where-ever it lives, it will start a program for you, and if you pass it a URL, it will open the URL in your default browser. ...Show All
Visual Studio Tools for Office Context-sensitive Actions pane: Odd update behavior
I have an Excel workbook that contains two named Ranges: OrderDate and ShipDate. When I select either of these cells, I want the Actions pane to display a user control that contains a label and a DateTimePicker control. I want the user control to show up in the Actions pane only when one of these cells is selected, so I have code on the ranges' Selected and Deselected event handlers to add or remove the control (see code below--SetDate is the name of the user control). The solution works fine when I put my cursor on OrderDate and then move to ShipDate. It also works fine when I move from any other cell to either OrderDate or ShipDate. The so ...Show All
Visual Studio Team System Backup you data with Team Foundation Server Beta 3
Since the documentation looks to be outdated: What are the steps to take to backup all the data within TFS3. It should be a backup of all tables (including SharePoint Services and Reporting Serves data) from SQL Server and a backup of Windows SharePoint Services. Is that it Are the attachements now stored within the database Thanks, Neno That's the version control file cache, as Bill mentioned. The version control caching proxy is both part of the server (TFS) and a standalone app that can be installed on a server at a remote location. Since it is inherently part of every TFS app tier, all installations end up with this dir ...Show All
Visual C# SqlDataAdapter from DataSet
How can I get SqlDataAdapter object associated with DataSet Good idea. I have only one table in each DataSet in this application. ...Show All
SQL Server internal parameters
When attempting to use an internal parameter, it still shows up as a parameter at the top. According to http://msdn2.microsoft.com/en-us/library/ms178770(SQL.90).aspx, internal means that it should not be visible anywhere. Does anyone else have any luck with internal parameters -Lori ...Show All
Visual Studio Team System Unable to access Team Foundation Source Control
Hi, I m using Team Foundation server Beta 3 Refresh and new to this.My project Manager created a Team Project "<TeamProj1> " who is a member of [server]Team Foundation Server administrator Group.He added me as project administrator in ,[TeamProj1] Project administrator group. I m unable to open Sourec conrtol explorer when i double click Source control in Team Explorer, getting follwing error Either source control has not been configured for this team project or you dont have permission access it.Would you like to create create the source control folder, $/<TeamProj1> When i click Yes button getting this ...Show All
Visual C++ LockFile
How can I check if the file is already open through C++ programming. I tried to use LockFile() and _lockfile() functions but they both require number of bytes to be specified. I want to lock the whole file before writing something to it or abort the operation if another instance of that file already open. Any hints and comments will be appreciated. There is no direct way to see if a file is already opened. You have to open a file with the atributes and sharing modes you want. Than you have success or not. So if you want to see if anybody has the file open. Try to open it and deny reads and writes. ...Show All
SQL Server How to bind SQL Express to a particular CPU?
Since SQL Express only runs on one CPU, is there a way to bind SQL Express to a particular CPU, or SQL Express only runs on CPU0 And in case of CPU hyperthreading, I assume that the CPU SQL Express running on will be a logical CPU, not a physical CPU, am I right Thanks for the info. I can use the dynamic binding, although it would be nice that I can specify the cpu mask during instance installation stage. This brings up another question, how the affinity mask works on different instances (different services / processes) If I specify Instance #1 on CPU0, then instance #2 on CPU1, how does it wo ...Show All
Visual Studio Team System what permissions i need at the server to create a new project from VSTS client?
I am in Namespace Administrator group but when i try to create a project from my client machine i getthe below stated exception. What can be the problem and possible solution What permission settings i have to make at WSS and RS 04/29/2005 07:16:07.977 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://tcs046247.testdom:8080/bisserver/EleadWebService.asmx " from the registration service | Completion time: 0 seconds 04/29/2005 07:16:07.977 | Module: ELeadServiceMediator | eLead web service proxy constructed | Completion time: 0 seconds 04/29/2005 07:16:08.117 | Module: ELeadServiceMediator | Template Informati ...Show All
Windows Forms Run a program in the background
How can i run a program in the background I've putted 0% oppacity but when i press alt+tab it shows that there is something running. Thanks, Guilhreme Run in the background in what way Have no UI at all Just not show up in the alt+tab display You may want to look into running it as a Windows Service or perhaps adding a NotifyIcon (so as to give the user some way to get to your running app) and hiding any forms that are visible (even when at 0% oppacity) with their Hide() method. ...Show All
Visual C# Activating shortcuts
hello anyone knows how can i Activate shortcut keys in vs 2005 for example Ctrl + E + C marks selected code as comments at my work, but at home it does nothing. anyone can help thanks From the main window, choose "Customize" from the main "Tools" menu. This brings up a diaog with a "Keyboard" button in the lower left corner. Select this and you can make a wide range of shortcut customizations. ...Show All
Visual C# What's wrong with my word.application in multithreads?
I wrote an own-defined threadpool and used waitcallback to delegate a function in each thread in pool. But there are some problems with the program: when I run the program, it gave no response and I can see the "winword.exe" process in the task manager, no exception occurred. The problem seemed to be at running this statement: Word.Application msWord = new Word.ApplicationClass(); Although I knew the word.application is automation and STA-based and had set the threads as STA, the problem was still on. What can I do now PLS help me. Any suggestion available would be great. ...Show All
Visual C++ Another output question
What is the output of the following: void ProductofNumbers (int, int&, int&) void main () { int x, y, twonumbers; x = 7; y = 9; twonumbers = 0; ProductofNumbers (x, y, twonumbers); cout << x << " " << y << " " << twonumbers << endl; ProductofNumbers (x, y, twonumbers) ...Show All
SQL Server Scheduled Database Backup for MS SQL Server 2000
I've been trying to make our server to schedully create a backup for our database. The problem is when I'm done with the scheduling and click 'OK', I again open "database">>all task>> back up, all the properties which I entered are all gone. ...Show All
Visual C++ R6034 from vanilla setup ?
I have delayed using Visual Studio 2005 until now because I didn't want to switch in the middle of a big project. I have a completely vanilla setup using every default option. My executable has two user-written DLLS. My first attempt at running in the debug mode raised this familiar error. I checked the properties and it is creating a manifest file and is embedding a manifest file (apparently the defaults). Why do I get a message about attempting to load the C Runtime library without a manifest I did try several solutions from reading different approaches such as copying the Microsoft.VC80.DebugCRT folder to the same folder that contains th ...Show All
