KamranAmin's Q&A profile
Visual Basic Visual Basic Word Tables
How do you select a row of cells in a word table and merge them ...Show All
.NET Development Create new DataTable as a subset of existing DataTable?
How do I create a new data table as a subset of an existing data table I know I can use the .Select("Where Clause"), but that returns a array of rows. How do I convert the array of rows back to a new data table Yes, DataView.ToTable does work, but how do you get a typed datatable out of it ...Show All
Visual Studio Team System Can we ignore files from source control ?
Hello All ! I'm now having a solution with several DLLs and a web site for which I generate the xml documentation file. By default, when I build all the xml fils are built in the bin folder and are added to the source control. Personnaly, I think that these files should not be in the source control and so I was manually doing an "Undo Pending Changes" on each of these files. Two questions : Is there a way to say to the s ...Show All
.NET Development HttpWebRequest.GetResponse(); Performance issue.
This call is very slow in being called... First time I call it, the method will return in 4 - 5 seconds. The website is fast and has minimal content to return. If I run it again quickly the GetResponse runs very quick.. If I wait about 5 seconds after the last invocation, the call reverts back to being slow again.. Caching issues Any on from Ms willing to help out here Thanks in advance. checked ...Show All
SQL Server Managing Database Mail using Microsoft.SqlServer.Management.Smo.Mail managed classes
I'm trying (or, more precisely, failing) to configure Database Mail from managed code using the classes in the Microsoft.SqlServer.Management.Smo.Mail namespace. I can easily retrieve the SqlMail object and create a new MailAccount instance but I can't figure out how to set the name of the mail server. Once the MailAccount is created, the MailAccount.MailServers property returns a single MailServer instance and this is always configured as the l ...Show All
Windows Forms Taking Data and Posting Data to Excel
Dear All, I have to start to migrating my project from VB to VB.Net or C#.Net. For this I need to collect informatin regarding Taking Data from Excel Sheet and Porting Data to an Excel Sheet. I need techniques for Porting data to Excel Sheet from a DataGrid. The 3 methods that I have recognised are as follows: (1) Running the Whole Page again and displaying the data in Excel (2) Taking the Data from the Recordset and porting it to ...Show All
Architecture Microsoft DataWarehouse String Resource Tool in Enterprise Library
Hi, I notice that the Caching Application Block in Enterprise Library uses Microsoft DataWarehouse String Resource Tool to deal with strings. The tool simplifies the way we deal with lots of strings constants. I am wondering if that tool is publicly available. Thanks. visit < http://www.gotdotnet.com/codegallery/codegallery.aspx id=295a464a-6072-4e25-94e2-91be63527327 > and search for "strin ...Show All
Visual Basic how to get the column name from recordset?
actually it's just a simple task. i need to get the column name from table in active sheet to another sheet. i've done with getting data from external file (from Ms Access to Ms Excel), and copy the data into spreadsheet. now i want to make chart based on parameters choosen bt the user. In order to provide the user interface to choose parameters, i need to get the column name. should i get it from the recordset before i copy the data into ...Show All
Windows Forms Disable input to controls on a form without disabling?
Is there a way I prevent user input (mouse and key events) for a control (or all controls on a panel) without disabling it I have a smart client application where accesses to the server are done on background threads. To prevent new interaction with the controls until the running access is done, I want to prevent new events. When disabling the panel all controls "blink" in a rather anoying way (when they are greyed out and then enabled). Instead ...Show All
Visual FoxPro How to insert images(pictures) into RTF control???
I am not able to insert a picture in RTF control. I am using following code: thisform.rtfcontrol.oleobjects.add(,,"mypicture.gif","paint.picture") When I execute this command a picture viewer appears. When I close it a object with a title "mypicture.gif" appears in the RTF control. I want to see a picture not a name of the file without loading a picture viewer window. Thanks a lot. You are going about ...Show All
Visual Studio applying smart indentation rules
Hi, I have been facing a problem regarding the implementation of smart indentation rules in my custom language service. i am not able to find out which interface should i implement and where should i write my rules. Please help me with the process. Thanks in advance.. Jimmy, Have you tried implementing the IVsLanguageLineIndent interface (in textmgr2.idl if you are using native code or Microsoft.VisualStudio.TextMa ...Show All
Visual Studio Problem with AppDomain in an VS2005 add-in.
I'm developing a VS2005 plugin that would allow user to right-click on a project and choose "Synchronize with toolbox" to put all controls containing in that project to a toolbox. In order to do it, the plugin compiles the project, loads compiled assembly, iterates through all types in it and puts controls into a toolbox. It works fine, but at the end of this excersise the assembly gets loaded into VS2005 process space, which prevents the studio ...Show All
Visual Studio Team System the request failed with http status 404
when I tried to open the team explorer I got the following error the request failed with http status 404 Could you provide more information Was this Beta 3 A single or dual server install Did you follow the TFS Installation Guide ...Show All
Visual C++ Buliding BaseClasses in .net2003
How can I build the base Class Library. I’m a C++ newbie, and I don’t know how to build it in Visual C++ of the .NET 2003. Thanks a lot! I have to build BaseClasses to generate "Strmbase.lib" and "Strmbasd.lib". In the BaseClasses folder I have *.cpp and *.h files and a makefile. I don’t know how to build the project using "makefile" Thanks ...Show All
Visual Studio Team System Unit Test Throws Exception
I'm attempting to learn how to use unit tests. However I have never experienced this type of error before and what it means. "Not Runnable GetNameTest TestProject1 Error while setting custom property UrlToTestAttribute: The type initializer for 'Microsoft.VisualStudio.TestTools.TestCaseManagement.UnitTestUpdates' threw an exception." The test method is as follows: /// <summary> /// A test for GetName () ///</summar ...Show All
