Khammonh's Q&A profile
Visual C# How to store list using Settings Designer (in 2.0)?
Using the Settings Designer I can easily store individual items (string, int, double, etc...), but how do I store a list of items. I used the Browse... selection to set the Type to ArrayList, but I couldn't figure out how to set the default value. So, in the constructor of my main form, I added the following code... Settings.Default.MyList = new ArrayList(); Settings.Default.MyList.Add( "abc"); Settings.Default.MyList. ...Show All
Visual Studio Express Editions LPCWSTR doesn't work with reg commands
I am making some functions that use regcreatekeyex, regsetvalueex, ect. So I made them and tested them by making a command prompt program and had no problems. Then I tried using the in the form designer and the compiler keeps telling me it can't convert my parameters that are strings into LPCWSTR. So I add the (LPCWSTR) in front of the parameter to convert it. Well my project compiles but recreatekeyex and stuff never succeed. How can I fix this ...Show All
SQL Server Blank Error Messagebox Displayed at startup
When I start SQL Server Management Studio an error message box with no text is displayed with the Exclamation ICON. Everything seems to be working after clicking OK though. Anyone else experienced this. Also... Why is it that I can't repair the installation from Add and Uninstall Do I have to uninstall it to repair it The SQL 2005 is the Developer Addition with a new install... Does repairing .NET Framework ...Show All
Visual Studio Team System Reports for all the projects.
Hello. My company currently is making java software and they have a freeware bug tracker called Mantis. They put all the bugs in that software and they generate reports for all the bugs on all the projects. As far as I know team foundation creates some databases but the Portal created is ONE for ONE project. The question is: Could I make a report that joins me all the projects on team foundation server I need this because my company has s ...Show All
Software Development for Windows Vista ASP.Net & ManulScheduler Nightmares...
Well the isues go on... The details: 1. When a delay activity is arrived at in a workflow and that instance is persisted. 2. When a new instance is created, the previous instance is loaded, but doesn't go any where, and when the delay is reached the item is persisted. Why doesn't it carry on I did some digging and found out that you needed to call the RunWorkflow(Guid) method on the Manual Scheduler, so I added the following code to my Workflow ...Show All
Visual C# line breaks in assembly description
I have several solutions that I work on in parallel. How can I use a single location to update the version number to set on all solutions Can I add something like an .h file in C to include in every solution and when building the solution the assembly version will be updated as in the common location. For example, I want to set a version of 2.3.*.* on three different solutions - I have no other way than changing the AssemblyInfo file for each ...Show All
Visual C++ Is there any thing equivalent to NotOverridable in C++?
Hi guys, My problem is this. class Base { public: void OneFunction() { cout<<"Base"; } }; class Derived:public Base { public: //overriden, I ...Show All
Windows Forms Winforms cannot be resized on low resolution workstations
Please help guys, I have an app that was built on a high resolition windows workstation, now when I run the app from a low resolution workstation, I can't resize some of my dialog windows... Hi, which dialog windows cant you resize What do these "some" have in common Do they have set FormBorderStyle to FixedDialog etc. Are the more hugh than the screen ...Show All
Windows Forms DataSet Encryption
What is the best method to achieve DataSet encryption I know of serializing it to XML and then encrypting the resultant XML. I need to send this encrypted DataSet on the wire, so I am looking at performance issues also here. Kindly suggest. Thanks, Kunal Thanks for the links Vikram, I had already done what was there in the first link, but the second link is real helpful. ...Show All
Windows Forms Searchable DataGrid
I am trying to implement searchable DataGrid. I am creating a DataSet object with DataRelation on form load, as follows: Private Sub BindDataGrid() Dim planTS As New DataGridTableStyle Dim appTS As New DataGridTableStyle Try ...Show All
Smart Device Development Win CE.NET development committee
Hi all This is the space for all Win CE.NET users who want to share their doubts, experiances and thoughts>>> Let us all make a differance for each other. lets make Microsoft Rule. ...Show All
SQL Server .Net framework 1.0, SQL ce 2.0 and Windows mobile 5.0 work together?
Hi, Does anyone know if I have created a replication using SQL Server 2000 (sp3a), .Netframework 1.0 with Pocket pc Sql Server CE 2.0 will work or not in pocket pc windows mobile 5.0 environment (with the .netframework for pocket pc(netcf.core.ppc3.arm.cab) and sql ce file (sqlce.ppc3.arm.CAB) installed in pocket pc) I have it working in pocket pc Windows mobile 2003 version. But, after I tried to install the exact same cab files and syste ...Show All
Visual Studio Can't uninstall MSDN Library for Visual Studio 2005 Beta
A while back I installed Visual Studio 2005 Team Suite Beta 2 Version on my laptop and used it. I now have the latest Visual Studio 2005 Professional and I want to install it but I can't. MSDN Library for Visual Studio 2005 Beta will not uninstall. I've tried just about everything but everytime it goes through the uninstall process at the last possible moment it "rolls-back" and dosn't perform the uninstall. I'm stuck. I read through m ...Show All
Windows Forms Listbox with columns
What control do I need to use in Win Forms to create a listbox with columns, such as the details explorer view with name, type, size... ...Show All
Visual Studio Team System Changesets, Merges, and atomic cherries.
I've been having a look at the capabilities of changesets and merges, in particular I was interested in the following: * Cherry-pick merges -- you can merge specific file change to another branch without merging the changes that were included in previous versions of those files. Thus, if you've got 2 bug fixes which touch the same file, you can merge the second one without merging the first. So, I conducted the following simple experim ...Show All
