Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Visual Studio macros for a VC 6 project

Visual Studio macros for a VC 6 project

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studiocsharpjavascriptcomtools
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sam Hobbs
    wrote on last edited by
    #1

    Using VC 6, is it possible to create VS macros that are unique to a project? What I mean by "VS macros" is the macros that are created, edited and run using "Tools | Macro" in VC 6 and documented in Macros[^]. The macros are in DSM files and have access to the Developer Studio Objects[^]. I can create a DSM file in the project but the only way I know to execute a macro in the DSM file is to load the file, which is done globally and for all projects and all workspaces. I want the macros in the project's DSM file to be used only for the project it is in. I expect that someone is going to say that I should use a macro with a VBS or JS extension. Let me say ahead of time that if you think that will work, it is highly likely you are not familiar with VC 6 enough to understand. I will likely ignore replies suggesting I use macros that will be executed by WScript or CScript.

    N 1 Reply Last reply
    0
    • S Sam Hobbs

      Using VC 6, is it possible to create VS macros that are unique to a project? What I mean by "VS macros" is the macros that are created, edited and run using "Tools | Macro" in VC 6 and documented in Macros[^]. The macros are in DSM files and have access to the Developer Studio Objects[^]. I can create a DSM file in the project but the only way I know to execute a macro in the DSM file is to load the file, which is done globally and for all projects and all workspaces. I want the macros in the project's DSM file to be used only for the project it is in. I expect that someone is going to say that I should use a macro with a VBS or JS extension. Let me say ahead of time that if you think that will work, it is highly likely you are not familiar with VC 6 enough to understand. I will likely ignore replies suggesting I use macros that will be executed by WScript or CScript.

      N Offline
      N Offline
      Nelek
      wrote on last edited by
      #2

      I don't know about the thema, so I can not help you a lot. But if you LOAD ... is there an "unload"?? I mean somthing like with the DLL, it can be there... but it is reached (in dinamic linking) only when LoadLibrary is called, and so far as FreeLibrary is not called. Is it possible to do that in your question?

      Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)

      S 1 Reply Last reply
      0
      • N Nelek

        I don't know about the thema, so I can not help you a lot. But if you LOAD ... is there an "unload"?? I mean somthing like with the DLL, it can be there... but it is reached (in dinamic linking) only when LoadLibrary is called, and so far as FreeLibrary is not called. Is it possible to do that in your question?

        Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)

        S Offline
        S Offline
        Sam Hobbs
        wrote on last edited by
        #3

        Please don't guess like this.

        N 1 Reply Last reply
        0
        • S Sam Hobbs

          Please don't guess like this.

          N Offline
          N Offline
          Nelek
          wrote on last edited by
          #4

          I am sorry if you didn't like it but, sometimes, "silly/simple" guesses from non-prof people can give you the idea to the solution.

          Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)

          S 1 Reply Last reply
          0
          • N Nelek

            I am sorry if you didn't like it but, sometimes, "silly/simple" guesses from non-prof people can give you the idea to the solution.

            Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)

            S Offline
            S Offline
            Sam Hobbs
            wrote on last edited by
            #5

            Not when they are so much of a guess; that is a nice way of saying innacurate. You are accomplishing nothing except clutter this thread; I will ignore you from now on.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups