Questions tagged [snap-in]

37 questions
1
vote
1 answer

c# creating msc file

How can I create *.msc file? I see a lot of articles about creating snap-in's. My goal is to create msc file so people can double click it and bring defined snap-in Thanks
eddyuk
  • 4,110
  • 5
  • 37
  • 65
1
vote
1 answer

TreeVIew icons not displaying in MMC Snap-in on Windows XP

We have developed a User Interface as an MMC snap-in but we’re having issues displaying icons inside a Treeview on Windows XP. Basically, icons (.ico) added to ImageLists of a TreeView are simply not visible on Windows XP. We researched on the…
Vikesh
  • 2,018
  • 6
  • 23
  • 33
1
vote
1 answer

How to detect when a user navigates away from MMC FormView?

I have an MMC snapin (MMC 3.0) with a ScopeNode that adds a Microsoft.ManagementConsole.FormView. This FormView is used to edit a script. If the script contains syntax errors I need to prevent the user from navigating away from the form until the…
Skrymsli
  • 5,173
  • 7
  • 34
  • 36
1
vote
1 answer

How to localize MMC snap-in (default actions, file menu, etc)

I am developing a MMC 3.0 snap-in and have a framework in place to localize all string literals at run-time. However, the MMC inserts lots of 'default' menu items, actions and descriptions, none of which I can access programmatically. For example,…
beterthanlife
  • 1,668
  • 2
  • 18
  • 30
1
vote
4 answers

PowerShell: How to mount drive programatically from SnapIn

I am creating a suite of custom cmdlets and providers in C#. I also have a PowerShell SnapIn that takes care of registering the cmdlets and providers. I have exported a console session so that I can start PowerShell with the -PSConsoleFile…
shampoopy
  • 123
  • 3
  • 12
1
vote
2 answers

Referencing external assemblies from PowerShell snap-in

I'm developing a custom PowerShell snap-in, which references another project in the solution. When I try to debug the snap-in (following [these instructions][1]), the assembly fails to load and my cmdlet fails with the message "Could not load file…
Paolo Tedesco
  • 55,237
  • 33
  • 144
  • 193
1
vote
1 answer

Difference between plug-in, add-on, snap-in, extension?

While working with eclipse, Microsoft technologies etc. I have come across many different terms like plug-in, add-on, snap-in, extension, etc. I want to know what is the exact meaning of each of them? When is one used?
Jay
  • 1,210
  • 9
  • 28
  • 48
0
votes
1 answer

Change the data in a third-party mmc snap-in

There is 3-rd party application which is controlled by the console mmc, using a snap-in. What are some ways to interact with the data in this snap-in from the outside? (except of course the manual). There is a list of data I want to change, but it's…
Artyom Chernetsov
  • 1,394
  • 4
  • 17
  • 34
0
votes
1 answer

How do I control an MMC snap-in using PHP (or any other scripting language)?

I know that you can control an MMC snap-in using the MMC 2.0 Automation Object Model. I have not researched its capabilities, but I know that it is used with any of the .NET languages, (Visual C#, VB etc.) I would like to know if there is any method…
TinyGrasshopper
  • 2,190
  • 2
  • 17
  • 28
0
votes
1 answer

MMC crash in windows 10

On my Windows 10, mmc.exe crashes when I try to add the certificate snap-in. When I click "Ok" after having added the snap-in (computer account, local computer) the message: "Microsoft Management Console has stopped working" and I am offered a debug…
jidh
  • 172
  • 1
  • 6
  • 22
0
votes
0 answers

Powershell Backup snap-in in win7

In Windows 7 32 bit machine I am trying to work with Powershell CMDETS for Backup and restore. I downloaded iis7.psprov_x86.msi but it says that "Powershell snap in is part of windows operating system." When I go and see the Turn windows feature on…
0
votes
1 answer

Can't find snap-in in MMC

I try to register a sample of snap-in that was developed by Microsoft but I can't see it in the Add\Remove menu. I use Win7 x64, the project is defined to x64 and I used InstallUtil.exe to install the DLL. According to the log the installation…
Alexander Tilkin
  • 149
  • 1
  • 2
  • 13
0
votes
0 answers

debugging windows applications - event viewer in Win 7 32 bit

Been trying for days now to get around the MMC snap-in failed to create or initialize error for the Event Viewer. I have tried sfc /scannow, regsvr32, Dependency Walker, Win 7 repair disk, chkdsk, dumpbin /dependents and lately trying to install…
jrf7243
  • 31
  • 2
0
votes
0 answers

compile vb6 snap-in ocx from command line

Is there any specific way to compile vb6 snap-in from command line? I tried using this command: vb6.exe /m project.vbp It throws application error: the instruction at 0x027... referenced at 0x000... The memory could not be read. But it was…
0
votes
1 answer

Embedding MFC Dialog in MMC SnapIn

I created a few dialogs in MFC that are spawned from an MMC SnapIn. After review, I was told that it'd be better design to embed the dialogs in the SnapIn (in the Result Pane as a custom view). The issue is that I have no idea how to do this: I'm…
riqitang
  • 3,241
  • 4
  • 37
  • 47