Jump to content
PLC Forum


Aprire File .msc In Vb6 - Come?

Recommended Posts


Come Aprire file .msc in VB6

ho provato sia con


che con


Ma niente!!


Chi sa come fare?


Link to post
Share on other sites


L'eseguibile si chiama mmc.exe, es:

RetVal = Shell(mmc c:\windows\system32\perfmon.msc, 1)

Link to post
Share on other sites

Ho provato anche così e non capisco come mai con:

Call Shell("mmc.exe shell32.dll,OpenAs_RunDLL " & Trim("C:\WINDOWS\system32\perfmon.msc"), vbNormalFocus)

mi dice :

Impossibile trovare il file selezionato

e invece cosi:

Call Shell("rundll32.exe shell32.dll,OpenAs_RunDLL " & Trim("C:\WINDOWS\system32\perfmon.msc"), vbNormalFocus)

lo trova correttamente :blink:


Link to post
Share on other sites
Ho aggiunto le virgolette:

RetVal = Shell("mmc C:\WINDOWS\system32\perfmon.msc, 1")

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...