Answer Questions
SureshGadiraju Change to MSMQ URIs
Hope someone can help with this. There appears to have been a change in the URIs required for MSMQ binding in the most recent WinFX release. I used to use "net.msmq://bleuchamp/batchjobconfirmation" in my app, but now this produces an exception "The provided URI scheme 'net.msmq' is invalid; expected 'msmq.formatname'. Parameter name: baseAddress Anyone know what the correct new format is This is a public queu ...Show All
Curt Nichols How to abort a commandline build.
I am trying to abort a commandline initiated build before it does any work. I have a OnBuildBegin handler that does some checking to see whether to actually build. None of my current approaches work reliably. Invoking Build.Cancel in the handler. As far as I can tell, commands are not availablewhen running in commandline mode. Is that correct, or am I missing something Using the HRESULT for the callback. As far as I can tell, that value is ...Show All
David Gibbs Emailing a report
I have a locally hosted report in an ASP .Net application. I am rendering this report to a text stream so that I can send it via email, but I think there is probably a better way to do this. What is the best way to programatically email a locally hosted report Unless they remove the web based functionality of the report, you can still get at the content. Ultimately any web component just renders HTML, so when you review a rep ...Show All
ian field COM+ error message
hi, im a newbie and im developing a system using ASP.NET programming using visual studio and SQL Server.i was tring to write my first login page, and i connected it to the database, and ran my application.but this error came out," error while trying to run project:Unable to start debugging on the server. The COM+ registry database detected a system error ". does that mean i can't connect to my Db coz i've tested the connection thru ...Show All
beolijza Has anyone written a MSI bootstrapper for Guidance Automation Toolkit (GAT)?
Has anyone written a MSI bootstrapper for Guidance Automation Toolkit (GAT) Basically I want to go to the Setup Package properties in Visual Studio and hit the Prerequisites button and have Guidance Automation Toolkit listed as a prerequisite that I can choose from. I don't mind writting one and posting it if no one has already written one, but I will probably need someone to post what the InstallChecks will be for GAT. Thanks! ...Show All
Orogui inheriting from itemscontrol - not able to bind to itemssource
I have a situation where I want to wrap a (custom)panel with some stuff (scrollviewer, track and some buttons). Therefore I created a new class that inherits from ItemsControl. In it, I use a style to set my panel as the itemshost. However, when I use this usercontrol, the itemssource is always null! < cft:TijdslijnVisualisatie Grid.Column = " 0 " Grid.Row = " 1 " DataContext = " {Binding ElementName=Comp ...Show All
mrayyan Querying endpoint where client is connected
Hi This might be a dummy question, but i can't find how to do it.. In the service side, i want to know in which available endpoint the client is connected. I want something like OperationContext.Current.CurrentEndpoint :) Is there any chance of getting this data txs in advance Here is a possible solution: http://dotmad.spaces.msn.com/blog/cns!C80755B282552DEE!111.entry _c11_blogpart_blogpart=blogview&_c=blogpart#perma ...Show All
Fabrizio 868 svcutil throw an exception
Hi, I have installed WinFX and WindowsSDK yesterday from the latest release. Besides I am using WinXP service pack 2 with all updates updated. I have successfully created WCF host and I was trying to create proxy class for client with svcutil. But it throws me an exception even if I run it without parameters. C:\Program Files\Microsoft SDKs\Windows\v1.0>svcutil Unhandled Exception: System.IO.FileNotFoundException: Could not load f ...Show All
Ken Courts Problem using DTE80a.olb
Hi, I have migrated my code from .NET2003 to .NET2005. I used DTE.tlb, it gave me build error. However i got sudgestion from VSIP developer to use DTE.olb. But now I can see that this file is not present in VS2005. I used DTE80a.olb as I read in forums that this is just renamed form of DTE.olb. The build is successful but at run time, I get error CreatCustomeProject error at the time of clicking finish of Application settings page and project is ...Show All
Abhi Basu Fatal Error HXC2064: Unable to initialize the full-text index engine. Reason code 205.
Hi, I cannot compile Help 2.0 files anymore. Whether I use NDoc or HelpStudio, I got the following message : Fatal Error HXC2064 : Unable to initialize the full-text index engine. Reason code 205. I have found this FAQ http://helpware.net/mshelp2/h2faq.htm#HXC2064 and tried to register the listed dlls without success. The targeted assembly is small and do not contain tons of comments. Any ideas Gildas Hello Paul, ...Show All
Jon77 Rendering text dynamically in with style
I'm building an application and I basically want to convert HTML into XAML's flow document style (e.g. <Paragraph>, <List>, etc...) I'm pretty confident I can use RegEx to replace the appropriate HTML tags into XAML tags. The problem is, how do I dynamically bind this to a content that supports those tags such as TextFlow My basic idea is to bind the original string to the TextFlow (or other control I use), and then use a ValueConve ...Show All
Morwyn "yield enumerate"...
(Slightly off-topic, but it at least deals with enumerations.) Lately, I've found myself using the following pattern: public IEnumerable<T> Foo(IEnumerable<T> values, IEnumerable<T> moreValues) { foreach (T t in values) { yield return t; } foreach (T t in moreValues) { &nb ...Show All
Momchil Trying to convert a Word document to Web
What products do I need to use to convert a legacy Word document to the web There are several docs but I want to start out with just one. I would like to save the word document and the fields to SQL Server. The customer can bring up existing travel order (on the web) and modify/create it. using spell checker, table functions (adding, multiplying cost fields...) and other word tools. Then they can save it back to the database. When they sav ...Show All
Andreas Haeusler Invalidate Argument Calling ReloadLines
The below code is my attempt at trying to insert code at the beginning of a marker, but the reloadlines always fails with E_INVALIDARG. I get the same result for ReplaceLines. IVsTextLines TB; lineMarker.GetLineBuffer( out TB); Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pChangedSpan = new TextSpan[200]; int len2 = QI.NewSQLText.Length+1; IntPtr ip = Marshal.StringToHGlobalUni(QI.NewSQLText); // THis is the text to insert ...Show All
BukHix Dec CTP
Hi all, I have installed Dec CTP and the good news is that it seems there are no changes in the API - all of my programs recompiled without any problem. The bad news is that the problems that I had with Nov CTP are present in Dec CTP too. I am going to relist them: 1. Camera transform affects hit test results: If the camera transform is not the identity, the hit test results are "distorted". It seems that the transform is not taken into ...Show All
