Eric Chong's Q&A profile
Visual Studio Team System Using Microsoft Project to create work items
I'm trying to use this function (from the right-click menu in Team Explorer for work items). When I add a task in Project and try to link it to a work item, I get a message saying the tasks must first be published. In order to publish the tasks I have to provide a URL for "Project Server 2003" to use. I have tried using the TFS portal URL but that fails. It looks like Project Server 2003 is something different from Team Foundation Server. How do I publish Project tasks to TFS so that I can link the Project tasks with work items in Team Explorer All of the VSTF commands for Offi ...Show All
Visual C++ This is kind of a newbie question but i am stuck
this is my simple hello world program #include <iostream> using namespace std; int main() { cout << "Hello World" ; } The prgram runs in the black command prompt window thing but it flashes on the screen for only a second and closes. Normally, after it runs, the widow should stay open and display "Press any key to continue..." HELP!! Unlike the common IDE C++ Compiler, Visual C++ 6.0 and all of the .NET halt at the end of running the program. You could also execute the program through MS-DOS and it would still show everything. That said, there really isn't ...Show All
Windows Forms DataBinding.Add("Enabled"... to a null object.
Basically, what I want to do is create a dependency of one control to another, if one is null, then the other is disabled. A simple case is a use case is a listbox and a textbox. If listbox.SelectedItem = null, I want to disable the text box, and if one is selected then its enabled. I can do this manually by doing an if statement, but I would think there would be a niftier/cleaner way of doing this Something like, txtFoo.Databindings.Add("Text", listbox.SelectedItem, "IsNull"); Note that I know this wouldn't work, im just giving an example of the type of thing I am looking for. Still a little cludgy b ...Show All
Windows Forms Flashing form
hi i have created a windows form as MDI but the form flashes a lot by it own canu tell me if someone faced this before if soemties i pass the form i can see parts of the desktop then it returns normal then i can see the desktop,.... ...Show All
SQL Server Can't connect to Report Server via Management Studio
Hi, I have a local installation of SQL Server 2005 (Developer Edition) on XP Professional SP2, with Reporting Services, Integration Services, and Analysis Server installed. I can connect to Integration Services and Analysis Server via the SQL Server Management Studio, but not to the Report Server. I can access and use the Report Server installation via http://localhost/Reports and http://localhost/ReportServer , and everything checks out on the Reporting Services Configuration tool, so the server appears to be working fine. I've uninstalled/re-formatted/reinstalled the services (with all default options, and services running a ...Show All
SQL Server Wildcard Search - Column Value containing % character
Hi All, I have a company table with CompanyName and Address details. In the Company Name field - I have got companies with names like - 'The 1% Club', '99% Pure Water', 'The 1% Golfer' etc... I want to search for Companies with % using the LIKE clause - Say for ex. SELECT CompanyName from Company WHERE CompanyName LIKE 'The 1%%' I was expecting the above query to return - All Companies starting with 'The 1%' - So from the above list - I expected it to return - 'The 1% Club' and 'The 1% Golfer'. Unfortunately the query isn;t accepting % in the WHERE LIKE clause except for the wildcard character. Is there a way out to escape ...Show All
Smart Device Development Sucess
Hello to all, I have upgrade activesync from version 3.7.1 to 4.0 in order to deploy my application in VS2005 beta2 to the device. After doing that, activesync stops to work: although the AS icon show connection (green) when the PDA is in the cradle, is is not possible to get the main screen of activesync ; and, when trying to explore the device, I get the following error window: " Critical communications services have failed to start . Try resetting the mobile device, and then connect again". To get worse, I have uninstalled AS 4.0 and went back to version 3.7.1. The problem still is there! In fact, I have tried (wi ...Show All
Windows Forms MultiThread in VB.NET
Hi I want to make an application in VB.NET and I want this application to work as follows, There will be an array of items on which I want to perform a specific operation (MyTask), with the help of multiple threads. for example say the array is holding 12 items in it, and I want to create 3 threads to do the work, first therad reads ...Show All
Windows Forms Menu items in VS 2005
Hi guys actually i am a newby in the programming world. I am experiencing all the fun things about programming and stuff ( what an intro ) Now i want to create an application using c# 2.0. I want to load my menu (menu bar, toolstrip, ... ) from an external file, for example using xml. But I do not want it public so users can see the file. Do you have any suggestions, can i place my file for example in a assembly Regards can i place my file for example in a assembly Place your file in an embedded resource ...Show All
Windows Forms URLDownloadToCacheFile error when trying to clickonce install
i am installing in a clickonce deployment and getting the following error in the install log: Running checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe' Result of running operator 'ValueExists' on property 'Version9x': false Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.0': true Result of checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass' Running checks for command 'dotnetfx\dotnetfx.exe' Result of running operator 'ValueNotEqualTo' on property 'DotNetIns ...Show All
SQL Server After Install of 2005 still 2000 Engine!
I have installed the new SQL Server 2005, but I see my local database as version 8.9.193, means SQL Server 2000. I do not know why setup did not upgrade it. What do I need to do now I think some new options are now working because of that... Radiogeneris, please read the Books Online that came with your SQL SErver 2005 installation, it will give you a good overview as well as help you better understand your installation process/problems. You can also access it online at http://msdn2.microsoft.com/ms165606(en-US,SQL.90).aspx . After you've read the documentation, please feel free to post any follow up questions. ...Show All
Software Development for Windows Vista must DependancyProperty variables be suffixed with "Property"?
It seems that if you want to create a DependancyProperty your variable must be suffixed with "Property". I tried to create a DependancyProperty like so: public static DependencyProperty suppliedMessage = DependencyProperty.Register("suppliedMessage", typeof(string), typeof(SupplyMessage)); But I kept getting the error: Could not create activity of type 'Ex01.SupplyMessage'. System.ArgumentException: Type 'Ex01.SupplyMessage' does not define dependency property with name 'suppliedMessageProperty' So after a puzzling few minutes checking my code for errors I changed my variable to suppliedMessageProperty: public ...Show All
Visual Studio Team System Spelling checker for work item contents
I would think that a spelling checker would be a must-have for work item contents. Is this on the radar ...Show All
Windows Forms ContextMenuStrip Source
I've done extensive research online, heavily studied the ContextMenuStrip and related controls, but I can not figure out which control was right clicked on to get the ContextMenuStrip to display I basically want ContextMenu.SourceControl but for ContextMenuStrip. If anyone can help it would be MUCH appreciated. Thanks It's ok I have discovered how to do it&n ...Show All
Visual C# Showing a Form
How would I go about showing a form FormName .Show() doesn't work, and I don't know what will. See, I have two forms (Form1 and Form2). When an item from a treeview control that is on Form1 is clicked, I want Form2 to show. I already have the function that runs when the treeview control is clicked (private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)), but I don't know how to display Form2. When I try Form2.Show(), I get the following error: Error 1 An object reference is required for the nonstatic field, method, or property 'System.Windows.Forms.C ...Show All
