Answer Questions
CaseyB412 Intellisense not working -> a solution
After having installed the linq preview on a clean installation of vs2005 intellisense was not working. This was due to some registry keys pointing to the wrong paths in the filesystem: HLM\SOFTWARE\Microsoft\LINQ Preview\VCSIDEDIR and HLM\SOFTWARE\Microsoft\LINQ Preview\VCSPKGDIR where both pointing to C:\Program Files\LINQ Preview\" which doesn't seem right. After having changed them to point to C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ and C:\Program Files\Microsoft Visual Studio 8\VC#\VCSPackages\ intellisense works fine for me. Michael hi michael. i have run the install script, and it didn't seem to change anything. intellisense works at a basic level, but it isn't nearly as good ...Show All
Christian Schweizer Bless you....
Using XP64 ver. 1069 Get an error that background intelligent transfer system is not enabled. I try the troubleshoot, but all settings match and diagnostic tools they say to use won't run, because errors say "for windows xp only" or "for other architecture" It is supposed to run on this version I according to the list I think. Thanks. Are you trying to download the express SKUs If so, it needs the BITS service running to download the product. Follow mstish's comments to enable the service. Erin G wrote: Hi -- I cannot install any updates on my computer. I get error message 0x80246008. Troubleshooting says it is due to the Background Intelligent Transfer Service. ...Show All
snowmt Error HXC3031: A group of keywords for a single Help link or KTable exceeds 4,096 bytes.
I get the following error while building the documentation for a really large assembly. Error HXC3031: A group of keywords for a single Help link or KTable exceeds 4,096 bytes. I am using the November CTP release of Sandcastle along with Eric Woodruff's "Sandcastle Help File Builder" tool. Any idea how to go about resolving this one Thanks. Hi Anand, You are right...I got these errors during the .HxS compile stage. I tried this scenario without using the SHFB tool and did not get any errors this time. I am also getting additional warnings when using the SHFB tool which do not come when I use Sandcastle directly. I have reported this issue to Eric at the SHFB forum - http://www.codeplex.com/Project/D ...Show All
Giftednewt Crystal Report Coding
I have created a template in Crystal Reports to show all member data in my search result. What coding do I need to actually generate the data in text boxes from the search result into the report Basically, I will have a data grid below that will display all of my members with the same last name, and above I will have text boxes that will display the detail detail of the highlighted member in the data grid. I would like to be able to print a "member data card" with Crystal reports of the data that is displayed in the text boxes. How can I do this create parameter fields in your crystal report. and on your program, store the values of the textboxes to your parameters ...Show All
facemann WCF security demos
Does anybody know where WCF security demos can be found I found some demos in the win SDK and in the WCF site http://wcf.netfx3.com/ but they are trivial. (Always used windows tokens etc) There is so many possibilities with security and no demos. Where can I found security Demos (Like those which were presented in the PDC 05 but updated to beta2) manu ( manu@sela.co.il ) Probably, you've found the latest SDK but here's the link for it. http://www.microsoft.com/downloads/details.aspx familyid=1D7F16B3-D2D5-48F7-9494-6696117EE712&displaylang=en There are a few in the Samples under : TechnologySamples\Extensibility\Security Most of the samples I've looked at do not use c ...Show All
Gagandeep Singh Runtime lambda expressions
Hi, I have just tried to update a lambda expression in runtime... but I found no way... Is there a way to do it I mean building a lambda expr.. from a string captured at runtime... Here is my trial, it only works if lambda exp can be evaluated at compile time: static System.Expressions. Expression < Func < int , bool >> e = x => DoSomeMath(x) < 100; static void Main( string [] args) { Console .WriteLine(e.Body.ToString()); Console .WriteLine(e.Compile().Invoke(5)); e = x => DoSomeMath(x) > 100; Console .WriteLine(e.Body.ToString()); Console .WriteLine(e.Compile().Invoke(5)); string s = Console .ReadLine(); if (s == "+" ) e = x => DoSomeMath(x) >= 1; Console ...Show All
Taylor Meek Simple request for help regarding Visual Studio 2005 Service Pack 1 Beta
I have one simple question and I cannot begin to figure out where to ask it. 1) With Visual Studio 2005, if I install the Service Pack 1 Beta, will my project and solution files be compatible with a standard installation of Visual Studio 2005 that does not have the service pack installed I ask this because this beta release has no GoLive license, it is not recommend for deployment in production scenarios, and even if you have a support contract in place with Microsoft there is no formal support before the final release of the service pack. I have never seen such a big carrot that has no dietary value. Hopefully someone can guide me to the proper place to post this question. Connect Feedback Newsgroups Forums MSDN (Oops that' ...Show All
Pon t3h pony WCF and Fast Infoset
I am trying to figure out how to use fast infoset compliant library in combination with WCF. How would I go about implementing either WCF client that sends fast infoset soap request or a WCF service that receives a fast infoset soap request and responds with fast infoset response I know that Sun has been experimenting with fast infoset library on java and WCF interop. What I want to know is how would one enable such capability in WCF assuming such fast infoset compliant library exists for .net Thanks. I think the extensibility point you want is the encoder. The encoder is the thing that transforms the XML in the message body into bytes to put on the wire, and vice-versa. The particular classes involved are MessageEncoder, Messag ...Show All
Larry Surat Is Excel a partial trust caller?
Hello, I have a ExcelWorkbook solution where I call a WCF Web Service. Then I have this error: “{"An error occurred creating the configuration section handler for system.serviceModel/client: That assembly does not allow partially trusted callers. (C:\\xpto\\bin\\Debug\\ExcelWorkbook1.dll.config line 30)"}” Well... I already put the ExcelWorkbook1.dll assembly as a full trusted on the “.NET Framework 2.0” on the “Administration Tools”. What more can I do Tanks, Patricia Sobreira. What do you see when you perform: caspol -rsg C:\\xpto\\bin\\Debug\\ExcelWorkbook1.dll.config Hi Patricia, I believe you need to FullTrust your config ...Show All
anydobbo Documentation Compiler - Sandcastle
We did code complete of documentation compiler ( code named "Sandcastle") on June 15th and currently we are testing the tool building our .NetFramework documentation. We would like to release the CTP version of Sandcastle in Microsoft download center by next week. The perf in our testing has been great as we are able to build the entire framework content in less than 1 hour. I am in the process of going through final check and code signing required to post this in our download center. Please expect the CTP in the next week or so and I will provide an update here as soon I post the CTP. Anand.. Will source code be available I know this is a redundant question, but the way in which you've architected the application tr ...Show All
jcarlos.net Dispatcher.BeginInvoke and application freeze
Hi everybody, In my application, I use Dispatcher.BeginInvoke() to allow a long method to be run asynchronously. But this doesn't prevent my application to be freezed during the call of Dispatcher.BeginInvoke(): i click on a button which call the Dispatcher.BeginInvoke() method, but this button (and all of my app) is freezed and i've got to wait before being able to use my app again.... How can I launch a method asynchronously so even if it's a long method, I'm still able to use the app I tought Dispatcher.BeginInvoke() could do it but it looks like not..... Thanks http://blogs.msdn.com/nickkramer/attachment/553378.ashx Look at the examples in this document OK, I'v ...Show All
UltimateSniper Automatically generate an embedded manifest
If an application has many individual executables (over 50) and I need to embed a manifest in every one of them, is there a way for VS2005 to do this automatically during the build. Thanks You should be able to create a resource file with the xml information and rebuild the app. That should do the trick. Not with VS2005. It's something we are actively investigating for a future release, to better support Vista development. Neil Is there a reference on how we can automatically embed manifest files into a console application written in C++ with VS2005 A mainfest gets written, but we need one for Vista certification requirements. ...Show All
rosraj RichTextBox save to string
Hi, I want to save the content of the a RichTextBox to a string, in the DataFormats .Rtf. This is an example a saw, but it doesn't help me to save in a string. TextRange sourceDocument = new TextRange (richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd); MemoryStream stream = new MemoryStream (); sourceDocument.Save(stream, DataFormats .Rtf); cmnjgfj C C I tryed your idea, but in the buffer contains nothing. I still can save the content of the RichTextBox to a string. TextRange sourceDocument = new TextRange ( m_richTextBox.Document.ContentStart, m_richTextBox.Document.ContentStart ); MemoryStream stream = new Memo ...Show All
Amit Singla Class Libraries
I created a class library in J#, but upon examining the dll, there are no exports. Is it possible to create exports for the functionality i wrote so that they could be implemented in another language Hi, You can use ildasm.exe to view the exported functionality. Location of ildasm.exe is Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin . All the methods marked as public can be used elsewhere. If you need anymore information, let us know. 1. Put your code in a file calles "Class1.jsl" package ClassLibrary1; public class Class1 { public Class1() { } public void callMe() { System.out.println("Hello World"); } } 2. Compile this code into a ...Show All
Ramazan Acar Question on WCFHelpSep15 MembershipAndRoleProvider sample
Hi, just started on wcf and trying to run the sample as posted in title. Problem is I can't seem to properly install the x509 certificate required for this sample to work. I ran the setup.bat included and used the serviceCertificate but got the following error when running the client: Inner Exception: The X.509 certificate CN=localhost chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or chagne the certificateValidationMode. A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. I am running on win server 2003, client server on same machine, server on iis. How can I correct ...Show All
