Hussain Saffar's Q&A profile
Visual Studio Team System Visual Studio Team System (newbie)
Hi All, I'm currently working for a large telecommunications company developing a scheduling system using VB.NET 2005 and SQL Server 2005 with a TCP/IP client/server architecture. Being the sole developer the company has decided to hire an extra developer to help me out on this system. As a result I have been given the task of purchasing the required software etc. With all the different versions of Team System I am wondering which one would be most suitable to my project requirements. Having only used VS standard and Pro and never worked in a development team before any help, comments or suggestions would be greatly appriciated. TIA ... What you need as a server is Team Foundation Server - Workgr ...Show All
Software Development for Windows Vista "Error binding to target method." in Activity.Clone ??
We have a workflow with a while loop which is failing in the attempt to clone the contained SequenceActivity. It appears to be failing to FixUp the references to CodeActivity event handlers and CodeCondition event handlers. I can also reproduce the failure by Activity.Save() to memory stream followed by Activity.Load(). The only difference I see between the development environment where it works, and the server where it fails, is that .NET 1.1 and .NET 1.1 Hotfix were never installed on the server. John West Starz/Encore Not using xoml.. I reduced it down to a few custom activities and it worked. I added a single Code activity and it failed. It seems to be having a problem fixing u ...Show All
Windows Forms How to get list of Processes and their file name/path? - Experts respond plz
Hi All, I've spent two days on google trying to find a suitable solution for getting the full path of the running process but invain.My question is very simple I want to know the full path of the running excel instances. for example if I've 2 instances of excel running currently, I need to know the full path name including drives and directories.I can get the base exe file but not the full path i.e., I can easily get the C:\Program Files\Microsoft Office\OFFICE11\excel.exe path but not some thing like "c:\rama\xyz.xls" through either vb6 or .NET solution. Is there anyway to get the full qualified path from the list of running process I used the following function but it only gives filetitle but not the full pa ...Show All
Visual Studio Express Editions Serial Port multithreading
Is it possible for YourCOMPort.BytesToRead and YourCOMPort.DataReceived to change while the subroutine, which handles YourCOMPort.DataReceived is still in progress At very high data rates, the data may come in so fast that for example while previous data is being send to display by means of BeginInvoke new data are received. Depending on how Windows and .NET is build this may or may not course BytesToRead to change and/or a new DataReceived event, while the routine which handles this event is still in progress. If events are just boolean signals - not a queue - there may be a risk that if a new event occur while the subroutine, which handles this event is still in progress, the subroutine will not be reactivated (event cleared at exit). ...Show All
Visual Studio Team System Team Build Browser
When I changed the Build Quality to Rejected in the Team Build browser, I want to specify the reason. Is there a way to do add one more column to it -hengyi Go to the Team Explorer, double click on the desired build type under the Team Builds node, and click on the build quality value in the list of builds that shows up. The build quality will turn into a combo box so that you can change the value. Buck ...Show All
SQL Server transactional replication and foreign keys
When I use Management Studio (SQL Server 2005 SP 1) to set up transactional replication with updateable subscriptions, the snapshot initialization doesn't push the foreign key constraints. If I add a foreing key at the publisher, the change doesn't make it to the subscriber, even though the Publication Properties' Subscription Options panel shows Replicate Schema Changes set True - what am I missing Thanks, Liston In the wizard, when you select a table article, click on properties and set "Copy foreign key constraints" to true. The "Replicate Schema Changes" means certain DDL commands (like alter table add/drop column) will be replicated. ...Show All
.NET Development How to use PATH environment variable for an application
Hi all, I am not understanding the concept of PATH variable. we are defining different path in this PATH variable. I am using one zip file and not specifying the path. See the ziputility variable in below code.. { string arguments = @" -o " + ZipFileName; string zipUtility = @"unzip.exe"; ProcessStartInfo startInfo = new ProcessStartInfo(zipUtility, arguments); startInfo.CreateNoWindow = true ; startInfo.UseShellExecute = false ; startInfo.WindowStyle = ProcessWindowStyle.Hidden; startInfo.RedirectStandardOutput = false ; startInfo.WorkingDirectory = directoryName; Process proc = Process.Start(startInfo); proc.WaitForExit(); } i am not giving the path ...Show All
Game Technologies: DirectX, XNA, XACT, etc. a problem
hey i was wondering about this xna thing so when i went to the website to get it i followed the instructions. first i downloaded microsoft visual c# studio express like it said then i intalled that. then i downloaded and installed xna. but when i open xna it just goes to visual c#. is it supposed to do that and also then when i went to make a new project it wouldnt let me. whats with that. ok ill try installing that sdk. maybe thats it. oh and what happend when i tried to make a new project it didnt show the option for the xna format. and also it would let me type a name for the project and press ok it wouldnt let me type anything. ...Show All
Visual Studio Express Editions C++: DialogResult and namespaces confusion...
Hi I'm working with C++ Express, I'm new to Windows Forms and the namespaces used but not to C++. I'm having difficulties with DialogResults: The MSDN documentation gives examples like this: System::Windows::Forms::DialogResult result; result = MessageBox::Show( this, message, caption, buttons ); if ( result == ::DialogResult::Yes ) Yet when I compile I get the following errors (for the if line) : error C3083: 'DialogResult': the symbol to the left of a '::' must be a type error C2039: 'Yes' : is not a member of '`global namespace'' error C2065: 'Yes' : undeclared identifier So I also try without the leading :: and get: error C2039: 'Yes' : is not a member of 'System::Windows::Forms::Form::DialogResult' see declaration of 'Syst ...Show All
Visual Studio 2008 (Pre-release) Hints on implementing a custom control for histogram needed
I want to create a custom control that just displays a histogram and has events when I move the mouse over it in order to display the value in a tooltip or in a status bar. So I need some advise as what would be the best way to do this At the moment I have a class derived from Control (to use it in the main window xaml file and for easy databinding of the real histogram) that contains a child that is derived from FrameworkElement which then contains the VisualCollection with the histogram lines. Is this OK I think I need a canvas in my control so do I put the canvas in the XAML template of the control or create it completely in the code behind file As the histogram can contain up to 4096 columns I wonder if I can just put so many lines the ...Show All
Visual Basic Deploying multiple EXE's using the basic publish mechanism of the IDE
I have a rather convoluted project. The distributable will come in eight different flavors, each with its main program, libraries, datafiles, doco, etc. Each flavor will also have one or more standalone executables that can be called as tools from within the main program. To complicate matters I'm using VSS 2005 to track everyting and I'm trying to use links both within the IDE and VSS to minimize the possibility of error and to let the IDE do all the work at build time. This works great with the datafiles, doco, etc. (Though I wish that it were possible to use the content / copy mechanism to copy to directories parallel or even below bin rather than within bin. It's nice to have the readme file in the root. Anyone at MS listening BT ...Show All
Visual Studio Team System Users / Logins (CTP7)
I'm experiencing some issues regarding users and logins in the CTP7 version. The story: At first, there's no database or login available in the SQL2005 instance When I create a user named testuser in the Schema View , it is nicely added to the users folder as testuser.user.sql . Since it is created without login , I change the piece of the script to for login [testuser] In the Pre-Deployment folder I change the Logins.sql script to create a login if it does not already exist. Why is the testuser sometimes included correctly sometimes included with without login (although the script says for login [testuser] ) sometimes excluded when building the database project Also, I'm not able to just create a login with password=N'wachtwoord' ...Show All
SQL Server What is sysname?
USE <database, sysname, AdventureWorks> What is "sysname" object I frequently see it among parameters for stored procedures. Thanks. Mike, I JUST DID IT!!!!!! I just created a table in my SQL database out of my C# code remotely. It is perfect. I found the secret. There are a number of ways to execute a query (or a stored procedure) with various buttons in the Studio. Only one of them can actually execute the procedure and create a table. And after you execute it this way the changes stick. The idea is to have a stored procedure where a string is formed. This sting incorporates (concatenates) the table name passed to it as a parameter. The string in question is passed as a parameter to sp_sqlexec ins ...Show All
Windows Live Developer Forums Windows Live Favorite SDK
Hi All, Any one knows if MS plans to release an SDK for Windows Live Favorites Thanks in Advance. Maher K. Al-Jendasi Hi Danny, Can you give us an update about the Live Favorite SDK Is it still planned and is there already a release date available Kind regards, Brinky ...Show All
Windows Forms ShowHelp localisation is it possible?
I have finished my windows form application, globalised and localised. That all works fine, but I have one remaining niggle. The main form has a HelpButton linked to the following Method: private void frmMain_HelpButtonClicked( object sender, CancelEventArgs e) { try { Help .ShowHelp( this , Properties. Settings .Default.HelpFile); } catch { MessageBox .Show( UIStrings .HelpFileNotFound); } The value in the application settings for HelpFile is something like 'applicationname.chm' and will be delivered by the setup (MSI) project associated with the solution and placed in the application folder. I have a Spanish version of the helpfile but dont know how to connect it to localised version. How can I&n ...Show All
