gray-team's Q&A profile
Visual Studio Cast error when pass a parameter in localreport and reportviewer
hello friends, i have a problem with my report when pass a pamameter in vb.net and VS 2005 The code is: Dim objParameter As ReportParameter objParameter = New ReportParameter( "Name" , "test" ) Me .ReportViewer1.LocalReport.SetParameters(objParameter) the error is: System.InvalidCastException was unhandled Message="Unable to cast object of type 'Microsoft.Reporting.WinForms.ReportParameter' to type 'System.Collections.Generic. ...Show All
Windows Forms Noob question about Composite Controls
I am creating a simple composite control. It consists of a text box, and a picturebox. I've taken care of the code to make the picture and text do what I want them to, but I'd like to expose as many of the individual child contro ...Show All
Visual Studio Team System Team Build without SolutionToBuild?
I'm wanting to have Team Build execute a MSBuild project that just executes an external program several times with different parameters. There's nothing to checkout of source control although the external program adds/updates files in source control (scripts from our development Sql Server). However, if any of the executions of the external program fail, I'd like for that fact to be fed back into Team System as a work item. What am I missing Th ...Show All
Visual Studio Team System How to test Smart Client Windows Forms using VS 2005 Tester
Is there a way to test a Smart Client Windows Forms application (one that is not invoked through IE) Or: How can we test web services directly from VS 2005 Tester without using IE as the interface Thanks, Burkhard Microsoft Partners such as Compuware and AutomatedQA will offer integration packages for functional UI testing - TestPartner 5.4 from Compuware, TestComplete 4 from Automated Q ...Show All
Windows Forms DataGridView does not show values
Hi, I have a list inherited from BindingList and overwrote some functions like the ones for sorting and so forth. The BindingList is kind of generic, it expects from its elements only to have certain properties which are accessed for sorting and so forth. So far so good, if I use the BindingList with a BindingSource which is the DataSource of the DataGridView (autogenerate columns off and the columns for the known common properties added), it ...Show All
Microsoft ISV Community Center Forums Trouble creating an Add-in for Excel with vb.net
I am using VB.net 2003, and I am trying to make a COM object that makes some classes and methods available in Excel (2000). Right now I don't intend for any of them to be GUI driven. Based on the KB articles http://support.microsoft.com/default.aspx scid=kb;EN-US;q302896 and http://support.microsoft.com/default.aspx scid=kb;en-us;256624 , I wrote the code below in VB.net: Imports Microsoft.Office.Core imports Extensibility ...Show All
.NET Development provider err
im working on vs2003 professional edition and ms access 2000 i used the provider is microsoft.jet.oledb.4 its giving the compiler error, 'This provider is not registered on this System' can any one help me Can you provide more information about what you are doing when the error occurs Does this happen from a simple application, or when you are trying to configure something in the Visual Studio IDE Y ...Show All
Visual Studio Express Editions Books, tutorials of VC++ Express Edition for newbies
Hi guys, Since VC++ 2005EE does not ship with MFC/ATL, this makes most of VC++/MFC books irrelevant. The sample codes and tutorials on MSDN are plenty, but few apply to Express Edition. So my question is where can I find good books, tutorials to accelerate my pace in learning VC++ Express I remember Charles Petzold's "Programming Windows" is entirely focused on Windows API. Is it still apply to Win32 SDK programming Leonard ...Show All
Software Development for Windows Vista Loading Workflows from assemblies: FileLoadException
Hello, I am getting the following error when trying to load a workflow dynamically: System.IO.FileLoadException was unhandled Message="The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)" The code that errors is as follows: using System.Reflection; ... Assembly assembly = Assembly.Load(@"C:\Path\SequentialWorkflowLibrary.dll"); ... SequentialWorkflowLibrary is a sequential workflow library t ...Show All
Visual Studio Changing AssemblyInfoTask properties for a single csproj?
I'd like to be able to fix the AssemblyVersion differently for different projects on my dev-machine. Let's say I have ApplicationA with version 1.0.0.0 and ApplicationB with version 1.3.0.0. To get this to work I assume that I could use a PropertyGroup in the csproj file for these two applications (as they reside in different solutions). So basically I'd like to add the following to the csproj file for ApplicationB: <PropertyGroup&g ...Show All
Visual Studio Tools for Office multiple windows again and again
So, I get this strange error once again. Please give some directions what is the cause of it and how it can be circumvented. I create Word project drag some bookmark controls from my data source and then I create an Actions pane with Binding navigator control in it. The Binding navigator controls is bound to the binding source of the bookmark controls in Word document. Just for the sake of concept proof I make my dataset to be Cac ...Show All
Visual Studio Team System Protocol violation - can I change how sensible the test shall be to protocol errors?
I get this error when running a test on a web page that I have no possibility to change: RequestFailed: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF Is it possible to configure how the test shall handle this so the test will not fail Sten, this sounds like a bug so I'm going to need some more info to track it down. What's the request like that's causing this error Are ...Show All
Visual Studio 2 Patterns for single Crystal Report (rpt) file
Hi everybody, Is it possible to display two different pattern of reports and must be on separate pages First Page displays a summary, second page displays details and other info. Having problem doing this placing except for company details on page header and the rest on the Details part of the report. Pattern: First Page: Company Logo Company Name Company Address Statement of Acc ...Show All
Visual Basic VB6 > .Net Conversion Error: Character Device names?
Hi At my wits end... I am experiencing a problem when trying to convert a rather large VB6 application into a .Net 2005 application. Everytime I try to convert the project I get the following error: "Upgrade Failed: Exception occurred: Can't use character device names in file names" The weird thing is i have tried to convert the project using .Net 2003 and I do not get the error, it does convert. Can someone point me in the ...Show All
Visual Studio Tools for Office How to get Office project type in MS VS 2005
Hi, I want to work with visual studio tools for office(VSTO). In the msdn website I saw that there is a new project type is added named " Office " which make the developer work. The office link can replace the VBA code, but when I install visual studio 2005 on my system I was unable to get the office project. I just windows, smart device, database, and starters kit only when I tried to open a new project. please help Thank ...Show All
