courtz's Q&A profile
SQL Server How to get schema name/ owner name ?
Hi, I have an application that uses SQL-DMO to list object properties. Due to user-schema separation in Sql server 2005, sql-dmo returns owner name as schema. How to get the owner name or schema name of an object using SQL-dMO Regards, Praveen SQL-DMO has been made backward compatible, and does not know the difference between a SQL Server 2000 owner-schema and a SQL Server 2005 schema. As we do not plan to expos ...Show All
Windows Forms How to make the form to repaint?
I have the form that opens another form like this: private void btn1_Click(object sender, System.EventArgs e) { do somethind 1... .............. form2.ShowDialog(); do something2....... } After the form2 gets opend and closed, my form does not get repainted immed ...Show All
Windows Forms Datetime Value in Datagrid
hi everyone... i'm using datagrid in my winform project.... some of the data that i want to display is in datetime format... the default value format that will be display in the datagrid will be (eg:26-11-2004 12:00:00 PM) how do i want to make it j ...Show All
Visual Studio Crystal Report
Hi, I have a problem to pass data set to crystal report XI's report, I have try it with Crystal Report 8.5 and its work. I used "File Definition Only" as my data source The code is like below, ReportDocument doc = new ReportDocument(); doc.Load("C:\Customer.rpt"); string cString = "Persist Security Info=False;Integrated Security=SSPI;database=no ...Show All
Windows Forms Composite Control Child Docking
Hi! I have a composite control which inherits from System.Windows.Forms.UserControl and uses ParentControlDesigner so I can use it as a container. At the top of my control I have a panel which acts as a "header" of sorts. Below the heade ...Show All
Software Development for Windows Vista How to use WorkflowStatusProperty field??
I am trying to get the status of a workflow that was started sometime in past. I have the workflow id, using which I obtain the WorkflowInstance from the workflowRuntime object. However the workflowInstance object dont expose any such field/property as WorkflowStatus. Neither does the WorkflowInstance type expose any static methods etc to retrieve workflow's status. Is there any sample illustrating usage of this field/property ...Show All
Visual C++ VC++ Express B2 not working with Platform SDK
Microsoft claims that you can write native Win32 applications with the Visual C++ 2005 Express Edition Beta 2. Microsoft claims that this can be done simply by downloading and installing the Platform SDK. Is this in fact true Are they really giving away a full-featured IDE and SDK that would allow you to build Win32 applications Let's find out... These are the EXACT steps I've gone through 3 times now to get this to work ...Show All
Visual Studio MSBuild vs NAnt
Please share your thoughts about comparison between those two Before delving into the differences, I'd like to point out that NAnt is wonderful. We love the fact that there is a lot of community involvement around NAnt and NAntContrib in enabling everyone to "build" .NET applications. We certainly expect both NAnt and MSBuild communities to interop nicely, and so yo ...Show All
Visual Studio Team System What is the best way to migrate bugs from Beta2 to Beta3
Hi there, We had started using VSTS beta2 as our bug tracking software, now that beta3 is out. I would really want to upgrade our live bug server to beta3 , for that I need to justify this change from beta2 to beta3 to higher management. Where can I find very refined list of improvements in beta3 over beta2 Also as I said since we have been using beta2, I need to migrate bugs from beta2 to bet ...Show All
Visual Studio Team System deployment of the .NET 2.0 Beta2 Framework
I really would like to use the datagridview functionality in a new application that needs to be developed by July 1. The application will only be internally used (so no third party) in our company. - Can the .NET Beta2 framework be deployed without any limitations - What are the potential risks to use the Beta2 version - I read about the go-live license. What exactly does this license include/permit - Is there already any release data anounced f ...Show All
Windows Forms How to display sub-menu items from a Toolbar dropdown button DYNAMICALLY?
Hi All, I am trying to write a toolbar to show up on IE using .NET and C#. So I have this toolbar control with a couple of dropdown button (Fruits & Add). -------------------- Add | Fruits --------------------- The dropdown buttons have a contextmenu to display some menu items when clicked (Apple under Fruits and Add Apple Type under Add – please see figures below). ...Show All
.NET Development ConnectionString
Hello, I have a connection string in my config file, that I use to connect to SQL server. But it requires the password. How can I add this sensitive data to the connection string in my application. Thank you. Place your connection string in web.config and encrypt it in place . Microsoft details it here in the section entitled "Step 3. Encrypt Your Configuration File Data" ...Show All
.NET Development HTTP status 407: Proxy Authentication Required +ISA Server
Hi, We're getting the follow exception thrown when calling our web service: System.Net.WebException: The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ). I've found this article, but the problem is we don't want to edit machine.config as a pre-req. http://support.microsoft.com/ id=307220 So does anyone know ...Show All
Windows Forms Detect SQL Servers
How do I etect all INstances of SQL Servers on my network I want to poulate a combo box with the SQL Server instance Name. Also How o I get my computer name To get your Computer Name, use SystemInformation.ComputerName. To get al ...Show All
Visual C++ VC 7.1/8 difference with templates
VC7.1 fails to compile the code below, with the error "no appropriate default constructor available", when the template qualification in red is omitted. However, VC8 does compile it. Which compiler is behaving correctly Thanks, Keith MacDonald template<typename T> class Base { public: Base(T n) : val_(n) {} T val_; }; template<typename T> class Derived : public Base<T ...Show All
