mzahmed's Q&A profile
SQL Server Temporary tables
Hello, I have to import all the data from xml files (xml source) into temporary tables so that I can manage the data with sql statements (sql tasks). Then I created a sql task creating the temporary table (ie. Create table #temp ( a int)) followed by a data flow task. Into the data flow task I cannot see the temporary table from the sql server destination component. Any suggestion Thanks, Pierre Philippe, What you are saying is very true, though with SQL2k5 and SSIS it is very different than sql 2k and DTS. The greatest problem I have is being able to see and or use the temp tables between the execution of the different steps w ...Show All
Visual Studio Team System Errors in Team Build RTM (180 days)
Hi Folks, It looks like I have hit this issue with the TFS RTM (180 day). TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 6/15/2006 3:17:21 PM Machine: MASTERBUILD5 Application Domain: msbuild.exe Assembly: Microsoft.TeamFoundation.Build.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: MSBuild Process Id: 5020 Thread Id: 3472 Account name: CACTUS\ ...Show All
SQL Server Can't connect to data source
I've got a report (2005) that is sourcing from an AS2000 cube. Everything works fine in the BI Dev Studio, it builds and deploys without a hitch. The report has a shared data source and is using a generic login (i.e. it's not set to my NT login). However, when I navigate to the Report Server and try to run the report, I get the following error message... Cannot create a connection to data source On the Report Server, I'm using the same credentials that I used in BIDS. I've tried a number of Connection Types and I've copied the Connection String from BIDS to the Report Server, but still no luck. Any clues I'm kind of at a loss ...Show All
.NET Development class design question
I have my class with properties and methods. I create an instance of the class and get some of its properties in my forms. When I go back to the class and try to access that property from inside the class itself, I see that it has a NOTHING value. 1/ How do I keep the value of the property between calls and instantiations of the class when I sometimes instantiate the class from different forms in my application. 2/ What is this technique called in Microsoft Jargon. I mean when I go back to the properties and finding them again not reset to nothing 3/ What s the best way to design my class in order to keep its properties and also ...Show All
.NET Development Mails that are being sent from smtpmail sometimes disappear...
Hey all, I've been trying to look for similar problems all around the net, but I didn't succeed... Anyway, my problem is like that: I wrote a little command line mailer that tries to send a mail to a given address (a parameter to the command line) when certain events happen (if a batch file execution fails for example). The mail program works wonderfullu most of the times. But in some specific cases where it sends mail 3 times in a row (3 diffrent critical errors f.e) I get a variable number of mails (from 1 mail to 3 mails). So, it stills sends mail, but for some reason only some of the mails reaches the Exchange server, and as I said, s ...Show All
Visual Studio Team System Another newbie question on performace tools
Where can I found the detailed document of performance tools The document (walkthrough etc.) in Beta2 MSDN is not enough. For example: I could not found the detailed explanation of the meaning of each column in the performance report(e.g. What's the exact meaning of "Gen x Instances Collected" column and how to use this information to tune my program ). Thanks! They are helpful. I have read them carefully and they are great. And I found some other interesting things in your blog, especially your thought on UI design. Thanks! ...Show All
Visual Studio 2008 (Pre-release) Ink Over Video
I am trying to allow the user to draw on top of a mediaelement(video) when the clip is paused. I have tried overlaying an inkcanvas over the mediaelement and also placing the mediaelement as a child of an inkcanvas. Using both methods, when the user draws on the video it tears (the underlying video isn't refreshing the current frame). The best solution I have come up with is grabbing the current frame as a bitmap when the user pauses and overlaying that to collect the ink. I would much prefer to not due this for timing issues and it causes some jittering on resuming playback. I have included my frame overlay code below, but I would greatly a ...Show All
Windows Forms Delete row and updating database through datadset
Hi, I am using following code to bind the myControl (Some bindable control): DataSet dsTrims = new DataSet (); dsTrims = MyProvider.ExecuteDataSet(System.Data. CommandType .Text, strWhere); this .bindingdataSource1.DataSource = dsTrims.Tables[0]; myControl.DataSource = bindingdataSource1; All the data get visible to myControl when run the application. I can also update row into myControl and this update also takes place into the dataset through which myControl is bound. And from there I can easily put logic for updating database through updated dataset. I am using following code to update the database aft ...Show All
Software Development for Windows Vista Can Beta2 be insatlled and used without Vista?
I am keen to use WWF Beta 2 in an application i have been working on however i am unclear as to what is required to successfully install it. I have downloaded "Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2(EN)". Is this all that is required. Thanks Hi Devinder, found the problem meanwhile. When I first tried to install the Beta2 I didn't have the CTP-SDK installed. So Only a part installed. Afterwards I installed the sdk, and tried again with the beta2 in "modify"-Mode and Visual Studio stayed grayed out. After I removed the beta2, and reinstalled it, all wen ...Show All
Windows Forms How do I find out what event is firing and when?
Does anyone know of something like a freeware event monitor that sits in the background whilst a .Net app is running to intercept .Net events I need something like this because I'm trying to add some functionality to a listview, which is on a tab page, to recheck the checked items when the user re-selects the tab. (Or, someone just ...Show All
Visual Basic VB 2005 Compile Error
I have an existing VS2K3 solution that contains a mix of C# and VB.NET projects. I've upgraded the solution to 2K5 Beta2 and I get the following error when compiling the solution. This error occurs when building a VB.NET project. InternalMyTemplate.vb(173) : error BC30002: Type 'InvalidOperationException' is not defined. This file is not part of my project, it appears to be related to the 'My' namespace. I can't find any information on this particular error on the net. Does anyone have any ideas Best Regards, Travis G. I found the problem. In the previous version (2003), the VB project's references were all ...Show All
Windows Forms Update Database Value from Text Box
I create a winform and put 2 textbox and 2 button. I just use the UI on toolbox create database connection and data adapter. The wizde show me that the all SQL command is generate successfully. Then User will use textbox 1 to enter customer id, button will search record and display customer name on textbox 2. User can change the ...Show All
SQL Server Control of Parameter Field Layout
Greetings Is it possible to control how the Parameter fields are displayed on report at the point of selection At the moment they are equally dropped on the form in two columns. I would like to place the Alpha Numerical ones at the top and then organise the date parameters underneath in some kind of logical order. Regards The parameter layout is not configurable. But you can order the parameters in your report to get two columns in a more logical order. ...Show All
Visual Studio Team System What is TFS RC?
Can anybody explain me what is TFS RC (Team Foundation Server Release Candidate) Thanks Team Foundation Server is the server component of Visual Studio Team System. It provides work item tracking, source control and collaboration services to your projects. Unlike the rest of the Visual Studio Team System suite that launched in November 2005, Team Foundation Server has just been Released To Manufacturing (RTM) so that it will soon start to appear in retail channels. The Release Candidate (RC) was a build of Team Foundation Server that Microsoft released to interested parties to say "this is the build ...Show All
Visual Basic DirectDraw problems
I'm making a program that uses direct draw. It all works ok, with one exception. When i draw things onto the control, they don't appear where they should. Note: I'm doing this in Windowed Mode, and using a picturebox as the target control. Here's my initializing code... DD = created directdraw device. Ctrl = picturebox control sMain = surface (primary) sBack = surface (backbuffer) sMainDesc = surface description sBackDesc = surface description DD.SetCooperativeLevel(Ctrl, CooperativeLevelFlags.Normal) With sMainDesc .Clear() .SurfaceCaps.PrimarySurface = True End With sMai ...Show All
