chandraM's Q&A profile
SQL Server How to hide query result pane in query editor
In SQL 2000 Query analyzer, we can toggle a button to show/hide the result pane. It's really helpful if the script file is pretty big. In 2005 SSMS, does anyone know how to do this I cannot figure it out. Thanks in advance. It's under the Window menu when you have a query open. I've added it back to the toolbar in my setup where it belongs. I find it odd how in many cases MS has put a lot of gu ...Show All
Visual Studio 2008 (Pre-release) loadbaml/xaml: where do things stand?
hi all, I need to load dynamic content into my canvas. Application.LoadComponent seems not to be an option, because the content is created separately from the loading app. If loading baml is faster than loading xaml, I'd much rather use the binary format. What are my options, what is the recommended way and is there a clear tested C# code snippet for doing this (thanx etc.) Hi dfl.. If you’re going to dynamically load xaml, check this ...Show All
Visual C++ C++ MFC Project will not generate files. Vis. Studio 2005, Std. Edition
Hello... I loaded Visual Studio 2005, Standard Edition. I'm running Windows XP, SP2. I can build C# projects successfully but can NOT build C++ projects successfully. One symptom is an empty MFC project. I get folders but no generated files or classes. Any ideas as to what the problem might be I'm trying a reload sometime soon. Thanks. CFMtch Did you verify the C++ files are checked during ...Show All
Visual C++ Problem with IHTMLDocument2
Im using vs 2005 I craeted SDI app with the wizard the view based on the CHTMLView class next I added a class from Typelib "Microsoft Html Object Library" but when I include "CHtmlDocument2.h" in my view class and compiling I get more than 100 errors. I did it in my 2003 version lot of times and there were no problems at all. am I missing something new here well, I compared the file CHtmlDocument2.h create ...Show All
Software Development for Windows Vista Workflow Designer Rules Support
Hi, I'm in the process of trying to setup a demonstration application which shows an example of workflow and rules management. I need to basically setup a workflow, set some properties, then run the workflow from the designer. Part of this demo include the use of an IfElse activity and a Policy activity which link with the rules engine portions. I've trundled through the examples and the current samples get things about 75% of the way there, an ...Show All
Smart Device Development How to Do C/C++ Development for WinCE 5.0?
How do I create a C/C++ project for our WinCE 5.0 device I don't see our SDK when I run the new project wizard. Dale Larson Johnson Controls, Inc Dale, Can you please share how you fixed this. I think I am having the same issue. WinCE 5.0 SDK's produced by Platfrom Builder are not showing in VS2005 as a platform to target. Thanks. -Jim. ...Show All
Windows Forms bind arraylist with CheckedListBox
Hi, I have an arraylist "AList" that I want to bind with a checked list box CLBProduct, how can I do it I get arraylist as a returned object from a function call, and arraylist contents look like this "Product1" "Product2" "Product3 ...Show All
.NET Development Passing Variables between forms.
I'm working on a game for school, need to declare a global variable and have every other form in the project be able to grab the value of that variable and alter or display it as nessecary. This should be a walk in the park. . . . but not for me. hahaha! Can anyone help Problem Solved! Met up with a programmer friend today. Joy! lol Created a module (only had forms in the project previously) and entered the following line: Public Sco ...Show All
Visual J# vjsresgen & pre-build event
Hi; I wanted to make a prebuild event like this: vjsresgen "/out:$(ProjectDir)jsResources.resx" "$(ProjectDir)resources\*.properties" But that creates the following in the resx file: <data name="c:\src\wrDotNet\WindwardReports\resources\resources.properties" type="System.Byte[], mscorlib"> Where I need: <data name="resources.properties" type="System.Byte[], mscorlib"> Is there any way around this thanks - dave Hi, One option wo ...Show All
Visual Studio Team System Every thing is "Added Later" in the report Unplanned Work
When I look at the report Unplanned Work I see a graph only containing "Added Later" figures. How come every thing is Unplanned Work How does TFS keep track of what is planned and what isn't This report doesn't make any sense for me as it is right now. I'm using TFS Beta 3 Refresh with The MSF for Agile Software Development (build 98) and Visual Studio 2005 RTM. Thanks , Kristofer Hi Kr ...Show All
Windows Forms Label Font.Size
I am placing a label onto a form programically... Label objId; objId = new Label(); objId.BackColor = Color.Transparent; objId.ForeColor = Color.Blue; // objId.Font.Size = 22; //Read Only objId.Text = "TEST"; pictureBox1.Controls.Add(objId); I can't seem to find the right way to simply change the font size. Thanks, Zath Thanks! Never had to change the font prog ...Show All
.NET Development getting a connection string from a text file
Hi I have created a small data access app. I want to pull the connection string for the SQL database from a text file. But I am getting it a bit wrong can anyone help at all Dim connStr As String = "" Dim SqlConnection1 As SqlConnection = New SqlConnection Dim sr As New StreamReader("C:\Program Files\MDM\ScanViewSetUp\ConnectionString.txt") connStr = sr.ReadLine() SqlConnection1 = connStr ...Show All
Smart Device Development Deployment error...
Hello; I'm writing a program with VS 2003 but when I start deploying to the device, I receive this error: "Error: Cannot establish a connection. Be sure the device is physically connected to the development computer." Although the device is connected with Async,VS2003 gives this error. How can I solve this... May you help me pls... Thanks in advance. a) Which version of Active Sync are you using Please, ...Show All
.NET Development How to implement transactions using tableadapters?
The old dataadapter had a transaction object which you could assign to a .NET SQLtransaction. This made transaction handling very simple. What is the equivalent (or similar) method for handling transactions using tableadapters I'm using the table adapters generated by the data designer. dataadapter has no transaction property which can be assigned to a sqltransaction. You could use System.Transactions. ...Show All
SQL Server Virtual Memory best practices with SQL 2005?
After having my newly installed SQL 2005 instance lock-out all connections due to an Out of Memory error during a data transformation, I decided to start looking into memory config options. (Please consider I'm primarily a SQL developer who was selected as the DBA and therefore has to manage a Windows 2003 server as well.) In my case, the SQL memory settings looked fine but Windows 2003 Server had a fixed maximum on virtual memory of 2Gig on ...Show All
