MichaelH1981's Q&A profile
SQL Server SSRS From ASP.NET
Hi, I am very new to SSRS and wanna know some very important things to begin reporting in it. I am developing an ASP.NET application where we report using datagrids. i now want to convert those reports to SSRS Reporting. but the problem is that all the queries of those reports are dynamically formed based on the querystring parametrs that the ASPX page recieves.It is something of this sort.... stringbuilder.append("Select ..... from ......"); stringbuilder.append("where ...."); if (request.querystring["id"]==1) { stringbuilder.append("and id = ... and name =...."); } stringbuilder.append(" and lastname like '%d'"); It is of this sort. so y ...Show All
Windows Forms Mobile Development with C#
Hello, Is it possible to develop for mobile devices using the .NET compact framework, with the stand-alone version of Visual C# (Standard Edition), or is it only possible with VS.NET. If yes, do i have to download the .NET Compact Framework, or is it included with VC#. Thankyou. hi, i am new to the field of Mobile Computing. I created a ...Show All
Visual Studio Visual Studio 2005 Beta 2 setup fails immediately
Hi, I'm installing Visual Studio 2005 Team Suite from the Beta 2 DVD handed out at one of the recent MEDC events. I have: Windows XP Pro + SP2, 1.6Ghz, 256MB RAM, 4Gb disk space free. No problem with the DVD drive that I am aware of. No previous betas installed. I have VS 2003, eVC++4.0, Embedded Visual Tools 3.0 installed. Following error appears: AppName: setup.exe AppVer: 8.0.50215.44 ModName: setup.exe ModVer: 8.0.50215.44 Offset: 00029002 Any ideas I can send the full error log if you give me an address. Regards, Ade W You could try running FileMon or RegMon and see if they throw up any erro ...Show All
.NET Development error using tableadapter
was looking for a little help on this one i'm doing the tutorial for 05 http://beta.asp.net/guidedtour2/ and i'm on page 14 adding update functionality, the code provided is generating an overload error for the way in which the .Update is being used. Here is the error I'm getting. Error 1 d:\Authors\App_Code\DataAccess.vb(23): error BC30516: Overload resolution failed because no accessible 'Update' accepts this number of arguments. / Has anyone else come accross this or is there a correction out there somewhere that i'm missing I ...Show All
Visual Studio 2008 (Pre-release) WinFX Runtime Components 3.0 Beta 2 installation problems
Hello! I have some major problems installing WinFX Runtime Components 3.0 Beta 2. It won't work... The errorlog says: [05/26/06,11:43:37] Windows Communication Foundation Beta 2: [2] Error: Installation failed for component Windows Communication Foundation Beta 2. MSI returned error code 1603 [05/26/06,11:43:56] WapUI: [2] DepCheck indicates WinFX Runtime Components 3.0 Beta 2 was not attempted to be installed. I have tried everything, please help me! /Goran Please follow this procedure described the readme: "2.7 WinFX Beta 2 installation fails on a system with WinFX Jan CTP or earlier previously installed&qu ...Show All
Visual Studio Express Editions Font combo box
Does anyone know how to retrieve a list of all the fonts on a system, and populate a combobox with them Please help. Thanks, ComputerGuru. Fonts.GetFontFamilies will do it, but it needs the fonts folder. I believe you can use the Environment class to work out where that is. ...Show All
Visual C# How to read JPEG in .NET
Posting it for Vijay L ... How can I read JPEG, GIF and PNG in .NET if I am using J# I know one solution: I can use System,Drawing.Bitmap to read JPEG/GIF. Use Bitmap to do further processing and then save back as JPEG. Problem with this solution: - Bitmaps take more space than JPEGs. - This is not an elegant solution, Is there any other way I can read these different formats Regards, VJ In memory, everything is a bitmap. That is what an image is. JPEG is just the way it is stored on disk. As soon as you put it in memory (to draw, manipula ...Show All
.NET Development Socket Connections do not seem to close properly
Hello, I have created a TCP socket Client program and a Listener program consisting of mainly MS sample code. The two programs do communicate, but once the client has disconnected using TCPclient.Close, the client socket shows a CLOSE_WAIT in the "netstat" command and does not go away until the Listener is shutdown. I have tried the Client program with a commercial Listener program, and it does not leave the client socket in CLOSE_WAIT. The client socket listing is gone from the netstat command. This makes me think there that the MS Listener sample code is not closing the client socket properly. Any ideas ...Show All
Windows Forms Spreadsheet "Like" Data Entry
Hello, I am building an application that requires data to be entered into a control that looks like the Data Grid. Basically, it should mimic the functionality of entering data into MS Excel. I know the Data Grid is primarily used to display data binded to a data source, such as a DataSet. Is there any way to display a blank data grid and&nbs ...Show All
.NET Development What is the best programing lang.?
VB, C#, C++, or J# Hi, The Framework refers to the Base Class Library which is a collection of something like 6000 classes that offer functionality to various stuff like Database Access, Web Services etc. It kind of is a platform which provides the classes and methods for use in the programming languages. Its a core library of classes and methods. I think you could start with this link: http://msdn.microsoft.com/netframework/gettingstarted/default.aspx Regards, Vikram ...Show All
.NET Development Cannot view XML input using XSL style sheet
Yeah! I've got VS 2005. So I built a new WebPage on a remote machine. It has only one 'form' or page i.e. "default.aspx" That page only has one button on it. Code behind changes the button's color. Publish site is successful. However, when trying to view the site from a browser, I get: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. Sounds like ASP.NET is not installed properly. Make sure you've added the IIS windows component to your OS, then repair the .NET Frameworks. That shou ...Show All
Visual Studio 2008 (Pre-release) Animation not working in code
I set some animations in a WBA. First I register the name: Application.Current.MainWindow.RegisterName(myElement.Name, myElement); When I try to set a storyboard and set an animation on this element I get 'The name 'myElementName' could not be resolved in the name scope of 'MS.Internal.AppModel.RootBrowserWindow' like the name is not registered. This code used to work in Sep CTP. Did something change for Nov CTP regarding animations Thank you, Valentin Iliescu Is your custom control defined in xaml If so, it will be its own namescope, and searching the parent namescope (the window) won't find its na ...Show All
SQL Server Can ODBC be used in Report Builder or Report Model?
Dear All, Our company use DB2. When I download Report Builder from Report site or when I create Report Model project in VS, I can only use SQL Server Data Source. Can Report Builder or Report Model use ODBC Thank U. First, go to BOL and search on 'sp_addlinkedserver'. Then here are a couple of links to get you started. http://www.sql-server-performance.com/linked_server.asp http://www.databasejournal.com/features/mssql/article.php/3085211 R ...Show All
Visual Studio Team System WebTest failt with ISA Server
Hello, I'm testing a web application in our intranet accessible from my development machine. In Visual Studio .NET 2005 beta I can record the web test but when I run it from the same pc I get an error from ISA (Http error BadGateway): Error Code: 502 Proxy Error. The ISA Server denied the specified Uniform Resource Locator (URL). (12202) I guess the authentication is transmitted from the web test. How can I do it without generating the code Thanks, Pierre Hello Eric, you are right, deleting the proxy I can run the test. I cannot use the IP address since it's a multi-homed site. Thanks for your help. Pierre ...Show All
Smart Device Development win ce 4.1 and seting / getting timezone in c#
I have an app that needs to be on the correct time of day and time zone. I have the code to set the time by a pinvoke call. I found an API call for Get and Set Time Zone but it wants a C/C++ struct that I am not sure how to create in C# the msdn docs call for WCHAR blah[32]; which if I am thinking right means an array of 32 UNICODE chars not a pointer to a string. and C# will not let me declare a struct with a fixed array size like char[32] foo; can someone give me the right struct or class to pass to this platform call thanks! Hi! I can only give you the VB struct: ...Show All
