Marvin_ru's Q&A profile
Visual Studio Add projects to VSS
Hi, I installed VS2005 Professional Edition and Team Foundation Client to my computer, and have problem with the VSS. I selected "New Project" from the File menu and wanted to add a new project to VSS though the add to source control checkbox does not appear in the New Project dialog box. How can I add a project to VSS I can check out projects from Team Foundation Server. Thanks ! If the Source Control Check Box is missing from the Create Project it sounds like your copy of Visual Studio is configured with Source Control Plug-in = None. But if that was the case you should not be able ...Show All
Software Development for Windows Vista Hiding workflow tabs (Exceptions, events, compensation)
Hello, In the post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=160891&SiteID=1 , Vihang says to accomplish Mark's goal: Mark Doughty wrote: - Only view the "SequentialWorkflow" tab (not Exceptions, Events, Compensation). one can use the following code: _vihang wrote: protected override bool ShowSmartTag { get { return false; } } I've tried this, but it's not working for me . I've successfully overriden a few other properties like the header text and footer, but this one doesn't appear to do what's suggested i ...Show All
Software Development for Windows Vista Scalability for Hosting Multiple Instances in a Single Workflow Runtime
Hi, I would like to know the maximum number of workflow instances that a single workflow runtime can handle at the same time. Is it just dependent on the server hardware hosting the workflow runtime or there is a maximum number of workflow instances to be hosted in a single runtime. Hi Marcus, The same functionality can be achieved by adding a runtime service to the workflowruntime. The service would do the work of the "overseer" process you described. And Mike was correct about separating a long running task to a different process which notifies the workflow after the completion of long running task. Than ...Show All
Smart Device Development Applications' list on Windows CE
Hi all, Is there any way in c# to get a list of all the applications installed into the device Thanks, Moved to Smart Devices General ...Show All
Visual Studio Team System July CTP - worth installing?
I'm doing production work on Beta 2 and really don't have any specific problems. I do see the occasional crash of visual studio, and there are warts on team system here and there that I know have been fixed since beta 2. My question is - is it worth my effort to upgrade my environment to the July CTP Doing so will require backing up all my code and documents, scraping the machines down to the bare metal and re-installing from scratch (I don't want to risk a beta uninstaller not quite working). Following the rebuild I can reload my source code and documents, but I'll lose all history. So, does anyone (yet!) have ...Show All
.NET Development Is it a good idea to throw exceptions in constructors?
Hello, Are there any pitfalls involved with throwing exceptions in constructors I use C# and VS2005. Many thanks, Ben I am currently experimenting with the using statement and throwing exceptions in a constructor and think the given answer is not fully correct. - class defintion above is not the way it should be done: finalizer/destructor missing - description not complete: if exception is thrown in constructor and object is in using list then the following appears to happen: using statement terminates before entering {} all objects created before exception occurred (in using list) are correct ...Show All
Windows Forms ComboBox Changes in .NET 2.0
Hello Everybody i am using WinApp using .NET 2.0. for ComboBox there in no ListItem in .NET 2.0. I want to add Name, values to ComboBoxes manually, How to do this. any suggestions are appricated [Moved from C# Language -> Windows Forms] Jonathon's right, you can simply create you own ListItem class: public class ListItem { private string _Text; private string _Value; public ListItem( string text, string value) { _Text = text; _Value = value; } public string Text { get { return _Text; } } public string Value { get { return _Value; } } public override string ToString() { ...Show All
SQL Server Controlling PDF export filename
Folks, Our client has requested that we change the export file name (PDF and others) to match the report name. Currently, the name is based on the report's filename (eg, foo.rdl exports as foo.pdf) -- this causes problems because the same RDL is being used for a few fairly different reports. Is this controllable at all thanks, --randy If you are using the ReportViewer control, you can set the DisplayName property. This will affect the export file name and the document map root node label. If you are using direct url access to the report server, the name can't be changed. In that ...Show All
Visual Basic Compile error in hidden module: AutoExec -- Help please
Anytime I access a microsoft office program such as word or outlook, this visual basic error pops up. "Compile error in hidden module: AutoExec" It gives two options: "Ok" or "Help" - When I click Ok, I can continue to use the program - "Help" gives the following description: " Compile error in hidden module: <module name> A protected module can't be displayed. This error has the following cause and solution: There is a compilation error in the code of the specified module, but it can't be displayed because the project is protected. Unprotect the project, and then run the code again to view the error. For additional i ...Show All
Smart Device Development Synchronization SQLSRV -> PDA doesn't work
Jesus, There really isn't anyone from the SqlMobile team that frequents the forms (yet!), but if you can provide some more information I can ask them to stop by and help out. Can you post a link to the sample you are using to try this out Can you post the complete SQL statement you are using to do the filtering Neil ...Show All
Visual Studio Error Executing VSI File with Toolbox Controls
I tried to deploy a custom control in VSI file and I got the following error: Package Load Failure Package 'ToolBox Control Installer Package' has failed to load property (GUID = {36839529-3AF3-47FA-8194-F4A3FA9F0ED7}). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future You may use 'devenv /resetskippkgs' to re-enable package loading. Here is my vscontent file: < xml version="1.0" encoding="utf-8" > <VSContent xmlns=" http://schemas.microsoft.com/developer/vscontent/2005 "> <Content&g ...Show All
.NET Development any potential problems to this remoting solution?
Hi all, I have a remoting solution regarding several .NET applications at different PC. There is a multithreaded server application (windows service) installed in one PC. This app host a singleton, "never dying" remote object. There are several client apps (about 12) that resides in several other PCs. Each of these client apps has a remote proxy object reference of this server remote object. For solving the concurrency issue, the remote object hosted by the server has synchronized methods for client apps to invoke, which raises events for the server app to catch. However, as the server might want to notify some of the client app ...Show All
.NET Development Programming against Tuner card
Has anyone programmed against a tuner card (tv/fm) before I'm looking for some advice on where to start. The manufacturer is ProLink with a chipset of BT8x8, but the manufacturer doesn't have an API/SDK available, and all I have been able to find on BT8x8 is using V4L (Linux based driver/software) or other linux based alternatives. I've never really programmed directly against devices like this before, so I have no clue where to start looking. The DirectX SDK provides some of what I need, but it does not allow for controlling the actual card (flipping channels/stations, turning on/off, etc...). Any help would be greatly appreciated. ...Show All
Visual C++ Visual Studio Aborts
When I try to add a new variable from an object, the dialog appears Ok. Then I pull down the Access field and then VS Aborts. Anybody have any suggestions Please could you give us more details about what you're trying to do Which version of Visual Studio are you using What language are you using (VB, C#, C++ ) What steps are you going through to add the new variable Are you just typing in the editor, or something else (like going through a wizard) What do you see on the screen when VS aborts Do you get an error message ...Show All
Windows Forms Sluggish performance 2005 final release - Us or MS?
We have a windows application, originally developed in VS 2003, now in VS 2005 final release, using Visual Basic. It has become painfully sluggish to design in, though the speed when running the app is fine. My PC is a Pentium 4, 2.5 ghz with one meg ram. I can not tell if the problem is with us and the way we designed the solution, or if it has something to do with Microsoft and Visual Studio as a whole. I realize that you are capable of having a field day on my ignorance but hope you will resist the temptation. When opening the app it takes 3 minutes before we can actually get anything done. The Solution Explor ...Show All
