schalmeti's Q&A profile
SQL Server Running query in SQL 2005 stored procedure against table on SQL 2000
I'm trying to set up Service Broker Services on SQL 2005 x86. I've got two services set up, and a stored procedure associated with one of them. The stored procedure is going to execute a query against a database on another server running SQL Server 2000 SP3. I can get the stored procedure to activate by using ALTER QUEUE WITH ACTIVATION...EXECUTE AS USER My problem is that the execution of the query within the stored procedure ( selec ...Show All
Windows Forms Suprising performance increase
Hello, I recently stumbled across a huge performance difference involving writing out a large hash table to a file. The hashtable is holding a very simple object called Token, that holds a string value called token and a couple counters. ToS ...Show All
Game Technologies: DirectX, XNA, XACT, etc. .net 2005 graphic engine
I am looking for an open souce .net 2005 graphic engine Nothing fency, just the basics. To start learning how graphic engines are created. I doubt this one is open source, but it's worth sharing anyway. http://www.haddd.com/ Also, the Quake II.NET engine is open source. http://www.vertigosoftware.com/Quake2.htm ...Show All
Windows Forms Please Help - custom objects/collections and datagrids
I need to bind a custom object to a datagrid and be able to control which columns appear and in which order. My custom object contains a collection of objects which have many properties, not all of which I want to display on my various data grids. All examples I have come accross use datasets or else display all properties of the object that is bound to the datagrid. Other samples recommend altering the SQL to determine which property is shown. ...Show All
Windows Forms Binding a combo box to a data set
Hi, I am trying to just list some columns in my dataset by binding it to a combo box in windows form application. I can easily do that in a web application. But really doesn't seem to work as a windows form application. Label1 an ...Show All
Windows Forms Migrate the code of object datasource asp.net to vb.net
How i can use the class of objectdatasource in asp.net to binding data to a datagridview in asp.net Thanks There is no support for migrating ASP.net code to Windows Forms. Maybe others know of some tricks, but I don't think you'll find anything. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Windows Forms How to stop code in a loop.
Here is what I have: while(checkbox.checked == true) { DoSomething(); } I have a button named as well, "button1". I would like to make it so that when the "button1" gets clicked, it stops the loop. Hope this makes sense. - ...Show All
Windows Forms Replace Prompt
About the windows Explorer Replace prompt is there is a way when a the file Overwrite is a picture to display the picture of the organial file and the file ll be replace The new Windows Vista currently shows pictures of both files. I say currently because it's still work in progress so it may change. On a side note, this thread is for .NET Windows Forms programming questions and not for general Windows Operating system questions ...Show All
Visual Studio Team System ASP.net passing QueryString for Unit Testing
Hi, Is there any way to pass Query String Parameters to the URL (ASPX Page) thats being Unit Tested The Query String cannot be part of the UrlToTest attribute as typically these Parameters would be determined at runtime on a previous page before being redirected to the aspx page that would need to be Unit Tested. Any pointers or workaround would be helpful. Thanks, Krishna Hi Krishnaswin, I'm so gl ...Show All
.NET Development Programatically checking whether a type implements a interface?
Hi all, How can i programatically find whether a type is marked with an attribute or it implements an interface For ex: [Serializable] class MyClass : ISerializable { } If my function get this type as input it should tell me whether it is marked with any attribute or it implements any interface. Thanks, Suresh. I'd do it like this: bool hasAttribute = typeof (MyClass).IsSerializable; bool imple ...Show All
Visual Studio Tools for Office Reading Excel From C#
You can read data from Excel using the JET OLEDB provider. See the URL below for the necessary connection string, and a link to a KB article with further information ... http://www.carlprothman.net/Default.aspx tabid=87#OLEDBProviderForMicrosoftJetExcel -- Brendan Reynolds wrote in message news:9226766e-a1d5-400c-8d3c-8ffc566bec50@discussions.microsoft.com... > Hi > > Can anyone help me how to read values in Excel in C# . So ...Show All
Visual Studio Team System Can I record unit tests?
Hi, all. This is probably very basic and, possibly, obvious. But, I'm just a newbie and don't know much about it. :) I am trying to use VS 2005 Team Test Edition to automate some of the testing we do. So far, I'm just investigating what it's capable of and how we can use it. What I can see so far is that web tests are not going to work for our application, since we have a lot of client side logic involved. I'm looking at unit tests and ...Show All
Windows Forms Bound DataGridView + Sorting
Hey I like the new look for the forum! Does anyone know if the DataGridView control has an event that will fire right before a sort occurs. I've tried all the events that contain the word sort and I even did the ColumnHeaderMouseClick event, which for some reason fires before only sometimes - seems too unpredictable to use for this purpose. Here's why I need this event: I have a column that depending on the data in the row will ...Show All
Visual Studio Team System TypeNamesShouldNotMatchNamespaces AKA CA1724
This rule seems overly constraining. With namespaces (and the advent of the global namespace in C#) and some of the names of the nested namespaces in the FX, it seems to me this rule will generate much noise (e.g. the following nested FX namespaces are really general and could apply to many different projects/applications: Common, Services, Collections, Design, Util, Resources, IO, Configuration, Internal). "Design" is a nested fram ...Show All
Visual Studio Tools for Office Adding XML nodes in run time
Hi, I am assigned to create a word document where I need to add xml nodes in run time from actions pane using button and later extract data from those nodes. I need to be able add these nodes more than once. Can someone help please! I am using VSTO 2005 and Word 2003. Thanks in advance. - Nick Hi, VSTO does not provide a way to programmatically add XMLNode controls to a docment at runtime. For mo ...Show All
