samclng's Q&A profile
Visual Studio 2008 (Pre-release) Possible bug with Buttons and EditingCommands?
I found what seems to be a bug with buttons when setting the command to one of the EditingCommands. If the button is inside a toolbar the button becomes enabled/disabled as appropriate, but if the button is NOT in a toolbar it doesn't, and always stays disabled (you can verify this by running the example below). This behavior was also present in the Feb CTP, but I held off posting hoping that it might get fixed. Is this a bug, or is there a logi ...Show All
Visual Studio Team System Build server and test projects
I've got a solution with 3 projects, a windows app, a class library, and a test project. When I create a new build type to build this solution, the build seems to fail building the test project. The relevant (as far as I can tell) part of the log is: Target "CustomTest" in project "TeamBuild.proj" Done building target "CustomTest" in project "TeamBuild.proj". Target "Test" in project "TeamBuild.proj" Using "TestToolsTask" task from assembly " ...Show All
Visual C# VS2005 randomly unable to find classes
Hi I have a problem with Visual Studio 2005, in that it suddenly decides, quite randomly, that it can't find classes that exist within a particular namespace, even if the solution previously compiled ok. I can be quite happily fiddling with one completely unrelated file, but when I try and run the ASP.NET 2.0 C# application, it suddenly decides it can't find the class; even if the file in which it is defined is in the same solution, and e ...Show All
Smart Device Development Can I run Embedded VC++4 applications on windows CE 5.0??
Hi, I'm a user of embedded VC++4 and I use it with the POCKET PC 2003 SDK. My boss is planing to buy some new PDA's that come with Windows Mobile 5.0, my question is: Can my applications run on Windows Mobile 5.0 PS: I got the Service Pack 3 and Service Pack 4 for embedded VC++4 installed. Yes the binary built by VC++ 4 for PPC2003 can be ran in WM5.0. Microsoft did a grea ...Show All
Visual Studio Team System Areas on Scenario
I would like to set a list of areas for scenarios or do anything else that would let me categorize the scenarios. If I try to set an area I get a message TF20034: The area does not exist or you do not have permission to save work items in the area 'e'. Change the value for 'Area Path' to an area you have write permissions. I have no idea what to do with this. Any help Thank you. That worked well. One follow up question. I am not seeing ...Show All
Visual C++ Justification for forcing 'virtual' for overridden virtual functions
Since C++ does not force a programmer to specify the 'virtual' keyword when overriding a virtual function in a base class, what was the justification for forcing not only 'virtual' but also an after the parameter list 'override' when overriding virtual functions of a base ref class or interface class. For normal C++ programmers this bifurcation from C++ seems both a PITA and absolutely unnecessary. There must have been some practical reason for ...Show All
Visual Basic SIMPLE PRINT EVENT in VB
All I need is a simple print event in my code..... I was told it's like 2 lines but everything I find on the net is more like 6-25 lines long! This is my code and currently it won't print after hitting ok. AllI want is to be able to print a simple lottery ticket. Private Sub ckPlayPick6_CheckedChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ckPlayPick6.CheckedChanged 'declare Pick 6 variables Dim ...Show All
Smart Device Development Registration of COMs built with shared libs (MFC, ATL) on PPC2003, 2005
Hi all, I'm encountering some problems with COM registration on install of an app on Pocket PC 2003 and 2005. Dev Env: VS2005 Beta 2. Targets: Pocket PC 2003 (ARMV4) and Windows Mobile 5.0 Pocket PC SDK (ARMV4I) ActiveSync: v4.0.0 (Build 4343). Deployment method: as CAB file via ceappmgr Three COM dlls are installed and registered correctly when built with static linking to MFC and ATL. This is verified by (1) a hack of a message box in each COM ...Show All
Visual Studio 2008 (Pre-release) ListView performance when resizing columns.
Hi, I'm using the ListView control with a standard GridView. I have about 8 columns bound to a DataSource (which inherits from Collection<T>) using aDisplayMemberBinding for each column. I don't give a CellTemplate - I just let the GridView display the values as Text. My problem is with Performance. I have about 250 items in the Grid (I'm going to need up to about 600), and yet already the performance is not good: specifically with r ...Show All
SQL Server Limitation on Multiple parameters with Multi-Select and default values
Dear Anyone, I created 6 parameters in my report. Each of these parameters are multi-select enabled. Each of their available values comes from a data set. Their default values also comes from a data set in order to have the select all check box selected by default. My problem is only the first 2 parameters gets to have the select all selected. And the rest just have blank values. I was wondering if RS parameters have some sort of limitation that ...Show All
Visual C# writing images from SQL in a table...
Hi, I would like to know if there is a way to print in a html page a table with 4 images, and it's description queryed from SQL Server... Like, I have already a page, and in the body, I have <% response.write(table) %> And in my .cs I insert all html....and together with this html I need to put the image !!! Thanks what you'll need to do is make additional http requests to another file that will retrieve the bin ...Show All
Windows Forms Different color for each listbox (or CB) item
Is it possible thx Hi, Would you like to try out with listview control Below is the sample code link. Link: http://www.codeproject.com/cs/miscctrl/FadingListView.asp regards, Bhanu. ...Show All
Visual Studio Team System Export and import source control tree
Hi, Is it possible to export the source control tree of one server in order to import the tree to a different server Thanks, Michael If by that you mean to effectively back up the source control tree and/or a particular team project on server A, restore it on server B, and then remove it from server A, the answer is no for v1. We've gotten this type of request several times, so I expect it to be considered for v2. Buck ...Show All
Visual Studio Express Editions Dumb newbie question regarding XP Styles
Going through the video tutorials which show forms with XP style borders, etc. However, mimicking those actions of the trainer, I only see plain vanilla-styled form headers and such. I understand there's a way to "fix" this, but I don't know how. Any referral links Note that I have Visual Basic Express on an XP Tablet edition machine. BTW - Microsoft - why aren't XP styles the default for this new version of Vi ...Show All
Visual FoxPro Setting fonts system for Windows in VFP?
Hello! Help me for setting fonts system (fonts apply menu, title bar windows, tooltip) for Windows in VFP and automatic install my font in windows Example: I have folder my font: D:\myprog\fonts fontsys.fon font1.ttf font2.ttf ... How to install these fonts in Windows when I setup my program Thank you! Add it to the Font folder in your Ins ...Show All
