Answer Questions
Neville Bailey IServiceBehavior.ApplyDispatchBehavior
I am having a problem getting a reference of the EndpointDispatcher in the following method: public void ApplyDispatchBehavior(ServiceDescription description, ServiceHostBase serviceHostBase) { } Note that this reference is available in the IEndpointBehavior and IOperationBehavior methods. Thanks in advance for any help. Roman Thanks Buddhike for help. Roman Hey Roman, Glad to have another ...Show All
Haresh Reading Excel From C#
You can read data from Excel using the JET OLEDB provider. See the URL below for the necessary connection string, and a link to a KB article with further information ... http://www.carlprothman.net/Default.aspx tabid=87#OLEDBProviderForMicrosoftJetExcel -- Brendan Reynolds wrote in message news:9226766e-a1d5-400c-8d3c-8ffc566bec50@discussions.microsoft.com... > Hi > > Can anyone help me how to read values in Excel in C# . So ...Show All
dony_s Simulate Keyboard Message
Hi, I have virtual keyboard and I was wondering how can I simulate KeyDown event for the textbox. Should I use RaiseEvent In my MFC virtual keyboard version I was sending message WM_CHAR to the edit box in my button click handler. What do I have in WPF instead Appreciate any help. While I don't have a direct answer, my suggestion would be to have a look at the Automation namespace . It allows you to automate (go figur ...Show All
legrooch Charts are not rendered in CR for VS2005 Beta2 Version
After much newsgroup searching, I was able to make CR work on my web server. However the charts (images) inside the reports do not show up. The src attribute for these images look like this: src="//CrystalImageHandler.aspx dynamicimage=cr_tmp_image_5f03e8ad-37b4-4b16-923e-264e3b3a0314.png" And obviously is not finding anything. Hence 2 questions: 1. How can I specify the domain name for the URLs or tell it to use relative path 2. Where can I fin ...Show All
aerospaced visual studio and new file types
I use BizUnit and it requires xml based test scripts. I call my scripts *.testx and have written a mini-compiler to check their content. I want to register this new extension with Visual Studio so it can view/edit my files like any xml file (currently shows as a text file) . How do I do that I haven't associated my compiler with my file type yet but that seems a straightforward process (I base this hope on the STRINGS utility) Can an ...Show All
dean1 Major resource bug in May CTP
The following does not work anymore: Is this intentional <Grid> <Grid.Resources> <Style TargetType="{x:Type Button}"> <Setter Property="Background" Value="{StaticResource brush}" /> </Style> <SolidColorBrush x:Key="brush" Color="Red"> </SolidColorBrush> </Grid.Resources> <Button></Button> </Grid> ...Show All
newSB File Templates
We currently have a few sQL templates defined for our team. It's the basic template that is there already with VS, but has our comment headed added to the template. We also have a standard that our SQL files are to be named [dbo].[objectName].sql. It would be nice if when we create a new template that we were able to pull the file name and place it in for the object name. For eaxmple: Add new SQL Script choose Custom Stored proc template N ...Show All
BrandonHeidepriem Stopping all animations on an object.
I have a uielemtn with a rendertransform being animated. Is there any way to stop all animations on it programatically Either get a handle on the DispatchTimer or create it initially programatically and call Stop on it from your code when you want to stop the animation. if the animation starts from XAML then you could add a StopStoryboard to your XAML and either trigger it from a RoutedEvent (in XAML) o ...Show All
ETor How to fill bitmap with color #00000000
Hello. I want to fill bitmap with color #00000000. DrawingVisual visual = new DrawingVisual(); DrawingContext context = visual.RenderOpen(); using( context ) { Brush brush = new SolidColorBrush( Color.FromArgb( 0, 0, 0, 0 ) ); RectangleGeometry geometry = new RectangleGeometry( new Rect( 0, 0, 100, 100 ) ); GeometryDrawing drawing = new GeometryDrawing( brush, null, geometry ); context.DrawDrawing( drawing ); } renderTargetBitmap ...Show All
augustus crystal reports and .net resource files
I am a complete newbie when it comes to crystal reports. I am working on a project where I am going to make 3 realatively simple reports. However, the application is multilingual. I'd rather not make one report for each language (I just made one, and it was a drag to format because it is realtively crammed with infomation), so I am looking for a way to dynamically read from a resource file into my crystal reports. Is this possible If it is, how ...Show All
chale create grid in richtext box
Hi can anybody have any idea about how to create grid or canvas in a richtext box programatically thanx-prasanth You would be using an InlineUIContainer/BlockUIContainer btw all embedded elements within the grid will be disabled. The equivalent markup generated in Expression Interactive Designer looks like this - the markup is only a way to describe a heirarchy of obje ...Show All
Guygeboe Error installing GAT on VS 2005 (German)
Hi, after installing GAX/GAT on VS 2005 Professional (German) the Microsoft Recipe Framework and the Guidance Package Manager are available but not the Project Templates or any Project Items. Any idea Thanks Oliver Hi Daniel, thanks for your answer. The answer is however no solution.It does not help me in Germany and Laurent in France.GAT is an important component of the Software Factory Strategy. ...Show All
Robert D Misiak Why Close a proxy?
Hi I know that as a best practice we should call ICommunicationObject.Close after using a client channel. What are the real consequences of not calling Close/Dispose In what i understand, it depends of the binding, right, like if we're keeping a transport channel opened or not, is that correct thanks! And yet two other scenarios are a singleton with a session and a singleton without a session. Singleton with a session will ...Show All
Gerard van de Ven Why is it failed to show the name of referenced project?
Hi, As VSIP, I have implemented a language service. But it is failed to show the project name under reference node when the project is my own language service and the project is referenced. I have attempted on referencing my project with "FigPkg", but it is not shown either. I have found out that the files and folders in the directory of my project are different form the files and folders in the directory of ...Show All
Brian Hartman Unable to download Microsoft SDC tasks
Hi, I was attempting to download the Microsoft SDC Tasks library and was unsuccessful doing so. I had clicked to join the group but never got a response back. Later i read the message that membership limit had been reached and the downloads can still be done from the homepage. I tried it and wasn't able to download it from anywhere. I would appreciate it if somebody could let me know if it would be possible for me to obtain a copy of the task ...Show All
