Frederick R.'s Q&A profile
Visual Studio Passing a MSBuild property to C# project
I am using CruiseControl.NET as my build server and I have a need to propagate a MSBuild property into my C# project. CC.Net sets the parameter "CCNetLabel=x.x.x.x" (among others) but I am having difficulty figuring out how to get this version information into my projects and ultimately setting my assembly version number. If I set the conditional compilation symbols to "CCNetLabel=$(CCNetLabel)", I get a compile warning that C# doesn't allow th ...Show All
Windows Forms DateTimePicker column
Does anyone know if Microsoft will be including a DateTimePicker column in the DataGridView (for underlying date values) The current article says "TextBox, Image, CheckBox, ComboBox, Link, and Button column and cell types" will be included. I'm hoping ...Show All
Visual Studio Team System Team Build Error when using Strong Naming
Hi I am getting the following error when trying to build my solution using Team Build. The projects are strong named an the key is in source control. Solution: MediaConnector.Client.Windows.sln, Project: MediaConnector.Domain.csproj, Compilation errors and warnings C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1718,7): error MSB4018: The "ResolveKeySource" task failed unexpectedly. System.InvalidOperationException: Show ...Show All
Visual Studio Unable to debug: The binding handle is invalid
When i try to debug a C# application I get this error: Error while trying to run project: unable to start debugging the binding handle is invalid What can i do Thanks for your answers ZAiNT, Thank you so much for your help. To test native debugging: 1) File->New->Project... 2) Visual C++->Win32 Console Application 3) F10 Thanks, Gregg ...Show All
Software Development for Windows Vista directshow and teletext
Hello everyone, I'm really new in directshow development, and I hope you will be able to help me. My goal is to capture video from a video capture device (osprey 440). I'm proud to tell you that I know how to do this . I'm using an ASF writer filter to do it. My question is : Do the files I create using ASF writer filter include teletext data If so, how can I create a graph to display the teletext If not, is there a way to create a video ...Show All
Windows Forms Doubleclick interrupted by MessageBox
Hi, in my app I use a TreeView control. Single click means selection of an item and filling some information about it to some different window. Doubleclick does the same plus the item is moved to the root of the tree. So far so good. Problem is that during the process of "filling information" about an item, some exception may be thrown. I use MessageBox to present the exception to the user. But the MessageBox "eats" the second click of doublecli ...Show All
Visual Studio Team System Can the configuration information in build type be customized
Hi all, During create a build type, there are fields about configuration and platform information. Can these information be customized For example, I want to add/delete/change the values in the configuration and platform list. Thanks, Leon As I remember (I don't have TFS here right now to test it) you can select a value on the list, but also "write" it, if you are asking about that. And for a Build type already crea ...Show All
Windows Forms Tree View Label Edit
How can i use the paint event for the treeview. I want to edit a lable in tree view but after editing it and refreshing it it is showing the new values at two different node. I have the same problem however I am not using the BeginUpdate and EndUpdate methods. When the tree loads the first time, all the nodes display correctly. If I add a node, it gets saved to the database, and I clear out the tree and repopulate it for the new node ...Show All
Visual C++ How to get a dynamicly created control's dc
I need to create a control dynamicly and then get its DC to draw text and so on,just do as the following code: BOOL bCreate = m_hEdit.Create(WS_CHILD | WS_TABSTOP | WS_VISIBLE |ES_LEFT , rectEdit,this, IDC_COMBOTREE_EDIT); if (bCreate) { CWnd* pParent = GetParent (); CFont* pFont = pParent->GetFont (); m_hEdit.SetFont (pFont); } CDC *dc=m_hEdit.GetDC(); dc->DrawTextW(_T("ok"),-1,CRect(0,0,30,20),DT_LEFT); dc->SetBkColor(RGB(0,0,0)); m_h ...Show All
Visual Studio unmanaged addin registration for all users
What is the recommended way to register an unmanaged vs2005 addin for all users It appears that the .addin xml file is only for managed addins; is this correct You are right. The .addin xml file is for managed add-ins. To register an unmanaged VS 2005 add-in, you can simply run "regsvr32 yourAddin.dll". If you want it registered for all users, before running the above command, open file AddIn.rgs and ...Show All
Visual Studio Team System Questions : Installing and Configuring Team System
Hi I have following with me 1. MS Visual Studio 2005 Professional Edition 2. Team Foundation Server 3. SQL server 2005 ,Enterprise edition Having said that, I am planning to deploy Server and foundation server on one machines and Visual studio on one system. Please comment on this. Also please let me know that I read in a presentation that O Visual Studio Team system Edition O ...Show All
SQL Server SSIS Requests...
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the ...Show All
Visual Studio Team System Can't create team project... then check "VSTFWeb " web site...
Hello~ I also can't create team project ... then I check my "VSTFWeb " web site in IIS 6. I to verify the web.config then I saw the string in LocalSqlServer is "data source = SQLEXPRESS...." that's default value, but when I install Team Foundation follow the install guide, we don't insatll SQL Express , aren't we I am not sure does this reason to occur error. any ideas or how to change it to support SQL Server 2K5 April and another questi ...Show All
Visual Studio Team System Is it a recommended practice using Source Control as Document Management?
Hi, Would Microsoft recommend using Source Control as Document Management Is there any technical restrictions not to do so Thanks, Ertekin Using the version control system to hold documents is no problem. You lose the convenience of Team Explorer & Sharepoint integration, but gain some flexibility. ...Show All
Visual C# HtmlElement Mouse Events
Does anyone know what the difference between the MouseOver and MouseEnter events of HtmlElement I have a web page that has a menu bar. The menu bar displays sub menus when the onhover event fires. I am using a web browser control and would like to know when the sub menu is displayed. Thanks for your help! Mark Hi there, Check this url http://www.hypergurl.com/generators/DynamicMenu.html . This site ...Show All
