Kamal Hathi's Q&A profile
SQL Server Modify ReportViewer
Hi! Is there anyway I can modify the ReportViewer I was wondering if I could do something like this: - Write my own method in the ReportViewer.cs class (first doubt: where can I find this class ) - Rebuild - Add the .dll to my toolbox on the visual studio - Call the new method on my code behind class (I'm using a asp .net page) Is this possible Thank you! The report viewer ships in Visual Studio 2005, allowing you to do all of these things. It's in the data section of the VS toolbox. ...Show All
SQL Server Indexed Views
We are about to start a new project that includes fairly large data sets. Additionally, in many cases we have to grab data from a variety of tables. I was looking over SQL Server 2005 Indexed Views and I am currently considering using them to boost the performance of the joined tables I need to query and display results. Does anyone have experience in using Indexed Views as a means of increasing the performance of large table joins Additionally, the documentation I read up on the Indexed views seemed a little vague regarding which versions they work with. Does SQL Server 2005 Standard Edition support Indexed Views or is it available only in ...Show All
Visual Studio A data source instance has not been supplied for the data source 'DataSet1_Clientes'.
Hello i'm cuban and i'm doing an aplication in Visual Studio 2005. I have a problem with this code because i have an error. I want dinamically load differents reports in one page usin the reportviewer control. This is my code. please help me and tell me what's wrong here. This code i'ts for a test Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Me .ReportViewer1.ProcessingMode = ProcessingMode.Local Me .ReportViewer1.LocalReport.ReportPath = "C:\Inetpub\wwwroot\pepe1\report1.rdlc" Me .ReportViewer1.LocalReport.DataSources.Add( New ReportDataSo ...Show All
Visual Studio 2008 (Pre-release) Media MetaData
I don't see anything in the documentation yet that suggest the ability to gather metadata from the playing media. The basic Artis, Album, Track number, etc. is what I'm talking about. Is there any support for this Unfortunately there is no audio/video metadata support in WPF, though this is being considered for future versions. Thanks for your post, Ed ...Show All
Visual Studio Team System Enabling specific code analysis rules for web projects
Hi, I'm using .Net 2.0 VS 2005. I noticed that for web projects there is a right click menu in the solution explorer "Run code analysis on web site", however clicking this does nothing - the error list window and output window do not report anything related to code analysis. Also, when I go to the property pages->Build and enable "Run Code analysis" checkbox and then build the project - the error list window and output window do not report anything related to code analysis. Unlike windows forms projects there is also no way to select/unselect specific code analysis rules for web projects. Please help. ...Show All
Visual C++ COM Port event handling
Hi all, I am trying to use COM port by writing codes using combinations of DCB, CreateFile, ReadFile, WriteFile, CreateEvent, WaitCommEvent etc. I also want to monitor EV_RLSDS event for detecting carrier (which is well known as CD you know). My questions are, 1. Can I use MSComm control for all these purposes or not 2. Is there any limitation of using MSComm control instead of code Your suggestions will be appreciated. Thanks. -efarook hint 1: Don't use MSComm. Use CreateFile and the basic I/O hint 2: Use a class for CSerial I/O like the one you find here http://www.naughter.com/serialport.html ...Show All
SQL Server Why use CLR procedures for simple queries?
Allow me to preface this by saying I'm really excited about writing stored procedures, etc. in C#!! Now...on to my question. When an application needs a simple result set (i.e., SELECT....), why use C# to write this In the samples I've seen, the developer ends up writing the select statement anyway in the CLR hosted stored procedure. What would be the benefit You end up writing more code just to write the same query. Now, executing complex logic is another story. I see HUGE benefits to hosting classes on the data server. Anyway, what is Microsoft's answer to this question Is it recommended that one still write simple statements in T-SQL and ...Show All
Windows Forms webbrowser in vb2005
i have a runtime created webbrowser and i want to use it's ProgressChanged event and some others, too. how can i do this I used this code and it worked just fine... Private Sub WebBrowser1_NewWindow( ByVal sender As Object , ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow Dim NewURL As String = CType (sender, WebBrowser).StatusText Dim TabPageTemp As New TabPage(NewURL) Dim WebBrowserTemp As New WebBrowser WebBrowserTemp.Dock = DockStyle.Fill AddHandler WebBrowserTemp.NewWindow, AddressOf Me .WebBrowser1_NewWindow TabPageTemp.Controls.Add(WebBrowserTemp) Me ...Show All
Visual C++ Having Trouble with an exception
Hello to all, I'm having a problem with an exception that keeps coming up when I try to run my program. Is there anything I can do to my code to get rid of this My code compiles fine. First-chance exception at 0x695bffe0 in proj_text_spheres.exe: 0xC0000005: Access violation reading location 0x00454001. Unhandled exception at 0x695bffe0 in proj_text_spheres.exe: 0xC0000005: Access violation reading location 0x00454001. I suspect the source of my problem has to do with a call to fclose. Here's part of my code (I writing an OpenGL program that maps a texture to a sphere): void read_fractal1_image(void) { errno_t err; ...Show All
Smart Device Development WI FI signal stg detection using programming language.
I am Quite new to programming, recently my sch gave mi a project ( Development of an embedded network monitoring software for mobile devices). But i am now stuck on how to start. What programming language shld i use i must write a script to check the signal stg of an access point, after tt i muz use the vaules of the aps to detect the current position of a wireless client. pls help mi to start off.. thx a million Welcome to the world of programming! With Visual Studio 2005, you can get started with device development easily. You have choices - you can use VB or C# or C++ - depends on whatever you're familiar with. Check out MSDN for int ...Show All
Software Development for Windows Vista Unable to download windows Vista---
Hi - I have tried to install the 5308 build on a (older) PC (AMD Thunderbird/512MB/ATI 9000) that I use as a test machine but I keep getting an error message immediately after entering the license key. The error dialog says "An internal Setup Error occurred while displaying the image selection wizard". After a while the setup program will abort and display another dialog "Exception Unknown Exception 0xe0000100 occurred at memory location 0x77e4028b. Other postings of a similar problem suggested that there was an ISO image download/DVD buring issue. I have reburned at 1x speed. I have re-downloaded the Checked build. I have ...Show All
Visual Studio Express Editions why not work in visual C++ 'iostream.h'
i put this n c++ and doesn't work #include <iostream.h> void main() { int c,i; for (c=6;c>=1;c--) { for (i=c;i>=1;i--) cout<<i; cout<< "\n" ; } } the wrror is fatal error C1083: Cannot open include file: 'iostream.h': Hi, You've to use the ISO compliant rather than old "iostream.h" which is not supported in the new compliers. To solve this issue, replace the include line with following below: #include <iostream> using namespace std; ...Show All
.NET Development inaccessible interface?
My class (THPMSBridge.RealtimeNetworkState) implements a interface "INetworkState" in another assembly, and this causes a exception during runtime: A first chance exception of type 'System.TypeLoadException' occurred in System.Windows.Forms.dll Additional information: Type 'THPMSBridge.RealtimeNetworkState' from assembly 'THPMSBridge, Version=1.0.50721.0, Culture=neutral, PublicKeyToken=null' is attempting to implement an inaccessible interface. Could anyone explain what this exception is How to fix it Thanks! ...Show All
Visual Studio Team System Testing Smart Client
When testing a smart client, can we record the test steps as we do in the case of web testing check out the following post regarding this topic: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=268477&SiteID=1 ...Show All
Visual Studio How do I simply create a report showing 2 pages
Hi all, I really need advice on this. I want to cerate a report that shows 2 pages. The first is dynamic and the details section shows multiple lines and contains a page header and footer (suppressed to show only on PageNumber = 1) The second page is a details page (a sub report on a 2nd detail section) showing data in a table and it should fill the whole page but it only fills 3/4 of the page. How do I get this to fill the whole page If I run this report alone, it fills the whole page. Please help Regards John. ...Show All
