Questions tagged [visual-studio-macros]

A macro is a series of commands and instructions that you group together as a single command to accomplish a task automatically. Macros allow you to automate repetitive actions. Visual Studio includes the Macros integrated development environment (IDE), which is used solely for creating, manipulating, editing, and running macros. The Macros IDE is separate from the Visual Studio IDE.

The Visual Studio Macros integrated development environment (IDE) has the same look and feel as the Visual Studio IDE, but is separate from it. The Macros IDE includes the Code Editor and several tool windows. These windows function the same as their Visual Studio counterparts, except that they apply specifically to the code and projects within the Macros environment.

209 questions
0
votes
1 answer

Converting "Some quote enclosed text" to Some_underlined_text with resharper

I have up to now been using a macro to convert "This sort of text" to This_sort_of_text. This is very useful for typing test class names. (Details here: http://blogs.msdn.com/b/elee/archive/2010/02/28/my-bdd-naming-macro.aspx) Unfortunately Visual…
4imble
  • 13,979
  • 15
  • 70
  • 125
0
votes
1 answer

how to copy/replace/override content of multiple cells into one?

I have a simple question in excel, I need to copy the content of three cells into one, for example if I enter "1" to cell A I would like to see "1" in yellow cell, or if I enter "2" into cell b I would like to see "2" in yellow cell and so on,…
user1429595
  • 2,635
  • 9
  • 25
  • 30
0
votes
0 answers

Cassini Startup Macro/Script

I'm maintaining an old VS project which takes about 2 minutes to compile each time. Every time I make a change I have to recompile, and while debugging I'm encountering multiple crashes of Cassini. Is there a macro of some sort that can be used to…
Chiramisu
  • 4,687
  • 7
  • 47
  • 77
0
votes
2 answers

Visual Studio: A macro to set assembly properties with solution or directory root scope

I would like a macro for Visual Studio to set assembly properties. Is there a code template somewhere for this? Either within VS or on the interwebs? I'm looking to set Company name, trademark etc. Update: O.k. this is what I've just written/hacked…
rism
  • 11,932
  • 16
  • 76
  • 116
-1
votes
1 answer

Visual Studio 2010: use command line in a macro and write the output from the cmd to the output pane

I'm using a macro in Visual Studio 2010 to do some stuff with a .bat. The .bat generate some output text in the Command Line Console. Is it possible to get the output text, to display it in the output pane? Here is a part of my code: Sub…
-1
votes
1 answer

Define macro using _Generic gives typename not allowed

I am trying to define a generic macro, which I intend to use with exception handling while debugging the code. When I try to compile the code below, it says typename not allowed. I am a noob when it comes to the macros, any and all help is highly…
Qasim Shafi
  • 69
  • 1
  • 5
-1
votes
1 answer

Can I dynamically jump over a line of code without recompiling in Visual Studio using breakpoints?

I can manually skip lines of code by setting a breakpoint, moving the execution cursor and hitting continue. Is there a way to configure Visual Studio, perhaps with a macro, such that a specific line will be skipped every time it is hit? I could do…
-1
votes
3 answers

Serial for unique entries in a column

Hi I have specific column with Header 'SHOE' which contains repetitive numbers ~50000 I would like to have adjacent column having serial number for each unique number. there can be a situation that same SHOE number can be present multiple time in…
sapna
  • 13
  • 8
-1
votes
1 answer

Using Excel to generate a Visio diagram - using 'select' method in IF statement

I am currently integrating Excel with Visio to auto-populate some elements diagrammatically. I have got so far with this effort but have got stuck between the documentation, macro recordings and actually doing what I want. By recording macros I have…
fileinsert
  • 431
  • 4
  • 22
-1
votes
2 answers

VB code for comparision of two rows based on a key column

I have a testing requirement which has a lot of rows of data in two tabs. One row from Sheet1 hast to be brought to Sheet2 based on Employee Name and inserted below the row with the matching Employee Name. For example : Employee Name Salary …
Aarti.R
  • 1
  • 2
-1
votes
1 answer

Troubles switching from VC++ Directories to User Macros for Boost

Good day, I have previously successfully used boost in Visual Studio 2010 by using Include and Library Directory paths under VC++ Directories in project settings. However not long ago I have been forced to switch to using "User Macros" to do the…
skakri
  • 71
  • 8
-2
votes
2 answers

Excel & VBA: Copy rows into a new sheet based on cell value

I'm a total newbie in Excel and VBA. I have a sheet like this: A B C D someinfo someinfo someinfo OK someinfo someinfo someinfo OK someinfo someinfo someinfo ERROR someinfo someinfo someinfo ERROR someinfo someinfo someinfo…
net.cat
  • 131
  • 1
  • 4
  • 8
-3
votes
1 answer

How to use a constant value in a function after getting input from user

So here I have a part of my code where I define macros to set the identifier MIN_BIT to a value based on user input: #define MIN_BITS(n) 1*n int MIN_BIT = MIN_BITS(n); And then I take user input for the value of 'n' in the main function. Now, I…
-4
votes
1 answer

I cannot find how to record a macro in Powerpoint 2013

I want to be able to change the default Playback start option from On Click to Automatically, and move the audio horn icon from the middle of the slide to the lower right, and make sure that Timings is selected. I can only create the…
1 2 3
13
14