Osama Ibrahim's Q&A profile
SQL Server Remove the lines from the query output
On TSQL Command of; set nocount on select @@version Getting the output as; -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ...Show All
Windows Forms how to set timeout for a thread
Hi, How canI set timeout for a thread, so that if it hangs for sometime the thread times out automatically and does'nt get hung forever. Thats my thread private System.Threading.Thread tPollMcastThread; tPollMcastThread = new System.Threading.Thread( new ThreadStart( this .DoMulticastTest)); tPollMcastThread.Start(); That's the poor man's method to do it :D That is the method I usually end up usi ...Show All
Visual Basic Can .NET 2.0 runs on WinXP SP1 or just WinXP?
I'd developed a ClickOnce application using VB 2005 and published on my website. My users using WinXP SP1 without .NET 2.0 runtime click on my website. It is prompt that .NET 2.0 is required and click "accept" to install .NET 2.0 framework. The .NET 2.0 framework was installed successfully and my application runs correctly. However, it is mentioned from MS website that .NET 2.0 framework require WinXP SP2. I am worry that do my user ...Show All
Visual C# How to display image based on user input
Hi, I am a newbie in C# programming. I wish can display a list of images when user key in images count and image name. If user key in 10 images, program will display 10 images sort by the sequence, if 20 then 20 images...ect. Example: user will enter a list below: no 1 : image1 no 2 : image2 .... .... no 10: image10 then the program will display images from 1 to 10. Hope can get help here. Thanks. ...Show All
Windows Forms Is memory released with out un-registering event handlers?
Hi, I have a C# windows form with several controls. I have several handlers registered for several events. The code looks similar to: myBT.Click += new System.EventHandler(...) 1. When the form is disposed or closed, is the form memory released for the handle ...Show All
.NET Development DataAdapter, Sql Queries and Stored Procedures
Hello I have a very simple question about DataAdapter, Sql Queries and Stored Procedures. I have created a simple table "Tasks" with columns TaskId (int identity, primary key, not nullable) Name (nvarchar, nullable) Complete (bit, not nullable) Then I create a Dataset with a DataAdapter. First case, I ask VS to generate sql queries based on SELECT TaskId, Name, Complete FROM Tasks WHERE Complete = @Complete --> ...Show All
.NET Development Out of Memory Exception
I have written a .NET Framework 1.1 Component which is called from either an ASP.NET Form or a command line program. Using the command line option, the Component is called repeatedly, once for each file in a folder, each of which is processed and uploaded into a SQL Server database. The command line program uses a ThreadPool to process multiple files in parallel. My problem is that the command line program apparently leaks! (I und ...Show All
.NET Development Table Adapter Probs
I do hope someone here can give me a hand on this, it's really starting to get me down... I have a sub as such: Private Sub saveMeetingSummary( ByVal ds As DataSet) ds.Tables(0).TableName = "Summary" Dim newDS As New IGL_localDataSet 'The strongly typed dataset If ds.HasChanges Then newDS.Merge(ds) newDS.WriteXml( "C:\Documents and Settings\Alain\Desktop\newDatsetMerged_diffgram.xml" ...Show All
Visual Studio Team System Can users add and view work items from the sharepoint portal for the project
Hello, I have Team foundation installed and running for my team, however I was not able to find any documentation to let my users view, add, and edit work items from the project portal. Can it be done Would appreciate any help. Thanks Mike No, not out-of-the-box; however, there is a third-party solution by devbiz for providing a Web interface, called TeamPlain. I just blogged about it their v1 releas ...Show All
Visual Basic Question about Visual Studio 2005 Dataset and Microsoft Access
Dear guys, I was trying to use Visual Studio 2005 dataset with Microsoft Access as the data source. Everything was fine until I try to deploy the application to another computer. It look like my application still refer my mdb database to my local computer path. Earlier when creating the dataset, I already chosed "Yes" when prompted to copy the mdb file to my project directory. What have I missed Many thanks and regards How ...Show All
Visual Studio Team System Number of times the web test runs
Hi, all. I created a web test and connected it to a data source, which is a SQL Server database. I have a table in my database that contains a bunch of values I want to use for running my test (in the Form Post Parameters). I want my web test to run once for each record in the database. I've selected "One run per data source row" option in the localtestrun.testrunconfig, but my web test only runs once (for the first record in the va ...Show All
Visual Studio Team System setup team foundation server error - and hotifx
hi, i tried to install team foundation server and i get the following error code: EventType : visualstudio8setup P1 : 12841 P2 : 8.0.50727.43_vstfbeta3_x86_cd P3 : msi P4 : inst P5 : f P6 : ca_quietexec P7 : 6 P8 : 1603 P9 : - P10 : - any suggestions what the problem is operating system: windows server 2003 sp1 installation guide: TFSInstall-v60317.chm hotfix KB913393 for Microsoft .NET Framework 2.0 not installed, because ...Show All
Visual Studio 2008 (Pre-release) Image Form in the XPS container
It is PNG form in the XPS container when BMP is read and it adds it to the FixedPage->Children. Do it unconditionally become PNG form Or, can the output form be specified The image doesn't want to be changed. The C++ coding example is the following.(WinFx SDK NovCTP) Uri ^uriAddImaeTarget = gcnew Uri(Directory::GetCurrentDirectory() + " \\AddImage.bmp "); BitmapImage ^bitmapImage = gcnew BitmapImage(uriAddImaeTarget); Image^ ...Show All
Visual Studio Capturinng XSD Designer Events
I would like to write an addin that does some processing in reponse to an XSD file being changed in the XSD designer in Visual Studio 2005. I can trap the events in the text editor,, but don't know how to rehister an event handler for the XSD graphical designer. Thanks in advance Jack Stephenson Sorry to continue being the bearer of bad news, but the current XSD Designer doesn't support an eventing mo ...Show All
Visual Studio Team System TFS and Project Scope\Use cases\Requirement gathering....
Does TFS have much to offer in the areas listed above in the Subject. TIA, Barkingdong Hi Do you mean by work item types for Use Cases/Requirement Gathering and so on like Bug, Task If yes, you can customize the work item type in the way you want. That said, you can develop a WIT for Requirements Gathering or Use Case or Test case. If you mean something different please let us know. Thank ...Show All
