I am trying to add custom icons to a Shared Add-in for Microsoft Word. The Shared Add-in uses XML to add a tab to Word's Ribbon.
I am following the guidance of this document on MSDN: I have followed the steps described in the document for adding the image as a Resource. When I run the installer, and open Word the icons do not show up.
...
Say I have two separate classes, A and B.
I also have Repository class C which loads some information from a textfile. E.g. It has methods loadLines(), addLine(), deleteLine().
Ignoring databinding, how can I make A and B both work on the same class C. Is it possible?
For example at the moment, in class A and B formload, I have:
var...
I'm trying to create a layout similar to this:
Here's the code I have:
<StackPanel TextBlock.FontFamily="Segoe UI" Orientation="Horizontal">
<StackPanel HorizontalAlignment="Stretch" Width="Auto">
<TextBlock Padding="5,0,5,0" FontSize="12" FontWeight="Bold" Text="{Binding RelativeSource={RelativeSource TemplatedParent}, P...
I have a custom build target in a visual studio 2008 c# project. Is there a simple way to add a context menu item to the project, so that the custom build target can be executed via the ide? The build target is not integrated into the default build process and has to be started by hand. This step should be simple for all developers and s...
Right, so on my desktop the following very very simple code hangs / freezes when compiled and run on the framework 3.5
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
<Window.Resour...
Hi,
I was previously working in VS 2008 (.net framework 3.5). I have now shifted to VS 2003. I know its not in demand as compared to other .net versions. Please let me know how to keep upgrade with VS 2008/10 (while working on 2003) so that the shift from lower to higher versions is smooth enough.
Suggest me the best possible solution a...
The 'Updates' button on the publish tab of my project has suddenly disabled. I have been doing an update every couple of weeks for more than a year, and it has been working very well. I use the 'Updates' button to change the minimum required version.
I have tried running as administrator and rebooting. I don't believe any settings ...
I have 2 projects in my solution. The first one is a console application, and the second is a dll, used (referenced) by the console. When I build my solution (release) I get one EXE file and one DLL file, because "copy local" is true (if I set it to false, it doesn't run)
How can I store that DLL file in a subdirectory? If my output fol...
Several times throughout the course of our current project, the visual studio designer has made modifications that resulted in losing code. For example, event handlers wirings that were set up manually in the designer code were lost. Does anyone know why this happens?
Edit: I understand that editing these files manually is not a good...
What is Visual Studio 2008 Database Edition -- is it different from Visual Studio 2008 Professional Edition?
...
I need to be able to determine at run time what compilation options were use to build the executable. Is there a way to do this?
EDIT: I'm particularly interested in detecting optimization settings. The reason is that I'm writing commercial software that must run as fast as possible. While I am just modifying and testing the system I do...
So, just like the title says, I need to create an application that gets data from another Database, and shoves it through Dynamics AX's throat.
This data comes from a portal, not Enterprise Portal, but a PHP one. It stores some data from the order in a separate database. So as said, I need to 'import' that to AX, creating the sales ord...
I am trying to write documentation comments however I have a problem.
/// <summary>
/// Inserts an element into the System.Collections.Generic.List<T> at the specified
/// index.
/// </summary>
When I reach the <T> Visual studio thinks I am trying to add another tag. what is the correct way to add comments like that (and if I could ma...
I just posted this question and learned about <see cref="">, however when i tried
/// This is a set of extensions that allow more operations on a <see cref="byte[]"/>.
The compiler gave me warnings about it not being formatted correctly. What do I need to do so it will see the code reference correctly?
...
I want to create a project and manage the files in Visual Studio 2008 on my computer, but I want VS to upload everything to an FTP server whenever I save the project, so that I can quickly compile and test my program on UNIX.
I have been using BBEdit on my Mac, which has built-in FTP opening and saving, but I want to move over to Visual...
please I can't able to install the silverlight on vs2008.please tell me how to install
silverlight on vs2008. give me step by step description otherwise any most preferable link
for that I am going in correct way.& how the controls are to be in vs2008.
& also me give a beginner example for that i can start to teach the silvelight.
plea...
Hi guys:
Where can I find the add-ins directory?
PS: I want to install this manually, but my VS cannot load the addin after I put the addin.zip into "Documents and Settings\\My Documents\Visual Studio 2008\Addins"
...
Hi folks:
At recent times, I frequently edited .js files through VS, but it awkward.
Could you suggest some excellent add-ins to faciliate the work?
Thanks.
...
There I was happily debugging my code, when I did a restart, and even though VS said it was running my application, nothing showed.
When I hit stop, VS emptied itself of everything - solution explorer, all opened files, and all of the other panes (output, properties, etc.).
I've tried rebooting. Doesn't help.
Tried creating an empty ...
Hello everyone,
I'm working on a plug-in which provides easy navigation to some code lines within VS, and the lines I have firstly identified may be invalidated by user updates to the code, (ex. I firstly have line number 3 of HelloWorld class and user inserts two more line before line 3 making my interested line #5). So I'm planning to...