Jerry West's Q&A profile
Windows Forms Proof of Concept: MDIForm does not call MdiChildActivate event
Goodday, I've got a strange problem! I've got a MDIForm which has form docked to it. The only thing this form does is to be the default background of my MDIForm (I realy don't know how to set the background of the MDIParent) I Don't want it to be clickable so I set the .Enabled propert to false. Now everytime I make a new form and show it in the MDIParent and I'll close that same form the MdiChildActivate event isn't raised. If I set the .Enabled property of the (background) form to true then it will raise the MdiChildActivate event !!! You can help me also by giving me a example how to set the background of an MDIParent. Thi ...Show All
Visual C++ dll hell ???
Am unable to compile anything with Visual C++ Express. Installation carried out 'to the book', including using 'Install cleanup'. First error message is "This project is out of date". Building the project , gives error code 1073741511, which I believe is 'file not found'. Profiling with 'Dependency Walker'Yields the following: Started "c:\program files\microsoft visual studio 8\vc\bin\CL.EXE" (process 0xECC) at address 0x00400000. Successfully hooked module. Loaded "c:\windows\system32\NTDLL.DLL" at address 0x7C900000. Successfully hooked module. Loaded "c:\windows\system32\KERNEL32.DLL&quo ...Show All
Visual Studio Team System The Local Security Authority Cannot Be Contacted
After installing a Team Foundation Server (beta 3 refresh, single server, in a domain, on a virtual server). The server is up, and all works fine for 3 client systems we have. I have setup 2 projects so far... no problems. But I have one machine that cannot talk to anything on the team server anymore. It is a laptop. Yesterday when I first installed the vs 2005 team suite trial and team foundation client software, all was fine on that system. It was connected via LAN to the network, and is a member of the domain. I log in using the same user account that my desktop system uses (which is one of the 3 clients we have no problems with ...Show All
Windows Forms Loading User Controls using Command Patterns
Hi, I would like to know if I can load a user control using command patterns. Also I would like to keep a list of control loaded to use them with a "Forward" & "Back" button. Please I need some sample code! Thanks, Command Design Pattern. see: http://www.dofactory.com/Patterns/PatternCommand.aspx ...Show All
Visual Studio Express Editions Visual C++ express install problem
Hi , I have xp pro w/ service pack 2 installed and .net 2.0 when I try install c++ express it gets about half way through then exits with an error. I looked through the logs and found this: failed to connect to server Error. 0x800706BA I have the log files saved so if more info is need I can supply it. Any help would be greatly apreciated How are you doing the install, are you using the web installer or the full ISO Download (Manual Install). I have seen several problems with user using the web instaler and the install failing. If you are using the web installer ty the manual inst ...Show All
Visual Studio Team System team explorer?
anyone know is there difference in RC and TRM. RC team explorer seem working fine with team foundation server RTM. do i need to update The last major breaking change happened just before the RC, so you don't have to update. I'd recommend it though -- there were bugs fixed in RTM, and the uninstall/reinstall process only takes about 3 minutes. ...Show All
Visual Studio Team System Move source file in Source Control Explorer and lose history on where it was moved from
When I move a source file in Source Control Explorer, the history doesn't detail where it was moved from. Is this by design OK. I see what you mean now. It would be nice if a comment was automatically placed on the file that was renamed, but I agree that it is possible to find out the information. Thanks for your help! ...Show All
Visual C# Dictionaries and the objects they contain!
I was just wondering, is there some way to synchronize the modification of objects that are in dictionaries (or any other IEnumerable interface for that matter), if they are modified without referring to the dictionary I find that this code snippet doesnt work (I might be too naive): foobar bar = new foobar(); bar.setText("hollathere"); Dictionary <string, foobar> someDict = new Dictionary<string, foobar>(); someDict.Add("handle", bar); Now if I modify bar directly, without going through the dictionary, the changes aren't reflected in the dictionary. Same is the case the other way round. bar.setText("blahblahblah"); ...Show All
Visual Basic how to add a component collection in a groupbox
I want to build a bindable Radiobutton group,so I extend radiobutton with new property value,as the base.build a groupbox which have a extendRadiobutton collection. question:1.when add item(extendRadiobutton),the groupbox doesnt display it ,it seem I add it in designer,but it doesnt add in collection. 2.I want only see property value and text in designer,how do I do it ,I dont want overried all property then modified with browseable(false). here is all code Imports System.ComponentModel Public Class ExRadioGroup Private _CheckedIndex As Integer Private _CheckedValue As Integer Private _Items As ItemColl(Of ItemBase) ...Show All
SQL Server SSIS Performance Throttling?
I have a multi-threaded C# application that loads a bunch of tables into ado.net datasets in memory for surrogate key lookups. Depending on what else is going on, it can process 100,000 to 170,000 rows per minute and usually utilizes 20-30% of each cpu. I tried duplicating the process in SSIS using the Lookup Transformation and caching enabled (cache size calculated at 2 * rowcount * bytes/row) with clustered indexes on the lookup columns. With this setup I can process at best 30,000 rows per minute utilizing < %7 of one cpu. I can double the throughput by running two instances of the same package on the same server. My C# process w ...Show All
Visual Studio Team System Test data for Team System which shows how it should work
Can you supply test data which can be loaded into team system (ie, users, work items, source code, test cases, etc) to show how the system should be working when in use Now if there was only a VPC to VMWare converter... ...Show All
SQL Server Problems importing data from an ODBC source
I'm having an odd issue importing data from an ODBC source using a DataReader Source. There's data in the source table, and if I use a non-SSIS tool to query the source, all the data is visible. However, if I use the SSIS DataReader source, It returns no rows, and throws no error. Any ideas for figuring this one out This is affecting about 10% of the tables from this data source, and it's our ERP application, so there's limits on what I can do to the source schemas. Thanks! ...Show All
.NET Development Make custom validation on new row accepted via datagrid!!!
Hi everybody, I have a datagrid on a winform. The datagrid is binded with a datatable. My table has a small number of data, and editing, inserting, deleting rows is not often, so I allow users can do all of these things directly on the datagrid. That is, on the datagrid users can edit row, select a row then press 'delete button' to delete it. and accept data for a new row. When user finish his work, he press save button, then i call the update() method of the data adapter. This works pretty good. But i want to make some change on it. That is, when user enter data for a new row, in the case of the key value of the new row is dupliate ...Show All
Windows Forms Custom prerequisites?
Hi, I'd like to add custom prerequisites for ClickOnce deployment like WordViewer and ExcelViewer. Is that possible or would I have to do that on my own Thanks, Tom ah ok, that's strange ... I tried installing it from my laptop which has beta2 on it but for some reason it always failed. I just tried on my dev machine with RC on it and works indeed ;) thanks ...Show All
Windows Forms Inheritance Base Form lock
I am using a base form which has menu and toolbar in a windows forms application. I changed modifier property all the toolbar items and menu items to protected. The other forms inherits the base form. I can see the controls on my inherited form but can't click on any button on toolbar or menu and neither I can write code for events for the controls on base form. It used to work on Beta1; now the inherited form shows the small lock on the controls of base form. I can write code for the events of toolbar/menu and code compiles but I can't double-click on the control to write code. I also tried with modifier as public but s ...Show All
