N.Raja's Q&A profile
Microsoft ISV Community Center Forums Displaying modeless userform while other workbooks are opened and closed
I tried using the following code to display a modeless userform with a "Please Wait. Do not Interrupt" message while a set of workbooks are initialized. Private Sub btnInitToolset_Click() Dim Answer As String Answer = MsgBox(prompt:="Are you sure you want to Initialize the Toolset " & vbNewLine & "All data will be lost.", Buttons:=vbYesNo + vbQuestion, Title:="Warning!") If Answer = vbNo Then Exit Sub InitW ...Show All
Visual C++ Windows services in VC Express
Hello can you create Windows Services in VC Express. Also, is there a template for these kinds of apps I believe you have to use larger editions that the express SKU to have such templates. Of course, you can create them from scratch if you want and make use of the separate PSDK headers. Thanks, Ayman Shoukry VC++ Team ...Show All
Microsoft ISV Community Center Forums SQL Server 2005 Resourse Kit exception
Hi, When i try to view any of the webcasts by clicking "play", i get the following Visual Studio just in time debugger error: An unhandled win32 exception occured in iexplore.exe[4624]. I can also see the following error in the winnt application error log. I am running winxp with sp2. Event Type: Error Event Source: Application Hang Event Category: (101) Event ID: 1002 Date: 25/08/2005 Time: 7:08:50 ...Show All
.NET Development Transferring Data between DataTables
How do I import rows from one datatable to another.Calling the ImportRow function imports the rows at the end of the datatable.I want to be able to import it at a specific index.Data is displayed using a DataGrid. I tried using InsertAt function but as I have to add one row at a time iterating thro the loop thows an Exception.(System.ArgumentException - row belongs to another table). Is this even possible. if so where do I specify the ind ...Show All
Visual Studio vs2005 install failure "Sql Server 2005 Express Edition April 2005
Attempting to install VS 2005 beta 2 on XP system. At end, got message " "Following component failed to install: Microsoft SQL Server 2005 Express Edition April CTP " What to do Should I go ahead with install of SQL Server 2005 from the next DVD Do you have an existing Beta 1 installation on that machine If you do, please try cleaning it with the clean up tool at: http://go.microsoft.com/fwlink/ linkid ...Show All
Windows Forms custom tabcontrol + tooltips
I was making a custom tabcontrol and the tabs are just drawn on the screen and simple hit testing is used to switch tabs. Now I need tooltips for the tabs. Since tooltips are centered around controls, and not rectangles, I'm not sure what to do. Should I place controls where the tabs are, or is there a way to use rectangles + tooltips I wonder how Windows.Forms.TabControl does it. Window ...Show All
SQL Server Using Yukon to get Objec
I am looking for working example (last Sql2005 version) that Insert UDT data to table (that one of the column is UDT) and client application that reading data from this table. I tried to do so, and I get error during the insert Error: --- A .NET Framework error occurred during execution of user defined routine or aggregate 'AddLot': System.ArgumentException: No mapping exists from object type System.Data.Sq ...Show All
Windows Forms Handling the Close Event
i'm using C# with the original vs .net, and i don't want the form to close when the user clicks the X in the top right corner. instead i want to handle the event and ask the user to save before closing, i know how to add a m ...Show All
Visual Studio Dynamic connection and typed dataset
Dear All, I am new to the VS.NET 2005 reporting. I am trying to develop the windows application in C# and I would like use the reporting control. 1- I need to create a database connection 2- Create a typed-dataset and drop the fields from the typed dataset into the report designer. 3- I create a new window form application with the report viewer control on the top of it and the newly created report is bound to the control. What I ...Show All
Visual Basic convert 1-dimensional double array to string array ?
How do I: convert 1-dimensional, double array to string array thanks They added a new function in VS 2005 to address this. Just use the ConvertAll function like so: Module Module1 Sub Main() Dim a() As Double = {1, 2, 3, 4} Dim b() As String = Array.ConvertAll(a, New Converter(Of Double, String)(AddressOf MyCStr)) Stop End Sub Private Function MyCStr(ByVal d As Double) As String Return CStr(d) En ...Show All
.NET Development Where gets Intellisense the descriptions of methods, properties, ...????
Is it possible to add a discription to my methods so the intellisense can display it The answer is great if: You are using C# 1.1 or .NET 2.0 Your class is within the same solution. I am using VB.NET 1.1 to access a code library that I wrote in C# 1.1. Is there a way to show Intellisense descriptions for my VB.NET code ...Show All
SQL Server xp_cmdshell: a call to 'CreateProcess' failed with error code: '5' (under SQL2005 RTM)
I get this error when trying to run xp_cmdshell. I have turned on xp_cmdshell via sp_configure and verified it is on (set to 1) by running sp_configure again. The login trying to run xp_cmdshell has sysadmin privileges. If anyone has a solution please let me know. 5 means access denied. Do you get this failure no matter what command you attempt to execute, or do you get it only for specific commands What is the ...Show All
Windows Forms Can't set focus to form
I need some help... I'm creating a windows form application that contains large data entry screens, which are using AutoScroll. I'd like for the user to be able to use their mouse wheel to scroll the page, and it seems to me I need to  ...Show All
Visual Studio A Bit More Detailed One.. Help reg. Implementation Problem
Hi, Having a query related to implementing the developed DSL as prescribed in the Walkthroughs . I m using my DSL , by adding new project item in Exp. edition(using C# Project). i also drawn some useful info for webpages. How can now i use that DSL. will it is a code generator , if so how to generate the code.. i m providing TextTemplatingGenerator in the properties and run custom tool, it is showing me some er ...Show All
Visual Studio Team System How can I check my column is exist in datagrid by using web test?
By reading some blogs, web ui testing in team system is validate the result in http layer. In this case,what is the possible way for validation I have problem on datagrid validating. Bcoz datagrid render a set of html output. How can I validate column for datagrid Thank you for your reply. I have one more quetion for step 7. " 7) One of the properties of the ValidationEventArgs class which is passed into ...Show All
