Answer Questions
Wenbin Zhang Width and Height values in markup
What are the values the Width of an element can take So far I know that you can write a number, Auto or *. Anything else I have the following code, I don't know how to tell the last element to fill up the space: <StackPanel Orientation="Horizontal"> <Separator Width="20" Margin="5,5,5,5" /> <TextBlock Text="Device Setup" /> <Separator Width="Auto" Margin=" ...Show All
c0d3r netMsmqBinding problem with messages larger than 65075 bytes
Hi, I'm having a strange problem with msmq when stored messages are larger than 65075 bytes. The service starts consuming 50% of the cpu and can't receive the message, raising no exception. I'm using Windows XP + Feb CTP Here's a code sample: using System; using System.Configuration; using System.Messaging; using System.ServiceModel; using System.Text; // Define a service contract. [ServiceContract()] public interface IContract { ...Show All
legrooch Conversion to expression trees
Hi, I played a bit with C# 3 and lambda expressions and I have one question. I was thinking of one usage where I'd like to convert statement block to expression tree. For example I'd like to get expression tree for something like this: ... myExpression = () => { Something s=new Something(); for(int i=0; i<10; i++) s.DoSomething(); } I know that using of statement blocks isn't supported in current preview, but will it be possible to ...Show All
Darnoc Microsoft.Build.Commontypes schema is invalid according to XmlSpy
I tried searching on this, because I doubt I'm the only one seeing this problem, but I didn't see anything. When I try to validate an MSBuild xml file against the Microsoft.Build.xsd schema, XmlSpy tells me that Microsoft.Build.Commontypes.xsd is an invalid schema. It takes issue with every spot that the "Include attribute is redfined." The comments above each "illegal" line is: &n ...Show All
JMitchell MyApplication and startup form
I am trying to get the startup object/form for VB projects. I have a problem with VB windows application when "Enable application framework" is checked. Project.Properties("StartupObject") only returns the MyApplication class which requires tedious code parsing to get the start up form ( http://forums.microsoft.com/msdn/ShowPost.aspx PostID=74064 ). There is some documentation on project properties at http://msdn2.microsoft.com/en-us/ ...Show All
Roman Rozinov Porting/debug woes
I got past the compile errors from the move to Nov bits, but things are not all there that were there in the application using the Sept bits. Controls are missing that are in the XAML file. It looks like my immediate issue is the control library assembly finding the resource dictionary. In the old template the file generic.xaml contained the resource dictionary for the assembly. In the Nov bits the assembly attributes for locat ...Show All
Stephen_Weber AuthorizationDomain class gone in FebCTP
Hi, The AuthorizationDomain class appears to have been removed in the FebCTP. The release notes that I saw mentioned that it moved to another assembly/namespace however it does not appear to reside in the new location. There are some indications that it has been replaced. Does anyone know what the story is on this Thanks, Pat Hi Pat, The AuthorizationDomain class has been removed. The behavi ...Show All
JimR1 VSTO seminars
I was looking online to see if there were any seminars offered regarding VSTO I found this Creating Office Solutions with Visual Studio 2005 Tools for Office But I could not find any information as when or where this is offered or to get on a list to request more info on it I am from San Diego and it would be great if anyone knows when it will happen again Hi You can find some online on-demand seminars which are ...Show All
Madcowrus Enumerating Outlook Categories
Does VSTO, or the Outlook object model, offer the ability to list out all the categories shown in the Categories dialog or Master Category dialog. I would like to be able to allow my user to pick a category from that list without having to show the categories dialog with olApptItem.ShowCategoriesDialog. Hello Siggi, Yes, wrong forum but can't resist anyway - sorry To get the list of 'Master Categories' t ...Show All
wolfius Serious error when hide the column
Hi, I have one ListObject on ExcelSheet defined as: Microsoft.Office.Tools.Excel.ListObject myListObject = this.Controls.AddListObject(this.Range["A10", missing], "myListObject"); Then I am binding this listobject as follows: DataSet dsTrims = new DataSet(); string strWhere="select col1, col2, col3, col4 from tableTrims"; dsTrims = MyProvider.ExecuteDataSet(System.Data.CommandType.Text, st ...Show All
gorm How can I NOT show a subreport if there is no data for it?
The table headings still print even though there is no actual data. That looks sort of odd. There doesn't appear to be anything in the SubreportProcessingEventArgs that will cancel that instance of the subreport. Thanks, what a great solution. In the main report, click on the subreport and set the NoRows property to a text message. This message will be shown if the subreport q ...Show All
FrankSh net.tcp & net.pipe endpoint configurations
I have a webservice, and am trying to setup a tcp endpoint to talk from the service to my client. I'm getting a not supported error on the service side. I read a blog saying that in IIS6 and prior that these modes are not supported, although the age of said post cannot be determined. Can anyone verify that it is not possible to setup a tcp connection from a webservice on IIS6 on xp sp2. We are using January CTP and should be upgrading to Feb soo ...Show All
Bo416 Do I have VSTO?
Hi, This is probably a silly question, but I've searched around and haven't been able to find an answer. I have both Visual Studio 2003 standard and Visual Studio 2005 pro (on separate computers). Does that mean that I already have VSTO (I haven't been able to find any evidence of it), or is it something I need to get separately If so, how do I get it (and would there be any discounts available since I already have Visual Studio as well as O ...Show All
Blair I dont see integrated menu on vs 2005 rc 1?
I installed first vs 2005 rc 1 and then vss 2005. But there are no menus on my IDE to check in check out , etc The Release Candidate only contains the VSTS SKU, it doesn't contain other products, like SourceSafe. Be patient , in just a few weeks, the RTM version of all products will be available. Please select a source control plug-in in Tools->Options->Source Control->Plug-in selection. If it is set to None you will ...Show All
GregSQL Thread.CurrentPrincipal.IsInRole() returns false but Security.Roles.IsUserInRole() returns true
Not sure if this a WCF issue or not. I have a wcf service exposed with the "basicHttpBinding". I have set the security mode int he basicHttpBinding like so. <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows"/> </security> My goal here is to use windows authentication in the intranet to authenticate users. It works to the point where I ca ...Show All
