Krishna Samaga's Q&A profile
Visual Basic Mixed data type in a Mulicolumn listbox
How do I store an object and the object.text in two separate columns in the same row of a listbox I want to make one listbox column visible and one hidden. Why do you need two columns then if you making one invisible. The following simply adds objects to a listbox. As long as you override the tostring property this is what will show in the listbox but underlying the item is the object which you can cast to and then use the properties ...Show All
Visual Basic Getting the connection string for a project
I'd like to set a string variable to the connection string for a project. I've seen the build connection string module/function and tried to use it but it's hopelessly complex for what I want. I just want the string. Is there an easier way Hello. I'm not sure whether you're trying to figure out how to build the connection string or to query an existing one. For information on building a connection ...Show All
Visual C++ MSBuild in x64 environment with vcproj
Hello, With a quick search in the MSDN, I did not find the issue I am having. If this is already discussed, I apologize. I just got the latest VS2005, and tried to build 64 bit. It fails to build with MSbuild from command line. I have played just short time, and started with very basic. Still I am not successful. I am using VS2005 version is 8.0.50727.42 Here is the very basic scenario. I have created a new blank project "hello", my default ...Show All
SQL Server Where the best practices for SSIS packages document is?
Dear gurus, I've got this one for Sql2k http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnsql2k/html/sql_busintbpwithdts.asp Any help or link would be welcomed, I've published my own ideas about this here: http://blogs.conchango.com/jamiethomson/archive/2006/01/05/2554.aspx Note these are my own opinions so you can take them or leave them as you please. -Jamie ...Show All
SQL Server Hierarchical table Functions Vs Hierarchical CTE
Recently I was in need of a hierarchical tree data. I learned about CTE and how they can be used to build hierarchical data with simple syntax. I used CTE and was through with the task. Later during free time, I tried to compare CTE approach with the traditional SQL 2K Table Function approach. It was surprising to see the query costs when I ran both the modes at one go... Query Cost (relative to batch) : 0.49% Query Text : Select * From fn_ ...Show All
Smart Device Development Directory.Exists not reliable?
My code basically steps through a loop, creates directories if not already exist and saves files into the directories and the root path is "Storage Card", which is a shared folder set in the Pocket PC 2003 emulator the loop goes fine for a few rounds, directories and files are created and stored correctly; then fails at this point( the CreateDirectory call below ) if( ! Directory.Exists( dirPath ) ) { Directory.Crea ...Show All
SQL Server populating a calendar table Newbie question
Hello evryone first post of many ........probably. Happy new year to you all! Ok down to business........... i am in the process of creating a calendar table for a DW and need to create somthing called a scheme quarter. Basically what i want is for Q1 to start at july 2001 and increment from there. it will also not reset the number after Q4 ie April 2005 would be Q18. I am looking for a way to do this w ...Show All
Visual C# Not able to do spell checking through MS-Word with their Language setting
Hi, I am not getting perfect syntax for spellcheck through MS Word in my windows based VB.net application. its good if you give me suggession in C# also. I am getting synonyms but not able to get spell check syntax (language selection) I am sending you my Code below Private Sub Button25_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button25.Click Dim word As Word.Application Dim doc As W ...Show All
SQL Server service broker error : Connection handshake failed
When I configure SSB in two machine to send message, I get a error message in target machine SQLProfiler: "Connection handshake failed. There is already an existing connection with the same peer and this connection lost the arbitration. State 80." Then I get another message "This message could not be delivered because it is a duplicate.", but I am sure the configuration of routes is r ...Show All
Visual Studio Inserting proceedures using the Code Model
I have an addin that I want to be able to insert handlers for the click event of buttons. I found a sample that uses the code model to insert a function, but there are 2 important parts i have not been able to locate. The first is, where can i specify the parameter to the proceedure that is being made the second is, how can i add the "handles label1.click" at the end I know this can also be done with the TextSelection.Insert directly, but using ...Show All
Software Development for Windows Vista Deploying WWF Beta 2...
Hi, I've got a problem - my workflows work on the development pc but not on the production server. I'm using WWF Beta 2, both machines are in a very similar hardware configuration. The error message that i'm getting is: "Cannot create more than one WorkflowRuntime per AppDomain". The way that i'm creating WorkflowRuntime object is as follows: public WorkflowRuntime WFRuntime { get { if (_runtime == null ...Show All
Windows Forms How to check whether up/down button was clicked on the NumericUpdown Control...
Hi Friends, I would like to know that how to check whether up/down button was clicked on the NumericUpDown Control in .NET 2005. Any help would be greatly appreciated. With warm regards, KEDAR There isn't an easy way to know specifically when a button is clicked. Remember that the number can change any number of ways - clicking the button is only one. Depending on what you are trying to do, h ...Show All
Visual Studio Using an object as input to the CR Designer and runtime
I just succeeded in getting my first CR .rpt file built with the ADO.Net Dataset designer resulting in a nice tabular report at runtime (passing an ADO.Net dataset, rendering it as a PDF report, etc). Now I need to find out how to fill out the Report Header and Page Header sections. At runtime, most all of the information I need for these sections is available to me in the Request.Form object. Are there any good examples of how to mod ...Show All
Visual Studio 2008 (Pre-release) Superscript not working in Nov/Dec CTPs
I have tried the new way to display superscript, but it's not working. For example, ax < Span Typography.Variants = " Superscript " > 2 </ Span > + bx + c = 0 it's not displaying 2 as superscript but as a regular text ...Show All
Visual C# about properties of From control, reaplace default icon
I am learning vc#, have a question about Form control As title said, I created a microsoft windows application project in VS 2005 (Chinese S), and I want to replace the default Form's icon. I have found properties window and icon property. I have changed the value of icon to using my icon, and built the project, but application window doesn't show my icon and aslo doesn't show default icon, the icon change to one like a text icon. w ...Show All
