Software Development Network Logo
  • Windows Forms
  • Microsoft ISV
  • Smart Devicet
  • Visual Basic
  • .NET Development
  • Visual FoxPro
  • Visual C++
  • Windows Vista
  • Visual C#
  • Audio and Video
  • Visual Studio
  • VS Team System
  • Game Technologies
  • SharePoint Products
  • SQL Server

Software Development Network >> Visual Studio

Visual Studio

New Question

propagate an exception of a concrete type in Indigo
STS & WS-Trust Extensions
Custom currency format
Dynamic Image Location by using a parameter
Is there any EDM xml reference document?
Text-To-Speech and Web Service
How can I build one project in a .sln?
Dialog Window
Crystal Report 10.2.0.0
ComboBox doesn't handle NotifyCollectionChanged, when bound in code to a Collection

Top Answerers

emu78
Jim Fafrak
t_1369
EntDev
Tallman
MichaelD!
RCS300
F.Costa
Rick Strahl
Dave Jenkins
Datasource.de - Mathias Harbeck
Only Title

Answer Questions

  • Swapna.B. Selection.PasteExcelTable not working correctly the first time it is called

    Hi, There are specific circumstances under which Selection.PasteExcelTable does not behave as expected the first time it is called. The following are the steps to reproduce it. In a Word Template project, add the following code private void ThisDocument_Startup(object sender, System.EventArgs e) { UserControl1 userControl = new UserControl1(); userControl.button1.Click += new EventHandler(userControl_Click); this.ActionsPane.Controls.Add(userControl); } void userControl_Click(object sender, EventArgs e) { Application.Selection.PasteExcelTable(true, true, false); } Run the project and then copy from an Excel file that looks like this http://pic.atpic.com/172150/0/jtfgimzxcdylugbmebyq Notice that there is a hid ...Show All

  • caseymanus VSTO w/o Excel and Outlook

    Hi, I wrote an add-in for Word. I want to distribute it with VSTO. But if the user does not install Outlook, installation cannot continue due to VSTO. I want to distribute this application with only one prerequisite: Word 2003. What should I do for this Thanks... The PIA Check takes a GUID command-line parameter. You pass it the various GUIDs of the office applications you want to check if the PIAs are already installed. If you are just wanting to check Word, you would call it as follows: PIACheck.exe {1C8772BD-6E6F-4C9D-8FF8-B5EA072F86EF} If the PIAs for Word are installed then the check returns zero (0). If they are not installed, then the check returns a non-zero value, and you'll want to install the office PIAs. AppCheck.exe work ...Show All

  • DeveloperJTM VSTO Word Deployment

    Hi I have written a word solution using VSTO. The app basically contains a number of templates which link to a customer database and allows the users to populate customer addresses and other info. Anyway the solution works fine until someone saves a letter to another location. Then when they open the document they get a "customization could not be loaded error". I believe that this is because word\document is looking for the DLL associated with the original document. Is this correct If not does anybody have any ideas what could be causing it Yes, it sounds like the security may be location-based. See if the information in these articles on trouble-shooting and on deployment he ...Show All

  • Douglas Stockwell Canvas rendering performance problem

    One of our requirements is to display 200*200 rectangles in one panel and update all of them around every 20/30 seconds in real time. Each rectangle has a different color. The performance requirement for display is around 1-2 seconds. I'm currently using DrawingContext in my WPF control and calling DrawRectangle API in a loop. Later I displayed it as an image on canvas. Something like this: SolidColorBrush sb = new SolidColorBrush(color[0]); using (DrawingContext drawingContext = dGroup.Open()) { for (int ii = 0; ii < 200; ii++) { double x = width * ii / 200; for (int jj = 0; jj < 200; jj++) { double y = height * jj / 200; ...Show All

  • PhilippCH VSContent and Addin Schema Question / Issue

    Hello, I am making my VSI installer, and it is working mostly ok. But I have a couple minor issues. First, let me explain that I have many <Content> Sections in the VSContent file. There are 2 ProjectTempaltes, 2 ItemTemplates, and My Addin. The 4 Templates all get installed to their proper place, and load up just fine. The addin gets installed to the right place as well, but i have The Partner Assembly in the GAC. When I had the dll in the addin folder to debug, it was easy and all worked well. The <Assembly> element was simply GBMVSEnviromet.dll. Now, when it's in the GAC, I thoguht I would do the same thing as in the Template for Wizards. Using the Assembly, version, culture, pky, custom, below i pasted both my XMLS ...Show All

  • a_abdi406 Stylus events from Wacom graphics tablet

    Hi everybody, I'm currently designing an application, which targets the Tablet PC and PCs with a graphics tablet. In this context I wish to use stylus events like StylusDown, StylusMove or StylusInAirMove, which are provided by the new .NET3 framework / WPF. My problem is, that these events are never being created on my desktop/development PC (using a Wacom Graphire4 Classic XL tablet). This is especially weird, because in Tablet.TabletDevices (Tablet is a static class in System.Windows.Input) the tablet IS listed (since after Wacom driver installation). The problem is, that the Stylus.CurrentStylusDevice is null all the time. Even with an InkCanvas only the emulated mouse events are generated, not the stylus events. Due ...Show All

  • wilbour can only create one shape

    I started learning dsl tools recently. After going through the couple of examples i tried writing a designer myself. The new designer i created has two classes(will be more later) and each class pointing to different shape. it compiles, transforms and creates debug project . But in the debug VS, even though the toolbox shows all the shapes classes i can only create one class instance on to the designer. And the rest of them don't draw anything even i drag and drop them. The one that i can drop is the first one i created.. I checked parent element path, and element merge directives that was suggested in the other posts and they all seems to correct. did anyone had this problem before any suggestions on how i can make this work thanks ...Show All

  • twickl Multiple implementations in one ServiceHost?

    I am trying to figure out if it is possible to have one single ServiceHost implement multiple endpoints (each with different service contracts) where each endpoint uses different singleton classes. I want to have my host provide services by interface like http://localhost/IMyService1 http://localhost/IMyService2 http://localhost/IMyService3 ... There are a lot of services and it is impossible to have one class implement them all. Do I have to create one ServiceHost for each class or can I somehow get the ServiceHost to use different implementations for each endpoint I am looking at IInstanceContextProvider and the InstanceContext class, but am not sure how these are supposed to work, or if they can do what I want. ...Show All

  • alejandrohidalgo Simple arithmetics in XAML

    Hi everybody. I am wondering, if there is an easy method to use simple arithmetics in XAML without the need to go into code-behind for every simple calculation. I.e. I would like to write things like this: Width = " {TemplateBinding ActualWidth} *1.1 " or Margin = " - {TemplateBinding ActualWidth} *0.1/2 , - {TemplateBinding ActualHeight} *0.1/2 , 0, 0 " Is this possible in some way Thanks, Michael. Thank you very much for this mighty converter. This is a very useful extension for XAML design! I had to change a bit in order to make the number styles consistent, but now it works very well; including the margin code. The changes to the Convert method are as follows: u ...Show All

  • Jeroen Alblas Bottomless RichTextBox

    Anyone know how it might be possible to implement a "bottomless" (self-sizing to fit content) RichTextBox-based control. The old Win32 RichText control has the EM_REQUESTRESIZE message which one could hook, I haven't been able to figure out whether the equivalent exists in the WPF control. Thanks, Jeremy I need TextBox-style navigation and editing as well (caret, selection, etc). I don't think this is possible with FormattedText alone. I think what you are after is actually the default behavior - Doug < Window xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " > < RichTextBox HorizontalAlignment = " ...Show All

  • xna_dev Help still broken

    Just installed the release version of VS2005 standard. Alas, F1 help is still broken. If I position the cursor over a word (for example HANDLE) and hit F1, the following happens: 1. If MSDN is set to use local help only, it always displays the topic-not-found page, even though on the left hand side, the topic is not only present, but selected. A single click on the highlighted item displays the correct information. 2. If MSDN is set to use online help first, then pressing F1 takes up to a minute (looks like multiple redirections happening), then either displays the topic-not-found page or displays something only vaguely related to the selected keyword. Oddly enough, the correct keyword is still present on the left-hand side, still selected ...Show All

  • champagne_charly Is VSTO object model support disable screen refresh function just like VBA ?

    Dear All. Is VSTO support the same PIA object that works just like VBA "Application.ScreenUpdating" when mass object data binding with large Pages in Word Document, this is really need function for performance. any ideals please help Hi Polo, Yes, the entire Office object model is available in VSTO via the PIAs. Application.ScreenUpdating is there; i.e. Application.ScreenUpdating = false; Sincerely, Geoff Darst Microsoft VSTO Team. Yes, just use same method - Application.ScreenUpdating. ...Show All

  • michael447887 VSTO 2005 SE Globals Addin Support in Word 2003

    If I understand things correctly, document level customizations (i.e., those that can make use of the actions pane) are only compatible with Word 2003 Professional or Standalone Editions due to VSTO's use of the XML expansion pack stuff. What if I create a global addin for Word 2003 using VSTO 2005 SE Do I have the same limitations to the versions of Word that are supported (i.e., Professional/Standalone). Or are global addins created using VSTO 2005 SE supported in all versions of Word 2003 since global addins don't make use of the actions pane Your understanding is correct on both counts. That is, VSTO doc-level customizations for Office 2003 use the XML expansion pack technology so are restricted t ...Show All

  • John Padilla Trouble saving combo box values back an SQL table

    Hi Everyone, I've designed a word form that has combo boxes, text boxes and date pickers on it for data entry. The code was working fine until I added some extra combo boxes (tags 16 upwards) with possible choices of Yes and No. Combo boxes tagged 1 to 15 have possible choices of 1, 2, 3 or 4. Boxes 1 to 15 are saving to a SQL table called ExitInterviewLine and boxes 16 and upwards are saving to a table called ExitInterviewTextLines. When I run it now it comes up with an error saying that it can't save Yes as an integer! As far as I'm aware I haven't stated that I want it to be an integer, the field I'm trying to save to is VarChar. Thanks, Gethyn. Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As ...Show All

  • Jorge P Remove .NET Language Pack

    Hi Having automatic Windows Update turned on (which I changed after this experience) the .NET Language Pack (German) was installed on my machine and after that half of my VS is german, the other half is english. More than that the german translations are more confusing than helpful. Is there a way to switch back to having everything in english without re-installing VS completely. I have tried to uninstall the language pack - no change. Thanks Alex I have just removed the French Language Pack from my machine, and I ran a sample generating exception message: the exception string is now in English. From Control Panel, uninstall the German Language Pack of .NET ...Show All

767778798081828384858687888990919293

©2008 Software Development Network

powered by phorum