Karthikeyan Mahadevan's Q&A profile
.NET Development Zip files in c#
Hi, Does anyone know of a way to zip files in c#. I tried using sharplib but the compression utility that comes with XP is not able to unzip the files. I need a format that can be unzipped by this and most other compression tools since I am not sure exactly what my users will be using to unzip the files. Thanks in advance stax0711 wrote: I wonder how hard it is to zip/unzip a folder using Sytem.IO.C ...Show All
Windows Forms overriding datagrid delete
Hey, Easy question.... How do I override the base event for a datagrid row deletion All I really want to do is prompt the person to confirm the deletion. Thanks, Steven Tate You'd need to deal with the underlying data source to do&nbs ...Show All
Windows Forms Dialog Box making
Hi, I have a custom dialog box in my software which shows the list of few thing in list view when a user double click it should return the Value to the Calling form like an inputbox. Now how can i make a custome dialog box with ...Show All
Windows Forms Data binding non datagrid in VB.NET
Ok, Maybe I'm trippin’ but it seems to me that all the examples for ADONET 2.0 only go over datagrids. Although I think they are cool I often need to bind data to text boxes, drop downs and want to have more general control over the alternative options pre built into VB. Anyway, can someone point me in the direction of some tutorials or other information that goes over manually databinding using the newer features of AD0.NET 2.0 Thanks, C ...Show All
Windows Forms Forms
Hi everyone! I want to make a new form appear when I click a button on the original form. How could I do this Thanks in advance! Create a Form class that you want to show. Then in the button click event you simply do this: FrmMyForm f = new FrmMyForm(); f.Show(); ...Show All
Windows Forms Nodes and trees
Ok, need a little input here. I have been searching around for something so simple, it's driving me crazy. I need to create some nodes and leaves (NOT a treeview). These nodes will contain strings. The info in the nodes will come from a text file - or xml, haven't decided yet. Reading the text file or xml is not a problem. Writing to the nodes then reading the info inside is. Anyone have a link with a good C# sample An ...Show All
Visual Studio Express Editions ODBC32
Hi,everybody. I am using Visual C++ 2005 Exptress Eidtion Beta 1 to build a project. The following were reported: 1..\Sample1.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'. 2.LINK : fatal error LNK1104: cannot open file 'odbc32.lib' (after I canceled afxres.h) I have tried to add "MFC ODBC Consumer class" in the project. However, it cann't be found! How can I solve this problem. Thanks. ...Show All
Visual C++ Pls help newer: how to write an outlook plug in that get the outlook current email text in vc++???
pls help how to write an outlook plug in that get the outlook current email text in vc++ Do you need to write one, or use one See this article: http://www.codeproject.com/atl/outlook2k3addin.asp ...Show All
Windows Forms Properly exit an application that doesnt wanna die
Been asking a lot of questions lately, but I guess thats what these forums are made for so here goes another one... In my application I have an exit button, and also use the same code for the Form_Close event, incase the user clicks the X instead of my "Exit" button. What do I do to properly exit. If I do "this.close()" it closes, but if I open the Task Manager, I see my application still running, just not visible. If I throw an Application.E ...Show All
Visual Studio Team System Web Test and Username / Password
Hello I have created a web site with Windows Authentication, allowing one specific user to have access to it, and all the other one are denied. So in web.config: <authentication mode="Windows" /> <authorization> <allow users="domain\username"/> &n ...Show All
SQL Server The connection manager 'OLEDB' is not properly installed on this computer
Please help someone from MSFT! I've just finished installing the Sep CTP on my laptop. I previously had the April CTP and June CTP. I followed the instructions for removing a previous installation of SQL 2005. Now, when I try to create an SSIS package, I get a message that says: TITLE: Microsoft Visual Studio ------------------------------ The new connection manager could not be created. ------------------------------ ADDITIONAL IN ...Show All
Visual Studio Team System Validation Rule Using Data Binding
I have created a web test that uses data binding to an MSSQL database table for the input parameters. I have added a FindText Validation Rule to validate the output. How can I modify the Validation Rule so that the comparison text is also being pulled from the database The validation rule does not have the drop down data binding control but you can still manually enter the data binding value and and it will wor ...Show All
Windows Forms Help: Hosting .net form controls in IE
I have been trying to make a .net form control work in internet explorer without getting a System.Security.SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission. I have searched alot on the web about .net security I have been trying to make a .net form control work in internet explorer without getting a System.Security.SecurityException: Request for the permission of type System.Security.Permissions ...Show All
Visual Studio Team System string.Empty and ""
Hi One of our coding standards requires developers use string.Empty instead of "". Would a custom FxCop plugin be capable of detecting this problem Thanks Yes But I think that fxcop would recommend using "" (performence) since string.empty creates a new instance of string. ...Show All
Smart Device Development VS 2005 and Smart Device installation problem
I have a weird problem with my VS 2005 and Smart Device SDK installation. I'm using the DVDs from the Windows Mobile 5.0 Developer Evaluation Kit given away at the recent MEDC. I want to successfully install the Pocket PC and Smartphone SDKs and compare the IDE etc with that of evC 4.0. I appear to have successfully installed VS2005 however the Smart device SDKs do not appear to installed correctly at all even though I did install them. There s ...Show All
