Answer Questions
Atlantaazfinest svcutil and shared types
Hi I have written a WCF service that uses a DataContract. I own both the server and the client. I wrote the DataContract class in a common assembly that will be referenced by both my client and the server. I was hoping that when i use /r: option in svcutil.exe, the tool will not generate the code for the shared types (the DataContract classes) that are in the shared assembly. But what i see is that it always generate the DataContract classes even if i use /r. Is this expected. What am i doing wrong Here is the command i use svcutil /a /r:interfaces.dll http://localhost:8000/myservice1/mex Is there anything i'm missing Please help. Let me know if you need any more information. The answer i'm really looking for is - "Does WCF support scenar ...Show All
Daltongr419461 Using ReportViewer Control into a WSS Web Part
Hi all, I already posted this thread in the WSS.Dev newsgroup but I got no answer. So I'm trying here. I would like to have the ControlViewer control loaded in a web part but I keep having an error when the Web Part is loading. I tried with other 2.0 controls and it worked properly I just can't make it work with the ControlViewer. I have removed all custom code in the web part. The Web Part only contains the ReportViewer Control and that doesn't work. The error iccurs on the PreRender event but I couldn't find why. The only settings I set for theControlViewr is the following line in the Web config of the WSS site: <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebF ...Show All
PaulBSteelerFan Formula question: What does $A$2 mean?
What do the $ signs mean, and where is this explained in the Excel 2003 help file I did a search on $ but that found nothing. sample: =WEEKDAY($A$2 + VALUE(A$2)-1,1) = 7 This is in a conditional format It's always best to post questions specific to an Office application (rather than the VSTO technology) in a group that specializes in the application. For this type of question, a good bet would be http://www.microsoft.com/office/community/en-us/default.mspx dg=microsoft.public.excel.newusers&lang=en&cr=US or maybe http://www.microsoft.com/office/community/en-us/default.mspx dg=microsoft.public.excel.misc&lang=en&cr=US The $ tells Excel to NOT interpret the cell r ...Show All
isaacb Dynamic Position of Field in Crystal Report (Runtime)
hi, i have one report in which i want to display data dynamically, that on selection of field in the form, the report should display only those selected fields in report Here is the Scenario, i have one table called Cust_mast which has following Field. ID Name Address Phone Street Area City State Count Zip Email. for that i have created the report form which displays all field and if i select any field (Such as Name, Address, Email) , the report should display only that field (name, Address, Email). Tejas ...Show All
Dave Waterworth TreeViewItem IsSelected trigger style
I'm trying to change the blue background / white foreground that occurs when a tree view item is selected. ie, the {DynamicResource {x:Static SystemColors.HighlightBrushKey} and {DynamicResource {x:Static SystemColors.HighlightTextBrushKey}} I'd like to have it so that when a treeviewitem is selected , it looks the same as if nothing has been selected. From the treeview template, I figure I can overwrite the IsSelected Trigger and the also the IsSelected MultiTrigger in a treeview style element. But it seems only the foreground can change. The background seems to stay blue. <Style.Triggers> <Trigger Property="IsSelected" Value="True" /> <Setter Property="Background" Value="White& ...Show All
HarveyC123 How to reduce loading time of Report Viewer
Hi I have created and rdl report in reporting services 2005. I use report viewer control to display that report on my windows application. But the problem is that when I load the report for first time, it takes almost 50 to 60 secons in loading report. Next time it loads in just 2 to 4 seconds. I want to know how to reduce time interval for the first time loading. Looking.......... The report server has several methods for improving the performance on long running reports. Take a look at this page: http://msdn.microsoft.com/library/default.asp url=/library/en-us/rswork/htm/rms_processing_v1_2p89.asp This is urgent. Please tell me if it is possible to reduce load ...Show All
Jassim Rahma Outlook Plug-in Auto Update
HI, I am developing msoutlook plug-in with the advance automatic update feature which is provided by VSTO 2005. if deployment server is online than my addin work fine and take all effect from server. But when the deployement server is offline than outlook plugin is not loaded. so any facility is available to load outlook plugin when deployment server is offline . the manifist file is as: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" manifestVersion="1.0"> <assemblyIdentity name="myaddin.dll" version="1.0.0.2" /> <asmv2:entryPoint name="Startup" dependencyName="dependency0"> <asmv2 ...Show All
gfheiche Bootstrap Communication with WS-Trust/WS-SecureConversation in WCF
Hello Guys, does anyone have an idea, how the bootstrap communication for WS-Trust/WS-SecureConversation in WCF work If the client has sent a RST message to the service to start the communication pattern, how can the service protect the RSTR message back to the client I guess, the RSTR-message will be encrypted. But the service does not know the public key of the client. How is the message being encrypted and signed by the service Thank you very much in advance! Best Regards, LLiu hi Todd, Thanks for the quick reply! what do you mean with "bootstrape binding" Do you know, how does it work Or can you please give me some references on this topic Thank you very much! Cheers... LLiu ...Show All
GradProd |DataDirectory|
Hey team, I know this is a bit obvious, but I wanted to make sure it's covered... Are you guys planning on supporting the |DataDirectory| keyword in the mapping connection string :) Mike Actually, we were just talking about this last week. The thing is that metadata is closer to code than to data from the deployment perspective. The data directory is for stuff your application adds, removes, changes, as part of its normal operation, where as metadata is typically more stable. Because of that, we were thinking about the bin or app_code directory for ASP.NET, provided that we can find it reliably. For other deployment scenarios, we could just use the same directory as the .exe or the rest of the binaries. All this, howeve ...Show All
GT_MSDN Error installing the VS2005 template
Hi I'm presently having VS 2005 professional full install and sql server developer edition installed on my machine. The problem I have is that when ever I try to install ASP.NET personal design template web Application I get the following error: Installation stopped because the directory for the ProjectType value did not exist. The project type is invalid for your installation of Visual Studio. Plz help Bramley If you change "MyDocument" setting, after you install Visual studio ! You will get this error! You can create directory C:\Documents and Settings\XXXXX\My Documents\Visual Studio 2005\Templates\ItemTemplates\Visual C# C:\Documents and Settings\XXXXX\My Documents\ ...Show All
CAI-USA x:Subclass does not work
Hi, I have a user control and want it to subclass a my base class instead of System.Windows.Controls.UserControl. I figured I could use x:Subclass as follows: < UserControl x:Class = " MyClass " x:Subclass = " MyBaseClass " xmlns = http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x = http://schemas.microsoft.com/winfx/2006/xaml > Unfortunately, this does not work. The generated code still subclasses UserControl and (for some reason) the partial modifier is removed in the generated code. Any ideas Thanks, Kent Boogaart This forum is focused on the WPF Designer rather than on WPF runtime issues. The WPF forum http://forums.microsoft. ...Show All
Tabas Button in the Chrome area?
I am trying to find something that will help me figure out how to create a button in part of the chrome, like the office 2007 ribbon button in the top left hand corner. Any ideas how to do that or suggestion on where to look Thanks Too bad that setting the window style to none and the allowstransparency to true (which enables one to use rounded corners on the window, disables hardware rendering on XP. I use Jan-Cornelius Molnar ’s way (HW-acc intact on XP)of making the corners rounded instead, but..this isn’t quite as flexible as one would like, and the corners aren’t as round/antialiased as they were using the other technique from Alex Yakhnins example(HW-acc disabled on XP). Here’s an imag ...Show All
Nefer-Ra Loading swf in WPF application in xaml
Hi there, I want to play .swf file in winfx browser application. Can anyone guide me in this regards.I have tried using frame tag in xaml, but its not working. <window> <Frame Source="c:\people.swf"/> <window> Thanks Nehal.. Hi Ashish Thanks for replying, but can u give me sample code how to target frame to html page The sample you are pointing is not working and in <Frame> tag of xaml , we can't give any other page in Source property than xaml. Neh. Hi the above application “WPF and Flash 9 Integration!” is not working as one file is missing in the source. I want to learn how to load swf file ...Show All
ReneeC How to define a RootClass?
Hi everyone, When I deleted all things from the DslDefinition.dsl designer and want to start from scratch to define a RootClass for my domain model, I found that there is no way I can define a DomainClass as RootClass. Can I define a Domain Class as a RootClass myself Thanks for your reply! Yes! It is! Thks alot! Can you mark the post as answered In that way it won't be an unanswered thread anymore. Thanks, Gerben. This is a property of the diagram in the DSL Explorer. The property on the diagram is name "Class represented". Hope it helps, Gerben. ...Show All
Avi120 Class as Local Report-DataSource
Hi, I want to add an own class or raher the object from this class as datasource for my local report. how I have to do this Hi, This is how I just tryed it. First you have to make the class as in this example: public class Product { private string _name; private int _price; public Product() { } public Product(string name, int price) { _name = name; _price = price; } public string Name { get { return _name; } } public int Price { get { return _price; } } } public class Products { private List<Product> products = new List<Product>(); ...Show All
