Bruce Herz's Q&A profile
.NET Development how can we put a resultset of a sqldatareader into a datatable object
how can we put a resultset of a sqldatareader into a datatable object Thanks. Here is a variation of how you can do it in .Net 1.1 using System; using System.Data; namespace DataConversion { public class DataConverter { public DataConverter() {} public DataTable ReaderToTable(IDataReader dataReader,string tableName) { if( tableName.Length == 0) tableName = "unknownTable"; DataTable schemaTable = null; schemaTable = dataReader.GetSchemaTable(); DataTable fillTable = new DataTable(tableName); DataRow fillRow; string fieldName; while( dataReader.Read() ) { fillRow = fillTable.NewRow(); ...Show All
Visual Studio Express Editions dll's
where can i find the explanation or the use of some dll's. who can i know wich routines are include in a dll Try the Platform SDK which can be downloaded from http://www.microsoft.com/downloads/details.aspx FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en You can also get a lot of tips from the newsgroups. Tor ...Show All
Windows Forms Terrarium server !!!
I can't find a download for Terrarium Server 1.2 (not the source, just the installer). Is this available already If so, where can I find it I'm trying to setup a local server as our network is behind a firewall which I don't control. I've downloaded and set up Terrarium Server [Beta 1], but this doesn't seem to work with the 1.2 client.&nb ...Show All
.NET Development Word files to *.aspx help
What is the best way to convert word file to a *.aspx ( .net 2.0). I have articles written in this format that I would like to publish on my web page and reason why I need to convert them to *.aspx ( instead of htm) is : I want to use my master page so that layout is consistent within the website. How do I make this htm to use Default.master file of the application and make sure all the content of htm file goes in to ContentPlacHolder defined by the master file. ...Show All
SQL Server Data Source / ODBC error
Hi all, My replication of those SQL 2000 servers gave errors: Data source (11): General Network Error. Check your network documentation... and ODBC (08S01): Communication link failure. The replication was across the WAN. I don't know where to start to troubleshoot this problem. Please help! Thanks in advance. John Oh, by the way, if you can't get it to work, I suggest starting a new thread, because some people will see this thread as answered, and not read it. Cheers. ...Show All
Smart Device Development Question about eVC 4.0 and the Device-Emulator
Hi there, I have installed eVC++ 4.0 on my machine to develop a little helper-Dll for the PPC2003-Platform. I have also installed ActiveSync 4.0. Building my project causes a timeout-error during connect to the device (which in my case is the x86-Emulator). My question is: which way eVC++ communicates with the emulator eVC++ has tried to install a VirtualPC/Emulator-Driver, which XP has refused to load! I think my problem has something to do with this issue. But what can I do Thanks in advance Reiner PS.: On the same MSDN-DVD on which eVC is distributed, there is an MSI-Package that contains an "eVC++ Upgrade-Wizard for ...Show All
Visual Studio Team System Problems moving TFS from Domain A to Domain B
I have been using the docs here ( http://blogs.msdn.com/vstsue/articles/558098.aspx ) to try and move our existing TFS from a test domain to a live domain but I have trouble getting the warehouse and reports working again. As we have only been using TFS for version control up to now, I was wondering; is there a way for me to create a clean install of TFS on the new domain and import the version controls items from the old server, keeping all the history We have no work items or reports to move. Any help would be great, thank you. Graham I'll leave the answer to the second question to someone from t ...Show All
.NET Development Possibility to query the CLR execution engine ?
Hi, anyone out there who knows if (and if so, how) it is possible in the .NET framework to obtain the list of objects which are actually managed in a running application Thanks. Seems I'm doing a bad job in describing my problem The application I refer to, allows the user to create one or more instantiations of one or more classes provided by the application. Think of a menubar which allows the user to select "New ..." and then allows to configure an instance of a class (the user can select from a list of classes and the application will pop up the correct configuration w ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Basic question: Transforming a vertex is shaking my worldview
Wow, I always thought I had had matrix transformations pretty well figured out until now. So say I have a vertex, conveniently located at the origin (0,0,0). If I want to apply a transform to this vertex -- namely, a translation, I could do something like this: Matrix translationMatrix = Matrix .Translation(100.0f, 50.0f, 0.0f); // a simple 2D translation Vector3 myVector = new Vector3 (0, 0, 0); myVector.TransformCoordinate(translationMatrix); As expected, my vector gets transformed to its new value: (100, 50, 0). Now let's get crazy. Assume that I want to apply a transform that consists of a rotation and our previously ...Show All
Windows Forms CLickonce without the publish.htm
Is there a way to make the program just open up instead of the user hitting the run button I’ve got to ask first... are you looking for a way to just not need the Install button to be clicked but still leave the regular security warning intact Given that all the Install button does is direct you to setup.exe, you could do a add a META tag at the top of the publish.htm file (often within <HEAD>) ala: <META HTTP-EQUIV="Refresh" CONTENT="1; URL=setup.exe"> The problem with this method though is that it will not automatically launch the installer in the same way ...Show All
.NET Development Canonicalization Algorithms
Where can I actually find the algorithms these things use. I need to use an algorithm that is only available in .NET 2.0 but I need this now. http://www.w3.org/2001/10/xml-exc-c14n# Oddly enough even though this is not an option in the signedXML object it is available via this Microsoft.Web.Services2.Security.Xml.XmlDsigExcC14NTransform So how can I use this algorithm to compute a digitial signature without going to .NET 2.0 Actually all crypto algorithms are extensible via registration in the crypto config in the machine.config file. You need to register the algorithm URL in machine.config so that it maps to your s ...Show All
Visual Basic passing data to a thread from a form
Instead of using a class/method/delegate to pass data from a form to a thread... why not pass the data to a thread "ByRef" comments please thanks The problem is that a thread must be started with a function that has no parameters, so data is not being passed "ByVal" or "ByRef". That is why you will see the examples that will create a class to hold data used by the thread. ...Show All
Visual Studio Team System Publish trx file to a SQL Server Report
Hi I have a bunch of trx files and I have set up the SQL server where the loadtest database is with reporting services. I want others to be able to view the results that tdoes not have VSTS test edition installed. I know you can convert the trx files to reports if you have a team foundation server. Is there a way to do this with out team foundation server thanks This is not possible "out of the box" -- you are free to parse the XML format of the TRX files and manipulate the data yourself into the TFS. However, this is significant work. I would highly recommend evalu ...Show All
Visual Basic Property not visible
I have created a form with a defined property called InputSpread. Imports System.Drawing Public Class ImageForm Inherits System.Windows.Forms.Form Private cr As FarPoint.Win.Spread.Model.CellRange Private bmap As FarPoint.Win.Picture Private MyBitmap As Bitmap Private myInputSpread As FarPoint.Win.Spread.FpSpread Private ptStart As Point Private recCrop As New Rectangle(0, 0, 0, 0) Private EstablishCrop As Boolean = False Property InputSpread() As FarPoint.Win.Spread ...Show All
Visual Studio Express Editions How to build a .NET Compact app with VB2005 Express Beta2?
Hi, I've got a HP iPAC rx3715 Pocket PC with Windows Mobile 2003 Second Edition Ver4.21.1088) and a BT-338 GPS receiver & want to write some GPS logging applications. So I've just installed Visual Basic 2005 Express Beta2 (050215.4400) and Microsoft .NET Compact Framework 2.0 (Beta2) onto my PC (windows 2000 Pro SP4) with no reported errors, but when I start click start|Programs|Visual Basic 2005 Express Beta2 then File|New Project I only find 5 Templates; Windows Application, Class Library, Console Application, My Movie Collection Starter Kit, Screen Saver Starter Kit. How do I get started when I can't find a template to build ...Show All
