Mel MacMahon's Q&A profile
Visual Studio How to fire an event on row click?
Hi all, I populated my report with a Dataset, now I'd like to fire an event when I click on one of the displayed rows, but I don't know what to do. Anyone knows a solution for this ...Show All
Smart Device Development CE Databases
Hello. The CE application I work with has made wide use of the native database API through every incarnation of CE. In the process of making the application compatible with Mobile 2005 I have found that this API no longer seems to exist. I cannot compile or run the application without an error message. Is there a way around this If not, is there a database distributed with the OS Thanks. P.S. It is a Win32, C app so no .NET CLR stuff will help me. Hi Rick, The migration FAQ found here: http://msdn.microsoft.com/mobility/windowsmobile/default.aspx pull=/library/en-us/dnppcgen/html/migra ...Show All
SQL Server Beginner T-SQL Question
I'd like to query my Tasks and TaskActivity Tables to return the following results: Case Id Estimated Hours Total Hours Remaining Hours Because I'm an SQL novice, I've had to resort to a hack of creating three different views to get the results I want: I'm sure there's a better way (i.e. a single, well-formed query) but when I try that my numbers are all wrong. Here's my hack to get the correct results: First I have a view to get my Estimated Hours and CaseId from my TASKS table: SELECT COALESCE (SUM(EstHrs), 0.00) AS EstHrs, CaseId FROM dbo.Tasks GROUP BY CaseId Then I have a view to get my Total Hours and CaseId from my TASKACTIVITES table ...Show All
.NET Development Open DataReader associated with this Command
SqlConnection conn = new SqlConnection("Data Source=server;Initial Catalog=db;Persist Security Info=True;User ID=xxx;Password=xxx"); public Form1() { InitializeComponent(); this .conn.Open(); this .GetConn(); //Creates first reader this.GetConn(); //when I try to create second reader it th ...Show All
Visual Basic Copy Protection Code??
Does anyone have any idea how to copy protect the software that you write Does anyone have any simple ideas that might involve the use of a serial number or some kind of encryption Thanks! I guess I would like to try and use my own copy protection scheme. I realize that my software isn't going to be the next Windows so I don't want to spend any money on purchasing something OTS. Although it would be nice to add a little protection to the software that I spent time to develop... Thanks! ...Show All
Windows Forms Results do not display in List Box
I am using Visual C#.Net version 2003. A Form is created with a List Box, List View and a button to populate the lists. Clicking the button should produce the output in both lists. After clicking the button the text does not display in the List Box but will display in List View. This works fine on PCs that Visual Studio.Net was installed prior to XP SP2 - it displays in both lists. On PCs where Visual Studio.Net was installed after XP SP2 I have the problem. Any ideas Thanks Sample Code: using System; using System.Drawing; using System.Collections; using System.ComponentModel; ...Show All
.NET Development SSL on TCP Socket, how in .NET 1.1?
Is there a way, using intrinsic .NET framework functionality, to open a TCP connection over an SSL channel I'd rather not get into buying libraries, etc. Java has the javax.net.ssl.* objects, and I'm not finding an equivalent in .NET. I looked all over the Internet, but nowhere a pointer/solution can be found. Please note this is a socket connection, not an HTTPS connection. Also, it's about .NET version 1.1. Any hints/tips/remarks/howto's (if even possible) would be greatly appreciated... If this is a .NET 2.0 issue, please start a new thead and post your code that is giving you this issue. ...Show All
Visual C++ Reg. Power saving mode
Hi, Thanks for your reply. I want to know that is there any tool for accessing the device. Or How to write the device driver programming. I understood that the problem is in keyboard device. Could you help me how to do that. Thanks in advance Raja Ratheesh This forum is for C++ language issues. You can ask this kind of question in the MSDN discussion groups: http://msdn.microsoft.com/newsgroups/ OTP ...Show All
SQL Server "Windows can not open this file: splash.hta" while trying to install SQL Server STD2005 through EN_SQL_2005_STD_X86_DVD.ISO fil
Hi there, In my dev machine (XP) I had VS2003 installed with SQL server 2000 express edition and VSTS beta2. now to install VS2005 RTM and VSTS beta3 , I uninstalled everything first ( .net framework 1.1, 2.0, SQL everything, visual studio etc) and then I was trying to install SQL 2005 standard edition first, but it gives me following message while I'm trying to install "Windows can not open this file: File: splash.hta" To open this file windows needs to know which program created it. Windows can go online to looks it automatically or you can manually select from lists of programs on yo ...Show All
Visual C++ Can I replace or modify the default menu of an edit box?
Hi guys, Can I replace or modify the default menu of an edit box. What I want to do is that I want to provide my own owner drawn menu for the edit box. Is it possible Thanks Nibu thomas Yeah thanks martin. I have wierd ideas. I don't know where they come from. ...Show All
Visual Studio Team System How to test Smart Client Windows Forms using VS 2005 Tester
Is there a way to test a Smart Client Windows Forms application (one that is not invoked through IE) Or: How can we test web services directly from VS 2005 Tester without using IE as the interface Thanks, Burkhard Microsoft Partners such as Compuware and AutomatedQA will offer integration packages for functional UI testing - TestPartner 5.4 from Compuware, TestComplete 4 from Automated QA In Visual Studio 2005 Team Edition for Software testers you can directly test the underlying Web service functionality using unit tests. ...Show All
Visual Studio Express Editions Determining When The User Has Closed A Form By Clicking The 'X' or From The Control Menu
Hello All, I have a bit of a problem here and I can't seem to find a solution. I need to know if there is a way to determine if a user has closed one of my application forms by clicking the 'X' or from the form's control menu. My App has code that needs to execute if this condition occurs and only if the condition occurs. Similar code is executed if the user closes the form by regular means, but I need to cover myself by having it execute in both cases. In VB 6 you could check for the condition by checking the UnloadMode of the form to see if it was equal to vbFormControlMenu. This does not seem to be an option in .Net. The closest option ...Show All
Windows Forms Visual Studio 2005 Service Pack 1
What I want to know is when can we expect the desperatly needed service pack 1 for Visual Studio 2005 I've had so many errors so far when working with the Windows Forms designer, it is not only VERY frustrating and wasting my valuable time, but, it is also embarrsing when my projects and clients are being delayed because of a low quality tool. I expected higher quality standards from Microsoft! Don't get me wrong, I love .Net and especially version 2. It's just getting so frustrating to experience these errors in Viusal Studio and then red about them on the web to find out that I'm not the only one experiencing them and nothing is bein ...Show All
.NET Development ConfigurationManager Question
Hello, I am trying to get started using the System.ConfigurationManager namespace to change my application's app.config file from code. The project is a simple Winforms application run in debug mode. I run the following: // Get the count of the Application Settings. int appStgCnt = ConfigurationManager .AppSettings.Count; string asName = "AppStg" + appStgCnt.ToString(); // Get the configuration file. System.Configuration. Configuration config = ConfigurationManager .OpenExeConfiguration( ConfigurationUserLevel .None); // Add an Application Setting. config.AppSettings.Settings.A ...Show All
Windows Forms Deploy chm file with click-once
I'd like to include a chm file with the application that I am deploying, but no matter what subdirectory of the project I put it in I can't seem to get the file to be included in the deployment. The help file does work correctly from my application on the development machine where I have it located in the project bin directory. Right now, my deployment is just to a directory from which I burn a CD. Thanks, jerryK You need to make sure the BuildAction of the .CHM file is set to "Content". Then it should show up and be available. ...Show All
