Answer Questions
sooline Strikeout in Textbox
Is it possible to Strikeout text in a Table textbox Solved: TextDecoration ...Show All
prasad_8104 Control the Child window dragging
Hi, I have a parent whindow on which a click of a button will pop-up a new window. The code i used for that is as follows: ***************************************************** Chart ch = new Chart (); ch.ShowDialog(); ***************************************************** When the user drags the child window it goes outside the boundry of its parent window. But i need to restrict it from being draggable or the user shld not be able to drag it outside a specified boundry which again needs to be derived from the parent window. Thanks, Ram Unfortunately, there is no built in way of doing this. However, you can use interop and listen to WM_MOVING message and control the rect of the window. WM_MOVING is sen ...Show All
espinosa How to procced with automatic update in microsoft outlook add in ?
I have developed microsoft outlookaddin application and deployed it in my client machine using msi file For deployment i followed the following link http://msdn.microsoft.com/office/default.aspx pull=/library/en-us/odc_vsto2005_ta/html/officevstowindowsinstallerwalkthrough.asp After that I made changes in the development machine and i published using file system in a deployment server and for every publish different versions are being created. It is working fine in development machine. But not in client machine. The problem i found is that client machines unable to pull the latest updates from deployment server. Pls give ur valuable suggestions. Rajesh, Did you verify that the Application manifest file on the client is pointing t ...Show All
Honza N Using array as return value from a function
Hello There, I need to write a function that returns an array as a returned value. How should I do the assigment Will this work: int[][]Array = new int[3][3]; Array = ReturnArray(); *The ReturnArray() function will return an array 3x3. Thanks! Hi, Check out following code snippet. If you face any issues, feel free to post back. package ConsoleApplication1; /** * Summary description for Program */ public class Program { public static void main( String [] args) { // // TODO: Add code to start application here // Program x = new Program (); int [][] arr = x.ReturnArray(); for ( ...Show All
jonez108 Performance on large assemblies
Sandcastle (Dec CTP) takes a long long time to build when given a largish assembly to document. Our project isn't that large (XML file is 19 MB, DLL is 6 MB) (134 494 elements says CopyFromIndexComponent - which generates 36 000 topics) but Sandcastle takes some 10 hours to build using the SHFB tool. We used to use DocumentX and HelpStudio from Innovasys and it would generate the documentation in a bit over 2 hours. Is there any chance that the next CTP will be faster I've resolved most of the slow build issues. The last one remaining is adding missing documentation tags. Most of the issues were related to the size of the reflection information file and performing XPath queries on it. I've reworked the code and those steps now al ...Show All
Skugga How I create a Proxy for WCF with TCP Transport and Binary encode in SDK July CTP?
How serialize customized messages with WCF Binary encode and TCP transports How I create a Proxy for TCP-Binary in SDK July CTP Do you have any example Thanks, Daniel Andrade What I want is to have a Business Entities layer able to be used by a Message layer and other Services layer that can use these mesages. I want to use netctpbinding For instance: Messages: using System; using System.Runtime.Serialization; using System.Collections.Generic; using System.Text; using System.ServiceModel; namespace Microsoft.ServiceModel.Samples { [ Serializable ] public class Request { private string name; public string N ...Show All
Shells HttpTransportSecurity not extensible
There are many classes that could be usefull for configuring custom binding element and custom bindings. But their constructors are made internal plus there are plenty of usefull methods that configure binding elements that are also made internal . Woudn't it be better if I could reuse HttpTransportSecurity security in my classes for storing the custom binding configuration reusing it when I need to configure the HttpsTransportBindingElement instead of inventing my own proprietary configuration classes Same applies to many other usefull classses and methods that are presently visible only using reflection. At the end WCF framework is very flexible but obstacles like this minimize it flexibility, giving only two options really either to us ...Show All
mikebk I have lost my S/N and i need help here?
hello , i have microsoft visual studio 2005 standerd edition and i have lost the S/N but its still instaled on my pc is there any way to know my sn from the pc or from microsft becous i need to format my pc i hope someone answer me becouse its important and thanx Zaid I won it when i was at jordan from microsoft and i still know the prodact id any way i have traid this page but it gives me Sorry, the page you requested is not available. The page you were looking for is currently not available. The address may not be correct, or there may be a temporary problem with this site. Please try one of the following options: Check the address ...Show All
dr.acv Visual Studio 2005 and SourceSafe 2005
I am having a problem when I try to connect to my Sourcesafe database online through http. I followed the instructions, and everything seems to be configured correctly, but when I try to access sourcesafe through visual studio on my computer, I will go through the add sourcesafe database wizard, and then I continue to get the error message "The sourcesafe web service cannot be accessed at the specified address". It then says that the server returned the following error: A Connection with the server could not be established (0x80072EFD). I was hoping someone would have some pointers as what I need to check or reconfigure to get this opperational. Hi.. I want to ask if u can explain some p ...Show All
S. Peer Querying Dataset, nested query
Hi, I wondering if someone could help me out on the syntax of using a nested query to query datatables. Here is an example provided by LINQ documentation: DataTable orders = ds.Tables[ "SalesOrderHeader" ]; DataTable orderLines = ds.Tables[ "SalesOrderDetail" ]; var query = from o in ordersQuery join ol in orderLinesQuery on o.Field< int >( "SalesOrderID" ) equals ol.Field< int >( "SalesOrderID" ) where o.Field< bool >( "OnlineOrderFlag" ) == true && ...Show All
Nic-Gun Nullable Types
There appears to be a problem with nullable types. public int Id; results in: public Nullable <> Id Another example /// <summary> /// Gets the image for a given product, if available. /// </summary> /// <param name="deltaId">The unique id identifying the product, obtained from /// the <c>ClsInterfaceProduct</c> instance returned by a call to <c>GetNextProduct</c>.</param> /// <returns>A <c>System.Drawing.Image</c> instance for the spe ...Show All
jaxDeveloper Databinding using ElementName within GridViewColumns
Does anyone know how to get a GridViewColumn to bind to another GridViewColumn in the same row. More specifically I have a combo box in one cell, and a textblock in another. The textblock is linked to to SelectedItem in the combo box but for display purposes needs to be in a cell on its own. The scenario works fine without using the GridView but {Binding ElementName=...}. See below Xaml for example (this can be pasted straight into XamlPad). Thanks, Graeme <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <UserControl.Resources> <XmlDataProvider x:Key="xmldata" XPath="/Items"> <x:XData> <Items xmlns=""> <Row> ...Show All
PhilJung No AdornerLayer on a floating window.
I tried to get an AdornerLayer within a floating window, via AdornerLayer.GetAdornerLayer(this) but it returns null. When i call AdornerLayer.GetAdornerLayer((Visual)Application.Current.MainWindow.Content) i get an AdornerLayer. Any ideas Is this a bug Or system related ...Show All
Rob Relyea amazing System.InvalidCastException!!!!!!!!!!!!!!!!!!
dears, I 've writen the code below.although it enters the If statement and finds the type of objIDesignerHost.RootComponent.Site.Container.Components ,, MiscellanistControls.Label.Label . it doesn't allow to cast it to this type and gets System.InvalidCastException!!!!!!!!!!!!!!!!!!!!! ----------------------------------------------------------------------------- if (objIDesignerHost.RootComponent.Site.Container.Components .GetType().ToString() == "MiscellanistControls.Label.Label" ) { try { object ttt = objIDesignerHost.RootComponent.Site.Container.Components ; MiscellanistControls.Label. Label b = (MiscellanistControls.Label. Label )ttt; MessageBox .Show(b. ...Show All
cosimog Work in team with VS 2005 pro
Hello, is there any way to work in team with visual studio 2005 professional. I mean, without having VSS nor team edition. Any work pattern that helps to develop an application by many coders where each of them have the VS 2005 professional. Any third-party tool that helps to work in this way Thankyou! It depends on what you call "team work": - At the very least, you will need a source code control provider, which can be TFS, or others like SourceSafe 2005, Source Safe 6.0 or 3rd party providers. - Optionally, you may want to enhance collaboration using shared repositories of documents (MS Project for schedules, Excel lists for tasks, Access databases of bugs, etc.). These re ...Show All
