Jump to content
PLC Forum

Brothers

Aprire File .msc In Vb6 - Come?

Recommended Posts

Brothers

Come Aprire file .msc in VB6

ho provato sia con

WinExec

che con

Shell

Ma niente!!

:(

Chi sa come fare?

Grazie

Link to post
Share on other sites

dago_

L'eseguibile si chiama mmc.exe, es:

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

Link to post
Share on other sites
Brothers

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:

:angry:

Link to post
Share on other sites
dago_
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.

Guest
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...