OB's Q&A profile
Visual Studio Express Editions .net framework 2.0 installation problems
I uninstalled the 2.0 beta to install the Visual Web Studio 2005 Express. That will not install. I tried to install the full 2.0 and get a 1406 error. It can't write the version # to the registry. I looked and the reg key is there, it just won't write to it. HELP Please! You will have to check the permissions of the user you are installing the system under, make sure that this user is a power us ...Show All
Visual Studio Unspecified error when doing Get Latest Version
When I do Get Latest Version from within Visual Studio on a complete solution or project I get the following error: Unexpected error encountered. Error: Unspecified error. File: vsee\lib\path\cvapipath.cpp Line number: 2459 When I do Get Latest Version on an individual source file, it works correctly. When I do Get Latest Version on a project from within the VSS client, it also works correctly. I got the following setup: Visual Studio ...Show All
Microsoft ISV Community Center Forums Problem with Applying Filter in MS Project 2003
Hello. I have problem with applying filter in MS Project 2003 using VBA. I often use FilterApply Method to filter tasks or resources. But FilterApply Method has next 4 arguments: Name , Highlight , Value1 , Value2 i.e. 2 ( TWO! ) values for using with interactive filter. But my purpose is to Apply Filter "Using Resource in Date Range... " which has 3 ( THREE!!!) values as interactive arguments: Name of Resource, Start ...Show All
Visual Studio 2008 (Pre-release) WBAs and web services
I have read that WBA applications will not support integration with web services via WCF (Indigo), at least not for release 1. I've seen mention of using ASP.NET-based web services (ASMX) instead, but no references to examples of how to do this. Is anyone aware of a simple example that demonstrates how a WBA can talk to an ASMX-based SOAP web service Thanks - that is helpful. Any idea if this also applies to ap ...Show All
Windows Forms Redirecting to a form
Hi, In my application, i have a connect form(to connect to different applications DB) which is supposed to the entry form. When i load the application, only after the connect form is enabled or selected, the other forms are to be used. If other forms are opened before the connect form is used, then the control is to be redircted to the connect form and after establishing the connection only, the other fom is to be loaded. T ...Show All
Windows Forms How can I turn off tri-state for a DataGridBoolColumn?
Hi How can i turn off tri-state for a a DataGridBoolColumn Please help thanks in advance Anzer hello i do not know if you get a solution... i had the same problem and i just find this solution to this issue define a DataGridTableStyle define datagridboolcolumn DataGridTableStyle set allownull to false and add the tablestyle to to datagrid here is my code Dim ts1 As New DataGridTableStyle ts1.MappingName = "Mynodes" ts1.Alt ...Show All
Smart Device Development Hide File
hi, could any body tell me please how to set the hidden property of a file to true using c# thanks If you mean file attributes including "Hidden", please look into FileInfo class. ...Show All
.NET Development How to protect my assembly
Assembly a.dll is used by application b.exe, while we distribute the application b.exe, a.dll is also shipped together. My question is how to prevent a.dll from abusing by other appliations than b.exe. In other words, I like to make sure a.dll can only be used by b.exe. Is there any ways to achieve this Thanks Pass a security key between the two, and hope that no-one uses reflector to find out what it is. The only way to write secure ...Show All
Visual C# label.text repetition
Is there any shortcut instead of typing the code like this. I have 300 lines like these. Any suggestion guys, thanks label1.Text = myArray[0, 0].ToString(labelFormat); label2.Text = myArray[1, 0].ToString(labelFormat); label3.Text = myArray[2, 0].ToString(labelFormat); label4.Text = myArray[3, 0].ToString(labelFormat); label5.Text = myArray[4, 0].ToString(labelFormat); --- label6.Text = myArray[0, 1].ToStri ...Show All
SQL Server How to find which stored procs and UDFs reference a column
How can I list the stored procedures and user-defined functions that reference a given column I could search ROUTINE_DEFINITION in INFORMATION_SCHEMA.ROUTINES for '%MyColumnName%' but MyColumnName is not always unique. Thanks. You can try the sql server specific system table "sysdepends". Look it up in Books Online. I am not aware of an INFORMATION SCHEMA view that will help you in determining such references. ...Show All
Visual C++ Help Me Get Started With Windows® Forms apps in C++
Im new at WindowsR Forms programming like this and im going to need to know a few things before i can continue. Im trying to make a WindowsR Forms based GUI program using 100% C++. Im using MS Visual studio 2005 Pro. Here goes: I need to know -how to execute a system call {system()}when a user clicks on a windows form -how to use EXTERNAL pictures in a PictureBox -how to make a window moving handle -how to swap windows when a LinkL ...Show All
Visual Studio Team System Migrating Team System Project from one server to another
hi, How can i migrating a Team System Project (with all the relvant data and configuration) from one server to another Take a look to this article which has links about moving between servers http://blogs.msdn.com/vstsue/archive/2006/03/22/558178.aspx ...Show All
Windows Forms Is creating form objects and disposing them better or using Activator.CreateInstance()?
I'm building an MDI application, and when user clicks various menus I want to load the child forms only if it is not loaded previously. I came up with two versions of methods to create the child form when menu is clicked. In the first version the calling method creates a Form instance, and in second version it sends Form's type. Both version work, but can experts explain which is better private void ShowChild( Form formToShow) { ...Show All
Visual Studio 2008 (Pre-release) System.ObjectDisposedException
After use SubmitChanges() in my Sql Server 2000 database, the application fails and show the next exception: Unhandled Exception: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Transaction'. How can i do to resolve this problem. I use Sql Server 2000 and Windows XP Service Pack 2 Thanks. Keith, since you asked about the source code, I get this exact same error when I ...Show All
Visual Studio Dynamically Changing ConnectionString for reports' ObjectDatasource
Suppose that there is set of servers (in my case it is only one server, but I would prefer a more general solution), each with their own set of databases. All the databases have the same structure (for example, they are all editted copies of the Northwind DB), but contain different data. How can one write the report such that it can choose which database to use based on user-specified parameters When designing a report with VS 2005 ...Show All
