Answer Questions
bsaucer Total page number
when I call the printToPrinter method I give the page from/to to print. I change this numbers at runtime, but if the user gives me a higher number of page than the ones the report have it gives me an error (obviusly). That's why I need to know HOW DO I GET THE TOTAL PAGE NUMBER OR THE LAST PAGE NUMBER. Thanks in advance. Actually I'm opening the subreport object with a ReportDocument: 'get th ...Show All
tjanuario Iterating over client endpoints in configuration
Good morning, I'm trying to write code that goes over all the <endpoint>s defined in the <client> section on my config file and read them into ServiceEndpoint or ChannelDescription objects, so I can extract the Binding and EndpointAddress out of them and keep them cached. The two ways I could think of were: 1) Write code that parses the <endpoint>, looks for the appropriate <binding> configuration and builds the ...Show All
Karthikeyan.B Bug on May CTP: Problem with UserControls and binding or transform
Hello, I have a problem with UserControls. It sounds like UserControls have trouble with bindings. Here is the sample: <Window x:Class="TestUserControl.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:my="clr-namespace:TestUserControl" Title="TestUserControl" Height="300" Width="300&qu ...Show All
Lisa Slater Nicholls Edit dataset dynamically
Hi, I am using a ReportViewer control on the windows form to connect to Report Server, process the report remotely (ServerReport) and render the report in PDF format. The user wants to add some fiter(criteria) before the report is rendered. The original content of RDL should not be changed. I know, Report Builder is an option available. But, the end-user doesnt want to use Report builder to design the report. I need to know, is there ...Show All
Rajesh Shah Sharing files between projects in 6.0D
In our current production enviroment we are using VSS 6.0D to manage our projects. All of our projects depend on some common source files, which can be updated at any point by any of the projects. For example, we have one common header file which contains various error codes. As projects evolve, new errors are added to the header file, which can then be used in all projects. Recently we had a problem where someone had someho ...Show All
Vijayendra Lakkundi Custom ServiceAuthorizationManager
Hi, In Feb CTP I tried it : ServiceHost host = new ServiceHost ( typeof ( Hello ), " http://localhost:9090/Hello "); host.AddServiceEndpoint( typeof ( IHello ), new BasicHttpBinding (), "" ); host.Authorization.PrincipalPermissionMode = System.ServiceModel.Description. PrincipalPermissionMode .Custom; host.Authorization.ServiceAuthorizationManager = new AuthorizationDomain (); host.Open(); public cla ...Show All
Chrichton Visual sourcesafe 2005
I am running VS 2005 Professional on my development machine. I have installed and configured VSS 2005 on the server and my development machine. I can use VSS on the development machine to access the server database. However the plug-in is not appearing in Visual Studio. According to the instructions, it should automatically appear when VSS is installed on the client. Anyone have any suggestions ...Show All
Vivek Puranik New Item wizards in VS 2005
Hi, I am trying to write a wizard to add new item to VS 2005. I followed the instructions in the Walkthrough: Creating a Wizard in Dev Tools & Languages > VS > IDE > Customizing and Automating the Development Environment > Automation and Extensibility for Visual Studio > Creating Add-ins and Wizards, but I keep getting an error "Invalid at the Top Level of the Document" whenever choosing the new item I just added. ...Show All
SabariRajan Convert SQL to DLINQ
Currently I write my sql in Query Analyzer and once I am happy, I paste it into the code. With DLINQ, it is different enough that I cannot do this easily. If you can write a tool or special copy/paste action that converts SQL into DLINQ code, it would help a lot. Not only would it make me more productive, it would be useful in teaching people how to write DLINQ code. I know it probably cannot account for all SQL, but if you cover the basic ...Show All
BenjaminTengelin Keeping separate models in step
Following on from the discussion of using rules and events in an earlier posting to keep external artifacts in step with a model ( http://forums.microsoft.com/msdn/ShowPost.aspx PostID=69577 ), I have a related question about keeping separate models in step. Suppose you have two model files, one representing the business layer of an app and the other representing the UI layer. The UI layer is dependent on the business layer. Presumably yo ...Show All
vini80 A Error about CoMarshalInterThreadInterfaceInStream Method in BabelPackage
Experts, I encounter a problem when using CoMarshalInterThreadInterfaceInStream in babelpackage in VS2005 RTM and VS2005 SKD(October). In Parser:Parser() method: I use CoMarshalInterThreadInterfaceInStream to marshall a interface pointer. Source: Parser::Parser( in IServiceProvider* provider, in IBabelService* babelService, in unsigned errorMax, in unsigned threadModel ) : m_methodCalls() { HRESULT h ...Show All
D.G. Trouble with the winfx custom control template
I'm having trouble adding a new winfx custom control to my project. When I add a user control, there is no problem. But I want to inherit from other control (instead of Usercontrol), so I try to use the WinFx Custom Control template, but I get an error dialog like this: Error: this template attempted to load an ustrusted component 'WinFxCustromControlTemplateWizard, Version=1.0.2105.28464, Culture=Neutral, PublicKeyToken=c12fb63fad4f4849'. For m ...Show All
Erik Sargent How WCF is finding the assembly???
Hi all, I am hosting my service in IIS. So I have Service.svc file where I mentioned about service type. But I never mentioned the assembly name. How WFC is going to find the given type Is it going to search all assemblies in bin directory or any other technique Just to get more perforamnce, can I specify my assembly name, along with type Thanks, Venkat Alternatively you can specify the assembly name using the following ...Show All
AdriaanDavel VS 2005 & January 2006 MSDN
I've downloaded and installed SQL 2005 Dev, the VS 2005 Pro and the Jan 2006 MSDN. After the installation when I run help from VS 2005 I got only SQL server help file. Even MSDN library does not contain any help files for VS 2005. I spend a whole day trying to resolve the problem without any result. (I reinstalled VS 2005, SQL SERVER 2005 and MSDN) I checked the option "When loading help content" and is set to : ...Show All
cb1024 Standardization XAML, as WEB the standard ???
I am developer WEB of applications and I use technology ASP.NET 2.0. After first acquaintance with WPF, I have understood, that I should be reoriented on new technology WPF, besides many official sources Microsoft write that Avalon and XAML functionalities which in hundreds times surpass DHTML give! In connection with that, that XAML applications can be integrated very easily with WEB, I believe, that would be ...Show All
