mmmmBeeeer's Q&A profile
SQL Server Saving Query Result to new file
Hi Gurus, Can u help me out in the following two scenario/problems. 1. I want to save the query results (which is generated within execute sql task) to file (which does not exists & should be created at run time). is it possible 2. Can I define the file name, in Flat File connection Manager, dynamically (by using some variable) Your support and help will be appreciated... regards, Anas Zadoras wrote: Hi Gurus, Can u help me out in the following two scenario/problems. 1. I want to save the query results (which is generated within execute sql task) to file (which does not exists & should be created at run time). is it possible It is, in theory, possible yes. But you will need more ...Show All
Software Development for Windows Vista Problem with Workflowdefinition??
Hi all I seem to be having a problem with the workflowdefinition. If I add a branch to a parrallel activity to a workflow at runtime from a host, The workflow runs but when I try to retrieve the workflowdefinition to show it in the designer I get the following error: Unexpected end of file while parsing Name has occurred. Line 19, position 16. Could somone help me with this Thanks Mario Hi Tom Thanks for your interest. I am using Beta 2.2 but it is hard to give an example here as it includes a predefined workflow. I am creating a workflow from my application and then changing it from the host at runtime in order to reflect changes in the environment. When I add a custom activity, I seem to ...Show All
Visual Basic Unable to cast object of type 'System.TimeSpan' ...
Here's my code: Dim ts As New TimeSpan ts = TimeSpan.Parse("1:02:03") MsgBox(Format(ts, "HH:mm:ss")) I get this error message at the MsgBox line: Unable to cast object of type 'System.TimeSpan' to type 'System.IConvertible'. What's happening here I am running Visual Basic Express 2005. Version info: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft.NET(Framework) Version 2.0.50727 Microsoft Visual Basic 2005 76541-000-0000011-00124 AxelJump wrote: ---------------- You could just use toString as in >> ts = TimeSpan.Parse( "01:02:03" ) MsgBox(ts.ToString) ------------------ ...Show All
Visual Studio 2008 (Pre-release) How to bind values to the Grid in WPF?
I have created a Grid object and added column and row definitions to the Grid. I want to bind the data for the grid columns. Is there any way to bind the data for the Grid as like normal VS .Net 2003 (i.e. DataGrid1.DataSource = ds) If it is not possible in WPF, how can i bind the values to the Grid in WPF. OTHER IMPORTANT Thing is I want to create a DataGrid which is to be good look-and feel (Which should not be like normal WinForms grid, instead it should be good style as with moulded borders, using nice colors, and should also perform event handling.(such as mouse move, mouseover,dragover..) It should also allow us to add any type of controls(such as Calender control, dropdownlist, popup menus, context menus). It also ha ...Show All
Visual Studio Express Editions Visual C++ Express: Examples
Hi, I've written a fair amount of code in C++ Express, but its always been standard ANSI C++. Now that I'm onto Windows stuff I'm stuck and nowhere seems to have decent code I can look crib. Can people please reply with links to good Visual C++ Express specific code examples. I want to write a small single-instance listbox driven application launcher, preferably populating the list box from a directory of shortcuts, so if there are any examples relevant to this I would be grateful. Cheers, Dave Steadman. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1063577&SiteID=1 ...Show All
Software Development for Windows Vista StateMachine Workflow and States
Hi together, I am wondering if it is possible to start a workflow instance (StateMachine Workflow) in a special state. So assuming I have the following states: A, B, C, D. Now I want to create the workflow instance and set the state to e.g. C. How can I achieve that. I didn't find a "SetState" or something similar at the workflow instance object. Thanks for any help Cheers, Franz ...Show All
SQL Server Setting up XA Transactions for JDBC / JOTM
Hi, I'm setting up a JDBC-based system that should do distributed transactions between SQL Server 2005 (Express/Standard) and Oracle. I'm using Tomcat and JOTM on the application server side. The SQL Server JDBC documentation (http://msdn2.microsoft.com/en-us/library/aa342335.aspx) mentions required steps for adding a DLL (sqljdbc_xa.dll), a set of stored procedures (xp_sqljdbc_xa_*) and a databaase role (SqlJDBCXAUser ) in order to use distributed transactions. However, my system seems to work without all this. Are these steps really needed How do I know whether my installation was successful or whether my system really does 2 phase commit I am suspecting that maybe JOTM uses simple transactions if it's connected to non-XA connections. ...Show All
SQL Server Incremental Update
Good afternoon, I was wondering if someone could help. I'm busy researching into SSAS's capabilities, specifically Incremental Updates, however this would be the first time I'm working on SSAS, so I don't know where to begin. I've read through the BOL July 2006, and it explains that you have to enable this option; however to me it's not very clear. I followed the steps outlined in the Book; however when I go and update the source table, the partition does not update automatically. Could anyone please let me know if there is a website detailing how Incremental Updates work, and also how to set it up correctly Thanks Colin. Hi Thomas, Thanks for the quick reply. I'll have a look at the sites a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Bones and X Importing
Hey all, Took a look around and couldn't find a post about a similar problem on the forum, and just wanted to know if anyone encountered any problems importing an x file that included a skeleton, I created the following test animation (forget the animation at the mo, it doesn't seem to get past the importing stage let alone processing) of a cube in Maya 7, importing it using the directx X importer plugin for maya from the august SDK (the december one crashes everytime i try to use it, and i have yet to try the february one). When i so much as add the x file to my project, without referencing it in the code (so all it goes through is the content X importer and default Model XNA processor) and try to build it returns the error: 'Error 8 Vert ...Show All
Visual C# Efficient search
Hi, I have two tables that I create to display information in a DataGridView Control. Now I need to compare the fields of these two tables. It is somewhat like: void SomeFunction() { for (int i = 0; i < tableA.Rows.Count ; i++) { DataRow rowA = tableA.Rows[ i ] ; for (int j = 0; j < tableB.rows.count ; j++) { ...Show All
Visual C# Chr (VB.NET) vs char (C#)
I am converting a VB.NET program to C#. One of the features is returning the character code for an ASCII value. The (char) cast or Convert.ToChar seems to work in most situations. However, in some ASCII(134) I get different returns between the VB and C# code. In VB, Chr returns the small 't' symbol alla http://yorktown.cbe.wwu.edu/sandvig/docs/ASCIICodes.aspx . In C#, (char) or Convert.ToChar returns the 'square' symbol alla unrecognizable. I've looked all over but have not seen how to resolve this(other than setting a refernce to Microsoft.VisualBasic which is something I frown upon). Any help would be greatly appreciated. Thanks First of all, the official ASCII Code standard ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Upcoming Starter Kits
From yesterday's webcast (where was everyone ), it was mentioned that a puzzle starter kit would be included in the RTM version and that the XNA Racer starter kit would come with the Creator's Club membership. I didn't get a chance to confirm this. Is this the case Also, are there any plans for other starter kits down the road Jim Perry wrote: I'll be getting a Creator's Club membership so I'm not concerned. Good point :-P ...Show All
Visual Studio Team System Would like to set condition when sequence of events happen
I would like to make integration build required for developers when the state is set to resolved and the assigned to is "qa" How can I do this Thanks. If someone does not associate a work item with a check in, then the integration build will not be auto filled. So I would like to make sure that when they sign off bugs that QA knows which build to test against. Thanks, Jon ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I cant install
I downloaded everything, SP2, VC++ 5 and XNA, but I cant install XNA. It says that I need to download and install VC 2005, but I did that, I can run VC and do everything with it, but cant install XNA. Whats going on I'm not sure how many times we have to say it, but installing XNA Game Studio Express on Vista is not supported. Your screenshot is clearly sporting the new Vista look, so this is almost definitely your problem. Since you apparently have Vista, here is a set of officially unsupported instructions on how to install it: http://letskilldave.com/archive/2007/02/08/Getting-XNA-Game-Studio-Express-to-run-in-Windows-Vista.aspx --Stephen ...Show All
Software Development for Windows Vista Anything new in the July CTP?
I see there is a July CTP out as of yesterday, has anything been added or changed http://www.microsoft.com/downloads/details.aspx FamilyID=62057a6f-185f-41db-abe5-678f6fc388f0&DisplayLang=en I don't think there is. Looking at previous update documents, like the one from Beta 2.2 to RC2 found here , product changes are listed but bugs fixed are not. ...Show All
