Anthony Borton's Q&A profile
.NET Development Reading XML from a db column in C#
Hi Everyone: I would appreciate it if someone can help me this problem as I am a c# beginner. I am writing a C# method that is supposed to read in XML from SQL Server 2005 Database. The table I am reading from has a column which is set to XML data type and has a well formed XML document. I would like to load that xml into a xml document in my c# and return back as a xmldocument in my method. Here is my method so far, as you can see i am utili ...Show All
Windows Live Developer Forums Custom Background or Movie Theme request
Hey I love MSN Spaces so far but I would really love to see a Star Wars theme. That is pretty much the only thing I am missing, an adequet theme for my space. If not adding the specific theme then I would like to request that we could put our own backgrounds. Either way or neither way, keep up the great work! ...Show All
Visual Studio Tools for Office Iterating Outlook.ContactItem properties
I can’t seem to figure out how to iterate the properties in the Outlook.ContactItem object. Using reflection does not seem to work. I have a feeling its do to it being a com object and reflection has a cow with it. Anyone know how to iterate the properties of an Outlook.ContactItem foreach(something item in Outlook.ContactItem) I need to iterate through the properties to do a comparison with my objects to get values from the ...Show All
Visual C# drawing something to the form---
how can i draw a line or circle on my form an example will be welcome! Thanks A Lot Depending on why you want to draw on the form, you can chose which suits your needs. Options A: Use the forms Paint event, to draw the graphics everytime the form is painted... private void Form1_Paint( object sender, PaintEventArgs e) { Graphics G = e.Graphics; G.DrawLine( new Pen ( Color .Black), new Point (25, 25), new P ...Show All
SQL Server SQL 2005 Database Engine setup failure
I am having a problem getting the databse service installed. My SQL Beta version did not uninstall smothly and I am trying to get the production release to uninstall. I keep getting the install to fail with: "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe" finished and returned: 1603 I have been able to install everything from the SQL 2005 suite (ie. reporting services, workstation components, etc) but I can't get the databas ...Show All
SQL Server SQL Login using a computer account
In SQL 2000 I use to be able to grant a computer account access to a SQL DB by adding that computer account to the SQL Logins using DOMAIN\COMPUTERNAME$. I have not been able to do this so far in SQL 2005. Does anyone know if this is still possible or has this functionality been removed from 2005 This functionality should continue working on SQL Server 2005. The way I have tested this functionality is by all ...Show All
Visual C++ Setting Sections Base Address
Hi All, Is there a way (linker options, compiler options, pragmas etc ) to locate a section to a particular address. As an example, I want to place an integer variable var in a section mysection , and want set the address of mysection to be 0x20000000. I have seen the linker opiton /SECTION. However, it does not allow me to set the address of a section. It is much easier to use a memory m ...Show All
Visual Studio Team System install problems
Is it just me or is there some sort of Catch-22 about getting the new Visual Studio 2005 working on a system I've been in installation hell ever since my disks arrived in the mail. No matter what order I try to do things, one of the installations fail. I finally thought I had made some progress when I got SQL Server 2005 installed and running, but when I then tried to install the Visual Studio 2005 Team Foundation Server it wo ...Show All
Visual Studio Team System Another 3200 Error during setup
Hi Almost out of patience (and time) now. Thought I had it made since I managed to get the Report server up and running (finally sic!). But then this popped up (again) almost at the end of the FS installation. Product: Visual Studio 2005 Team Foundation App-Data Tier Beta 2 (English) -- Error 32000.The Commandline '"C:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\bisdwserver\bin\SetupWarehouse.exe" -n -s "<Ser ...Show All
.NET Development Keypress event doesn't work on textbox if AutoComplete set on it.
I have my program set up to monitor several textboxes so that if the enter key has been pressed it runs a subroutine. Private Sub TextBox_KeyPress( ByVal sender As System. Object , ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress, _ TextBox2.KeyPress, TextBox3.KeyPress, TextBox4.KeyPress, TextBox5.KeyPress If (e.KeyChar = Convert.ToChar(13)) Then &nb ...Show All
SQL Server CLR Performance
We had a CLR function that was running in seconds under the April CTP - now it takes over a minute in the new Sep CTP. We've determined that the bottleneck is in the following line: Dim SqlConn As SqlConnection = New SqlConnection( "context connection=true" ) Is there a new recommended way to open a connection Yes, you're sample is pretty much what I did to test the UD stored procedure. I j ...Show All
Visual Studio Team System Check naming of boolean fields/variables
Thank you again for all the answers. I have a new question. I have written this code: Cinthia, As pointed out on your original question, the following blog post has some sample code that shows you how to do this: FAQ: How do I access the locals of a method in a custom rule Be aware though, that symbols (.pdb) will need be generated and be alongside the assembly you are analyzing for the local's name to be populated. Re ...Show All
SQL Server Cannot create a connection to data source
Why is it that sometimes I get this error and sometimes not after I deploy the same shared data souce to my Report Server Even if I try deleting the datasouce through Report Manager the redeploy it from VS 2005, it still errors out when I run my report. I am able to run my report fine in VS. An error has occurred during report processing. Cannot create a connection to data source 'mydatasourcenamehere'. For more ...Show All
SQL Server connection error
hi, I installed sql server 2005 ,when i try to connect to sql server management studio iam getting this error. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data P ...Show All
Software Development for Windows Vista How do i record what i do????
i wanted to know how i recorded what i did. Say for example i was making some video on showing how to do something like a walkthrough. so how do you record what you do in windows xp thanks. ^-^ This is not related to Windows Workflow Foundation particularly but you can find some information on the following link: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vsintro7/html/vxtskrecordingmacros.asp You can also ...Show All
