Answer Questions
teqmem TableAdapters etc
Can you use the TableAdapters to pass data to an embedded Crystal Report. I have used the TableAdapters etc to add and view data in the application, but when I create a report and attach it to the project data, the report just shows the headers when viewed through the viewer, have tried working through the tutorial, but am getting a little lost. Any help would be gratefully received. John check out this links http://www.crystalkeen.com/articles/crystalreports/parametersandvb.htm http://www.crystalreportsbook.com/Chapter04_XI.asp ShEi wrote: try using parameters.... Sorry, but what parameters try using parameters.... ...Show All
sameh23 Setup the app.config for wsDualHttpBinding
Hey! I have problems to get the wsDualHttpBinding to work. I think it has to do with my app.config file in the client, but to provide proper information i will post everything. Contract(Class library): #region Service interface [ServiceContract(SessionMode=SessionMode.Required,CallbackContract=typeof(IHelloWorldCallbackDuplex))] public interface IHelloWorldPub { [OperationContract] string getResponse(); } #endregion #region Client interface public interface IHelloWorldCallbackDuplex { [OperationContract(IsOneWay = true)] void helloWorldCallBack(string inText); } #endregion #region Service contract [ServiceBehavior(InstanceContextMode=InstanceContextMode.PerSession)] public class helloWorld : IHelloWorldPub { IH ...Show All
rusty_dev Multiple Views
I have a Canvas which contains a drawing. Is there some way to have another view of the canvas possibly side by side with different rotation/scaling/etc.. transforms i.e. An area that would show a zoomed in portion of the drawing without requiring the entire tree to be duplicated. For a zoom, a VisualBrush would be ideal. You just need to apply a ScaleTransform on it. Perhaps put a <Rectangle> in the other Canvas and set it's Fill to a VisualBrush whose Visual property is set to the original Canvas. Then you could rotate/scale/etc the Rectangle. Does that solve the issue ...Show All
Anupam07 Days of Week and Color Names instead of data
I'm new to CR with VS 2005. All I'm trying to do is to create a report from the fields of a table in an MS Access db. I used the wizard and selected all fields. Of the fields I have A_Number, which is a number up to 13 characters. When this is displayed in the report it shows days of the week instead of the actual A_Number data. I also have a field for Record which shows up with color names, like Fuscia for example, instead of the actual data. After reviewing the rest of the data in the table and what is displayed in the report none of the data displayed is correct. It is as if it is getting it from thin air. Any ideas Don't worry about it showing this random data, actually run the report through an appl ...Show All
slsjr What Spec PC is Best
Hi I am about to buy some new developer PC's for use with Visual Studio 2005 and SQL 2005, But today what is the best type of PC Spec, do I go for a Core 2 Duo or a AMD Dual Core If anyone can recommend what is best, I would be really interested. Cheers Well this is probably not exactly the best forum for this type of question as it is typically more a hardware question. However I will say that either of those options would meet the reccommended system requirements to run Visual studio 2005. I personally prefere my intel Core 2 Duo which does consistently receive better benchmarking scores then its AMD counterparts. Again either of the options would more than meet your needs for VS 2005. ...Show All
MacKenzieMi Error while trying to run project: unable to start debugging
Hello all, i'm currently working on an add-in for microsoft Excel and i have many problem to debug my code. I checked the 'properties - configuration debugging - start external program ' it's correctly filled with my Excel.exe path But when i run a debug there is an error message : Error while trying to run project: unable to start debugging Unable to start program 'C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE' Please help me. Regards Prakash Hi, CxConrad, I have exactly same problem with you. Would you please tell how the configure file was specified My application generate a dll file (ex. myapp.dll). Should the configure file be named as myapp.dll.config and put the bin directory ...Show All
Maheep Lazy-Load
Hi. I've got a classic Master-Detail DB structure Master ID Name Detail ID Name MasterID I generate the EDM with EDM Designer and I add a navigation property "Details" from Master to Detail entity type, so I can have details related to a master entity simply by typing Master m = .... m.Details I've noted that if I type the code above and run it, the details collection is empty. I've to add m.Details.Load(); and then I've got the expected behavior. Is it a normal behavior Is it the ADO.NET lazy-load implementation If yes, doesn't the lazy-load mechanism have to be transparent to the user I hope that my questions were clear. Thanks. Roberto. If you pla ...Show All
pugs Help interoping contracts for large XSD message set (OAGIS) with WCF
Hello, I'm working with writing some services that support the OAGIS ( http://www.openapplication.org ) set of messages. My problems are: -OAGIS uses XML attributes all over, so I can't use DataContracts (i have to use the XmlSerializer) -OAGIS imports schemas all over, if I include all the xsd's needed to pass to svcutil for codegeneration off my filesystem, the path is too long and svcutil blows up. I am trying to do the following: 1. Use xsd.exe or svcutil.exe to generate code that will get compiled into a DLL containing ONLY the data contracts (using XmlSerializer) for schema datatypes in OAGIS that are shared by all of their messages. 2. Use svcutil to generate code for WSDL files that come with OAGIS that reference ...Show All
newyuppie Exception using svcUtil
Hi there, i'm trying create a proxy with svcUtil (taken from lab), now when i'm running it i'm getting this : Attempting to download metadata from 'http://localgost:8000/Derivatives' using W S-Metadata Exchange or DISCO. Error: An unexpected error has occurred in the tool. Error: Method not found: 'System.Collections.Generic.Dictionary`2<System.String, System.ServiceModel.Channels.Binding> System.ServiceModel.Configuration.Metadata Element.LoadMetadataExchangeBindings()'. e.g The test from the Ibrowser is ok. Thanks Amit Amit_M wrote: Hi there, i'm trying create a proxy with svcUtil (taken from lab), now when i'm running it i'm getting this : Attempting to download metadata from ...Show All
Adam Toth Where can I find LocBaml?
Hy. I've reached the page http://windowssdk.msdn.microsoft.com/en-us/library/ms771568.aspx , but the link provided there doesn't work. Any ideea where can I find LocBaml Thanks. Got it :) Found it in the SDK Samples folder. ...Show All
Suneel VLN Get worksheet names from excel
Hi, On some excel file I get by schema the worksheet but on some I don't have this information. How can I access to this files Thank's Alexei Hi Alexei I don't undertsand your question, I'm afraid. But since you didn't originally post here, I'm assuming it's not directly VSTO related, so I'm going to pass you on to a group that specializes in EXCEL programming questions. When you post there (I can't move the message, you have to post again), you need to provide more information: - Version of Excel - A more descriptive explanation of the result you want to obtain, and what you're actually getting. Ask here: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.programming&lang=en& ...Show All
bxchan Sandcastle - Changing icon(s) image in table of contents of a CHM help file
Is there a way to change the icon(s) in the Table of Contents in CHM help file in Sandcastle If not I would like to request a feature request. TIA, Noral In HTML Help Workshop - when creating the TOC you are able to change the image index of each TOC entry on the advanced tab when editing it, there is a choice of 42 different icons that will show up in the compiled TOC. I would like to be able to override which icon a topic gets. Noral Not with Sandcastle and you should be able to control this with HTML Help Workshop. Anand.. Hi Noral, We use icons that are used for help docs that get shipped with our products. What kind of change are you lo ...Show All
PSDCHD Http password setting in WCF
Hello, I want consume a Web Service with a WCF Client. The Web Service server supports only a http connection. In a old console application i set the password setting with ICredentials: ICredentials creds = new NetworkCredentials("myUser", "myPassword"); service.Credentials = creds; When I try to use this in a WCF application i get an error that I have to use a https connection. How can I set the password and user in a WCF application with a http connection Best Regards, Boris You cannot use transport level security without SSL when using the "username" credential type, as this would be a security risk (username and password sent in clear text). WCF prevent ...Show All
Julien Roger Question about Application.LoadComponent() and ComboBox
Hi, I am using Application.LoadComponent() to load a control in a XAML file. I then add this control dynamically to my main window. I do this because I can swap controls in and out of my main window dynamically. Anyways, LoadComponent() works (it returns an instance of my control) but it strips out my ComboBox's Text and Items. It doesn't strip out my ListBox's Text or Items, nor other controls. I guess this is probably a problem with the ComboBox. Anyone had a similar issue Thanks, Kent Boogaart I was able to do it using a resourcedictionary Can you please ellaborate How would I use a ResourceDictionary to solve this problem Thanks, Kent My bad. I ...Show All
Vagif Binding Performance
Hi all, i have recently started lookin at WCF trying to ascertain the performance differences between the various binding types. I am a little concerned at the figues i am getting from my tests though, so hoepfully someone can shed some light on this. I have a service contract running hosted under a console app on my local machine, with 5 endpoints (WSDualHttp, NetTcp,NetNamedPip, WSHttp & BasicHttp). The service class has a single function on that accepts a parameter of a simple object and always returns an int. I have changed the default bindings for every endpoint to enforce no security is been used at present. The client test harness is a console app that has a method that uses the ChannelFactory to connect to the service using a n ...Show All
