Mike C#'s Q&A profile
SQL Server Licensing of launch SQL Server 2005 Standard Edition
Sorry, but I wasn't sure where to ask this.... Microsoft is giving out SQL Server 2005 Standard edition at the launch events. At least they gave a copy out at the Nov 7th San Francisco launch. My question is.... is this just a copy of the software, or is there some form of license that goes with it The software is nice, but I'm trying to figure out if I can legally do anything with it beyond look at it -- thus I'm trying to figure out what type ...Show All
.NET Development How do I enable useUnsafeHeaderParsing from code? (.NET 2.0)
Hi, We have several webservers that do not follow the correct RFC specification when performing some specific HTTP web requests, in order to communicate with them we need to enable unsafe header parsing. Changeing the webservers to respond correctly is NOT an option in our case. According to documentation, adding the following lines to the app.config enables the unsafe header parsing. <system.net> <settings> <httpWebReque ...Show All
Visual Studio Changing parameters in ASP.NET reportviewer
I'm utilizing the ReportViewer in an ASP.NET (RTM) application. I dropped a ReportViewer control on to the ASP.NET page and configured the report for Remote processing. The report loads and runs successfully with the default parameter values. My problem occurs when I attempt to change parameter values in the parameters toolbar. The page just refreshes with the default values in the parameter toolbar and the rendered repor ...Show All
SQL Server FTP No Files Error
When running FTP Client, and there are no files found on the FTP site and error is thrown. Is there any way to catch this condition and reset the error so does not bubble up to the parent package I want to catch the event that there are not files on the FTP server to get so that I can set a variable appropriately, but then I want to branch on the condition and return to the parent package and not have the parent package see the error that ...Show All
Visual Studio Express Editions password format
I have installed the VWD on Windows 2003 server and gone through the configuration several times. At this point the applications which I have developed which worked fine on my Windows xp are not up and running because of some sort of difficulty with the password format. When using the ASP.NET Webstie Admin Tool isn't able to recognize the password format. Can someone help me figure out how to configure this. I tried adding the ...Show All
Windows Forms Form border
Hi, I would like to display a help form using which is created using these lines Help help = new Help(); help.Show(); I would like this form to be without the top that includes the Form name and the minimize, maximize and exit buttons. Just th ...Show All
Windows Forms Custom Control and Properties Tab
I am developing a Custom Control to be used by other developers in the .NET environment. My implementation is developed in .NET 2005 C++ -- development is going well but I have had some issues that I cannot resolve. For example, when installing third part controls I notice in the Properties Tab they have their properties listed in a heading of some name other than those the control may inherit from. For example the generic ones include 'Data', ' ...Show All
Visual Studio Express Editions Receiving WMI configuration error. SQL Server System Configuration cannot be executed due to that
Hello PPl, I am getting this error again and again. The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine mymachine Error:2147749896 (0x80041008). I uninstall all version of Visual Studio 2005 just kept Microsoft .NET Framework 2.0. Still I am getting this error when I am running SQLEXPR.exe to install the SQL Server 2005 Express. PLEASE HELP!   ...Show All
.NET Development Unexplained CryptographicException : Padding is invalid...
I wrote the following functions to encrypt and decrypt a file, and they seemed to work perfectly. However, once I modify the data being saved 2-3 times, I get the following error: System.Security.Cryptography.CryptographicException : Padding is invalid and cannot be removed. at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(...) at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(...) at System.Secu ...Show All
Visual Basic Process Lock Up
Is there a way to monitor processes to see whether or not they are doing anything, then kill them if not The reason I need this is that I have .NET dlls that alter Excel Spreadsheets, and I close them down correctly, but sometimes for some reason the EXCEL process will simply lock up and stop the other files from processing. I want a tool that checks the EXCEL processes and if one isn't doing something, then I want the tool to kill ...Show All
SQL Server Saving Query Editor settings to file
Hello: I've recently been tasked with figuring out how to save a configuration file (as you were able to do in SQL 2000 Query Analyzer) for the query editor windows in SQL Server 2005 management studio environment. I can figure out how to set everything the way we'd like it to be set on all of our development machines, but saving that so we can easily apply it to all the machines (by importing or loading it) is beyond my abilities apparent ...Show All
SQL Server Does RS have a time on authentication tickets? (Updated - VS Web Svr related)
Background: I have successfully impleted the Forms Authentication from the MSDN samples for both ReportManager and for a separate website that I built which makes RS web service calls. This all worked until I installed Visual Source Safe. Not that I'm necessarily blaming VSS, but that is literally the only thing I did to my machine after getting the Forms Auth to work. Issue: It seems as if RS is losing the fact that I'm authenticated. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 1D and NPOT texture
Can anyone tell me how to use 1D texture and NPOT texture Is the Texture object always create POT texture or it can be used to create any size texture Thanks! CreateTexture can create non-power of two textures if the device supports non-power-of-2 textures. You can create a 1D texture by creating a texture of height 1. Sam Z. Glassenberg ...Show All
Visual C++ Shellexecute?
Hiya all, i'm kinda new too this and need some help, i thought this would be the best place to ask so here goes.. i'm trying to get shellexecute to run something, just say i wanted to run/open a old text document "C:\test.txt" i would use this ShellExecute(handle, open,"C:\test.txt", NULL, NULL, SW_SHOWNORMAL); or ShellExecute(handle, open,"C:\test.exe", NULL, NULL, SW_SHOWNORMAL); correct if so it doesn't work.... it complains about the handle ...Show All
Visual C# Checking if a Form is running
Hi. Could some1 explain to me how to check if an instance of a form is still running...I am doing a program with a lot of timers, and I want to check if one of the forms is running, if it is not I dont't want to open a new instance... Hello By using the following code, you can loop thorugh the instances of the currently opened forms FormCollection fc = Application .OpenForms; ...Show All
