Michael Schreyer's Q&A profile
Visual C# How to remove a class-file from a project?
Hello, Adding a class file is simply by: Project->Add Class but how do I remove a file (class-file) from my project Henk Select it in the solution explorer, then Project->Exclude from project. ...Show All
SQL Server concate comments from different rows
Posted - 01/08/2007 : 17:36:50 Here is my solution using UDF as it looks more clearer for me, but as most of the expert explains don't do in the server side. I finally put that in the presentation layer because of the poor perfermance. create function dbo . uf_ConcateComments ( @ApplicationId INT ) returns varchar ( max ) as begin declare @Return as VARCHAR ( max ), @newline as char ( 2 ) set @Return = '' set @newline = char ( 13 ) + char ( 10 ) select @Return = @Return + @newline + @newline + cast ( DATEPART ( dd , t . CreatedDate ) as varchar ( 2 )) + '/' + cast ( DATEPART ( mm , t . CreatedDate ) as varchar ( ...Show All
Visual Studio Express Editions How do I save data
My name is Elliott Bowles and I am relativley new to programing with visual C# Express Edition. I am currently writing a simple customer tracker program which uses a table in SQL Server express. I have the program set up and everything works, except the auto-generated save button. This button, when I click it, does not save any of the data that i have changed/added. Please could someone give me some help to fix this bug. thats great when you figure something yourself, but there are many who are searching this forum as well who might encounter the same problem , so mark the answer for your question , for future searchers best regards ...Show All
Visual Studio Team System Need binaries for WAP in sources folder on build machine
I am building multiple app types in one solution, one of them is a WAP. I have an Installshield project that combines them all into an install package. I have this working on my desktop with msbuild from the command line. It fails when I run it through TFS on our build server. Here is the reason… The WAP binaries are …\<project root>\PrecompiledWeb\... on my dev box. I have pointed my install project here with relative paths. On the build machine the install project is looking for all the binaries in the ‘Sources’ folder, but it is not there. The binaries are in the ‘binaries’ folder in ..\binaries\Mixed Platforms\Release\_PublishedWebsites\<product name>. I don’t mind it being here, but I need it to still be in the s ...Show All
SQL Server MTS Threads
I am wondering how to determine the the number of threads an MTS object can handle, and where you can view this information in the mts explorer. Thanks Mike ...Show All
Windows Search Technologies Can I keep the WLToolbar 3 and version 2.06 of WDS?
Boy this is sure annoying! Windows Desktop Search has made my week pretty miserable... Anyways, here is a simple question for you experts: I was very happy with version 2.06. (Version 2.65 seemed to crash while indexing some files on both our PCs here) The only problem is that the Toolbar for Internet Explorer in that version didn't function well with ie 7. The FormFill feature drop down for choosing addresses and credit cards wouldn't appear. Now that I have the latest and greatest Windows Live Toolbar 3.01.0000.0072 (along with Form Fill with the same version number)... I am THRILLED. Works like a charm. However, I NEED to get rid of WDS3.0 and go back to 2.06. The only problem is that everytime I install an olde ...Show All
SQL Server Create HTTP request in Stored Procedure
Hi, I want to know if it is possible to create and execute a http request in SQL Server. I want to run the request in the database as alot of the data in the url would be retrieved from the database. I want to create a stored procedure that runs the request. The stored procedure must be called from a trigger on a table. The reason I want to go this way is because it would be alot faster that to get the data from the database and then execute the http request in the application. Another reason that I want it done on the database side is because the internet connection of my client is not as fast as the one I am using for development so I don't want the pages to load to many times and get the data between the server and the client c ...Show All
Software Development for Windows Vista Is there a "standard place" to store writeable not plublic shared files to please UAC?
Our program has two files must be writeable (a database file and a config file) which are shared by all dedicated users of the program on a single system. The automatic redirection to a single users directory path is not helpfull in that case. Before changing our program: Is there a standard place on Vista to store writeable not public shared files (We whant also to pass Vista Logo test...) Thanks in advance Hi Lela, sorry, i did not got an answer nor found a acceptable solution on our own... It seems to me we are doing the very old "Main fault of IT: Dividing function and data" again - but only on a higher level now. To stay solution oriented: Where would you place a Jet database file and a config file ...Show All
Visual Studio Error add Service Reference
Hello, when I try to add a Service Reference (from a WSDL) I get the following error: The service reference codegeneration failed. Please look in the output window for details. In the outoput window is only this message: Error: URI formats are not supported. Can anyone tell me what could be the issue here Thanks, Boris Boris: Did you figure out an answer I ran into the same problem today - and there seems to be a lack of answers out there Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. kW X-port for 3ds Max 9 (X file exporter with XNA support)
I have made a preliminary version of the kW X-port plug-in available for Max 9. The full Max 9 download from Autodesk is almost 3 GB and is still going, so I haven't been able to test it yet -- it's just re-compiled with their new SDK. I give it a good 90% chance of working fine, though :-) The version for Max 8 has been tested, of course, and is still available. It might work as far back as Max 6, because they are apparently version compatible from 6 through 8, but I have only tested on 8. kW has some features that might help with XNA usage, such as support for the Max Direct3D9 material with shader parameters; support for mirroring along Z and mirroring the V coordinate ; support for properly exported skinned meshes even if ...Show All
Gadgets Gadget developer needed
Hi, I'm looking for a developer to port a Google gadget to Live.com platform. Anybody interested just drop me a line at corp@auctioncontact.net Thanks, Alex You can simply add you're google gadget to you're personal live page already! Live supports google gadgets. Just click: Add stuff > advanced options and enter the url of the google xml file manually. ...Show All
.NET Development Javascript won't recognize my input control
For some reason my script can't see my input control. It can see the label fine. The IDs seem to match so I don't know where the problem is. Here is the page broken into master and child pages. Master: <%@ Master Language="VB" CodeFile="test.master.vb" Inherits="test" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <html xmlns=" http://www.w3.org/1999/xhtml " > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="frmTest" runat="server"> <div> <asp:contentplacehold ...Show All
.NET Development Deserialize - unable to find an Assembly .....
Hi, I've got a really strange error. I'm using a fairly standard method to implement the IClonable interface, basically I serialize my object to a memory stream and then stream it back again. This all works fine in the .Net runtime environment and if I use a test application. However, I need to run as a COM control inside of an HTML page (long story, but I am embedding it in the home page pane of Outlook). Anyway everything works fine except this routine. It fails when trying to deserialize with "Assembly not found". I added some debug code to load the assembly dynamically and that all works fine. It can't be a version issue as I am serializing and deserializing the same object in the same method. I've traced where the framewor ...Show All
.NET Development Simple Update from a VS 2005 vb project to an mdb?
Hi all, New to Visual Studio, and only have experience with asp and access. The problem I have is this. I can call nearly anything out of my database that I want, but for the life of me, I can't update even a single field. Now the worst part is this. The little program I'm working on to do the data access is just a simple console app, which passes the data on to clients. All is well except, how do I code an update to a field. For example, to update the field Email in the Clients table with a variable passed through dimmed as a simple string This is an example of the code I am using for my general select querries: Dim conn As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Delirium.mdb" Dim cmd A ...Show All
SQL Server MS Access 2002 / SQL Server 2005 Express
I have few queries: (1) What is the maximum database size of Access XP and SQL Server 2005 Express (2) Is SQL Server 2005 Express edition FREE for development use 1) As far as I remember in Access XP its 2GB, in SQL Server Express you will have 4GB. 2) Its also free for distribution within your applications. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
