Answer Questions
SRINIVAS ENDRA Accessing an Excel TextBox from c#
I need to access a named Excel text box from c# code. I have successfully been using Microsoft.Office.Interop.Excel.Range to access cells, but I don't see how to get the handle of a textbox. Should I be doing this through the TextBox interface, or the IShape interface Hi Neophyte This still isn't the right place, but probably a bit closer than where ever you were :-) The best place to ask questions concerning automation of Office applications are the office.developer newsgroups, as listed in the " Please Read First " posting at the top of this - the VSTO - forum (primarily concerned with the VSTO technology). I recommend office.developer.automation for this particular question. When you a ...Show All
cdolor Platform SDK
What does the "Platform SDK" contain that would make it valuable or necessary, if I already have Visual Studio 2005 Professional Right now the only thing I'm aware it "uniquely" contains, is DirectShow. Ok, so if I'm making a DirectShow application, I'll need to install the DirectX SDK and the Platform SDK. But other than that, I don't know what I'd need it for. Is there a web site that lists explicitly the contents of the Platform SDK - particularly pointing out what items in it are unique - not available elsewhere Yes a thread can have more than one post marked as an answer. Mystagogue wrote: Why do they bother putting the name of a particular OS into the title, ...Show All
andris11 Locals Debug Window
Hello, Since short I the Locals - Debug - Window is empty. I cannot figure out what is the problem. When I run the solution, I cannot debug/verify the variables. Does someone have a clue what is going on It is happening with all my solutions. Thanks. I have some answers on your questions. 1. No, right-click, all the values are grayed out 2. No, It is also grayed out 3. Visual Studio 2005 Team Edition for Software Developers (the projects I am working on do not requiere connection with TFS) 4. C# ESTAN Hello, This is annoying. I uninstalled and reinstalled my copy, the same problem occurs. I can't see Watch and Locals. Before I reinstalled, I deleted t ...Show All
JohDas Creating thumbnails of a grid/WrapPanel or other UIElement in WPF?
Hey! Im working on a new menu for our application. When a new "work area" is opened (everyting in one application window), I'd like to put a small instance icon in the top of the screen so that the user, if opening more than one instance, easily can navigate through the instances. I have managed to get this to work. Now I'm trying to fix a nice feature for the instance icons. If the user hovers with the mouse over the instance icon I'd like a screenshot thumbnail of that work area to be shown in the tooltip of that instance. Kind of like the new menubar in Vista. Does anyone know what to do Please see code example at end of message I have tried to make a copy of the work area, scale it down and then view it in the thumbnail. But ...Show All
DoS CPU throttles when binding listener to MSMQ private queue
Hi, I'm in the process of trying to get a test MSMQ listener setup to receive messages from a test client. If I create the queue manually through the MMC snap-in, the client is able to deliver messages to the queue successfully. However, whenever I attempt to start the queue listener console application [in debug mode or double-clicking the app], CPU usage spikes at 100% [evenly split when running in debug mode between the app and devenv.exe]. The console app appears to have the appropriate endpoints exposed, but it just sits there without actually processing any of the messages that are in the queue. If I remove the queue, and start the client, it cannot deliver messages to the queue, stating that the queue does not exist, and t ...Show All
TJ2007 Rich class object on Service and Client side?
Hey! When setting up a WCF communictionen between a host and a client we generate the proxy classes for the client. All the classes that are used on the host and are known the the service are regenerated on the client side but in a special proxy version. I need to let the client know of the real classes, and not just the proxy clases, this could be manage by reference to a class library(dll(same as the one the service are using)). Now to the question, will i have to build my own Proxy object to orginal object converter my self(that fill the object fom the class librare with the data in the proxy object) or is there anyway to let the client use the real objects instead of the proxy objects like it does with the built in type(Dataset, Strin ...Show All
JerryCic how to create a message from scracth?
Hello, I'm writing a MessageEncoder because I'm receiving a non-standard stream and I want to create a message from it's values, so: 1) I 'understand' the parameters of the operation from the stream and use a DataContractSerializer to serialize them to the body of the message... The question is: How do I correctly write the body of the message Because I can write a parameter using the DCS but I can't write the Operation Name, so the dispatcher fails when it tries to resolve the call: OperationFormatter encountered an invalid Message body. Expected to find node type 'Element' with name '[ OperationContract_Name ] ' and namespace '[ ServiceContract_Namespace ]'. Found node type 'Element' with name '[ DataContract_Name ]' and ...Show All
vbjunkie WPF designer for C++ (From: C++/CLI great, but, w/o full WPF and WF support in the VS 2005, C# only alternative)
So does all that mean there will be a WPF designer for C++ or there wont. And if so, when, and in what product Tarek Madkour MS wrote: There is no plan for a WPF designer for C++ in Orcas. The focus of the Orcas release for C++ is two-fold: 1) enable the development of applications that target Windows Vista by exposing the new native APIs and controls to Win32 and MFC applications, and 2) improving core managed/native interoperability scenarios. As Bill mentioned in the previous post, we will continue to invest heavily in native C++ and core native/managed interoperability in the coming releases as well. So it is unlikely that you will be seeing a WPF designer for C+ ...Show All
CK12 How to insert SQL ?
Hi! I want to create a CR in VS 2005. But i want to insert my own SQL into the report. I haven’t find any possibility to write my own SQL for the report. Where can i do this Thanks! You should be able to create a connection to the database and then choose to do a command table instead of choosing the tables you want data from. This should allow you to write the sql statement. ...Show All
Daikoku vs 2003 vs 2005
Guys, New to this forum. I am working with VS 2003, and now my company asks me that they would like to move to VS 2005, and I need to provide them comparision between VS 2003 and VS2005. Is there any link which illustrate those differances Many Thanks Rik I don't think there is such table since you normally have a differential in the form of What's new lists. So, to compose such table take a look at the VS.NET 2003 features ( http://msdn2.microsoft.com/en-us/vstudio/aa700867.aspx ) and use the What's new in VS 2005 that I provided. Thanks mate. I guess I have to create that one. Thanks Man. am sorry Carlos, I wasn't sure where I should put this question. Sorry about that, and Thanks f ...Show All
Tanmaya Accessing code behind objects
Hi, this is the XAML: < Window x:Class = "MyCompany.MyProductSpace.MyWindow " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:my = " clr-namespace:MyCompany.MyProductSpace " > < Window.Resources > < my:MyConverter x:Key = " myConverter " /> </ Window.Resources > This is the code behind: namespace MyCompany.MyProductSpace { [ ValueConversion ( typeof ( String ), typeof ( String ))] public class MyConverter : IValueConverter { ... } } And this is the error: error 4 Assembly '' was not found. The 'clr-namespace' URI refers to an assembly th ...Show All
Pikachu881 Native Sybase ASA .NET data provider and VS2005
Hi All! I've already ask this question in ‘.NET Framework Data Access and Storage’ but nobody helps me. Seems I choose wrong place. I'm sorry if this place isn't good one too. Could someone direct me I have Sybase ASA Net data provider installed, but VS doesn't support it. I can connect to Sybase server via ODBC, but I can't connect by native provider. Server Explorer - Data Connections doesn't contains Sybase driver in list of available data sources. Is this driver can be registered somewhere in VS to allow visual operation Thanks in advance, Alex ander My previous answer was wrong. You need a Data Designer Extensibility (DDEX) provider, that you can build with the DDEX SDK: ...Show All
mattdawg Sandcastle - can I exclude items from docs via attributes?
I have some code in my library which I want to exclude from the documentation but I cannot mark as internal, private, or otherwise. I have created a custom attribute called "Unsupported" and placed that attribute on certain interfaces, properties, and methods. Ideally, I would like Sandcastle to ignore items marked wtih this attribute. Is there a simple way to accomplish this Perhaps something in one of the transform files Thanks for any help! Ken This is correct and we will address custom tags such as <exclude /> in our October RTW build. Anand.. We are planning at the end of October as we have monthly release cycles. However we will do our best to get it out early. ...Show All
george_v Creating and Loading a Custom Window
I want to create a custom window, which will be loaded by an application in place of the default (Window1.xaml). The custom window will be part of a class library. (Assuming that I can create a class library with a System.Windows Window in it.) How do I specify this I know how to do it in Windows (simply create an entry in the app.config file and reference the entry using the ConfigurationManager to load the form) . I am doing this in a windows solution that I want to port to WPF. I've been experimenting with Application.Resources but haven't had any luck. Is there a way to do this Thanks! I've done this, but I haven't put the custom window in a separate class library. In your app.xaml file, ...Show All
Kevinkz FlowDocument from RichTextBox to FlowDocumentScrollViewer
I try to view my RichTextBox Content in a FlowDocumentScrollViewer. myFlowDocumentScrollViewer.document = myRichtextBox.document; And I get an exeption {"Exception has been thrown by the target of an invocation."} Somebody help, Please! The Actual Error is "Document belongs to another FlowDocumentScrollViewer already." try to set flowdocumentscrollviewer's document's property as null flowdocumentscrollviewer.Document = null; MemoryStream ms = new MemoryStream (); XamlWriter .Save(r.Document, ms); ms.Seek(0, SeekOrigin .Begin); scrollviewer.Document = XamlReader .Load(ms) as FlowDocument ; ...Show All
