DreamState's Q&A profile
SQL Server The external metadata column collection is out of synchrionization with the data source co lumns
The external metadata column collection is out of synchrionization with the data source co lumns what columns is it talking about...what are the external columns it's talking about I'm trying to run my package and this happens in the Flat File Source module The flat file itself is represented by the external meta-data columns. So the file should always match these. The other columns are what goes through the pipeline. The two are normally built at the same time and maintained in sync, but if you alter the file, it will detect and update the external columns, but now your pipeline does not match. Is there not an option for it to s ...Show All
.NET Development Best practice while writing C# functions
Hi, Anyone has any idea about how to free up memory in C# functions. Does the GC collects memory after a function has executed How about setting variables to null after we are finished with them, or the GC will automatically set them to null Does setting variables to null in finally causes an overhead void TestFunc() { XmlDocument xdDoc = new XmlDocument(); try { // use xdDoc } catch { // handle catch } finally { xdDoc = null; } } An object becomes available for garbage collection once there are no longer reachable references to that ...Show All
Windows Forms What's going on with Terrarium?
What is the future of this project is it dead Windows Forms Forums have no response for 3 months.. Why it is called sample application, but source code isn't published It would be very nice to have a source code of this interesting game application I'd like to see the source too! Maybe it would benefit from being recompiled for .net 2.0 though - generics et al :) ...Show All
.NET Development Is there XML editor, organized like form view, according DTD ?
Is there XML editor, organized like form view, according DTD (or else XML scheme) I want to enter XML data, but not in pure XML, or in arbitrary XML in form view like in Microsoft XML notepad, but to enter data by form fields according DTD. Is there such a good thing thanks. Yes, it looks what is need, with only collection of nodes must be kept. As well as collection of collections i.e. using some tree-view instead of list -view. ...Show All
Visual Studio 2008 (Pre-release) how to play sounds
Hi can anybody know how to play a sound (from external .wav file)when i click on a button Thanx Chinni here is a sample from the docs ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/wpf_conceptual/html/c4dbe632-6e7f-4d7f-9df5-98737a758bc3.htm ...Show All
Visual Studio Tools for Office VSTO & MS Access
I'm just trying to get up to speed on the new Visual Studio 2005 and the new Tools for Office. We do a lot of work with MS Access (and Excel) and what I find odd is that in all the articles I've read there is not mention of MS Access w.r.t. the VSTO. Do the VSTO not work with MS Access What am I supposed to use if I am doing development with Access 2003 Can someone please clarify how VSTO works with MS Access We've already been burned by buying Visual Studio 2003 "Special Edition". It includes the Office Tools that I believe work with Excel and Word. Too bad we bought the upgrade to work with Access 200 ...Show All
Visual Studio Team System Stloc_S and Starg_S: how do i find the local or argument index?
When an Instruction object has an OpCode of Stloc_S or Starg_S, how can i find out which local or argument index is going to be stored on the stack When the OpCode is Stloc_S, the Instruction object has a Local instance in the Value property. And the Local instance has a Index property, the the Index is always 0. Is this the way its supposed to be Why don't you just compare the two Local instances stored in OpCode.Value to see if they're the same The Value of the related opcodes will point to the same reference if the same local is being operated on. ...Show All
Windows Forms Smart Client. What exactly are we talking about?
I confused myself on the concept of 'Smart Client'. Initially I thought it was similiar to an app/service my company recently bought. It was a windows app run in a browser using Terminal Services (I believe). No need to install anything beforehand, just navigate to the URL and the app installed a thing or two and viola! The more I read about  ...Show All
.NET Development Input string was not in a correct format
somebody, please could tell me where is mi mistake in this problem I don't understand why is trying to change from string to Int32.. here's the error I am getting.. Any ideas , suggestions thanks in advance Exception Details: System.FormatException: Input string was not in a correct format. Source Error: Line 103: objComm.Parameters.Add(parameterPosition) Line 104: Line 105: objComm.ExecuteNonQuery() 'Execute the UPDATE query Line 106: Line 107: objConn.Close() 'Close the connection Stack Trace: [FormatException: Input string was not in a correct format.] System.Number.StringToNumber(Strin ...Show All
Visual Studio 2008 (Pre-release) Found a Bug in Skip(x).Take(y)
I've seen this work just fine on a regular table, but it blows up when added to my somewhat complex expression tree: func: var myQuery = from (..) in (..) where (..) orderby (..) return myQuery.Skip(3).Take(1).ToQueryable(); main: blah.DataSource = func().ToList(); The classes here are strongly-typed, e.g. I'm doing IQueryable<MyObject> as the return type of the function. Everything works fine when I don't do .Skip() and .Take() as recommended by another poster here for paging. When I add .Skip() and .Take() I get the following error message from SQL/DLINQ: [SqlException (0x80131904): Incorrect syntax near ')'. Incorrect syntax near ...Show All
Software Development for Windows Vista State machines inside sequential workflow
Is there any way to have an activity that behaves like a state machine inside a sequential workflow Currently there isn't any way to do this although you can use sequences within a state machine workflow. You can also take a sequential workflow and implement the same logic as a state machine. Can you describe a scenario where it would be useful to have a state machine start at a point in a sequential workflow and block the sequential workflow until the state machine completes Regards, Paul ...Show All
Visual C# Runtime Button_Click event
Ok. I have created a button at runtime, the only problem is, I need it to have a click event. How do I go about doing that try this public Form1() { InitializeComponent(); Button button = new Button (); button.Text = "Close" ; button.Click += new EventHandler (button_Click); Controls.Add(button); } void button_Click( object sender, EventArgs e) { this .Close(); } Andres. ...Show All
Visual Studio Express Editions Help me with importing c++ dll functions.
Hi, Im trying to import these functions from vb.net but i dont know what WORD and so on would be in vb.net and how I would call them. ////////////////////////////////////////////////////////////////////// // Decrypt Message From FrontCode Peer Cache Server // // Parameters // pSrc : (IN) Message From Peer Cache Server. Buffer must be 132 bytes. // pDst : (OUT) Primary Node Addresses. Buffer must be 120 bytes. // // Remarks // Node Address Structure // // typedef struct TAG_NODEINFO { // DWORD dwNodeIP; // Primary Node IP Addresses // WORD wUDPPort; // Primary Node UDP Port // WORD wTCPPort; // Primary Node TCP Port // BYTE bF ...Show All
Visual Studio vs2005 Project Template, entry removal
I'm using VS2005 to create a project template and would like the resultant project template to only contain certain files but the template file generated always lists the complete set of original project source files, I do not want my source files included in the project template. How can I remove them If I unzip the project template zip file and edit the template to exclude the unwanted files and then rezip the I get the following error when trying to create a new project from my project template "Cannot find file ............" If you edit the zip file, e.g. want to remove source files you should rember to edit bot ...Show All
Game Technologies: DirectX, XNA, XACT, etc. hlsl pixel shader branching
Maybe this is a little off topic: I'm really interested in why the branching performance of my geforce 7800 gtx is so poor. I'm using hlsl shaders and I get huge performance boosts when I remove branching that should actually save a lot of work for the GPU. But the opposit is the case. Does anybody know if this is different with ati GPUs Nico Yes, you can look at it more that way. More accurately it's probably the ratio of branching:non-branching that is more telling. I remember reading a lot of talk about ATI's X1k series getting a huge leap on the GeForce 7's when it came to games that use ...Show All
