HopeDreamsComeTrue's Q&A profile
Visual Studio Difficulty setting ReportParameter
I am running into issues with setting the ReportParameter method. I am dynamcially setting an ObjectDataSource that is connected to a class object, and dynamically setting a ReportViewer Object. I am running into issues setting the parameters for the report dynamicallly. Here is my code: ------------------------------------------------------------------------ public partial class ProductReport : System.Web.UI. Page { protected ReportViewer reportViewer = new ReportViewer (); protected ObjectDataSource objDataSource = new ObjectDataSource (); protected System.Web.UI.HtmlControls. HtmlTableCell tdRptViewer = new ...Show All
Visual Studio Team System SQL Server 2005 Report Server Web site is not running
I'm trying to set up an VSTF server. Beta3 When "System health check" runs, i get this error. I looked up if the web site runs, and Yes it runs.... How can i get rid of this error I'm using w2003 sp1 eng std, sql 2005 sep ctp ee, WSS 2.0. On the same machine i got Oracle server installed, can this be a problem Tnx Fieldhouse, putting anonymous access helpted me to get passed this problem... ...Show All
SQL Server Guids as primary keys
Is it a good idea to use Guids as primary key. What is the impact on performance. Guids are random by nature that may have an impact on writing clustered index. Any comments or suggestions I'm not a complete expert, but one problem I know of with GUID's with clustering keys is that they are not naturally increasing so this could introduce lots of fragmentation in environments with lots of inserts. They are also wide (16 bytes) so having them in all indexes and foreign keys can be a hit to the size of the database, scan performance, etc. ...Show All
Visual Studio 2008 (Pre-release) Dec CTP
Hi all, I have installed Dec CTP and the good news is that it seems there are no changes in the API - all of my programs recompiled without any problem. The bad news is that the problems that I had with Nov CTP are present in Dec CTP too. I am going to relist them: 1. Camera transform affects hit test results: If the camera transform is not the identity, the hit test results are "distorted". It seems that the transform is not taken into account when converting the 2D hit point into the 3D ray. 2. Trying to animate a property of a ModelVisual3D I get "Multi-step property paths may not be specified on an object of type 'System.Wind ...Show All
Windows Forms windows.forms in internet explorer
Hi! Im in desperate need of getting multiple files to upload from an Client computer to an web server. After searching the web for about 50 hours i thingk this is not an easy task. The system.web.ui open file dialog does not support selecting multiple files so i have to use the system.windows.forms openFileDialog wich supports the boolean property multiselect = true. The entire process is described in an msdn article : http://msdn.microsoft.com/msdnmag/issues/02/01/UserCtrl/default.aspx Now there is one problem. In what ever way i try to acess this control from an html page (or aspx) the control wont display. The only trace i get from it is ...Show All
Visual Studio Express Editions Error spawning 'cmd.exe'
When I compiled the project, there was an error,----Error spawning 'cmd.exe'. Why Hi all, I've got the same problem and i've found this solution... In the Options go into Projects and Solutions -> VC++ Directories page and place this rows: $(SystemRoot)\System32 $(SystemRoot) $(SystemRoot)\System32\wbem Bye ...Show All
SQL Server RS.exe and executables
I'm currently working on automating the installation of a set of reports to a reports server, using a few scripts run with rs.exe. It works well, however, the overhead of having the scripts compiled and then executed is unacceptable. I'm wondering if anyone is aware of a (non-hack) method to keep the executable produced by the rs.exe Or any other way, short of writing my own application. Thanks in advance. This is an interesting feature request that I have not seen before. Unfortunately, there is currently no supported way to do this. ...Show All
Visual Studio How to Render and Print a local report without showing preview to user?
In my Windows Forms application, I am able to successfully render a report. Naturally, there are two ways to go about this from a user experience standpoing. 1. "Print Preview" - Opens up a simple form containing a ReportViewer, shows the Form, renders the report. The user can then print, and the PrintDialog is shown with the simple ReportViewer container form (presumably) as the Parent. 2. "Send to Printer" (No Preview). The desired behavior is to send the exact output that would be obtained with #1 (above) to the printer, but without displaying the report to the user. Ideally, a form of my choice (say, that contains the button or menu opti ...Show All
Visual Basic Strange ListBox.Items IndexOutOfRangeException
OK.. I'm building a plumbing company's job tracker. On each Job there can be multiple plumbers and each of those plumbers might have one more more invoices attached to a job. I've included the image URLs incase they don't show up correctly First I add a few plumbers and invoices... (http://hillcrestplumbing.com/VBIssues/Step1.JPG) Then I remove one plumber and his attached invoices... (http://hillcrestplumbing.com/VBIssues/Step2.JPG) Then when I try to remove a second plumber...(http://hillcrestplumbing.com/VBIssues/exception.JPG) Should be noted that this is all being declared and fired within the click event of the Remove button on the plu ...Show All
SQL Server sp_executesql, actual sql ?
Hi Guys I pick up the following in a profiler trace. exec sp_cursorexecute 197, @P1 output, @P2 output, @P3 output, @P4 output, 'PSRF_REPORTING_FOLDERS', 'Jan 1 1900 12:00:00:000AM' Normally to find the actual sql that executes i go up in the trace until i find the relevant cursor prepare. In this case the one for 197 cursor prepare. But this time around i cannot find it, these are app servers connected so for all i know the cursor could be prepared at 5am in the morning and re-used all day long. Is there anyway (adding certain profiler events or something), so that i can see the actual statement held in the cursor Thanx ...Show All
Visual Studio Why FileCodeModel is Nothing (i.e. null) ?
Hi, I want to modify code model of every new file added to project, but when ProjectItemsEvents.ItemAdded is fired, and I open this new added file, activate its window and call DTE.ActiveDocument.ProjectItem.FileCodeModel, then FileCodeModel is Nothing. Why it is not initialized How can I access FileCodeModel for newly added item from its event Thank you for your answers. i ran into this issue as well. it seems that the code model doesn't get built right away. the only way i've found around this is to (programmatically) leave the window and come back to it, by actually activating another window and then this one. i ...Show All
Visual C++ Converting existing VCL-based code to VS C++
Has anyone ever converted a Borland C++ project that includes any use of the Borland Visual Component Library (Delphi components written in either Pascal or C++) into a new Visual Studio project I would be interested if there are any tools around for this because I have a long-standing code base written using Borland C++ Builder (versions 1 - 6) and am interested in seeing if it would be possible to leverage this code, some of which is quite sophisticated and powerful. I'm not sure VCL.NET would be viable. While VCL.NET code would probably compile in VS, I seriously doubt you would have any designer support. Steve Teixeira Micros ...Show All
Visual C# What's the difference between += and =+?
Is there a difference between the valid += and the mysterious =+ They both compile, is this correct When the following is parsed: n =+ 1; The compiler will understand it as: n = (+1); The compiler sees an assignment expression not an addition operation like you might be thinking. Curious though is to know how this is considered a valid expression: n = +n; Anyone ...Show All
Software Development for Windows Vista state initialization activity is not being executed in a state.
I kept one state initialization activity and other event driven activities in one state. The state initialization activity has child activities. As i understood the state initialization will be executed immediatly after the state is activated. I started the workflow and it went to initialization state , but the stateInitialization activity is not being executed. Can any body expalin why it is not being exected. Thanks. Hi Kruthi, When the workflow enters a particular state StateInitialization activity (if present in the state) is executed Can you try the following simple Scenario and see if it works InitialState ...Show All
Visual Basic I get "this Application requires your system to be updated to ADODB Version"
I have a project that was converted from .NET 2003 to 2005 and it runs fine on the PC I have Interdev 2005 installed on but one the three PC's (all XP sp2) I install it on I get the message "this Application requires your system to be updated to ADODB Version". I use ADODB in one of the classes of the project and the DLL is C:\Program Files\Microsoft.NET\Primary Interop Assemblies\ADODB.DLL date: 03/19/2003 02:49 AM Size: 110,592 I tried coping this file to the \windows\system32 directory on the target PC's but I still get the error. Any help would be great Chris Hi, You need to check from y ...Show All
